diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-08 15:03:53 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-08 15:06:11 +0100 |
| commit | 5d79523eba4ec0a89668b904dc7896c843ab8dd6 (patch) | |
| tree | ef456b0545fb566e7bbc9981c950ec013d8c7696 /src/styles | |
| parent | 8f0fadc3a1a331956bef3aa299a1c468927bcdf0 (diff) | |
refactor(prism): rename color scheme attributes and remove prefix
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/base/_colors.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styles/base/_colors.scss b/src/styles/base/_colors.scss index a927368..4db97d9 100644 --- a/src/styles/base/_colors.scss +++ b/src/styles/base/_colors.scss @@ -67,7 +67,7 @@ --color-token-orange: #{var.$dark-theme_orange}; } -pre[data-prismjs-color-scheme="light"] { +pre[data-prismjs-color-scheme-current="light"] { --color-bg: #{var.$light-theme_white}; --color-bg-secondary: #{var.$light-theme_white-dark}; --color-bg-tertiary: #{var.$light-theme_grey-bright}; @@ -87,7 +87,7 @@ pre[data-prismjs-color-scheme="light"] { --color-token-orange: #{var.$light-theme_orange}; } -pre[data-prismjs-color-scheme="dark"] { +pre[data-prismjs-color-scheme-current="dark"] { --color-bg: #{var.$dark-theme_black}; --color-bg-secondary: #{var.$dark-theme_black-bright}; --color-bg-tertiary: #{var.$dark-theme_grey-darker}; |
