Undid favorite/blacklisted tag color-coded stylings.
All checks were successful
ci / build-test (push) Successful in 2m44s
ci / publish-image (push) Successful in 1m32s

This commit is contained in:
2026-03-18 00:27:43 -04:00
parent ce9fbe491d
commit 1c016ac62e
5 changed files with 30 additions and 10 deletions

View File

@@ -23,7 +23,7 @@
if (Tag.IsBlacklisted) if (Tag.IsBlacklisted)
{ {
return ColorVarient.Pink; return ColorVarient.Red;
} }
return ColorVarient.Secondary; return ColorVarient.Secondary;

View File

@@ -37,15 +37,15 @@
private ColorVarient GetColorVarient() private ColorVarient GetColorVarient()
{ {
if (Tag.IsFavorite) // if (Tag.IsFavorite)
{ // {
return ColorVarient.Mint; // return ColorVarient.Mint;
} // }
if (Tag.IsFavorite) // if (Tag.IsBlacklisted)
{ // {
return ColorVarient.Orange; // return ColorVarient.Red;
} // }
return ColorVarient.Primary; return ColorVarient.Primary;
} }

View File

@@ -20,7 +20,8 @@ public enum ColorVarient
Teal, Teal,
Blue, Blue,
Orange, Orange,
Pink Pink,
Red
} }
public static class CssUtil public static class CssUtil

View File

@@ -787,6 +787,22 @@ code {
--chip-fg-rgb: var(--rgb-on-teal, 255 255 255); --chip-fg-rgb: var(--rgb-on-teal, 255 255 255);
} }
.j-chip.color-blue {
--chip-rgb: var(--rgb-blue);
}
.j-chip.varient-filled.color-blue {
--chip-fg-rgb: var(--rgb-on-blue, 255 255 255);
}
.j-chip.color-red {
--chip-rgb: var(--rgb-red);
}
.j-chip.varient-filled.color-red {
--chip-fg-rgb: var(--rgb-on-red, 255 255 255);
}
.j-chip.color-black { .j-chip.color-black {
color: inherit; color: inherit;
--chip-rgb: 39 39 39; --chip-rgb: 39 39 39;

View File

@@ -45,10 +45,12 @@
--rgb-mint: 167 243 208; --rgb-mint: 167 243 208;
--rgb-green: 175 224 125; --rgb-green: 175 224 125;
--rgb-teal: 110 236 255; --rgb-teal: 110 236 255;
--rgb-blue: 115 196 255;
--rgb-yellow: 255 224 115; --rgb-yellow: 255 224 115;
--rgb-on-yellow: 0 0 0; --rgb-on-yellow: 0 0 0;
--rgb-pink: 224 104 148; --rgb-pink: 224 104 148;
--rgb-on-pink: 255 255 255; --rgb-on-pink: 255 255 255;
--rgb-red: 224 104 104;
/* Colors */ /* Colors */
--color-primary: rgb(180,200, 214); --color-primary: rgb(180,200, 214);
--color-secondary: rgb(200,220,234); --color-secondary: rgb(200,220,234);
@@ -61,6 +63,7 @@
--color-orange: #ffa773; --color-orange: #ffa773;
--color-pink: #e06894; --color-pink: #e06894;
--color-dark-pink: #832044; --color-dark-pink: #832044;
--color-red: #e06868;
/* Background Colors */ /* Background Colors */
--background-color-primary: rgb(57, 79, 94); --background-color-primary: rgb(57, 79, 94);
--background-color-secondary: rgb(30, 53, 69); --background-color-secondary: rgb(30, 53, 69);