diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-11 15:16:43 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-11 15:16:43 -0700 |
| commit | 6be86b5f05a7c14e9de03d63132e7beb9789965c (patch) | |
| tree | dae243510721368d64f4b5c60e7f66e4ad048f77 /documentation/REDUCED.md | |
Diffstat (limited to 'documentation/REDUCED.md')
| -rw-r--r-- | documentation/REDUCED.md | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/documentation/REDUCED.md b/documentation/REDUCED.md new file mode 100644 index 0000000..b158161 --- /dev/null +++ b/documentation/REDUCED.md @@ -0,0 +1,105 @@ +# Reduced Palette + +Sometimes, an abundance of color options is a hindrance. Analysis paralysis, amirite? To this end [`color.css`](../definitions/style/color.css) reduces the number of stops in the expanded palette to three, save for yin (it only has two) and yang (it only has one). + +If you want more granularity (read: opacity), you can call the raw version of the color (append `-raw` to the variable name) which will return the OKLCH values so you can do something like this: `oklch(var(--uchu-light-gray-raw) / 40%)`. + + + +## Gray + + + +- `var(--uchu-light-gray)` +- `var(--uchu-gray)` +- `var(--uchu-dark-gray)` + + + +## Red + + + +- `var(--uchu-light-red)` +- `var(--uchu-red)` +- `var(--uchu-dark-red)` + + + +## Pink + + + +- `var(--uchu-light-pink)` +- `var(--uchu-pink)` +- `var(--uchu-dark-pink)` + + + +## Purple + + + +- `var(--uchu-light-purple)` +- `var(--uchu-purple)` +- `var(--uchu-dark-purple)` + + + +## Blue + + + +- `var(--uchu-light-blue)` +- `var(--uchu-blue)` +- `var(--uchu-dark-blue)` + + + +## Green + + + +- `var(--uchu-light-green)` +- `var(--uchu-green)` +- `var(--uchu-dark-green)` + + + +## Yellow + + + +- `var(--uchu-light-yellow)` +- `var(--uchu-yellow)` +- `var(--uchu-dark-yellow)` + + + +## Orange + + + +- `var(--uchu-light-orange)` +- `var(--uchu-orange)` +- `var(--uchu-dark-orange)` + + + +## General + + + +- `var(--uchu-light-yin)` +- `var(--uchu-yin)` +- `var(--uchu-yang)` + + + +## Sass + +If you know what Sass is, you'll know how to use [`color.scss`](../definitions/style/color.scss). I didn't provide raw versions of them because Sass comes with so many color tools (and, I've been using regular CSS variables in my Sass _anyways_). + +## JS + +If you are a fan of CSS-in-JS or need to programmatically grab color values, there's [`color.json`](../definitions/script/color.json) and [`color.ts`](../definitions/script/color.ts) includes available. |
