@rcarls/rc-webcomponents 0.0.0-next-20260921045401

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.
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Defines the rc-webcomponents semantic token set. All tokens fall back to
3
+ * CSS System Colors, so this file is optional. Import it or override these
4
+ * tokens at the application theme boundary.
5
+ */
6
+ :root {
7
+ --rc-surface: Canvas;
8
+ --rc-field: Field;
9
+ --rc-button-bg: ButtonFace;
10
+
11
+ --rc-field-text: FieldText;
12
+ --rc-button-text: ButtonText;
13
+ --rc-highlight-text: HighlightText;
14
+ --rc-text-disabled: GrayText;
15
+
16
+ --rc-highlight: Highlight;
17
+ --rc-accent: Highlight;
18
+
19
+ --rc-border-color: ButtonBorder;
20
+ --rc-border-width: 1px;
21
+ --rc-border-style: solid;
22
+ --rc-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
23
+
24
+ --rc-font-family: inherit;
25
+ --rc-font-size: 1em;
26
+ --rc-font-weight: 400;
27
+ --rc-line-height: normal;
28
+
29
+ --rc-control-block-size: 2.25em;
30
+ --rc-control-padding-block: 0.25em;
31
+ --rc-control-padding-inline: 0.5em;
32
+ --rc-control-gap: 0.25em;
33
+
34
+ --rc-item-padding-block: 0.3em;
35
+ --rc-item-padding-inline: 0.75em;
36
+ --rc-item-gap: 0.4em;
37
+
38
+ --rc-radius-sm: 0.125em;
39
+ --rc-radius-md: 0.25em;
40
+ --rc-control-radius: var(--rc-radius-sm);
41
+
42
+ --rc-focus-ring: auto;
43
+ --rc-focus-ring-offset: 0;
44
+ --rc-disabled-opacity: 0.5;
45
+ --rc-motion-effects-duration-fast: 80ms;
46
+ --rc-motion-effects-easing-fast: ease-out;
47
+ --rc-motion-effects-duration-default: 120ms;
48
+ --rc-motion-effects-easing-default: ease-out;
49
+ --rc-motion-effects-duration-slow: 200ms;
50
+ --rc-motion-effects-easing-slow: ease-out;
51
+ --rc-motion-spatial-duration-fast: 180ms;
52
+ --rc-motion-spatial-easing-fast: cubic-bezier(0.2, 0, 0, 1);
53
+ --rc-motion-spatial-duration-default: 300ms;
54
+ --rc-motion-spatial-easing-default: cubic-bezier(0.2, 0, 0, 1);
55
+ --rc-motion-spatial-duration-slow: 450ms;
56
+ --rc-motion-spatial-easing-slow: cubic-bezier(0.2, 0, 0, 1);
57
+ /*
58
+ * Enter/exit easing, not duration: an opening element should decelerate
59
+ * into place and a closing one should accelerate out, on whichever
60
+ * duration band the component already uses. Pair -easing-exit with
61
+ * -duration-fast rather than adding matching exit-duration tokens, so
62
+ * closing reads as quicker without doubling the token surface.
63
+ */
64
+ --rc-motion-spatial-easing-enter: cubic-bezier(0, 0, 0, 1);
65
+ --rc-motion-spatial-easing-exit: cubic-bezier(0.3, 0, 1, 1);
66
+ --rc-motion-effects-easing-enter: ease-out;
67
+ --rc-motion-effects-easing-exit: ease-in;
68
+ --rc-motion-duration: var(--rc-motion-effects-duration-default);
69
+
70
+ --rc-border: var(--rc-border-width) var(--rc-border-style) var(--rc-border-color);
71
+ }
72
+
73
+ @supports (color: AccentColor) {
74
+ :root {
75
+ --rc-accent: AccentColor;
76
+ }
77
+ }