Conversation
|
The dark theme option is nice, but plenty of colors are subtly changed CSS color definitions which makes it a lot of work for me to check the PR. |
99dcdb3 to
c70fed3
Compare
|
ping |
|
@pontaoski can you update the PR to make the light-color palette identical to the current colors? For example, in Having official dark-mode support would be awesome! |
c70fed3 to
ed37eaa
Compare
The colours have been refactored into CSS variables, which also sport a dark mode variant. Colours are largely the same as before in light mode, with the exception of similar-ish colours used for the same purpose being coalesced into a single variable and thus colour, e.g. all the various colours in the #bbb-#ccc range being used for borders becoming part of the --borders variable. Signed-off-by: Janet Blackquill <uhhadd@gmail.com>
ed37eaa to
05c0487
Compare
changed the colour palette to be closer to the current website. all that's really changed now is all the subtly different border colours within #bbb-#ccc being refactored into a single --borders variable/colour. |
kpcyrd
left a comment
There was a problem hiding this comment.
There are still a few subtle changes in the light theme, I didn't go through the whole PR but annotated some of them.
| /* style the links */ | ||
| #archnavbarlist li a { color: #999; font-weight: bold !important; text-decoration: none !important; } | ||
| #archnavbarlist li a:hover { color: white !important; text-decoration: underline !important; } | ||
| #archnavbarlist li a { color: var(--header-link-color); opacity: 0.7; font-weight: bold !important; text-decoration: none !important; } |
There was a problem hiding this comment.
The opacity likely changes the color
| #archnavbarlist li a { color: #999; font-weight: bold !important; text-decoration: none !important; } | ||
| #archnavbarlist li a:hover { color: white !important; text-decoration: underline !important; } | ||
| #archnavbarlist li a { color: var(--header-link-color); opacity: 0.7; font-weight: bold !important; text-decoration: none !important; } | ||
| #archnavbarlist li a:hover { color: var(--header-link-color) !important; text-decoration: underline !important; } |
| font: 1.2em monospace; | ||
| background: #ffd; | ||
| background: var(--mono-view); | ||
| color: var(--on-mono-view); |
| background: #dfd; | ||
| border: 1px solid var(--borders); | ||
| background: var(--mono-view); | ||
| color: var(--on-mono-view); |
There was a problem hiding this comment.
This color is new, same as in code
| hr { | ||
| border: none; | ||
| border-top: 1px solid #888; | ||
| border-top: 1px solid var(--borders); |
| #archdev-navbar li a { | ||
| padding: 0 0.5em; | ||
| color: #07b; | ||
| color: var(--arch-blue); |
| padding: 0.5em; | ||
| background: #fff; | ||
| border: 1px solid #f00; | ||
| background: var(--view); |
| background: #fff; | ||
| border: 1px solid #f00; | ||
| background: var(--view); | ||
| color: var(--on-view); |
| border: 1px solid #f00; | ||
| background: var(--view); | ||
| color: var(--on-view); | ||
| border: 1px solid var(--arch-red); |
|
|
||
| ul.errorlist { | ||
| color: red; | ||
| color: var(--arch-red); |
|
Oh, this would be nice! |
|
Will these changes be made? They could honestly probably be made by maintainers if @pontaoski doesn't return. |
|
bump |
|
This would be great to see, at the very least with a toggle. |
|
okay we need this, i like not getting flashed by arch wiki |
If you need it, this is where to contribute https://gitlab.archlinux.org/archlinux/archlinux-common-style/-/issues/5 |
CSS colours are refactored into CSS variables. And because CSS variables make it ludicrously easy to implement prefers-color-scheme support, there's a dark palette too.
Light:

Dark:
