forked from SpoTUI/SpoTUI
fix(theme): clear input colors before theme load
This commit is contained in:
@@ -2222,6 +2222,12 @@ function resetAllSettings() {
|
|||||||
localStorage.removeItem(PROGRESS_BAR_BG);
|
localStorage.removeItem(PROGRESS_BAR_BG);
|
||||||
localStorage.removeItem(PROGRESS_BAR_FG);
|
localStorage.removeItem(PROGRESS_BAR_FG);
|
||||||
applyProgressBarColors();
|
applyProgressBarColors();
|
||||||
|
|
||||||
|
localStorage.removeItem(INPUT_BG);
|
||||||
|
localStorage.removeItem(INPUT_BG_HOVER);
|
||||||
|
localStorage.removeItem(INPUT_TEXT);
|
||||||
|
localStorage.removeItem(INPUT_BORDER);
|
||||||
|
applyInputColors();
|
||||||
}
|
}
|
||||||
|
|
||||||
injectStyle();
|
injectStyle();
|
||||||
|
|||||||
Reference in New Issue
Block a user