aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-01-31 17:39:51 +0200
committerHenry Jameson <me@hjkos.com>2024-01-31 17:39:51 +0200
commit53a4b1f9a6a9aa6bc044609c3accb074d924daf9 (patch)
tree1ee4cf91db73b5c63db776e37dbc2e8173dc3172 /src/App.scss
parentff2db7a247284cb32933b83c56286a942923a398 (diff)
better virtual components and stuff
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss28
1 files changed, 12 insertions, 16 deletions
diff --git a/src/App.scss b/src/App.scss
index ef68ac50..8e9f3171 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -24,8 +24,7 @@ body {
font-family: sans-serif;
font-family: var(--interfaceFont, sans-serif);
margin: 0;
- color: $fallback--text;
- color: var(--text, $fallback--text);
+ color: var(--text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overscroll-behavior-y: none;
@@ -111,8 +110,7 @@ body {
a {
text-decoration: none;
- color: $fallback--link;
- color: var(--link, $fallback--link);
+ color: var(--link);
}
h4 {
@@ -128,8 +126,7 @@ h4 {
i[class*="icon-"],
.svg-inline--fa,
.iconLetter {
- color: $fallback--icon;
- color: var(--icon, $fallback--icon);
+ color: var(--icon);
}
.button-unstyled:hover,
@@ -763,17 +760,11 @@ option {
}
.faint {
- color: $fallback--faint;
- color: var(--faint, $fallback--faint);
-}
-
-.faint-link {
- color: $fallback--faint;
- color: var(--faint, $fallback--faint);
+ --text: var(--textFaint);
+ --textGreentext: var(--textGreentextFaint);
+ --link: var(--linkFaint);
- &:hover {
- text-decoration: underline;
- }
+ color: var(--text);
}
.visibility-notice {
@@ -816,6 +807,11 @@ option {
opacity: 0.25;
}
+.timeago {
+ --link: var(--text);
+ --linkFaint: var(--textFaint);
+}
+
.login-hint {
text-align: center;