aboutsummaryrefslogtreecommitdiff
path: root/dist/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/index.d.ts102
1 files changed, 74 insertions, 28 deletions
diff --git a/dist/index.d.ts b/dist/index.d.ts
index 2417f57..650c040 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -1,51 +1,97 @@
/*** UTILITY ------------------------------------------ ***/
-import { palette } from "./colors";
+import { palette, pastelPalette } from "./colors";
/*** EXPORT ------------------------------------------- ***/
-export { palette, raw, yang, yin } from "./colors";
-export type { Hue, Shade } from "./colors";
+export { palette, pastelPalette, pastelRaw, raw, yang, yin } from "./colors";
+export type { Hue, PastelHue, PastelShade, Shade } from "./colors";
export declare const color: (hue: keyof typeof palette, shade: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9) => string;
+export declare const pastelColor: (hue: keyof typeof pastelPalette, shade: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9) => string;
export declare const reduced: {
readonly blue: {
- readonly 1: "oklch(89.66% 0.046 260.67)";
- readonly 2: "oklch(62.39% 0.181 258.33)";
- readonly 3: "oklch(43.48% 0.17 260.2)";
+ readonly 1: "oklch(0.8966 0.046 260.67)";
+ readonly 2: "oklch(0.6239 0.181 258.33)";
+ readonly 3: "oklch(0.4348 0.17 260.2)";
};
readonly gray: {
- readonly 1: "oklch(95.57% 0.003 286.35)";
- readonly 2: "oklch(84.68% 0.002 197.12)";
- readonly 3: "oklch(63.12% 0.004 219.55)";
+ readonly 1: "oklch(0.9557 0.003 286.35)";
+ readonly 2: "oklch(0.8468 0.002 197.12)";
+ readonly 3: "oklch(0.6312 0.004 219.55)";
};
readonly green: {
- readonly 1: "oklch(93.96% 0.05 148.74)";
- readonly 2: "oklch(79.33% 0.179 145.62)";
- readonly 3: "oklch(58.83% 0.158 145.05)";
+ readonly 1: "oklch(0.9396 0.05 148.74)";
+ readonly 2: "oklch(0.7933 0.179 145.62)";
+ readonly 3: "oklch(0.5883 0.158 145.05)";
};
readonly orange: {
- readonly 1: "oklch(93.83% 0.037 56.93)";
- readonly 2: "oklch(78.75% 0.141 54.32)";
- readonly 3: "oklch(58.28% 0.128 52.2)";
+ readonly 1: "oklch(0.9383 0.037 56.93)";
+ readonly 2: "oklch(0.7875 0.141 54.32)";
+ readonly 3: "oklch(0.5828 0.128 52.2)";
};
readonly pink: {
- readonly 1: "oklch(95.8% 0.023 354.27)";
- readonly 2: "oklch(85.43% 0.09 354.1)";
- readonly 3: "oklch(64.11% 0.084 353.91)";
+ readonly 1: "oklch(0.958 0.023 354.27)";
+ readonly 2: "oklch(0.8543 0.09 354.1)";
+ readonly 3: "oklch(0.6411 0.084 353.91)";
};
readonly purple: {
- readonly 1: "oklch(89.1% 0.046 305.24)";
- readonly 2: "oklch(58.47% 0.181 302.06)";
- readonly 3: "oklch(39.46% 0.164 298.29)";
+ readonly 1: "oklch(0.891 0.046 305.24)";
+ readonly 2: "oklch(0.5847 0.181 302.06)";
+ readonly 3: "oklch(0.3946 0.164 298.29)";
};
readonly red: {
- readonly 1: "oklch(88.98% 0.052 3.28)";
- readonly 2: "oklch(62.73% 0.209 12.37)";
- readonly 3: "oklch(45.8% 0.177 17.7)";
+ readonly 1: "oklch(0.8898 0.052 3.28)";
+ readonly 2: "oklch(0.6273 0.209 12.37)";
+ readonly 3: "oklch(0.458 0.177 17.7)";
};
readonly yellow: {
- readonly 1: "oklch(97.05% 0.039 91.2)";
- readonly 2: "oklch(90.92% 0.125 92.56)";
- readonly 3: "oklch(69.14% 0.109 91.04)";
+ readonly 1: "oklch(0.9705 0.039 91.2)";
+ readonly 2: "oklch(0.9092 0.125 92.56)";
+ readonly 3: "oklch(0.6914 0.109 91.04)";
};
readonly yin: {
- readonly 1: "oklch(91.87% 0.003 264.54)";
+ readonly 1: "oklch(0.9187 0.003 264.54)";
+ };
+};
+export declare const pastelReduced: {
+ readonly blue: {
+ readonly 1: "oklch(0.9 0.028 261)";
+ readonly 2: "oklch(0.6 0.096 259)";
+ readonly 3: "oklch(0.41 0.096 262)";
+ };
+ readonly gray: {
+ readonly 1: "oklch(0.96 0.004 287)";
+ readonly 2: "oklch(0.85 0.004 195)";
+ readonly 3: "oklch(0.63 0.004 215)";
+ };
+ readonly green: {
+ readonly 1: "oklch(0.94 0.032 149)";
+ readonly 2: "oklch(0.78 0.1 146)";
+ readonly 3: "oklch(0.57 0.088 146)";
+ };
+ readonly orange: {
+ readonly 1: "oklch(0.94 0.02 55)";
+ readonly 2: "oklch(0.78 0.076 55)";
+ readonly 3: "oklch(0.57 0.068 54)";
+ };
+ readonly pink: {
+ readonly 1: "oklch(0.96 0.016 353)";
+ readonly 2: "oklch(0.85 0.048 353)";
+ readonly 3: "oklch(0.64 0.044 354)";
+ };
+ readonly purple: {
+ readonly 1: "oklch(0.89 0.028 304)";
+ readonly 2: "oklch(0.57 0.1 304)";
+ readonly 3: "oklch(0.37 0.1 303)";
+ };
+ readonly red: {
+ readonly 1: "oklch(0.89 0.032 2)";
+ readonly 2: "oklch(0.59 0.12 8)";
+ readonly 3: "oklch(0.41 0.104 12)";
+ };
+ readonly yellow: {
+ readonly 1: "oklch(0.97 0.024 94)";
+ readonly 2: "oklch(0.9 0.068 91)";
+ readonly 3: "oklch(0.69 0.064 91)";
+ };
+ readonly yin: {
+ readonly 1: "oklch(0.9187 0.003 264.54)";
};
};