archweb icon indicating copy to clipboard operation
archweb copied to clipboard

Refactor CSS colours

Open pontaoski opened this issue 4 years ago • 10 comments

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: image

Dark: image

pontaoski avatar Apr 28 '20 21:04 pontaoski

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.

jelly avatar Apr 29 '20 15:04 jelly

ping

pontaoski avatar May 11 '20 19:05 pontaoski

@pontaoski can you update the PR to make the light-color palette identical to the current colors?

For example, in #archnavbarlist li a you replace #999 with var(--on-header-color) which is defined as --on-header-color: #f9ffff, and in #archnavbar you replace #08c with var(--arch-blue) which is defined as --arch-blue: #1793D1;.

Having official dark-mode support would be awesome!

kpcyrd avatar Aug 13 '20 16:08 kpcyrd

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.

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.

pontaoski avatar Jun 06 '21 20:06 pontaoski

Oh, this would be nice!

flying-sheep avatar Feb 04 '22 11:02 flying-sheep

Will these changes be made? They could honestly probably be made by maintainers if @pontaoski doesn't return.

rdrpenguin04 avatar May 08 '22 22:05 rdrpenguin04

bump

killertofus avatar Oct 09 '22 00:10 killertofus

This would be great to see, at the very least with a toggle.

TheTrueColonel avatar Jan 16 '24 04:01 TheTrueColonel

okay we need this, i like not getting flashed by arch wiki

UnixTMDev avatar Feb 15 '24 23:02 UnixTMDev

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

jelly avatar Feb 18 '24 10:02 jelly