Change primary color

This commit is contained in:
Tobias Wasner 2023-01-16 20:00:36 +01:00
parent 0dfd6282c7
commit 1bc80ed7d2
4 changed files with 3 additions and 8 deletions

View File

@ -2,7 +2,7 @@
let className: string | undefined = undefined;
export { className as class };
type TagType = 'primary' | 'secondary' | 'disabled';
type TagType = 'primary' | 'disabled';
export let kind: TagType = 'primary';
@ -10,8 +10,6 @@
switch (type) {
case 'primary':
return 'var(--color-primary)';
case 'secondary':
return 'var(--color-secondary)';
case 'disabled':
return 'rgba(var(--color-primary-raw), 0.2)';
default:
@ -23,8 +21,6 @@
switch (category) {
case 'primary':
return 'var(--color-background)';
case 'secondary':
return 'var(--color-secondary)';
case 'disabled':
return 'var(--color-foreground-light)';
default:

View File

@ -110,9 +110,8 @@ body {
--color-dark: #131110;
--color-light: #fff;
--color-light-raw: #fff;
--color-primary: rgb(8, 149, 219); //#0895DB;
--color-primary-raw: 8, 149, 219; //#0895DB;
--color-secondary: #72ecfa;
--color-primary: rgb(104, 75, 255); //#684BFF;
--color-primary-raw: 104, 75, 255; //#684BFF;
--radius-default: 3px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 25 KiB