@nanisoft/prism-ui 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/styles.css +160 -0
- package/dist/theming/index.d.ts +1 -1
- package/dist/theming/index.d.ts.map +1 -1
- package/dist/theming/index.js +1 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -4466,6 +4466,166 @@
|
|
|
4466
4466
|
--sidebar-ring: #feb98b;
|
|
4467
4467
|
--radius: 1rem;
|
|
4468
4468
|
}
|
|
4469
|
+
[data-pack="cyan"] {
|
|
4470
|
+
--background: #ffffff;
|
|
4471
|
+
--foreground: #2a2f30;
|
|
4472
|
+
--card: #ffffff;
|
|
4473
|
+
--card-foreground: #2a2f30;
|
|
4474
|
+
--popover: #ffffff;
|
|
4475
|
+
--popover-foreground: #2a2f30;
|
|
4476
|
+
--primary: #46bcd6;
|
|
4477
|
+
--primary-foreground: #001c23;
|
|
4478
|
+
--secondary: #e9eeef;
|
|
4479
|
+
--secondary-foreground: #2a2f30;
|
|
4480
|
+
--muted: #e9eeef;
|
|
4481
|
+
--muted-foreground: #555c5e;
|
|
4482
|
+
--accent: #cdf5ff;
|
|
4483
|
+
--accent-foreground: #001c23;
|
|
4484
|
+
--destructive: #dc2626;
|
|
4485
|
+
--destructive-foreground: #ffffff;
|
|
4486
|
+
--success: #15803d;
|
|
4487
|
+
--success-foreground: #ffffff;
|
|
4488
|
+
--warning: #f59e0b;
|
|
4489
|
+
--warning-foreground: #15191a;
|
|
4490
|
+
--border: #d9dfe1;
|
|
4491
|
+
--input: #d9dfe1;
|
|
4492
|
+
--ring: #00a0bb;
|
|
4493
|
+
--brand-ink: #006678;
|
|
4494
|
+
--chart-1: #00a0bb;
|
|
4495
|
+
--chart-2: #14b8a6;
|
|
4496
|
+
--chart-3: #f59e0b;
|
|
4497
|
+
--chart-4: #889193;
|
|
4498
|
+
--chart-5: #ef4444;
|
|
4499
|
+
--sidebar: #f4f7f8;
|
|
4500
|
+
--sidebar-foreground: #2a2f30;
|
|
4501
|
+
--sidebar-primary: #46bcd6;
|
|
4502
|
+
--sidebar-primary-foreground: #001c23;
|
|
4503
|
+
--sidebar-accent: #cdf5ff;
|
|
4504
|
+
--sidebar-accent-foreground: #001c23;
|
|
4505
|
+
--sidebar-border: #d9dfe1;
|
|
4506
|
+
--sidebar-ring: #008399;
|
|
4507
|
+
--radius: 0.5rem;
|
|
4508
|
+
}
|
|
4509
|
+
[data-pack="cyan"].dark, .dark [data-pack="cyan"] {
|
|
4510
|
+
--background: #15191a;
|
|
4511
|
+
--foreground: #e9eeef;
|
|
4512
|
+
--card: #2a2f30;
|
|
4513
|
+
--card-foreground: #e9eeef;
|
|
4514
|
+
--popover: #2a2f30;
|
|
4515
|
+
--popover-foreground: #e9eeef;
|
|
4516
|
+
--primary: #7fdaf0;
|
|
4517
|
+
--primary-foreground: #001c23;
|
|
4518
|
+
--secondary: #3d4445;
|
|
4519
|
+
--secondary-foreground: #e9eeef;
|
|
4520
|
+
--muted: #3d4445;
|
|
4521
|
+
--muted-foreground: #c4ccce;
|
|
4522
|
+
--accent: #004b59;
|
|
4523
|
+
--accent-foreground: #cdf5ff;
|
|
4524
|
+
--destructive: #f87171;
|
|
4525
|
+
--destructive-foreground: #15191a;
|
|
4526
|
+
--success: #4ade80;
|
|
4527
|
+
--success-foreground: #15191a;
|
|
4528
|
+
--warning: #fcd34d;
|
|
4529
|
+
--warning-foreground: #15191a;
|
|
4530
|
+
--border: #3d4445;
|
|
4531
|
+
--input: #3d4445;
|
|
4532
|
+
--ring: #7fdaf0;
|
|
4533
|
+
--brand-ink: #a7ebfc;
|
|
4534
|
+
--chart-1: #46bcd6;
|
|
4535
|
+
--chart-2: #2dd4bf;
|
|
4536
|
+
--chart-3: #fbbf24;
|
|
4537
|
+
--chart-4: #a4adaf;
|
|
4538
|
+
--chart-5: #f87171;
|
|
4539
|
+
--sidebar: #2a2f30;
|
|
4540
|
+
--sidebar-foreground: #e9eeef;
|
|
4541
|
+
--sidebar-primary: #7fdaf0;
|
|
4542
|
+
--sidebar-primary-foreground: #001c23;
|
|
4543
|
+
--sidebar-accent: #004b59;
|
|
4544
|
+
--sidebar-accent-foreground: #cdf5ff;
|
|
4545
|
+
--sidebar-border: #3d4445;
|
|
4546
|
+
--sidebar-ring: #7fdaf0;
|
|
4547
|
+
--radius: 0.5rem;
|
|
4548
|
+
}
|
|
4549
|
+
[data-pack="gold"] {
|
|
4550
|
+
--background: #ffffff;
|
|
4551
|
+
--foreground: #302d29;
|
|
4552
|
+
--card: #ffffff;
|
|
4553
|
+
--card-foreground: #302d29;
|
|
4554
|
+
--popover: #ffffff;
|
|
4555
|
+
--popover-foreground: #302d29;
|
|
4556
|
+
--primary: #d2a24b;
|
|
4557
|
+
--primary-foreground: #231600;
|
|
4558
|
+
--secondary: #efece9;
|
|
4559
|
+
--secondary-foreground: #302d29;
|
|
4560
|
+
--muted: #efece9;
|
|
4561
|
+
--muted-foreground: #5e5a54;
|
|
4562
|
+
--accent: #ffeac7;
|
|
4563
|
+
--accent-foreground: #231600;
|
|
4564
|
+
--destructive: #dc2626;
|
|
4565
|
+
--destructive-foreground: #ffffff;
|
|
4566
|
+
--success: #15803d;
|
|
4567
|
+
--success-foreground: #ffffff;
|
|
4568
|
+
--warning: #f59e0b;
|
|
4569
|
+
--warning-foreground: #1a1815;
|
|
4570
|
+
--border: #e1ddd9;
|
|
4571
|
+
--input: #e1ddd9;
|
|
4572
|
+
--ring: #b78520;
|
|
4573
|
+
--brand-ink: #775300;
|
|
4574
|
+
--chart-1: #b78520;
|
|
4575
|
+
--chart-2: #14b8a6;
|
|
4576
|
+
--chart-3: #f59e0b;
|
|
4577
|
+
--chart-4: #938e87;
|
|
4578
|
+
--chart-5: #ef4444;
|
|
4579
|
+
--sidebar: #f8f6f4;
|
|
4580
|
+
--sidebar-foreground: #302d29;
|
|
4581
|
+
--sidebar-primary: #d2a24b;
|
|
4582
|
+
--sidebar-primary-foreground: #231600;
|
|
4583
|
+
--sidebar-accent: #ffeac7;
|
|
4584
|
+
--sidebar-accent-foreground: #231600;
|
|
4585
|
+
--sidebar-border: #e1ddd9;
|
|
4586
|
+
--sidebar-ring: #986b00;
|
|
4587
|
+
--radius: 1rem;
|
|
4588
|
+
}
|
|
4589
|
+
[data-pack="gold"].dark, .dark [data-pack="gold"] {
|
|
4590
|
+
--background: #1a1815;
|
|
4591
|
+
--foreground: #efece9;
|
|
4592
|
+
--card: #302d29;
|
|
4593
|
+
--card-foreground: #efece9;
|
|
4594
|
+
--popover: #302d29;
|
|
4595
|
+
--popover-foreground: #efece9;
|
|
4596
|
+
--primary: #edc47d;
|
|
4597
|
+
--primary-foreground: #231600;
|
|
4598
|
+
--secondary: #45423c;
|
|
4599
|
+
--secondary-foreground: #efece9;
|
|
4600
|
+
--muted: #45423c;
|
|
4601
|
+
--muted-foreground: #cecac4;
|
|
4602
|
+
--accent: #583d00;
|
|
4603
|
+
--accent-foreground: #ffeac7;
|
|
4604
|
+
--destructive: #f87171;
|
|
4605
|
+
--destructive-foreground: #1a1815;
|
|
4606
|
+
--success: #4ade80;
|
|
4607
|
+
--success-foreground: #1a1815;
|
|
4608
|
+
--warning: #fcd34d;
|
|
4609
|
+
--warning-foreground: #1a1815;
|
|
4610
|
+
--border: #45423c;
|
|
4611
|
+
--input: #45423c;
|
|
4612
|
+
--ring: #edc47d;
|
|
4613
|
+
--brand-ink: #f9d9a4;
|
|
4614
|
+
--chart-1: #d2a24b;
|
|
4615
|
+
--chart-2: #2dd4bf;
|
|
4616
|
+
--chart-3: #fbbf24;
|
|
4617
|
+
--chart-4: #afaaa3;
|
|
4618
|
+
--chart-5: #f87171;
|
|
4619
|
+
--sidebar: #302d29;
|
|
4620
|
+
--sidebar-foreground: #efece9;
|
|
4621
|
+
--sidebar-primary: #edc47d;
|
|
4622
|
+
--sidebar-primary-foreground: #231600;
|
|
4623
|
+
--sidebar-accent: #583d00;
|
|
4624
|
+
--sidebar-accent-foreground: #ffeac7;
|
|
4625
|
+
--sidebar-border: #45423c;
|
|
4626
|
+
--sidebar-ring: #edc47d;
|
|
4627
|
+
--radius: 1rem;
|
|
4628
|
+
}
|
|
4469
4629
|
@keyframes prism-travel {
|
|
4470
4630
|
from {
|
|
4471
4631
|
transform: translateX(0);
|
package/dist/theming/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* client runtime. There is no theme factory and no override object: the pack
|
|
9
9
|
* and mode are the whole API.
|
|
10
10
|
*/
|
|
11
|
-
export declare const PACKS: readonly ["default", "blush", "mint", "lavender", "sky", "peach"];
|
|
11
|
+
export declare const PACKS: readonly ["default", "blush", "mint", "lavender", "sky", "peach", "cyan", "gold"];
|
|
12
12
|
export type PackId = (typeof PACKS)[number];
|
|
13
13
|
export declare const MODES: readonly ["light", "dark"];
|
|
14
14
|
export type Mode = (typeof MODES)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theming/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theming/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,eAAO,MAAM,KAAK,mFAAoF,CAAA;AACtG,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAE3C,eAAO,MAAM,KAAK,4BAA6B,CAAA;AAC/C,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAEzC,eAAO,MAAM,cAAc,cAAc,CAAA;AACzC,eAAO,MAAM,mBAAmB,gBAAgB,CAAA;AAEhD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,sBAAsB,CAAA;AAEzD;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,GACL,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAK/C"}
|
package/dist/theming/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* client runtime. There is no theme factory and no override object: the pack
|
|
9
9
|
* and mode are the whole API.
|
|
10
10
|
*/
|
|
11
|
-
export const PACKS = ['default', 'blush', 'mint', 'lavender', 'sky', 'peach'];
|
|
11
|
+
export const PACKS = ['default', 'blush', 'mint', 'lavender', 'sky', 'peach', 'cyan', 'gold'];
|
|
12
12
|
export const MODES = ['light', 'dark'];
|
|
13
13
|
export const PACK_ATTRIBUTE = 'data-pack';
|
|
14
14
|
export const DEFAULT_STORAGE_KEY = 'prism-theme';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanisoft/prism-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prism's React component, block and page library.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"clsx": "^2.1.1",
|
|
103
103
|
"lucide-react": "^0.545.0",
|
|
104
104
|
"tailwind-merge": "^3.3.1",
|
|
105
|
-
"@nanisoft/prism-tokens": "
|
|
105
|
+
"@nanisoft/prism-tokens": "1.2.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@tailwindcss/postcss": "^4.3.3",
|