Not logged in. · Lost password · Register
Forum: General Help and Support Development RSS
prefers-color-scheme in style.ini
Avatar
mrresc #1
Member for a month · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: prefers-color-scheme in style.ini
I'm trying to create a template that automatically detects if the OS uses a dark or light theme. In CSS you can query the color scheme with
@media (prefers-color-scheme: dark) { }
or
@media (prefers-color-scheme: light) { }
Is this also possible in the file style.ini? Or what would be the right way?
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-10-16, 07:26:36 (UTC +02:00)