New source found from dndbeyond.com
This commit is contained in:
@@ -62,16 +62,11 @@ export const CharacterThemeProvider = ({ children }) => {
|
||||
__html: `
|
||||
:root {
|
||||
--theme-color: ${themeColor};
|
||||
--theme-color-muted: color-mix(in srgb, var(--theme-color), var(--theme-background-solid) 30%);
|
||||
--theme-background: ${backgroundColor};
|
||||
--theme-background-solid: ${solidBackground};
|
||||
--theme-contrast: var(--ttui_grey-${isDarkMode ? 50 : 900});
|
||||
|
||||
--theme-transparent: color-mix(in srgb, var(--theme-color), transparent 60%);
|
||||
|
||||
/* Update the character muted color for readability on dark mode */
|
||||
${
|
||||
isDarkMode ? "--character-muted-color: var(--ttui_grey-400);" : ""
|
||||
}
|
||||
}`,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user