Skip to content

Commit

Permalink
add corner text variable
Browse files Browse the repository at this point in the history
  • Loading branch information
refact0r committed Jun 25, 2024
1 parent b8749b2 commit e0b206f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 3 additions & 1 deletion system24.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
font-weight: 300;
--label-font-weight: 500;

--corner-text: 'system24';

--pad: 16px;
--txt-pad: 10px;

Expand Down Expand Up @@ -449,7 +451,7 @@ aside[class^='profilePanel_'] {
display: none;
}
.wordmarkWindows_a934d8::after {
content: 'system24';
content: var(--corner-text);
display: block;
position: relative;
color: var(--txt-2);
Expand Down
15 changes: 10 additions & 5 deletions system24.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
--font: 'DM Mono';
letter-spacing: -0.05ch;
font-weight: 300;
--label-font-weight: 500;

--corner-text: 'system24';

--pad: 16px;
--txt-pad: 10px;
Expand All @@ -31,33 +34,35 @@
--selected: var(--active);

--txt-dark: var(--bg-0);
--txt-link: var(--cyan);
--txt-0: oklch(90% 0 0);
--txt-1: oklch(80% 0 0);
--txt-2: oklch(60% 0 0);
--txt-3: oklch(40% 0 0);

--txt-link: oklch(76% 0.12 200);

--mention-txt: var(--purple);
--mention-bg: color-mix(in srgb, var(--purple), transparent 90%);
--mention-overlay: color-mix(in srgb, var(--purple), transparent 90%);
--mention-hover-overlay: color-mix(in srgb, var(--purple), transparent 95%);
--reply-overlay: var(--active);
--reply-hover-overlay: var(--hover);

--border-width: 2px;
--border-color: var(--bg-3);
--border-hover-color: var(--purple);
--border-transition: 0.2s ease;

--online-dot: var(--green);
--dnd-dot: var(--pink);
--idle-dot: var(--yellow);

--hover-border: var(--purple);
--hover-border-transition: 0.2s ease;

--pink: oklch(73% 0.12 0);
--pink-1: oklch(63% 0.12 0);
--pink-2: oklch(53% 0.12 0);
--purple: oklch(73% 0.12 300);
--purple-1: oklch(63% 0.12 300);
--purple-2: oklch(53% 0.12 300);
--cyan: oklch(73% 0.12 200);
--yellow: oklch(78% 0.12 80);
--green: oklch(73% 0.12 160);
}

0 comments on commit e0b206f

Please sign in to comment.