diff --git a/src/components/ImpactMapFigure.astro b/src/components/ImpactMapFigure.astro index fb43227..b5c333e 100644 --- a/src/components/ImpactMapFigure.astro +++ b/src/components/ImpactMapFigure.astro @@ -22,22 +22,22 @@ } .im li strong:first-child { - color: oklch(90% 0.25 100); + color: var(--color-255-75); } .im li li strong:first-child { - color: oklch(90% 0.25 150); + color: var(--color-150-75); } .im li li li strong:first-child { - color: oklch(90% 0.25 200); + color: var(--color-80-75); } .im li li li li strong:first-child { - color: oklch(90% 0.25 300); + color: var(--color-20-75); } .im li li li li li strong:first-child { - color: oklch(90% 0.25 30); + color: var(--color-285-75); } diff --git a/src/styles/global.css b/src/styles/global.css index 1951e66..6aea37c 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,4 +1,10 @@ :root { + /* https://oklch.com/#75,0.1,20,100 */ + --color-20-75: #e69494; + /* https://oklch.com/#75,0.1,80,100 */ + --color-80-75: #cfa761; + /* https://oklch.com/#75,0.1,150,100 */ + --color-150-75: #7fc08c; /* https://oklch.com/#15,0.2,255,100 */ --color-255-15: #000b1f; /* https://oklch.com/#75,0.2,255,100 */ @@ -9,8 +15,6 @@ --color-255-95: #e4f0ff; /* https://oklch.com/#75,0.2,285,100 */ --color-285-75: #a6a1ff; - /* https://oklch.com/#75,0.1,150,100 */ - --color-150-75: #7fc08c; --color-base: var(--color-255-15); --color-code: var(--color-150-75);