@brrritscold/core-react 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/styles.css CHANGED
@@ -93,6 +93,8 @@
93
93
  --opacity-10: 10%;
94
94
  --opacity-50: 50%;
95
95
  --opacity-100: 100%;
96
+ --destructive-background: rgba(185, 28, 28, 0.1); /** The tint behind destructive text: Button and Badge `destructive`, a destructive menu item's highlight. `destructive` at 10% in light, 20% in dark. */
97
+ --input-background: transparent; /** The fill of a form field: Input, Textarea, Select's trigger, Combobox, InputGroup, Checkbox, RadioGroup. Transparent in light, `input` at 30% in dark. */
96
98
  --background: var(--color-white);
97
99
  --foreground: var(--color-neutral-950);
98
100
  --card: var(--color-white);
@@ -117,9 +119,12 @@
117
119
  --radius-md: var(--border-radius-md);
118
120
  --radius-lg: var(--border-radius-lg);
119
121
  --radius-xl: var(--border-radius-xl);
122
+ --outline-background: var(--background); /** The fill of an outlined control raised on its surface: Button `outline`, the active tab. `background` in light, `input-background` in dark. */
120
123
  }
121
124
 
122
125
  .dark {
126
+ --destructive-background: rgba(248, 113, 113, 0.2); /** The tint behind destructive text: Button and Badge `destructive`, a destructive menu item's highlight. `destructive` at 10% in light, 20% in dark. */
127
+ --input-background: rgba(38, 38, 38, 0.3); /** The fill of a form field: Input, Textarea, Select's trigger, Combobox, InputGroup, Checkbox, RadioGroup. Transparent in light, `input` at 30% in dark. */
123
128
  --background: var(--color-neutral-950);
124
129
  --foreground: var(--color-neutral-50);
125
130
  --card: var(--color-neutral-900);
@@ -137,6 +142,7 @@
137
142
  --destructive: var(--color-red-400);
138
143
  --border: var(--color-neutral-800);
139
144
  --input: var(--color-neutral-800);
145
+ --outline-background: var(--input-background); /** The fill of an outlined control raised on its surface: Button `outline`, the active tab. `background` in light, `input-background` in dark. */
140
146
  --ring: var(--color-neutral-500);
141
147
  --radius: var(--border-radius-lg);
142
148
  --radius-xs: var(--border-radius-xs);
@@ -219,8 +225,11 @@
219
225
  --color-accent: var(--accent);
220
226
  --color-accent-foreground: var(--accent-foreground);
221
227
  --color-destructive: var(--destructive);
228
+ --color-destructive-background: var(--destructive-background);
222
229
  --color-border: var(--border);
223
230
  --color-input: var(--input);
231
+ --color-input-background: var(--input-background);
232
+ --color-outline-background: var(--outline-background);
224
233
  --color-ring: var(--ring);
225
234
  --radius-full: var(--border-radius-full);
226
235
  }
package/dist/tokens.json CHANGED
@@ -471,6 +471,11 @@
471
471
  "$type": "color",
472
472
  "$value": "{color.red.700}"
473
473
  },
474
+ "destructive-background": {
475
+ "$type": "color",
476
+ "$value": "rgba(185, 28, 28, 0.1)",
477
+ "$description": "The tint behind destructive text: Button and Badge `destructive`, a destructive menu item's highlight. `destructive` at 10% in light, 20% in dark."
478
+ },
474
479
  "border": {
475
480
  "$type": "color",
476
481
  "$value": "{color.neutral.200}"
@@ -479,6 +484,16 @@
479
484
  "$type": "color",
480
485
  "$value": "{color.neutral.200}"
481
486
  },
487
+ "input-background": {
488
+ "$type": "color",
489
+ "$value": "transparent",
490
+ "$description": "The fill of a form field: Input, Textarea, Select's trigger, Combobox, InputGroup, Checkbox, RadioGroup. Transparent in light, `input` at 30% in dark."
491
+ },
492
+ "outline-background": {
493
+ "$type": "color",
494
+ "$value": "{background}",
495
+ "$description": "The fill of an outlined control raised on its surface: Button `outline`, the active tab. `background` in light, `input-background` in dark."
496
+ },
482
497
  "ring": {
483
498
  "$type": "color",
484
499
  "$value": "{color.neutral.400}"
@@ -569,6 +584,11 @@
569
584
  "$type": "color",
570
585
  "$value": "{color.red.400}"
571
586
  },
587
+ "destructive-background": {
588
+ "$type": "color",
589
+ "$value": "rgba(248, 113, 113, 0.2)",
590
+ "$description": "The tint behind destructive text: Button and Badge `destructive`, a destructive menu item's highlight. `destructive` at 10% in light, 20% in dark."
591
+ },
572
592
  "border": {
573
593
  "$type": "color",
574
594
  "$value": "{color.neutral.800}"
@@ -577,6 +597,16 @@
577
597
  "$type": "color",
578
598
  "$value": "{color.neutral.800}"
579
599
  },
600
+ "input-background": {
601
+ "$type": "color",
602
+ "$value": "rgba(38, 38, 38, 0.3)",
603
+ "$description": "The fill of a form field: Input, Textarea, Select's trigger, Combobox, InputGroup, Checkbox, RadioGroup. Transparent in light, `input` at 30% in dark."
604
+ },
605
+ "outline-background": {
606
+ "$type": "color",
607
+ "$value": "{input-background}",
608
+ "$description": "The fill of an outlined control raised on its surface: Button `outline`, the active tab. `background` in light, `input-background` in dark."
609
+ },
580
610
  "ring": {
581
611
  "$type": "color",
582
612
  "$value": "{color.neutral.500}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brrritscold/core-react",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "The component library: shadcn (Base UI) React components on Tailwind v4, themed from one design token file and linked to the design system library in Penpot.",
5
5
  "license": "MIT",
6
6
  "author": "Blaine Richardson",
@@ -91,8 +91,8 @@
91
91
  "style-dictionary": "^5.8.0",
92
92
  "tailwindcss": "^4.3.4",
93
93
  "vite": "^8.3.5",
94
- "@brrritscold/design-core-js": "0.1.0",
95
- "@brrritscold/design-core-node": "0.1.0"
94
+ "@brrritscold/design-core-js": "0.1.1",
95
+ "@brrritscold/design-core-node": "0.1.2"
96
96
  },
97
97
  "scripts": {
98
98
  "build": "rm -rf dist && pnpm build:styles && tsc -p tsconfig.build.json && tsx scripts/build-icons.ts",