Skip to content

Commit

Permalink
Revert "Add color variables for tag intents"
Browse files Browse the repository at this point in the history
This reverts commit 99c9d37.
  • Loading branch information
mstrasinskis committed Nov 12, 2024
1 parent 99c9d37 commit 3d99b29
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
12 changes: 6 additions & 6 deletions src/lib/components/Tag.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
color: var(--tag-text);
&.success {
background-color: var(--tag-success-background);
color: var(--tag-success-text);
background-color: var(--positive-emphasis);
color: var(--tag-text-light);
}
&.warning {
background-color: var(--tag-warning-background);
color: var(--tag-warning-text);
background-color: var(--warning-emphasis);
color: var(--tag-text-dark);
}
&.error {
background-color: var(--tag-error-background);
color: var(--tag-error-text);
background-color: var(--negative-emphasis);
color: var(--tag-text-light);
}
}
</style>
11 changes: 5 additions & 6 deletions src/lib/styles/themes/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
--text-description: var(--night-50);
--text-description-tint: var(--night-100);

--tag-background: var(--night-400);
--tag-text: var(--night-50);
--tag-text-light: var(--night-900);
--tag-text-dark: var(--night-550);

--input-focus-background: var(--night-575);
--button-primary: var(--blue-accent);
--table-background: var(--night-500);
Expand Down Expand Up @@ -216,12 +221,6 @@

--tag-text: var(--night-50);
--tag-background: var(--night-575);
--tag-success-text: var(--green-200);
--tag-success-background: var(--green-200-a25);
--tag-warning-text: var(--orange-200);
--tag-warning-background: var(--orange-200-a25);
--tag-error-text: var(--pink-200);
--tag-error-background: var(--pink-200-a25);
// Proposal status colors
--tag-adopted-text: var(--green-200);
--tag-adopted-background: var(--green-200-a25);
Expand Down
11 changes: 5 additions & 6 deletions src/lib/styles/themes/light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
--text-description: var(--blue-600);
--text-description-tint: var(--blue-250);

--tag-background: var(--neutral-250);
--tag-text: var(--blue-600);
--tag-text-light: var(--neutral-50);
--tag-text-dark: var(--blue-900);

--input-focus-background: var(--neutral-75);
--button-primary: var(--blue-accent);
--table-background: var(--neutral-75);
Expand Down Expand Up @@ -225,12 +230,6 @@

--tag-text: var(--blue-600);
--tag-background: var(--neutral-250);
--tag-success-text: var(--green-200);
--tag-success-background: var(--green-200-a25);
--tag-warning-text: var(--orange-200);
--tag-warning-background: var(--orange-200-a25);
--tag-error-text: var(--pink-200);
--tag-error-background: var(--pink-200-a25);
// Proposal status colors
--tag-adopted-text: var(--green-200);
--tag-adopted-background: var(--green-200-a25);
Expand Down

0 comments on commit 3d99b29

Please sign in to comment.