Make Modular

This commit is contained in:
CI 2023-05-11 02:51:03 +00:00
parent 03240a2bbe
commit 6df38a2df7
4 changed files with 24 additions and 14 deletions

View file

@ -270,16 +270,16 @@ button.hh2-spotify-controls-button {
color: var(--text-muted) !important; color: var(--text-muted) !important;
} }
[class^="members-"] [class^="member-"] > [class^="memberInner-"] { [class^="members-"] [class^="member-"] > [class*="layout-"] {
height: 32px; height: 32px;
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"], > [class^="avatar-"],
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"] > [class^="avatar-"]
> [class^="wrapper-"] { > [class^="wrapper-"] {
width: 24px !important; width: 24px !important;
@ -287,7 +287,7 @@ button.hh2-spotify-controls-button {
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"] > [class^="avatar-"]
> [class^="wrapper-"] > [class^="wrapper-"]
> svg[viewBox="0 0 40 40"] { > svg[viewBox="0 0 40 40"] {
@ -296,7 +296,7 @@ button.hh2-spotify-controls-button {
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"] > [class^="avatar-"]
> [class^="wrapper-"] > [class^="wrapper-"]
> [class^="avatarDecoration-"] { > [class^="avatarDecoration-"] {
@ -307,7 +307,7 @@ button.hh2-spotify-controls-button {
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"] > [class^="avatar-"]
> [class^="wrapper-"] > [class^="wrapper-"]
> svg[viewBox="0 0 32 32"] { > svg[viewBox="0 0 32 32"] {
@ -316,7 +316,7 @@ button.hh2-spotify-controls-button {
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="avatar-"] { > [class^="avatar-"] {
margin-right: 8px; margin-right: 8px;
} }
@ -326,7 +326,7 @@ button.hh2-spotify-controls-button {
} }
[class^="members-"] [class^="members-"]
[class^="member-"] [class^="member-"]
> [class^="memberInner-"] > [class*="layout-"]
> [class^="children-"] > [class^="children-"]
> .presence-icons-wrapper > .presence-icons-wrapper
> span > span

View file

@ -44,9 +44,11 @@
.theme-dark, .theme-dark,
.theme-light { .theme-light {
--font-primary: "Terminus (TTF) for Windows", "Terminus (TTF)", --font-primary: "Terminus (TTF) for Windows", "Terminus (TTF)",
"Sazanami Gothic", "UnifontBitmap", "Unifont Windows", "Unifont", monospace !important; "Sazanami Gothic", "UnifontBitmap", "Unifont Windows", "Unifont", monospace,
Twemoji !important;
--font-display: "Terminus (TTF) for Windows", "Terminus (TTF)", --font-display: "Terminus (TTF) for Windows", "Terminus (TTF)",
"Sazanami Gothic", "UnifontBitmap", "Unifont Windows", "Unifont", monospace !important; "Sazanami Gothic", "UnifontBitmap", "Unifont Windows", "Unifont", monospace,
Twemoji !important;
--font-code: "Terminus (TTF) for Windows", "Terminus (TTF)", "Sazanami Gothic", --font-code: "Terminus (TTF) for Windows", "Terminus (TTF)", "Sazanami Gothic",
"UnifontBitmap", "Unifont Windows", "Unifont", monospace !important; "UnifontBitmap", "Unifont Windows", "Unifont", monospace !important;
@ -78,10 +80,9 @@
} }
.hh2-spotify-controls-album-name, .hh2-spotify-controls-album-name,
.gm-spotify-controls-album-name,
.showTag-username { .showTag-username {
color: var(--highlight) !important; color: var(--highlight) !important;
font-size: 0.75em !important; font-size: 12px !important;
} }
[class^="sidebar-"] [class^="sidebar-"]
@ -131,3 +132,8 @@ code.inline,
code.inline { code.inline {
line-height: 12px !important; line-height: 12px !important;
} }
[class^="markup-"] ol,
[class^="markup-"] ul {
margin: 4px 0 0 24px !important;
}

View file

@ -60,6 +60,10 @@
"UnifontBitmap", "Unifont Windows", "Unifont", monospace !important; "UnifontBitmap", "Unifont Windows", "Unifont", monospace !important;
} }
.sjis {
font-family: "Sazanami Gothic" !important;
}
[class*="menu-"] [class^="item-"], [class*="menu-"] [class^="item-"],
[class^="containerDefault-"] [class^="name-"], [class^="containerDefault-"] [class^="name-"],
[class^="membersGroup-"] { [class^="membersGroup-"] {

View file

@ -79,10 +79,10 @@
--status-positive-text: var(--text); --status-positive-text: var(--text);
--status-danger-text: var(--text); --status-danger-text: var(--text);
--status-warning-text: var(--text); --status-warning-text: var(--text);
--button-secondary-background: var(--secondary); --button-secondary-background: var(--primary);
--button-secondary-background-hover: var(--highlight); --button-secondary-background-hover: var(--highlight);
--button-secondary-background-active: var(--highlight); --button-secondary-background-active: var(--highlight);
--button-secondary-background-disabled: var(--tertiary); --button-secondary-background-disabled: var(--secondary);
--text-danger: var(--_color1); --text-danger: var(--_color1);
--status-danger: var(--_color1); --status-danger: var(--_color1);
--status-danger-background: var(--_color1); --status-danger-background: var(--_color1);