mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 02:38:12 +02:00
Fixed colour styling in CSS and js.
This commit is contained in:
1 parent
a385ee20bd
commit
17c29270cb
2 files changed
+17
-12
No files matched your search
@@ -556,14 +556,20 @@ function RenderGarden() {
|
||||
);
|
||||
|
||||
const GardenBorderColours = [
|
||||
"var(--Lavender)",
|
||||
"var(--Mauve)",
|
||||
"var(--Rosewater)",
|
||||
"var(--Flamingo)",
|
||||
"var(--Pink)",
|
||||
"var(--Blue)",
|
||||
"var(--Teal)",
|
||||
"var(--Mauve)",
|
||||
"var(--Red)",
|
||||
"var(--Maroon)",
|
||||
"var(--Peach)",
|
||||
"var(--Yellow)",
|
||||
"var(--Green)"
|
||||
"var(--Green)",
|
||||
"var(--Teal)",
|
||||
"var(--Sky)",
|
||||
"var(--Sapphire)",
|
||||
"var(--Blue)",
|
||||
"var(--Lavender)"
|
||||
];
|
||||
|
||||
GardenPanel.style.setProperty(
|
||||
|
||||
+6
-7
@@ -32,7 +32,6 @@
|
||||
--Base: #1e1e2e;
|
||||
--Mantle: #181825;
|
||||
--Crust: #11111b;
|
||||
--PlantBackground: var(--Surface0);
|
||||
}
|
||||
|
||||
html {
|
||||
@@ -103,7 +102,7 @@ body {
|
||||
|
||||
.PlantTile {
|
||||
overflow: hidden;
|
||||
background-color: var(--PlantBackground);
|
||||
background-color: var(--Surface0);
|
||||
border: 3px solid var(--Surface2);
|
||||
}
|
||||
|
||||
@@ -379,7 +378,7 @@ input, button, textarea, select {
|
||||
--GrowthProgress: 0%;
|
||||
--GrowthColour: var(--Green);
|
||||
--PlotBorderColour: var(--Surface2);
|
||||
--TileBackground: var(--PlantBackground);
|
||||
--TileBackground: var(--Surface0);
|
||||
position: relative;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
@@ -454,7 +453,7 @@ input, button, textarea, select {
|
||||
}
|
||||
|
||||
.GardenPlotEmpty:hover {
|
||||
--TileBackground: var(--PlantBackground);
|
||||
--TileBackground: var(--Surface0);
|
||||
}
|
||||
|
||||
.GardenPlotMature:hover {
|
||||
@@ -1424,17 +1423,17 @@ input, button, textarea, select {
|
||||
|
||||
.MutationRecipeMatcher {
|
||||
color: var(--Sky);
|
||||
background-color: var(--PlantBackground);
|
||||
background-color: var(--Surface0);
|
||||
}
|
||||
|
||||
.MutationRecipeKeep {
|
||||
color: var(--Subtext1);
|
||||
background-color: var(--PlantBackground);
|
||||
background-color: var(--Surface0);
|
||||
}
|
||||
|
||||
.MutationRecipeCapture {
|
||||
color: var(--Lavender);
|
||||
background-color: var(--PlantBackground);
|
||||
background-color: var(--Surface0);
|
||||
}
|
||||
|
||||
.MutationRecipeText {
|
||||
|
||||
Reference in new issue
Block a user