forked from React-Group/interstellar_ai
themes
This commit is contained in:
parent
b3648e013a
commit
67b079c3e6
1 changed files with 2 additions and 2 deletions
|
@ -247,8 +247,8 @@ export const applyBasicCustomTheme = (
|
|||
document.documentElement.style.setProperty('--popup-background-color', accentColor);
|
||||
document.documentElement.style.setProperty('--pop-up-text', lightenColor(textColor, 80));
|
||||
document.documentElement.style.setProperty('--input-border-color', primaryColor);
|
||||
document.documentElement.style.setProperty('--font-family', "'Poppins', 'sans-serif'");
|
||||
document.documentElement.style.setProperty('--font-size', '16px');
|
||||
document.documentElement.style.setProperty('--font-family', localStorage.getItem("fontFamily") || "'Poppins', 'sans-serif'");
|
||||
document.documentElement.style.setProperty('--font-size', localStorage.getItem("fontSize") || '16px');
|
||||
};
|
||||
|
||||
// Helper function to darken a color (returns a darker version of the provided color)
|
||||
|
|
Loading…
Reference in a new issue