add surface tokens and remove luminance shift

This commit is contained in:
Cory LaViska
2021-09-23 08:52:18 -04:00
parent 96c82dc69f
commit e1c003c8df
3 changed files with 295 additions and 280 deletions

View File

@@ -108,7 +108,7 @@ You will, however, need to maintain your theme more carefully, as new versions o
## Dark Theme
The built-in dark theme uses an inverted + shifted color scale so, if you're using design tokens as intended, you'll get a decent dark mode for free. While this isn't the same as a professionally curated dark theme, it provides an excellent baseline for one and you're encouraged to customize it further depending on your needs.
The built-in dark theme uses an inverted color scale so, if you're using design tokens as intended, you'll get a decent dark mode for free. While this isn't the same as a professionally curated dark theme, it provides an excellent baseline for one and you're encouraged to customize it further depending on your needs.
To install the dark theme, add the following to the `<head>` section of your page.