mirror of
https://github.com/wasnertobias/StalkingAId.git
synced 2025-10-16 11:55:43 +00:00
Change primary color
This commit is contained in:
parent
0dfd6282c7
commit
1bc80ed7d2
@ -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:
|
||||
|
||||
@ -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 |
Loading…
Reference in New Issue
Block a user