forked from open-webui/open-webui
dynamically adjust --color-gray-950 value for OLED black sidebar
This commit is contained in:
parent
572eefe181
commit
67865fc5ad
3 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
(() => {
|
||||
if (localStorage.theme.includes('oled')) {
|
||||
document.documentElement.style.setProperty('--color-gray-900', '#000000');
|
||||
document.documentElement.style.setProperty('--color-gray-950', '#000000');
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
else if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue