openSUSE / openSUSE/MirrorCache

Dark theme support

Open
#409 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Perl
Stars
50
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Dark theme support can be added via openSUSE Chameleon design system

Currently, we use a local, slimmed down copy of the Chameleon CSS code, which works well with what MirrorCache renders.
See these places in the code for the current implementation:

Consider using upstream Chameleon which has style definition for dark theme via

<link rel="stylesheet" href="https://static.opensuse.org/chameleon-3.0/dist/css/chameleon.css" />

.. making sure it does not break anything that gets rendered from the templates.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the asset inclusion in assets/assetpack.def and the Chameleon stylesheet reference in templates/layouts/bootstrap.html.ep; compare the local stylesheets/slim-chameleon.scss with the upstream Chameleon stylesheet. Check the templates directory for rendered views that rely on the current styles. Done means dark theme support is available without breaking existing template rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, scss
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.