Not logged in. · Lost password · Register
Forum: General Help and Support Development RSS
prefers-color-scheme in style.ini
mrresc #1
Member since Sep 2019 · 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) { }
@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
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-08, 18:44:03 (UTC +02:00)