light theme fixes

This commit is contained in:
Cynthia Foxwell 2023-03-29 12:17:27 -06:00
parent c8cbf07fbc
commit 1c0855fe2d
1 changed files with 57 additions and 112 deletions

View File

@ -40,9 +40,9 @@
--background-accent: var(--highlight, var(--primary-dark-500)) !important;
--background-floating: var(--primary, var(--primary-dark-800)) !important;
--background-modifier-hover: rgba(var(--highlight-rgb), 0.16) !important;
--background-modifier-active: rgba(var(--highlight-rgb), 0.24) !important;
--background-modifier-selected: rgba(var(--highlight-rgb), 0.32) !important;
--background-modifier-accent: rgba(var(--highlight-rgb), 0.06) !important;
--background-modifier-active: rgba(var(--highlight-rgb), 0.2) !important;
--background-modifier-selected: rgba(var(--highlight-rgb), 0.24) !important;
--background-modifier-accent: rgba(var(--highlight-rgb), 0.24) !important;
--background-mentioned: rgba(var(--accent-rgb), 0.05) !important;
--background-mentioned-hover: rgba(var(--accent-rgb), 0.08) !important;
--background-message-hover: rgba(4, 4, 5, 0.07) !important;
@ -71,8 +71,8 @@
var(--primary-dark-700)
) !important;
--textbox-markdown-syntax: #8e9297 !important;
--deprecated-card-bg: rgba(32, 34, 37, 0.6) !important;
--deprecated-card-editable-bg: rgba(32, 34, 37, 0.3) !important;
--deprecated-card-bg: rgba(var(--primary-rgb), 0.6) !important;
--deprecated-card-editable-bg: rgba(var(--primary-rgb), 0.3) !important;
--deprecated-store-bg: var(--primary) !important;
--deprecated-quickswitcher-input-background: var(
--primary,
@ -95,7 +95,7 @@
--status-positive-text: var(--text);
--status-danger-text: var(--text);
--status-warning-text: var(--text);
--button-secondary-background: var(--primary);
--button-secondary-background: var(--secondary);
--button-secondary-background-hover: var(--highlight);
--button-secondary-background-active: var(--highlight);
--button-secondary-background-disabled: var(--tertiary);
@ -401,7 +401,7 @@ rect[fill="hsl(262, calc(var(--saturation-factor, 1) * 46.8%), 39.8%)"] {
[class^="reaction-"][class*="reactionMe-"] [class*="reactionCount-"],
[class^="reaction-"]:hover [class*="reactionCount-"] {
color: var(--white-500);
color: var(--white-500) !important;
}
[class^="reaction-"] [class*="reactionCount-"] {
@ -488,6 +488,16 @@ a[class^="anchor-"]:not([aria-controls^="popout_"]) {
color: var(--text-link) !important;
}
.theme-light [class*="button-"][class*="lookFilled-"][class*="colorPrimary-"] {
color: var(--text) !important;
}
.postnet-repo-wrapper,
.postnet-expanded-category {
border-color: var(--background-tertiary) !important;
background: var(--deprecated-card-bg) !important;
}
[class^="markdown-"] [class^="codeInline-"],
code.inline,
.hljs {
@ -2222,72 +2232,24 @@ nav[class^="sidebar-"] div[class^="item-"]:not([class*="selected-"]):hover,
box-shadow: var(--hover-shadow);
}`,
'Windows Classic': `.theme-dark {
--wc-frame: -1px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 0px 0 0 var(--wc-bright, var(--highlight)), 0px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--primary), 1px -2px 0 0 var(--primary),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--primary),
-2px 2px 0 0 var(--tertiary);
--wc-frame-inset: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--primary),
--wc-frame: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--primary),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-outer-edge: -1px -1px 0 0 var(--primary),
-1px 0px 0 0 var(--primary), 0px -1px 0 0 var(--primary),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--wc-bright, var(--highlight)), 1px -2px 0 0 var(--wc-bright, var(--highlight)),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--wc-bright, var(--highlight)),
-2px 2px 0 0 var(--tertiary);
--wc-outer-edge: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--wc-bright, var(--highlight)),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--primary) !important;
--wc-outer-edge-inset: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--wc-bright, var(--highlight)),
inset -2px 2px 0 0 var(--primary), inset 2px 2px 0 0 var(--primary);
--wc-inner-edge: -1px -1px 0 0 var(--tertiary),
-1px 0px 0 0 var(--tertiary), 0px -1px 0 0 var(--tertiary),
-1px 1px 0 0 var(--primary), 1px -1px 0 0 var(--primary),
1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--wc-bright, var(--highlight)),
-2px -2px 0 0 var(--secondary), 1px -2px 0 0 var(--secondary),
2px -2px 0 0 var(--wc-bright, var(--highlight)), -2px 1px 0 0 var(--secondary),
-2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-inner-edge-inset: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--secondary),
--wc-inner-edge: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--secondary),
inset -2px -2px 0 0 var(--primary), inset 2px 2px 0 0 var(--tertiary);
}
.theme-light {
--wc-frame: -1px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 0px 0 0 var(--wc-bright, var(--highlight)), 0px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--primary), 1px -2px 0 0 var(--primary),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--primary),
-2px 2px 0 0 var(--tertiary);
--wc-frame: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--primary),
inset -2px -2px 0 0 var(--tertiary), inset 2px 2px 0 0 var(--secondary);
--wc-frame-inset: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--primary),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-outer-edge: -1px -1px 0 0 var(--primary),
-1px 0px 0 0 var(--primary), 0px -1px 0 0 var(--primary),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--wc-bright, var(--highlight)), 1px -2px 0 0 var(--wc-bright, var(--highlight)),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--wc-bright, var(--highlight)),
-2px 2px 0 0 var(--tertiary);
--wc-outer-edge-inset: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--wc-bright, var(--highlight)),
inset -2px 2px 0 0 var(--primary), inset 2px 2px 0 0 var(--primary);
--wc-inner-edge: -1px -1px 0 0 var(--tertiary),
-1px 0px 0 0 var(--tertiary), 0px -1px 0 0 var(--tertiary),
-1px 1px 0 0 var(--primary), 1px -1px 0 0 var(--primary),
1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--wc-bright, var(--highlight)),
-2px -2px 0 0 var(--secondary), 1px -2px 0 0 var(--secondary),
2px -2px 0 0 var(--wc-bright, var(--highlight)), -2px 1px 0 0 var(--secondary),
-2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-inner-edge-inset: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--secondary),
--wc-outer-edge: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--secondary),
inset -2px -2px 0 0 var(--primary), inset 2px 2px 0 0 var(--tertiary);
--wc-inner-edge: inset -1px -1px 0 0 var(--secondary), inset 1px 1px 0 0 var(--tertiary),
inset -2px -2px 0 0 var(--primary), inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
}
[class*="button-"][class*="lookFilled-"],
@ -2297,19 +2259,22 @@ section[class^="panels-"]
button[class^="button-"],
[class^="toolbar-"] [class*="iconWrapper-"] {
border-radius: 0;
background-color: var(--primary);
box-shadow: var(--wc-outer-edge-inset) !important;
box-shadow: var(--wc-outer-edge) !important;
}
[class*="button-"][class*="lookFilled-"]:active,
section[class^="panels-"]
[class^="container-"]
[class^="flex-"]
button[class^="button-"]:active {
box-shadow: var(--wc-inner-edge-inset) !important;
box-shadow: var(--wc-inner-edge) !important;
}
[class*="button-"][class*="lookFilled-"]:not([class*="color"]),
[class^="toolbar-"] [class*="iconWrapper-"] {
background-color: var(--primary);
}
[class^="chat-"] > [class^="content-"] > [class^="container-"] > [class^="membersWrap-"] {
margin: 2px;
padding: 2px;
box-shadow: var(--wc-inner-edge);
height: calc(100% - 4px);
max-height: calc(100% - 4px);
@ -2317,7 +2282,7 @@ section[class^="panels-"]
[class^="messagesWrapper-"],
[class*="guilds-"],
[class^="sidebar-"] > nav > [class^="scroller-"] {
margin: 2px;
padding: 2px;
box-shadow: var(--wc-inner-edge);
}
[class^="chat-"] > [class^="content-"] > [class^="container-"],
@ -2328,7 +2293,7 @@ section[class^="panels-"]
[class^="channelTextArea-"] > [class^="scrollableContainer-"],
[class^="chat-"] [class^="toolbar-"] > [class^="search-"] > [class^="search-"] > [class^="searchBar-"] {
box-shadow: var(--wc-inner-edge-inset);
box-shadow: var(--wc-inner-edge);
border-radius: 0;
}
@ -2338,7 +2303,7 @@ section[class^="panels-"]
[class^="standardSidebarView-"] > [class^="sidebarRegion-"] > [class^="sidebarRegionScroller-"],
[class^="standardSidebarView-"] > [class^="contentRegion-"] [class^="contentTransitionWrap-"] {
margin: 2px;
padding: 2px;
box-shadow: var(--wc-inner-edge);
}
[class^="standardSidebarView-"] > [class^="contentRegion-"],
@ -2411,7 +2376,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
[class*="menu-"] {
border-radius: 0;
margin: 2px;
padding: 2px;
box-shadow: var(--wc-frame);
}
[class*="menu-"] > [class^="scroller-"] {
@ -2425,7 +2390,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
}
[class*="menu-"] > [class^="scroller-"] [class^="customItem-"][id^="message-quickreact-"] > [class^="button-"] {
border-radius: 0 !important;
box-shadow: var(--wc-outer-edge-inset);
box-shadow: var(--wc-outer-edge);
}
[class*="menu-"] [class^="scroller-"] [class^="separator-"] {
margin: 4px 1px;
@ -2559,7 +2524,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
[class*="scrollerBase-"]:not([class*="thin-"])::-webkit-scrollbar-button:single-button {
border-radius: 0;
background: var(--primary);
box-shadow: var(--wc-frame-inset);
box-shadow: var(--wc-frame);
border: none;
}
@ -2605,12 +2570,12 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
[class^="colorSwatch-"] > [class^="swatch-"][aria-expanded=true] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-inner-edge-inset);
box-shadow: var(--wc-inner-edge);
}
[class^="colorSwatch-"] > [class^="swatch-"] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-outer-edge-inset);
box-shadow: var(--wc-outer-edge);
}
[class^="inputWrapper-"] > [class*="input-"] {
@ -2621,7 +2586,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
[class^="select-"][class*="lookFilled-"] {
border: none !important;
border-radius: 0 !important;
box-shadow: var(--wc-inner-edge-inset);
box-shadow: var(--wc-inner-edge);
padding: 2px 2px 2px 4px;
}
[class^="select-"][class*="lookFilled-"] > [class^="icons-"] {
@ -2629,12 +2594,12 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
}
[class^="select-"][class*="lookFilled-"] > [class^="icons-"] > svg {
background: var(--primary);
box-shadow: var(--wc-outer-edge-inset);
box-shadow: var(--wc-outer-edge);
width: 16px;
height: 16px;
}
[class^="select-"][class*="lookFilled-"][class*="open-"] > [class^="icons-"] > svg {
box-shadow: var(--wc-inner-edge-inset);
box-shadow: var(--wc-inner-edge);
}
[class^="popout-"][role="listbox"] > [class^="option-"] {
padding: 2px 2px 2px 4px;
@ -4184,42 +4149,22 @@ html:not(.platform-win)
text-transform: none;
}`,
'Windows Classic': `.theme-dark {
--wc-frame: -1px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 0px 0 0 var(--wc-bright, var(--highlight)), 0px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--primary), 1px -2px 0 0 var(--primary),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--primary),
-2px 2px 0 0 var(--tertiary);
--wc-frame: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--primary),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--wc-bright, var(--highlight));
--wc-outer-edge: -1px -1px 0 0 var(--primary),
-1px 0px 0 0 var(--primary), 0px -1px 0 0 var(--primary),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--wc-bright, var(--highlight)), 1px -2px 0 0 var(--wc-bright, var(--highlight)),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--wc-bright, var(--highlight)),
-2px 2px 0 0 var(--tertiary);
--wc-outer-edge: inset -1px -1px 0 0 var(--tertiary), inset 1px 1px 0 0 var(--wc-bright, var(--highlight)),
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--primary) !important;
}
.theme-light {
--wc-frame: -1px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 0px 0 0 var(--wc-bright, var(--highlight)), 0px -1px 0 0 var(--wc-bright, var(--highlight)),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--primary), 1px -2px 0 0 var(--primary),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--primary),
-2px 2px 0 0 var(--tertiary);
--wc-frame: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--primary),
inset -2px -2px 0 0 var(--tertiary), inset 2px 2px 0 0 var(--secondary);
--wc-outer-edge: -1px -1px 0 0 var(--primary),
-1px 0px 0 0 var(--primary), 0px -1px 0 0 var(--primary),
-1px 1px 0 0 var(--secondary), 1px -1px 0 0 var(--secondary),
1px 1px 0 0 var(--secondary), 2px 2px 0 0 var(--tertiary),
-2px -2px 0 0 var(--wc-bright, var(--highlight)), 1px -2px 0 0 var(--wc-bright, var(--highlight)),
2px -2px 0 0 var(--tertiary), -2px 1px 0 0 var(--wc-bright, var(--highlight)),
-2px 2px 0 0 var(--tertiary);
--wc-outer-edge: inset -1px -1px 0 0 var(--wc-bright, var(--highlight)), inset 1px 1px 0 0 var(--secondary),
inset -2px -2px 0 0 var(--primary), inset 2px 2px 0 0 var(--tertiary);
}
.platform-win #app-mount {
margin: 2px;
padding: 2px;
box-shadow: var(--wc-frame);
width: calc(100% - 6px);
height: calc(100% - 6px);
@ -4275,7 +4220,7 @@ html:not(.platform-win)
top: 2px;
width: 12px !important;
height: 10px !important;
margin: 2px;
padding: 2px;
background: var(--primary) !important;
box-shadow: var(--wc-outer-edge);
}
@ -4311,7 +4256,7 @@ html:not(.platform-win)
[class^="messagesPopoutWrap-"],
[class^="browser-"] {
border-radius: 0;
margin: 2px;
padding: 2px;
box-shadow: var(--wc-frame);
border: 1px solid var(--titlebar-border-active, var(--primary));
}
@ -4403,7 +4348,7 @@ html:not(.platform-win)
min-width: 12px !important;
height: 10px !important;
min-height: 10px !important;
margin: 2px;
padding: 2px;
top: 0px;
right: -2px;
position: relative;