refactor: fetch config & warning color

This commit is contained in:
puriphatt 2024-10-16 11:14:13 +07:00
parent b12b410b2b
commit 4453d563e6
2 changed files with 16 additions and 0 deletions

View file

@ -31,6 +31,9 @@ html {
--positive-fg: 0 0% 100%;
--positive-bg: var(--teal-7-hsl);
--warning-fg: 0 0% 100%;
--warning-bg: var(--yellow-6-hsl);
--gender-male: var(--blue-5-hsl);
--gender-female: var(--pink-7-hsl);
--customer-corp: var(--purple-11-hsl);
@ -166,6 +169,15 @@ html {
background-color: hsl(var(--positive-bg));
}
.app-text-warning {
color: hsl(var(--warning-bg));
}
.app-bg-warning {
color: hsl(var(--warning-fg));
background-color: hsl(var(--warning-bg));
}
.app-text-male {
color: hsl(var(--gender-male));
}