Add input theming
This commit is contained in:
10
src/main.jsx
10
src/main.jsx
@@ -29,7 +29,17 @@ if (import.meta.env.VITE_CUSTOM_THEME) {
|
||||
style.setProperty("--bgColor2", import.meta.env.VITE_BG_COLOR_2);
|
||||
style.setProperty("--bgColor3", import.meta.env.VITE_BG_COLOR_3);
|
||||
style.setProperty("--bgColor4", import.meta.env.VITE_BG_COLOR_4);
|
||||
style.setProperty("--bgColor5", import.meta.env.VITE_BG_COLOR_5);
|
||||
style.setProperty("--textColor1", import.meta.env.VITE_TEXT_COLOR_1);
|
||||
style.setProperty("--textColor2", import.meta.env.VITE_TEXT_COLOR_2);
|
||||
style.setProperty(
|
||||
"--inputBorderColor",
|
||||
import.meta.env.VITE_INPUT_BORDER_COLOR
|
||||
);
|
||||
style.setProperty(
|
||||
"--inputBorderColorFocused",
|
||||
import.meta.env.VITE_INPUT_BORDER_COLOR_FOCUSED
|
||||
);
|
||||
}
|
||||
|
||||
const history = createBrowserHistory();
|
||||
|
||||
Reference in New Issue
Block a user