@noix-dev/brix-tokens 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +58 -2
- package/package.json +36 -3
- package/src/canvasColor.ts +39 -0
- package/src/contract.json +683 -0
- package/src/contrast.ts +319 -0
- package/src/density.css +565 -0
- package/src/fonts.css +10 -0
- package/src/index.css +125 -0
- package/src/perceptual.ts +99 -0
- package/src/themes/graphite.css +265 -0
- package/src/themes/kingfisher.css +397 -0
- package/src/themes/noix.css +266 -0
- package/src/themes/registry.json +5 -0
- package/src/variants.css +94 -0
package/src/variants.css
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* Vendored from shadcn-vue 2.7.4 (dist/tailwind.css), MIT licence, (c) shadcn-vue contributors.
|
|
2
|
+
Kept here so the runtime does not pull in the shadcn-vue CLI and its dependency tree;
|
|
3
|
+
add components with `pnpm dlx shadcn-vue@latest add …` instead. */
|
|
4
|
+
@theme inline {
|
|
5
|
+
@keyframes accordion-down {
|
|
6
|
+
from {
|
|
7
|
+
height: 0;
|
|
8
|
+
}
|
|
9
|
+
to {
|
|
10
|
+
height: var(--reka-accordion-content-height, var(--accordion-panel-height, auto));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@keyframes accordion-up {
|
|
15
|
+
from {
|
|
16
|
+
height: var(--reka-accordion-content-height, var(--accordion-panel-height, auto));
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
height: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Custom variants */
|
|
25
|
+
@custom-variant data-open {
|
|
26
|
+
&:where([data-state='open']),
|
|
27
|
+
&:where([data-open]:not([data-open='false'])) {
|
|
28
|
+
@slot;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@custom-variant data-closed {
|
|
33
|
+
&:where([data-state='closed']),
|
|
34
|
+
&:where([data-closed]:not([data-closed='false'])) {
|
|
35
|
+
@slot;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@custom-variant data-checked {
|
|
40
|
+
&:where([data-state='checked']),
|
|
41
|
+
&:where([data-checked]:not([data-checked='false'])) {
|
|
42
|
+
@slot;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@custom-variant data-unchecked {
|
|
47
|
+
&:where([data-state='unchecked']),
|
|
48
|
+
&:where([data-unchecked]:not([data-unchecked='false'])) {
|
|
49
|
+
@slot;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@custom-variant data-selected {
|
|
54
|
+
&:where([data-selected='true']) {
|
|
55
|
+
@slot;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@custom-variant data-disabled {
|
|
60
|
+
&:where([data-disabled='true']),
|
|
61
|
+
&:where([data-disabled]:not([data-disabled='false'])) {
|
|
62
|
+
@slot;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@custom-variant data-active {
|
|
67
|
+
&:where([data-state='active']),
|
|
68
|
+
&:where([data-active]:not([data-active='false'])) {
|
|
69
|
+
@slot;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@custom-variant data-horizontal {
|
|
74
|
+
&:where([data-orientation='horizontal']) {
|
|
75
|
+
@slot;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@custom-variant data-vertical {
|
|
80
|
+
&:where([data-orientation='vertical']) {
|
|
81
|
+
@slot;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@utility no-scrollbar {
|
|
86
|
+
-ms-overflow-style: none;
|
|
87
|
+
scrollbar-width: none;
|
|
88
|
+
|
|
89
|
+
&::-webkit-scrollbar {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/*# sourceMappingURL=tailwind.css.map*/
|