@gitbutler/design-core 2.2.1 → 3.0.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/README.md +33 -71
- package/fonts/fonts.css +6 -62
- package/fonts/geist-mono/GeistMono-Variable.woff2 +0 -0
- package/fonts/inter/Inter-Variable-Italic.woff2 +0 -0
- package/fonts/inter/Inter-Variable.woff2 +0 -0
- package/package.json +6 -16
- package/styles/reset.css +35 -225
- package/styles/text.css +92 -135
- package/tokens/json/core.tokens.json +248 -193
- package/tokens/json/semantic.tokens.json +433 -266
- package/tokens/tokens.css +131 -300
- package/fonts/geist-mono/GeistMono-Bold.woff2 +0 -0
- package/fonts/geist-mono/GeistMono-Medium.woff2 +0 -0
- package/fonts/geist-mono/GeistMono-Regular.woff2 +0 -0
- package/fonts/inter/Inter-Bold.woff2 +0 -0
- package/fonts/inter/Inter-BoldItalic.woff2 +0 -0
- package/fonts/inter/Inter-Italic.woff2 +0 -0
- package/fonts/inter/Inter-Medium.woff2 +0 -0
- package/fonts/inter/Inter-MediumItalic.woff2 +0 -0
- package/fonts/inter/Inter-Regular.woff2 +0 -0
- package/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/fonts/inter/Inter-SemiBoldItalic.woff2 +0 -0
- package/tokens/json/components.tokens.json +0 -895
- package/tokens/json/fx.tokens.json +0 -57
- package/utility/general.css +0 -55
- package/utility/helpers.css +0 -215
- package/utility/layout.min.css +0 -1
- package/utility/utility.css +0 -3
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fx": {
|
|
3
|
-
"shadow": {
|
|
4
|
-
"s": {
|
|
5
|
-
"$type": "shadow",
|
|
6
|
-
"$value": [
|
|
7
|
-
{
|
|
8
|
-
"inset": false,
|
|
9
|
-
"color": "{semantic.shadow-clr}",
|
|
10
|
-
"offsetX": "0px",
|
|
11
|
-
"offsetY": "4px",
|
|
12
|
-
"blur": "14px",
|
|
13
|
-
"spread": "0px"
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"m": {
|
|
18
|
-
"$type": "shadow",
|
|
19
|
-
"$value": [
|
|
20
|
-
{
|
|
21
|
-
"inset": false,
|
|
22
|
-
"color": "{semantic.shadow-clr}",
|
|
23
|
-
"offsetX": "0px",
|
|
24
|
-
"offsetY": "6px",
|
|
25
|
-
"blur": "30px",
|
|
26
|
-
"spread": "0px"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"l": {
|
|
31
|
-
"$type": "shadow",
|
|
32
|
-
"$value": [
|
|
33
|
-
{
|
|
34
|
-
"inset": false,
|
|
35
|
-
"color": "{semantic.shadow-clr}",
|
|
36
|
-
"offsetX": "0px",
|
|
37
|
-
"offsetY": "10px",
|
|
38
|
-
"blur": "40px",
|
|
39
|
-
"spread": "0px"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"$extensions": {
|
|
45
|
-
"tokens-bruecke-meta": {
|
|
46
|
-
"useDTCGKeys": true,
|
|
47
|
-
"colorMode": "hex",
|
|
48
|
-
"variableCollections": [
|
|
49
|
-
"core",
|
|
50
|
-
"components",
|
|
51
|
-
"semantic"
|
|
52
|
-
],
|
|
53
|
-
"createdAt": "2026-03-29T22:16:17.750Z"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
package/utility/general.css
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* Border radius */
|
|
2
|
-
.radius-s {
|
|
3
|
-
border-radius: var(--radius-s);
|
|
4
|
-
}
|
|
5
|
-
.radius-m {
|
|
6
|
-
border-radius: var(--radius-m);
|
|
7
|
-
}
|
|
8
|
-
.radius-ml {
|
|
9
|
-
border-radius: var(--radius-ml);
|
|
10
|
-
}
|
|
11
|
-
.radius-l {
|
|
12
|
-
border-radius: var(--radius-l);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Background colors */
|
|
16
|
-
.clr-bg-1 {
|
|
17
|
-
background-color: var(--clr-bg-1);
|
|
18
|
-
}
|
|
19
|
-
.clr-bg-1-muted {
|
|
20
|
-
background-color: var(--clr-bg-1-muted);
|
|
21
|
-
}
|
|
22
|
-
.clr-bg-2 {
|
|
23
|
-
background-color: var(--clr-bg-2);
|
|
24
|
-
}
|
|
25
|
-
.clr-bg-2-muted {
|
|
26
|
-
background-color: var(--clr-bg-2-muted);
|
|
27
|
-
}
|
|
28
|
-
.clr-bg-3 {
|
|
29
|
-
background-color: var(--clr-bg-3);
|
|
30
|
-
}
|
|
31
|
-
.clr-bg-3-muted {
|
|
32
|
-
background-color: var(--clr-bg-3-muted);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* Borders */
|
|
36
|
-
.clr-border-1 {
|
|
37
|
-
border: 1px solid var(--clr-border-1);
|
|
38
|
-
}
|
|
39
|
-
.clr-border-2 {
|
|
40
|
-
border: 1px solid var(--clr-border-2);
|
|
41
|
-
}
|
|
42
|
-
.clr-border-3 {
|
|
43
|
-
border: 1px solid var(--clr-border-3);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Text colors */
|
|
47
|
-
.clr-text-1 {
|
|
48
|
-
color: var(--clr-text-1);
|
|
49
|
-
}
|
|
50
|
-
.clr-text-2 {
|
|
51
|
-
color: var(--clr-text-2);
|
|
52
|
-
}
|
|
53
|
-
.clr-text-3 {
|
|
54
|
-
color: var(--clr-text-3);
|
|
55
|
-
}
|
package/utility/helpers.css
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
/* scrollbar helpers */
|
|
2
|
-
.hide-native-scrollbar {
|
|
3
|
-
-ms-overflow-style: none;
|
|
4
|
-
scrollbar-width: none;
|
|
5
|
-
|
|
6
|
-
&::-webkit-scrollbar {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* custom scrollbar */
|
|
12
|
-
.scrollbar,
|
|
13
|
-
pre {
|
|
14
|
-
&::-webkit-scrollbar {
|
|
15
|
-
width: 14px;
|
|
16
|
-
height: 14px;
|
|
17
|
-
background-color: transparent;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&::-webkit-scrollbar-track {
|
|
21
|
-
background-color: transparent;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&::-webkit-scrollbar-thumb {
|
|
25
|
-
border: 4px solid rgba(0, 0, 0, 0);
|
|
26
|
-
border-radius: 12px;
|
|
27
|
-
background-clip: padding-box;
|
|
28
|
-
background-color: var(--clr-border-1);
|
|
29
|
-
opacity: 0.3;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
33
|
-
opacity: 0.8;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&::-webkit-scrollbar-button {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&::-webkit-scrollbar-corner {
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.stack-v {
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.stack-h {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.truncate {
|
|
56
|
-
overflow: hidden;
|
|
57
|
-
text-overflow: ellipsis;
|
|
58
|
-
white-space: nowrap;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.no-select {
|
|
62
|
-
cursor: default;
|
|
63
|
-
user-select: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.hide-when-empty {
|
|
67
|
-
&:empty {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.no-pointer-events {
|
|
73
|
-
pointer-events: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.pointer-events {
|
|
77
|
-
pointer-events: auto;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.underline {
|
|
81
|
-
text-decoration: underline;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.underline-dotted {
|
|
85
|
-
text-decoration: underline dotted;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.underline,
|
|
89
|
-
.underline-dotted {
|
|
90
|
-
text-underline-offset: 3px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.capitalize {
|
|
94
|
-
/* Works only if the element is block-level */
|
|
95
|
-
display: block;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.capitalize:first-letter {
|
|
99
|
-
text-transform: capitalize;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* TEXT LINKS */
|
|
103
|
-
|
|
104
|
-
.link-hover-2,
|
|
105
|
-
.link-hover-3 {
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
transition: color var(--transition-fast);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.link-hover-2 {
|
|
111
|
-
&:hover {
|
|
112
|
-
color: var(--clr-text-1);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.link-hover-3 {
|
|
117
|
-
&:hover {
|
|
118
|
-
color: var(--clr-text-2);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/* OPACITY */
|
|
123
|
-
.op-10 {
|
|
124
|
-
opacity: 0.1;
|
|
125
|
-
}
|
|
126
|
-
.op-20 {
|
|
127
|
-
opacity: 0.2;
|
|
128
|
-
}
|
|
129
|
-
.op-30 {
|
|
130
|
-
opacity: 0.3;
|
|
131
|
-
}
|
|
132
|
-
.op-40 {
|
|
133
|
-
opacity: 0.4;
|
|
134
|
-
}
|
|
135
|
-
.op-50 {
|
|
136
|
-
opacity: 0.5;
|
|
137
|
-
}
|
|
138
|
-
.op-60 {
|
|
139
|
-
opacity: 0.6;
|
|
140
|
-
}
|
|
141
|
-
.op-70 {
|
|
142
|
-
opacity: 0.7;
|
|
143
|
-
}
|
|
144
|
-
.op-80 {
|
|
145
|
-
opacity: 0.8;
|
|
146
|
-
}
|
|
147
|
-
.op-90 {
|
|
148
|
-
opacity: 0.9;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/* ANIMATION */
|
|
152
|
-
.wiggle-animation {
|
|
153
|
-
animation: wiggle-animation 0.35s forwards;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@keyframes wiggle-animation {
|
|
157
|
-
0% {
|
|
158
|
-
transform: translateX(-3px);
|
|
159
|
-
}
|
|
160
|
-
25% {
|
|
161
|
-
transform: translateX(3px);
|
|
162
|
-
}
|
|
163
|
-
50% {
|
|
164
|
-
transform: translateX(-2px);
|
|
165
|
-
}
|
|
166
|
-
75% {
|
|
167
|
-
transform: translateX(2px);
|
|
168
|
-
}
|
|
169
|
-
100% {
|
|
170
|
-
transform: translateX(0);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.highlight-animation {
|
|
175
|
-
animation: highlight-animation 0.5s forwards;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@keyframes highlight-animation {
|
|
179
|
-
0% {
|
|
180
|
-
transform: translate(0, 0) rotate(0deg);
|
|
181
|
-
box-shadow: 0 0 0 0 color-mix(in srgb, var(--clr-theme-pop-element), transparent, 0.5);
|
|
182
|
-
}
|
|
183
|
-
12.5% {
|
|
184
|
-
transform: translate(-1px, -1px) rotate(-0.5deg);
|
|
185
|
-
box-shadow: 0 0 0 1px var(--clr-theme-pop-element);
|
|
186
|
-
}
|
|
187
|
-
25% {
|
|
188
|
-
transform: translate(1px, 0px) rotate(0.5deg);
|
|
189
|
-
box-shadow: 0 0 0 1.5px var(--clr-theme-pop-element);
|
|
190
|
-
}
|
|
191
|
-
37.5% {
|
|
192
|
-
transform: translate(-1px, 1px) rotate(-0.3deg);
|
|
193
|
-
box-shadow: 0 0 0 2px var(--clr-theme-pop-element);
|
|
194
|
-
}
|
|
195
|
-
50% {
|
|
196
|
-
transform: translate(1px, -1px) rotate(0.3deg);
|
|
197
|
-
box-shadow: 0 0 0 2px var(--clr-theme-pop-element);
|
|
198
|
-
}
|
|
199
|
-
62.5% {
|
|
200
|
-
transform: translate(-1px, 0px) rotate(-0.2deg);
|
|
201
|
-
box-shadow: 0 0 0 1.5px var(--clr-theme-pop-element);
|
|
202
|
-
}
|
|
203
|
-
75% {
|
|
204
|
-
transform: translate(1px, 1px) rotate(0.2deg);
|
|
205
|
-
box-shadow: 0 0 0 1px var(--clr-theme-pop-element);
|
|
206
|
-
}
|
|
207
|
-
87.5% {
|
|
208
|
-
transform: translate(0px, -1px) rotate(-0.1deg);
|
|
209
|
-
box-shadow: 0 0 0 0.5px var(--clr-theme-pop-element);
|
|
210
|
-
}
|
|
211
|
-
100% {
|
|
212
|
-
transform: translate(0, 0) rotate(0deg);
|
|
213
|
-
box-shadow: 0 0 0 0 color-mix(in srgb, var(--clr-theme-pop-element), transparent, 0.5);
|
|
214
|
-
}
|
|
215
|
-
}
|
package/utility/layout.min.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*Spasing*/.gap-2{gap:2px;}.p-2{padding:2px;}.p-l-2{padding-left:2px;}.p-r-2{padding-right:2px;}.p-t-2{padding-top:2px;}.p-b-2{padding-bottom:2px;}.m-2{margin:2px;}.m-l-2{margin-left:2px;}.m-r-2{margin-right:2px;}.m-t-2{margin-top:2px;}.m-b-2{margin-bottom:2px;}.gap-4{gap:4px;}.p-4{padding:4px;}.p-l-4{padding-left:4px;}.p-r-4{padding-right:4px;}.p-t-4{padding-top:4px;}.p-b-4{padding-bottom:4px;}.m-4{margin:4px;}.m-l-4{margin-left:4px;}.m-r-4{margin-right:4px;}.m-t-4{margin-top:4px;}.m-b-4{margin-bottom:4px;}.gap-6{gap:6px;}.p-6{padding:6px;}.p-l-6{padding-left:6px;}.p-r-6{padding-right:6px;}.p-t-6{padding-top:6px;}.p-b-6{padding-bottom:6px;}.m-6{margin:6px;}.m-l-6{margin-left:6px;}.m-r-6{margin-right:6px;}.m-t-6{margin-top:6px;}.m-b-6{margin-bottom:6px;}.gap-8{gap:8px;}.p-8{padding:8px;}.p-l-8{padding-left:8px;}.p-r-8{padding-right:8px;}.p-t-8{padding-top:8px;}.p-b-8{padding-bottom:8px;}.m-8{margin:8px;}.m-l-8{margin-left:8px;}.m-r-8{margin-right:8px;}.m-t-8{margin-top:8px;}.m-b-8{margin-bottom:8px;}.gap-10{gap:10px;}.p-10{padding:10px;}.p-l-10{padding-left:10px;}.p-r-10{padding-right:10px;}.p-t-10{padding-top:10px;}.p-b-10{padding-bottom:10px;}.m-10{margin:10px;}.m-l-10{margin-left:10px;}.m-r-10{margin-right:10px;}.m-t-10{margin-top:10px;}.m-b-10{margin-bottom:10px;}.gap-12{gap:12px;}.p-12{padding:12px;}.p-l-12{padding-left:12px;}.p-r-12{padding-right:12px;}.p-t-12{padding-top:12px;}.p-b-12{padding-bottom:12px;}.m-12{margin:12px;}.m-l-12{margin-left:12px;}.m-r-12{margin-right:12px;}.m-t-12{margin-top:12px;}.m-b-12{margin-bottom:12px;}.gap-14{gap:14px;}.p-14{padding:14px;}.p-l-14{padding-left:14px;}.p-r-14{padding-right:14px;}.p-t-14{padding-top:14px;}.p-b-14{padding-bottom:14px;}.m-14{margin:14px;}.m-l-14{margin-left:14px;}.m-r-14{margin-right:14px;}.m-t-14{margin-top:14px;}.m-b-14{margin-bottom:14px;}.gap-16{gap:16px;}.p-16{padding:16px;}.p-l-16{padding-left:16px;}.p-r-16{padding-right:16px;}.p-t-16{padding-top:16px;}.p-b-16{padding-bottom:16px;}.m-16{margin:16px;}.m-l-16{margin-left:16px;}.m-r-16{margin-right:16px;}.m-t-16{margin-top:16px;}.m-b-16{margin-bottom:16px;}.gap-20{gap:20px;}.p-20{padding:20px;}.p-l-20{padding-left:20px;}.p-r-20{padding-right:20px;}.p-t-20{padding-top:20px;}.p-b-20{padding-bottom:20px;}.m-20{margin:20px;}.m-l-20{margin-left:20px;}.m-r-20{margin-right:20px;}.m-t-20{margin-top:20px;}.m-b-20{margin-bottom:20px;}.gap-24{gap:24px;}.p-24{padding:24px;}.p-l-24{padding-left:24px;}.p-r-24{padding-right:24px;}.p-t-24{padding-top:24px;}.p-b-24{padding-bottom:24px;}.m-24{margin:24px;}.m-l-24{margin-left:24px;}.m-r-24{margin-right:24px;}.m-t-24{margin-top:24px;}.m-b-24{margin-bottom:24px;}.gap-28{gap:28px;}.p-28{padding:28px;}.p-l-28{padding-left:28px;}.p-r-28{padding-right:28px;}.p-t-28{padding-top:28px;}.p-b-28{padding-bottom:28px;}.m-28{margin:28px;}.m-l-28{margin-left:28px;}.m-r-28{margin-right:28px;}.m-t-28{margin-top:28px;}.m-b-28{margin-bottom:28px;}.gap-32{gap:32px;}.p-32{padding:32px;}.p-l-32{padding-left:32px;}.p-r-32{padding-right:32px;}.p-t-32{padding-top:32px;}.p-b-32{padding-bottom:32px;}.m-32{margin:32px;}.m-l-32{margin-left:32px;}.m-r-32{margin-right:32px;}.m-t-32{margin-top:32px;}.m-b-32{margin-bottom:32px;}.gap-36{gap:36px;}.p-36{padding:36px;}.p-l-36{padding-left:36px;}.p-r-36{padding-right:36px;}.p-t-36{padding-top:36px;}.p-b-36{padding-bottom:36px;}.m-36{margin:36px;}.m-l-36{margin-left:36px;}.m-r-36{margin-right:36px;}.m-t-36{margin-top:36px;}.m-b-36{margin-bottom:36px;}.gap-40{gap:40px;}.p-40{padding:40px;}.p-l-40{padding-left:40px;}.p-r-40{padding-right:40px;}.p-t-40{padding-top:40px;}.p-b-40{padding-bottom:40px;}.m-40{margin:40px;}.m-l-40{margin-left:40px;}.m-r-40{margin-right:40px;}.m-t-40{margin-top:40px;}.m-b-40{margin-bottom:40px;}.gap-44{gap:44px;}.p-44{padding:44px;}.p-l-44{padding-left:44px;}.p-r-44{padding-right:44px;}.p-t-44{padding-top:44px;}.p-b-44{padding-bottom:44px;}.m-44{margin:44px;}.m-l-44{margin-left:44px;}.m-r-44{margin-right:44px;}.m-t-44{margin-top:44px;}.m-b-44{margin-bottom:44px;}.gap-48{gap:48px;}.p-48{padding:48px;}.p-l-48{padding-left:48px;}.p-r-48{padding-right:48px;}.p-t-48{padding-top:48px;}.p-b-48{padding-bottom:48px;}.m-48{margin:48px;}.m-l-48{margin-left:48px;}.m-r-48{margin-right:48px;}.m-t-48{margin-top:48px;}.m-b-48{margin-bottom:48px;}/*Position*/.relative{position:relative;}.absolute{position:absolute;}.fixed{position:fixed;}.sticky{position:sticky;}.top-0{top:0;}.bottom-0{bottom:0;}.left-0{left:0;}.right-0{right:0;}/*Size*/.full-width{width:100%;}.full-height{height:100%;}/*Flexbox*/.flex{display:flex;}.flex-col{flex-direction:column;}.items-center{align-items:center;}.justify-center{justify-content:center;}.justify-between{justify-content:space-between;}.justify-end{justify-content:flex-end;}.full-width{width:100%;}.full-height{height:100%;}.flex-1{flex:1;}.flex-2{flex:2;}.flex-3{flex:3;}.flex-4{flex:4;}.flex-5{flex:5;}.flex-shrink-0{flex-shrink:0;}.flex-wrap{flex-wrap:wrap;}.flex-nowrap{flex-wrap:nowrap;}.grow{flex-grow:1;}/*Overflow*/.overflow-hidden{overflow:hidden;}.overflow-auto{overflow:auto;}.overflow-scroll{overflow:scroll;}.overflow-visible{overflow:visible;}/*Text*/.text-center{text-align:center;}.text-left{text-align:left;}.text-right{text-align:right;}.text-nowrap{white-space:nowrap;}
|
package/utility/utility.css
DELETED