![]() ![]() However, it would also be applied by other browsers that don't have Auto Dark Theme, leading to a page that has a light theme, but with only parts of it darkened. Using a prefer-color-scheme: dark media query to customize elements works when Auto Dark Theme is applied. In this origin trial, those customizations are possible by using JavaScript to detect if the user is in Auto Dark Theme and then customizing the desired elements. # Per-element customizationĮven though we aim for Auto Dark Theme to generate good results in all cases, early conversations with developers suggested that they would like to tweak specific elements, to adapt better to their desired look and feel. ![]() Now, light pages will be darkened on the phone.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |