Fix issue #71: Nuxt error with colors
All checks were successful
Test / test (push) Successful in 2s

This commit is contained in:
Gitea OpenCode Agent
2026-10-15 16:44:08 +00:00
parent dd4c9535d3
commit 37e6e44612
2 changed files with 82 additions and 6 deletions

View File

@@ -30,9 +30,12 @@ $themes: (
container-shadow: #151d28,
sticky-header-bg: #20202077,
red: #e06c75,
green: #98c379,
gray: #cccccc,
// Quoted: red/green/gray are also Sass colour keywords, so unquoted they are parsed as
// colour values, and interpolating one into `--color-#{$name}` warns
// (Syndria98/dragonroll#71).
"red": #e06c75,
"green": #98c379,
"gray": #cccccc,
// The rarity of an item colours its row in the sidebar (Syndria98/dragonroll#63).
rarity-common: #ffffff,
@@ -75,9 +78,10 @@ $themes: (
container-shadow: #5f6774,
sticky-header-bg: #fff,
red: #e06c75,
green: #98c379,
gray: #cccccc,
// Quoted for the same reason as in the dark map.
"red": #e06c75,
"green": #98c379,
"gray": #cccccc,
// Same rarities as the dark map, darkened to stay readable on a light background.
rarity-common: #1e1e1e,