@arun-dev/tokens 0.25.0 → 0.26.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arun-dev/tokens",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Pure-CSS design tokens with white-label brand generation — primitives, brand palettes, semantic layers, and the createBrand() generator",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,23 @@
1
+ /* OTP input component tokens — one box per character of a one-time code. Reuses the text
2
+ field's colours, so a code reads as part of the same form. */
3
+ :root {
4
+ /* How many boxes: the component sets this on each row from its `length` prop. */
5
+ --otp-input-length: 6;
6
+ --otp-input-slot-size: 2.75rem;
7
+ --otp-input-slot-height: 3rem;
8
+ --otp-input-gap: var(--space-xs);
9
+ --otp-input-radius: var(--radius-md);
10
+ --otp-input-font-size: var(--text-xl);
11
+ --otp-input-font-weight: var(--font-weight-semibold);
12
+ --otp-input-font-family: var(--font-mono);
13
+ --otp-input-bg: var(--input-bg);
14
+ --otp-input-color: var(--input-color);
15
+ --otp-input-border-width: var(--input-border-width);
16
+ --otp-input-border-color: var(--input-border-color);
17
+ --otp-input-border-color-hover: var(--input-border-color-hover);
18
+ --otp-input-border-color-active: var(--input-border-color-focus);
19
+ --otp-input-border-color-invalid: var(--input-border-color-invalid);
20
+ --otp-input-caret-color: var(--color-text-primary);
21
+ --otp-input-disabled-opacity: var(--input-disabled-opacity);
22
+ --otp-input-duration: var(--duration-fast);
23
+ }
@@ -35,3 +35,4 @@
35
35
  @import './components/avatar.css';
36
36
  @import './components/toggle.css';
37
37
  @import './components/toolbar.css';
38
+ @import './components/otp-input.css';