mirror of
https://gitlab.com/Cynosphere/xmc.git
synced 2024-08-14 22:57:03 +00:00
Make Modular
This commit is contained in:
parent
1c0855fe2d
commit
1c7b711193
3 changed files with 63 additions and 128 deletions
|
@ -24,9 +24,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;
|
||||
|
@ -55,8 +55,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,
|
||||
|
@ -79,7 +79,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);
|
||||
|
@ -387,7 +387,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-"] {
|
||||
|
@ -473,6 +473,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 {
|
||||
|
|
|
@ -1,84 +1,28 @@
|
|||
.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),
|
||||
--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: inset -1px -1px 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(--primary), inset 2px 2px 0 0 var(--primary);
|
||||
inset -2px -2px 0 0 var(--secondary), inset 2px 2px 0 0 var(--primary) !important;
|
||||
|
||||
--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)),
|
||||
--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)),
|
||||
--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-"],
|
||||
|
@ -88,22 +32,25 @@ 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);
|
||||
|
@ -111,7 +58,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-"],
|
||||
|
@ -126,7 +73,7 @@ section[class^="panels-"]
|
|||
> [class^="search-"]
|
||||
> [class^="search-"]
|
||||
> [class^="searchBar-"] {
|
||||
box-shadow: var(--wc-inner-edge-inset);
|
||||
box-shadow: var(--wc-inner-edge);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
@ -140,7 +87,7 @@ section[class^="panels-"]
|
|||
[class^="standardSidebarView-"]
|
||||
> [class^="contentRegion-"]
|
||||
[class^="contentTransitionWrap-"] {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
box-shadow: var(--wc-inner-edge);
|
||||
}
|
||||
[class^="standardSidebarView-"] > [class^="contentRegion-"],
|
||||
|
@ -215,7 +162,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-"] {
|
||||
|
@ -232,7 +179,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
|
|||
[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;
|
||||
|
@ -439,7 +386,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"]))
|
|||
)::-webkit-scrollbar-button:single-button {
|
||||
border-radius: 0;
|
||||
background: var(--primary);
|
||||
box-shadow: var(--wc-frame-inset);
|
||||
box-shadow: var(--wc-frame);
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
@ -505,12 +452,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-"] {
|
||||
|
@ -521,7 +468,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-"] {
|
||||
|
@ -529,14 +476,14 @@ 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;
|
||||
|
|
|
@ -1,46 +1,24 @@
|
|||
.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);
|
||||
|
@ -99,7 +77,7 @@
|
|||
top: 2px;
|
||||
width: 12px !important;
|
||||
height: 10px !important;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
background: var(--primary) !important;
|
||||
box-shadow: var(--wc-outer-edge);
|
||||
}
|
||||
|
@ -135,7 +113,7 @@
|
|||
[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));
|
||||
}
|
||||
|
@ -236,7 +214,7 @@
|
|||
min-width: 12px !important;
|
||||
height: 10px !important;
|
||||
min-height: 10px !important;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
top: 0px;
|
||||
right: -2px;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in a new issue