openSUSE / openSUSE/MirrorCache
Dark theme support
Nobody has claimed this yet.
- 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:
- https://github.com/openSUSE/MirrorCache/blob/master/assets/assetpack.def#L152
! chameleon.css < stylesheets/slim-chameleon.scss - https://github.com/openSUSE/MirrorCache/blob/master/templates/layouts/bootstrap.html.ep#L31
%= asset 'chameleon.css'
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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