mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 10:22:25 -05:00
[chore] Fix some contrast issues in themes; performance tweaks (#3358)
This commit is contained in:
parent
53ee6aef08
commit
82b9515a9d
9 changed files with 147 additions and 102 deletions
|
|
@ -23,7 +23,7 @@
|
|||
--orange2: var(--pink);
|
||||
|
||||
/* Basic page styling (background + foreground) */
|
||||
--bg: linear-gradient(var(--eggplant1), var(--pink), var(--orange), var(--yellow), var(--eggshell));
|
||||
--bg: var(--eggshell);
|
||||
--bg-accent: var(--white2);
|
||||
--fg: var(--eggplant4);
|
||||
--fg-reduced: var(--eggplant3);
|
||||
|
|
@ -45,6 +45,17 @@
|
|||
--boxshadow-border: 0.08rem solid var(--orange);
|
||||
}
|
||||
|
||||
/* Main page background */
|
||||
body {
|
||||
background: linear-gradient(
|
||||
var(--eggplant1),
|
||||
var(--pink),
|
||||
var(--orange),
|
||||
var(--yellow),
|
||||
var(--eggshell)
|
||||
);
|
||||
}
|
||||
|
||||
/* Scroll bar */
|
||||
html, body {
|
||||
scrollbar-color: var(--pink) var(--eggshell);
|
||||
|
|
@ -55,12 +66,6 @@ html, body {
|
|||
color: var(--eggshell);
|
||||
}
|
||||
|
||||
/* Role and bot badge backgrounds */
|
||||
.profile .profile-header .basic-info .namerole .role,
|
||||
.profile .profile-header .basic-info .namerole .bot-username-wrapper .bot-legend-wrapper {
|
||||
background: var(--eggshell);
|
||||
}
|
||||
|
||||
/* Profile fields */
|
||||
.profile .about-user .fields .field {
|
||||
border-bottom: 0.1rem solid var(--orange);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue