mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-07 14:51:12 +00:00
working white text, not perfect with all colors
This commit is contained in:
@@ -99,10 +99,8 @@ const UIWindowThemeDialog = async function UIWindowThemeDialog () {
|
||||
|
||||
const slider_ch = (e) => {
|
||||
state[e.meta.name] = e.target.value;
|
||||
if (e.meta.name === 'lig' && e.target.value < 50) {
|
||||
state.light_text = true;
|
||||
} else {
|
||||
state.light_text = false;
|
||||
if (e.meta.name === 'lig') {
|
||||
state.light_text = e.target.value < 70 ? true : false;
|
||||
}
|
||||
svc_theme.apply(state);
|
||||
console.log(state);
|
||||
|
||||
@@ -895,7 +895,6 @@ span.header-sort-icon img {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
color: var(--window-head-color);
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
.window-active .window-head-title {
|
||||
|
||||
Reference in New Issue
Block a user