@validationcloud/fractal-ui 0.0.1 → 1.1.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.
@@ -0,0 +1 @@
1
+ export declare const twMerge: (...classLists: import('tailwind-merge').ClassNameValue[]) => string;
@@ -0,0 +1,83 @@
1
+ @theme {
2
+ --animate-drawer-panel-enter: fade-in 200ms ease-out forwards, slide-in-left 150ms ease-out forwards;
3
+ --animate-drawer-panel-exit: fade-out 150ms ease-in forwards, slide-out-left 100ms ease-in forwards;
4
+ --animate-modal-panel-enter: fade-in 200ms ease-out forwards, scale-up-95 150ms ease-out forwards;
5
+ --animate-modal-panel-exit: fade-out 150ms ease-in forwards, scale-down-95 100ms ease-in forwards;
6
+ --animate-modal-backdrop-enter: fade-in 200ms ease-out forwards;
7
+ --animate-modal-backdrop-exit: fade-out 150ms ease-in forwards;
8
+ --animate-tooltip-enter: fade-in 150ms ease-out, scale-up-50 100ms cubic-bezier(0.16, 1, 0.3, 1);
9
+ --animate-tooltip-delayed-enter: fade-in 150ms ease-out, scale-up-50 400ms cubic-bezier(0.16, 1, 0.3, 1);
10
+ --animate-tooltip-exit: fade-out 100ms ease-in, scale-down-50 100ms ease-in;
11
+ }
12
+
13
+ @keyframes fade-in {
14
+ 0% {
15
+ opacity: 0;
16
+ }
17
+ 100% {
18
+ opacity: 1;
19
+ }
20
+ }
21
+
22
+ @keyframes fade-out {
23
+ 0% {
24
+ opacity: 1;
25
+ }
26
+ 100% {
27
+ opacity: 0;
28
+ }
29
+ }
30
+
31
+ @keyframes scale-up-50 {
32
+ 0% {
33
+ transform: scale(0.5);
34
+ }
35
+ 100% {
36
+ transform: scale(1);
37
+ }
38
+ }
39
+
40
+ @keyframes scale-up-95 {
41
+ 0% {
42
+ transform: scale(0.95);
43
+ }
44
+ 100% {
45
+ transform: scale(1);
46
+ }
47
+ }
48
+
49
+ @keyframes scale-down-50 {
50
+ 0% {
51
+ transform: scale(1);
52
+ }
53
+ 100% {
54
+ transform: scale(0.5);
55
+ }
56
+ }
57
+
58
+ @keyframes scale-down-95 {
59
+ 0% {
60
+ transform: scale(1);
61
+ }
62
+ 100% {
63
+ transform: scale(0.95);
64
+ }
65
+ }
66
+
67
+ @keyframes slide-in-left {
68
+ 0% {
69
+ transform: translateX(100%);
70
+ }
71
+ 100% {
72
+ transform: translateX(0);
73
+ }
74
+ }
75
+
76
+ @keyframes slide-out-left {
77
+ 0% {
78
+ transform: translateX(0);
79
+ }
80
+ 100% {
81
+ transform: translateX(100%);
82
+ }
83
+ }
@@ -0,0 +1,74 @@
1
+ @theme {
2
+ --color-white: #ffffff;
3
+ --color-black: #1e1e1e;
4
+ --color-green: #45b26b;
5
+ --color-yellow: #f6b432;
6
+ --color-purple: #6c5dd3;
7
+
8
+ /* Primary */
9
+ --color-primary-60: #bc243e;
10
+ --color-primary-50: #d63d57;
11
+ --color-primary-55: #da4e65;
12
+ --color-primary-40: #df687d;
13
+ --color-primary-30: #eb9eab;
14
+ --color-primary-20: #fbecee;
15
+
16
+ /* Secondary */
17
+ --color-secondary-70: #193a66;
18
+ --color-secondary-50: #0052bd;
19
+ --color-secondary-40: #3f8cff;
20
+ --color-secondary-30: #83b9ff;
21
+ --color-secondary-20: #b2cbeb;
22
+
23
+ /* Neutral */
24
+ --color-neutral-80: #1a1d1f;
25
+ --color-neutral-70: #242731;
26
+ --color-neutral-60: #3a3d46;
27
+ --color-neutral-55: #50525a;
28
+ --color-neutral-50: #6f767e;
29
+ --color-neutral-40: #a7a9ad;
30
+ --color-neutral-30: #d3d4d6;
31
+ --color-neutral-20: #e9e9ea;
32
+ --color-neutral-10: #fff;
33
+
34
+ /* Success */
35
+ --color-success-50: #45b26b;
36
+ --color-success-40: #3ed9a4;
37
+ --color-success-30: #a5cea1;
38
+ --color-success-20: #f0f9f2;
39
+
40
+ /* Warning */
41
+ --color-warning-50: #ff754c;
42
+ --color-warning-30: #ff9a7b;
43
+ --color-warning-20: #f8d9c7;
44
+
45
+ /* Protocols */
46
+ --color-protocols-eth: #3a3d46;
47
+ --color-protocols-eth_light: #f0f0f0;
48
+ --color-protocols-bnb: #f0b90b;
49
+ --color-protocols-avax: #e84142;
50
+ --color-protocols-aleo: #3a3d46;
51
+ --color-protocols-apt: #242731;
52
+ --color-protocols-axelar: #ffffff;
53
+ --color-protocols-stellar: #ffffff;
54
+ --color-protocols-hbar: #ffffff;
55
+ --color-protocols-bera: #f47226;
56
+ --color-protocols-cspr: #ff2d2e;
57
+ --color-protocols-dydx: #3a3d46;
58
+ --color-protocols-eigenlayer: #ffffff;
59
+ --color-protocols-flow: #00ef8b;
60
+ --color-protocols-obl: #3a3d46;
61
+ --color-protocols-hash: #3a3d46;
62
+ --color-protocols-saga: #3a3d46;
63
+ --color-protocols-zeta: #005741;
64
+ --color-protocols-btc: #f7931a;
65
+ --color-protocols-wemix: #fc829f;
66
+ --color-protocols-arb: #12aaff;
67
+ --color-protocols-opbnb: #f0b90b;
68
+ --color-protocols-babylon: #3a3d46;
69
+ --color-protocols-sol: #121212;
70
+ --color-protocols-cfx: #ffffff;
71
+ --color-protocols-starknet: #3a3d46;
72
+ --color-protocols-mnt: #242731;
73
+ --color-protocols-icp: #3a3d46;
74
+ }
@@ -0,0 +1,39 @@
1
+ @utility gap-r3 {
2
+ gap: theme('spacing.2');
3
+ @variant min-xs {
4
+ gap: theme('spacing.[2.5]')
5
+ }
6
+ @variant min-md {
7
+ gap: theme('spacing.3');
8
+ }
9
+ }
10
+
11
+ @utility gap-r4 {
12
+ gap: theme('spacing.3');
13
+ @variant min-xs {
14
+ gap: theme('spacing.[3.5]')
15
+ }
16
+ @variant min-md {
17
+ gap: theme('spacing.4');
18
+ }
19
+ }
20
+
21
+ @utility gap-r5 {
22
+ gap: theme('spacing.[3.5]');
23
+ @variant min-xs {
24
+ gap: theme('spacing.4')
25
+ }
26
+ @variant min-md {
27
+ gap: theme('spacing.5');
28
+ }
29
+ }
30
+
31
+ @utility gap-r6 {
32
+ gap: theme('spacing.4');
33
+ @variant min-xs {
34
+ gap: theme('spacing.5')
35
+ }
36
+ @variant min-md {
37
+ gap: theme('spacing.6');
38
+ }
39
+ }
@@ -0,0 +1,105 @@
1
+ @theme {
2
+ --background-image-gradient1:
3
+ radial-gradient(41.08% 50% at 50% 50%, rgba(188, 36, 62, 0.6) 0%, rgba(214, 61, 87, 0.18) 100%),
4
+ linear-gradient(
5
+ 218deg,
6
+ rgba(255, 232, 186, 0.24) -23.96%,
7
+ rgba(255, 233, 190, 0.6) -7.35%,
8
+ rgba(255, 214, 133, 0.6) 9.28%,
9
+ rgba(214, 61, 87, 0.6) 34.47%,
10
+ rgba(51, 40, 125, 0) 63.9%
11
+ ),
12
+ linear-gradient(
13
+ 142deg,
14
+ rgba(255, 215, 203, 0.6) -11.52%,
15
+ rgba(255, 255, 255, 0.6) 9.27%,
16
+ rgba(188, 36, 62, 0.6) 21.78%,
17
+ rgba(188, 36, 62, 0.6) 61.24%,
18
+ rgba(223, 104, 125, 0.06) 77.92%
19
+ ),
20
+ linear-gradient(180deg, #90774e 0%, #f6c76a 0.01%, #213656 100%);
21
+ --background-image-gradient2:
22
+ linear-gradient(
23
+ 134deg,
24
+ rgba(131, 185, 255, 0.5) -6%,
25
+ rgba(255, 117, 76, 0.5) 20.13%,
26
+ rgba(227, 71, 25, 0.5) 44.59%,
27
+ rgba(149, 56, 63, 0.15) 78.5%,
28
+ rgba(0, 82, 189, 0.5) 102.17%
29
+ ),
30
+ linear-gradient(
31
+ 226deg,
32
+ rgba(255, 214, 134, 0.6) 0%,
33
+ rgba(255, 215, 137, 0.6) 10.11%,
34
+ rgba(63, 140, 255, 0.6) 30.88%,
35
+ rgba(0, 84, 193, 0.6) 47.5%,
36
+ rgba(0, 82, 189, 0.6) 78.21%,
37
+ rgba(108, 93, 211, 0.6) 100%
38
+ );
39
+ --background-image-gradient3:
40
+ linear-gradient(
41
+ 134deg,
42
+ #aca2e2 -6.8%,
43
+ #6359a0 22.58%,
44
+ #544c94 38.08%,
45
+ #41489a 45.96%,
46
+ #41489b 54.01%,
47
+ #226191 70.49%,
48
+ #2b6ea9 88.6%,
49
+ #559bdc 108.39%
50
+ ),
51
+ linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
52
+ --background-image-gradient-07: linear-gradient(180deg, #b2b6d6 0%, #fff 103.09%);
53
+ --background-image-gradient-06: linear-gradient(93deg, #ec0c20, #fb8b5d);
54
+ --background-image-gradient4: linear-gradient(
55
+ 64deg,
56
+ rgba(214, 61, 87, 0.15) 19.88%,
57
+ rgba(232, 65, 66, 0.75) 37.19%,
58
+ rgba(223, 104, 125, 0.75) 64.01%,
59
+ rgba(251, 139, 93, 0.15) 83.66%
60
+ );
61
+ --background-image-gradient5: linear-gradient(
62
+ 180deg,
63
+ rgba(255, 117, 76, 0.75) 0%,
64
+ rgba(255, 117, 76, 0.75) 40.52%,
65
+ rgba(58, 61, 70, 0.75) 103.09%
66
+ );
67
+ --background-image-gradient6: linear-gradient(180deg, rgba(255, 117, 76, 0.08) 0%, rgba(214, 61, 87, 0.75) 100%);
68
+ --background-image-gradient7: linear-gradient(180deg, #6c5dd3 0%, #eb9eab 100%);
69
+ --background-image-gradient8:
70
+ linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(255, 255, 255, 0.1) 100%),
71
+ linear-gradient(180deg, rgba(108, 93, 211, 0.05) 0%, rgba(235, 158, 171, 0.05) 100%);
72
+ --background-image-gradient9: linear-gradient(270deg, #323337 -0.1%, rgba(61, 62, 90, 0.29) 100%);
73
+ --background-image-gradient10: linear-gradient(270deg, rgba(58, 61, 70, 0.5) 0%, rgba(102, 104, 111, 0.5) 100%);
74
+ --background-image-gradient11:
75
+ linear-gradient(180deg, rgba(74, 70, 111, 0.16) 0.9%, rgba(74, 70, 111, 0) 64.47%),
76
+ linear-gradient(0deg, #23222e -9.23%, #303047 110.36%);
77
+ --background-image-gradient12: linear-gradient(269deg, #fff 11.19%, #e4e7f5 50.65%, #d2d8ee 76.77%, #3d476d 112.51%);
78
+ --background-image-gradient13: radial-gradient(circle, #1a1d1f 0%, #1a1d1f 45%, #6f767e 100%);
79
+ --background-image-angular: conic-gradient(
80
+ from 180deg at 50% 50%,
81
+ #eb9eab 0deg,
82
+ #6c5dd3 35.76692193746567deg,
83
+ #d63d57 153.749338388443deg,
84
+ #83b9ff 258.7512445449829deg,
85
+ #eb9eab 360deg
86
+ );
87
+ --background-image-angularWide: conic-gradient(
88
+ from 50deg at 50% 50%,
89
+ #eb9eab 0deg,
90
+ #6c5dd3 39deg,
91
+ #d63d57 49deg,
92
+ #83b9ff 63deg,
93
+ #eb9eab 188deg,
94
+ #6c5dd3 221deg,
95
+ #d63d57 229deg,
96
+ #83b9ff 275deg,
97
+ #eb9eab 360deg
98
+ );
99
+ --background-image-ctaGradient: linear-gradient(93deg, #d63d57 0.48%, #ff9a7b 100%);
100
+ --background-image-ctaGradientHover:
101
+ linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%),
102
+ linear-gradient(93deg, #d63d57 0.48%, #ff9a7b 100%);
103
+ --background-image-menuItemGradient: linear-gradient(270deg, rgba(48, 44, 57, 0.8) 50%, rgba(81, 70, 111, 0.9) 100%);
104
+ --background-image-gradient-box: linear-gradient(to right, #2c2e3d, #323337);
105
+ }
@@ -0,0 +1,38 @@
1
+ @theme {
2
+ --scrollbar-color-thumb: var(--color-neutral-50);
3
+ --scrollbar-color-track: transparent;
4
+ --scrollbar-width: thin;
5
+ --scrollbar-width-legacy: 10px;
6
+ }
7
+
8
+ @utility scrollbar-sidebar {
9
+ @supports (scrollbar-width: auto) {
10
+ scrollbar-color: var(--scrollbar-color-thumb) var(--scrollbar-color-track);
11
+ scrollbar-width: var(--scrollbar-width);
12
+ }
13
+
14
+ @supports selector(::-webkit-scrollbar) {
15
+ &:hover {
16
+ --safari-scrollbar-hover-fix: ;
17
+ }
18
+ &::-webkit-scrollbar-thumb {
19
+ background: transparent;
20
+ border-radius: 9999px;
21
+ border: 2px solid var(--scrollbar-color-track); /* creates visual padding around scroll thumb */
22
+ }
23
+ &::-webkit-scrollbar-track {
24
+ background: transparent;
25
+ }
26
+ &:hover::-webkit-scrollbar-thumb {
27
+ background: var(--scrollbar-color-thumb);
28
+ }
29
+ &:hover::-webkit-scrollbar-track {
30
+ background: var(--scrollbar-color-track);
31
+ }
32
+ &::-webkit-scrollbar {
33
+ max-width: var(--scrollbar-width-legacy);
34
+ max-height: var(--scrollbar-width-legacy)
35
+ }
36
+ }
37
+ }
38
+
@@ -1,5 +1,3 @@
1
- @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:wght@400;500;600;700&display=swap');
2
- @import 'tailwindcss';
3
1
  @import './animation.css';
4
2
  @import './colors.css';
5
3
  @import './gap.css';
@@ -11,8 +9,8 @@
11
9
  * An alternative would be to list all these dynamic classes in a .txt file and then reference that file with the @source directive.
12
10
  * Example: https://www.sujalvanjare.com/blog/safelist-classes-tailwind-css-v4
13
11
  */
14
- @source inline("{group-hover:}bg-protocols-{eth,eth_light,bnb,avax,aleo,apt,axelar,stellar,hbar,bera,cspr,dydx,eigenlayer,flow,obl,hash,saga,zeta,btc,wemix,arb,opbnb,babylon,sol,cfx,starknet,mnt,icp}");
15
- @source inline("{group-hover:}text-protocols-{eth,eth_light,bnb,avax,aleo,apt,axelar,stellar,hbar,bera,cspr,dydx,eigenlayer,flow,obl,hash,saga,zeta,btc,wemix,arb,opbnb,babylon,sol,cfx,starknet,mnt,icp}");
12
+ @source inline("{group-hover:,}bg-protocols-{eth,eth_light,bnb,avax,aleo,apt,axelar,stellar,hbar,bera,cspr,dydx,eigenlayer,flow,obl,hash,saga,zeta,btc,wemix,arb,opbnb,babylon,sol,cfx,starknet,mnt,icp}");
13
+ @source inline("{group-hover:,}text-protocols-{eth,eth_light,bnb,avax,aleo,apt,axelar,stellar,hbar,bera,cspr,dydx,eigenlayer,flow,obl,hash,saga,zeta,btc,wemix,arb,opbnb,babylon,sol,cfx,starknet,mnt,icp}");
16
14
 
17
15
  @theme {
18
16
  /* Fonts */
@@ -0,0 +1,371 @@
1
+ @utility tg-display-1 {
2
+ font-family: var(--font-family-display);
3
+ font-size: 4.875rem;
4
+ font-weight: 700;
5
+ line-height: 1em;
6
+ letter-spacing: 0.007em;
7
+ @variant min-xs {
8
+ font-size: 8.125rem;
9
+ }
10
+ @variant min-md {
11
+ font-size: 9rem;
12
+ font-weight: 500;
13
+ line-height: 0.8em;
14
+ letter-spacing: -0.02em;
15
+ }
16
+ }
17
+
18
+ @utility tg-display-2 {
19
+ font-family: var(--font-family-display);
20
+ font-size: 3.75rem;
21
+ font-weight: 500;
22
+ line-height: 1em;
23
+ letter-spacing: 0.02em;
24
+ @variant min-xs {
25
+ font-size: 6rem;
26
+ font-weight: 700;
27
+ letter-spacing: -0.007em;
28
+ }
29
+ @variant min-md {
30
+ font-size: 6rem;
31
+ }
32
+ }
33
+
34
+ @utility tg-headline-1 {
35
+ font-family: var(--font-family-display);
36
+ font-size: 3rem;
37
+ font-weight: 500;
38
+ line-height: 1em;
39
+ letter-spacing: 0.024em;
40
+ @variant min-xs {
41
+ font-size: 4.25rem;
42
+ }
43
+ @variant min-md {
44
+ font-size: 5rem;
45
+ font-weight: 600;
46
+ }
47
+ }
48
+
49
+ @utility tg-headline-2 {
50
+ font-family: var(--font-family-display);
51
+ font-size: 2.5rem;
52
+ line-height: 1em;
53
+ font-weight: 500;
54
+ letter-spacing: 0.004em;
55
+ @variant min-xs {
56
+ font-size: 3.5rem;
57
+ }
58
+ @variant min-md {
59
+ font-size: 4rem;
60
+ font-weight: 700;
61
+ line-height: 1.1em;
62
+ letter-spacing: 0.01em;
63
+ }
64
+ }
65
+
66
+ @utility tg-headline-3 {
67
+ font-family: var(--font-family-display);
68
+ font-size: 2rem;
69
+ font-weight: 500;
70
+ line-height: 1em;
71
+ letter-spacing: -0.02em;
72
+ @variant min-xs {
73
+ font-size: 2.5rem;
74
+ letter-spacing: 0em;
75
+ }
76
+ @variant min-md {
77
+ font-size: 2.75rem;
78
+ font-weight: 700;
79
+ line-height: 1.1em;
80
+ letter-spacing: 0.018em;
81
+ }
82
+ }
83
+
84
+ @utility tg-headline-4 {
85
+ font-family: var(--font-family-display);
86
+ font-size: 1.5rem;
87
+ font-weight: 500;
88
+ line-height: 1em;
89
+ letter-spacing: -0.042em;
90
+ @variant min-xs {
91
+ font-size: 2rem;
92
+ line-height: 1.3em;
93
+ letter-spacing: 0.015em;
94
+ }
95
+ @variant min-md {
96
+ font-size: 2.25rem;
97
+ line-height: 1.1em;
98
+ font-weight: 700;
99
+ letter-spacing: -0.02em;
100
+ }
101
+ }
102
+
103
+ @utility tg-headline-5 {
104
+ font-family: var(--font-family-display);
105
+ font-size: 1.25rem;
106
+ font-weight: 500;
107
+ line-height: 1.1em;
108
+ letter-spacing: -0.042em;
109
+ @variant min-xs {
110
+ font-size: 1.625rem;
111
+ letter-spacing: -0.037em;
112
+ }
113
+ @variant min-md {
114
+ font-size: 2rem;
115
+ font-weight: 600;
116
+ line-height: 1.2em;
117
+ letter-spacing: 0.015em;
118
+ }
119
+ }
120
+
121
+ @utility tg-headline-6 {
122
+ font-family: var(--font-family-display);
123
+ font-size: 1.125rem;
124
+ font-weight: 500;
125
+ line-height: 1em;
126
+ letter-spacing: -0.02em;
127
+ @variant min-xs {
128
+ font-size: 1.375rem;
129
+ font-weight: 700;
130
+ line-height: 1.2em;
131
+ letter-spacing: -0.015em;
132
+ }
133
+ @variant min-md {
134
+ font-size: 1.5rem;
135
+ line-height: 1.33em;
136
+ }
137
+ }
138
+
139
+ @utility tg-title-and-quote-bold {
140
+ font-family: var(--font-family-body);
141
+ font-size: 1rem;
142
+ font-weight: 700;
143
+ line-height: 1.1em;
144
+ letter-spacing: -0.025em;
145
+ @variant min-xs {
146
+ font-size: 1.125rem;
147
+ line-height: 1.2em;
148
+ }
149
+ @variant min-md {
150
+ font-size: 1.25rem;
151
+ font-weight: 600;
152
+ letter-spacing: 0em;
153
+ }
154
+ }
155
+
156
+ @utility tg-title-and-quote {
157
+ font-family: var(--font-family-body);
158
+ font-size: 1rem;
159
+ font-weight: 400;
160
+ line-height: 1.1em;
161
+ letter-spacing: -0.025em;
162
+ @variant min-xs {
163
+ font-size: 1.125rem;
164
+ line-height: 1.2em;
165
+ letter-spacing: 0em;
166
+ }
167
+ @variant min-md {
168
+ font-size: 1.25rem;
169
+ letter-spacing: -0.025em;
170
+ }
171
+ }
172
+
173
+ @utility tg-body-large-bold {
174
+ font-family: var(--font-family-body);
175
+ font-size: 0.875em;
176
+ font-weight: 700;
177
+ line-height: 1.1em;
178
+ letter-spacing: -0.025em;
179
+ @variant min-xs {
180
+ font-size: 1rem;
181
+ line-height: 1.2em;
182
+ }
183
+ @variant min-md {
184
+ font-size: 1.125rem;
185
+ font-weight: 600;
186
+ letter-spacing: 0em;
187
+ }
188
+ }
189
+
190
+ @utility tg-body-large {
191
+ font-family: var(--font-family-body);
192
+ font-size: 1.125rem;
193
+ font-weight: 400;
194
+ line-height: 1.1em;
195
+ letter-spacing: -0.025em;
196
+ @variant min-xs {
197
+ font-size: 1rem;
198
+ line-height: 1.2em;
199
+ }
200
+ @variant min-md {
201
+ font-size: 1.125rem;
202
+ letter-spacing: 0em;
203
+ }
204
+ }
205
+
206
+ @utility tg-subtitle-bold {
207
+ font-family: var(--font-family-body);
208
+ font-size: 0.8125rem;
209
+ font-weight: 600;
210
+ line-height: normal;
211
+ letter-spacing: 0em;
212
+ @variant min-xs {
213
+ font-size: 0.875rem;
214
+ font-weight: 700;
215
+ line-height: 1.1em;
216
+ letter-spacing: -0.01em;
217
+ }
218
+ @variant min-md {
219
+ font-size: 1rem;
220
+ font-weight: 600;
221
+ line-height: 1.2em;
222
+ letter-spacing: -0.02em;
223
+ }
224
+ }
225
+
226
+ @utility tg-subtitle {
227
+ font-family: var(--font-family-body);
228
+ font-size: 0.8125rem;
229
+ font-weight: 400;
230
+ line-height: normal;
231
+ letter-spacing: 0em;
232
+ @variant min-xs {
233
+ font-size: 0.875rem;
234
+ font-weight: 500;
235
+ line-height: 1.1em;
236
+ letter-spacing: -0.025em;
237
+ }
238
+ @variant min-md {
239
+ font-size: 1rem;
240
+ line-height: 1.2em;
241
+ letter-spacing: 0em;
242
+ }
243
+ }
244
+
245
+ @utility tg-button-text {
246
+ font-family: var(--font-family-body);
247
+ font-size: 0.75rem;
248
+ font-weight: 500;
249
+ line-height: normal;
250
+ letter-spacing: -0.04em;
251
+ @variant min-xs {
252
+ font-weight: 600;
253
+ line-height: 1.23em;
254
+ font-size: 0.8125rem;
255
+ }
256
+ @variant min-md {
257
+ font-size: 0.875rem;
258
+ line-height: 1.4em;
259
+ letter-spacing: 0em;
260
+ }
261
+ }
262
+
263
+ @utility tg-button-small {
264
+ font-family: var(--font-family-body);
265
+ font-size: 0.6875rem;
266
+ font-weight: 500;
267
+ line-height: 1.45em;
268
+ letter-spacing: -0.04em;
269
+ @variant min-xs {
270
+ font-size: 0.75rem;
271
+ font-weight: 600;
272
+ line-height: 1.4em;
273
+ letter-spacing: -0.02em;
274
+ }
275
+ @variant min-md {
276
+ font-size: 0.8125rem;
277
+ letter-spacing: 0em;
278
+ }
279
+ }
280
+
281
+ @utility tg-body-bold {
282
+ font-family: var(--font-family-body);
283
+ font-size: 0.6875rem;
284
+ font-weight: 600;
285
+ line-height: 1.4em;
286
+ letter-spacing: -0.025em;
287
+ @variant min-xs {
288
+ font-size: 0.75rem;
289
+ }
290
+ @variant min-md {
291
+ font-size: 0.8125rem;
292
+ }
293
+ }
294
+
295
+ @utility tg-body {
296
+ font-family: var(--font-family-body);
297
+ font-size: 0.6875rem;
298
+ font-weight: 400;
299
+ line-height: 1.4em;
300
+ letter-spacing: -0.025em;
301
+ @variant min-xs {
302
+ font-size: 0.75rem;
303
+ }
304
+ @variant min-md {
305
+ font-size: 0.8125rem;
306
+ }
307
+ }
308
+
309
+ @utility tg-link {
310
+ font-family: var(--font-family-body);
311
+ font-size: 0.6875rem;
312
+ font-weight: 500;
313
+ line-height: normal;
314
+ letter-spacing: -0.04em;
315
+ text-decoration-line: underline;
316
+ @variant min-xs {
317
+ font-size: 0.75rem;
318
+ }
319
+ @variant min-md {
320
+ font-size: 0.8125rem;
321
+ line-height: 1.4em;
322
+ }
323
+ }
324
+
325
+ @utility tg-caption-bold {
326
+ font-family: var(--font-family-body);
327
+ font-size: 0.625rem;
328
+ font-weight: 700;
329
+ line-height: 1.4em;
330
+ letter-spacing: -0.025em;
331
+ @variant min-xs {
332
+ font-size: 0.6875rem;
333
+ line-height: 1.2em;
334
+ }
335
+ @variant min-md {
336
+ font-size: 0.75rem;
337
+ font-weight: 600;
338
+ line-height: 1.4em;
339
+ }
340
+ }
341
+
342
+ @utility tg-caption {
343
+ font-family: var(--font-family-body);
344
+ font-size: 0.625rem;
345
+ font-weight: 400;
346
+ line-height: 1.4em;
347
+ letter-spacing: -0.025em;
348
+ @variant min-xs {
349
+ font-size: 0.6875rem;
350
+ line-height: 1.3em;
351
+ }
352
+ @variant min-md {
353
+ font-size: 0.75rem;
354
+ }
355
+ }
356
+
357
+ @utility tg-tag {
358
+ font-family: var(--font-family-body);
359
+ font-size: 0.5625rem;
360
+ font-weight: 500;
361
+ line-height: 1.1em;
362
+ letter-spacing: -0.03em;
363
+ @variant min-xs {
364
+ font-size: 0.625rem;
365
+ }
366
+ @variant min-md {
367
+ font-size: 0.6875rem;
368
+ line-height: 1.4em;
369
+ letter-spacing: 0em;
370
+ }
371
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@validationcloud/fractal-ui",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "1.1.0",
5
5
  "module": "./dist/fractal-ui.js",
6
6
  "type": "module",
7
7
  "files": [
@@ -21,7 +21,15 @@
21
21
  ".": {
22
22
  "import": "./dist/fractal-ui.js"
23
23
  },
24
- "./tailwind.css": "./dist/tailwind.css"
24
+ "./tailwind.css": "./dist/styles/tailwind.css"
25
+ },
26
+ "release": {
27
+ "branches": [
28
+ "main"
29
+ ]
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
25
33
  },
26
34
  "dependencies": {
27
35
  "react": "^19.0.0",
@@ -1,3 +0,0 @@
1
- type TestProps = {} & React.ComponentPropsWithoutRef<'div'>;
2
- export declare function Test({ className }: TestProps): import("react/jsx-runtime").JSX.Element;
3
- export {};
@@ -1,8 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Test } from './test';
3
- declare const meta: Meta<typeof Test>;
4
- export default meta;
5
- type Story = StoryObj<typeof Test>;
6
- export declare const Default: Story;
7
- export declare const One: Story;
8
- export declare const Two: Story;