{"id":343850,"date":"2021-07-13T07:58:33","date_gmt":"2021-07-13T14:58:33","guid":{"rendered":"https:\/\/css-tricks.com\/?p=343850"},"modified":"2021-08-06T04:40:44","modified_gmt":"2021-08-06T11:40:44","slug":"meta-theme-color-and-trickery","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/meta-theme-color-and-trickery\/","title":{"rendered":"Meta Theme Color and Trickery"},"content":{"rendered":"\n
Starting with Version 15, Safari supports the I never really took much note of the Heads up! Safari removed support for the Here\u2019s how I\u2019ve been using the theme-color<\/code>
<meta><\/code> tag both on macOS and iOS. That\u2019s exciting news because now the first desktop browser supports this
<meta><\/code> tag and it also supports the
media<\/code> attribute and the
prefers-color-scheme<\/code> media feature.<\/p>\n\n\n\n
theme-color<\/code> meta tag, but now is a good time to learn about its features and limitations and try to discover some interesting use cases.<\/p>\n\n\n
theme-color<\/code> meta tag in Safari Technology Preview (127)<\/a>. That was only temporary, starting with release 128 it supports it again.<\/em><\/p>\n\n\n\n\n\n
Features and limitations<\/h3>\n\n\n
theme-color<\/code> meta tag for the past few years: just a good \u2018ol hex code for the
content<\/code> attribute.<\/p>\n\n\n\n
<meta name=\"theme-color\" content=\"#319197\"><\/code><\/pre>\n\n\n\n