mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-01 03:40:59 +00:00
feat(style): Add textHighlight theme setting (#1242)
* Add textHighlight theme setting * update docs to include textHighlight * Remove errant `S`
This commit is contained in:
parent
ef375d265d
commit
b7793bd856
4 changed files with 7 additions and 2 deletions
quartz/util
|
@ -7,6 +7,7 @@ export interface ColorScheme {
|
|||
secondary: string
|
||||
tertiary: string
|
||||
highlight: string
|
||||
textHighlight: string
|
||||
}
|
||||
|
||||
interface Colors {
|
||||
|
@ -49,6 +50,7 @@ ${stylesheet.join("\n\n")}
|
|||
--secondary: ${theme.colors.lightMode.secondary};
|
||||
--tertiary: ${theme.colors.lightMode.tertiary};
|
||||
--highlight: ${theme.colors.lightMode.highlight};
|
||||
--textHighlight: ${theme.colors.lightMode.textHighlight};
|
||||
|
||||
--headerFont: "${theme.typography.header}", ${DEFAULT_SANS_SERIF};
|
||||
--bodyFont: "${theme.typography.body}", ${DEFAULT_SANS_SERIF};
|
||||
|
@ -64,6 +66,7 @@ ${stylesheet.join("\n\n")}
|
|||
--secondary: ${theme.colors.darkMode.secondary};
|
||||
--tertiary: ${theme.colors.darkMode.tertiary};
|
||||
--highlight: ${theme.colors.darkMode.highlight};
|
||||
--textHighlight: ${theme.colors.darkMode.textHighlight};
|
||||
}
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue