@lukso/web-components 1.172.19 → 1.173.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/dist/chunks/cn-BkQsgCJ9.js +32 -0
- package/dist/chunks/cn-CzHJAbOe.js +30 -0
- package/dist/chunks/{index-Dh7fuono.js → index-B6b6oj69.js} +43 -14
- package/dist/chunks/{index-BdDs1GTr.js → index-CImwlg43.js} +4 -5
- package/dist/chunks/{index-BptDRJ4b.js → index-COtPIzKg.js} +3 -4
- package/dist/chunks/{index-DfEZ5Urq.js → index-CtRm_2K_.js} +3 -4
- package/dist/chunks/index-DJzCzdSU.js +26 -0
- package/dist/chunks/{index-DNzK6-9T.js → index-DasEMOOf.js} +4 -5
- package/dist/chunks/index-DvaA_XMV.js +30 -0
- package/dist/chunks/{index-CA_aKopU.js → index-TieI_P1r.js} +43 -14
- package/dist/components/index.cjs +3 -3
- package/dist/components/index.js +3 -3
- package/dist/components/lukso-alert/index.cjs +3 -3
- package/dist/components/lukso-alert/index.js +3 -3
- package/dist/components/lukso-button/index.cjs +8 -6
- package/dist/components/lukso-button/index.d.ts.map +1 -1
- package/dist/components/lukso-button/index.js +8 -6
- package/dist/components/lukso-card/index.cjs +3 -4
- package/dist/components/lukso-card/index.js +3 -4
- package/dist/components/lukso-checkbox/index.cjs +1 -1
- package/dist/components/lukso-checkbox/index.js +1 -1
- package/dist/components/lukso-collapse/index.cjs +2 -3
- package/dist/components/lukso-collapse/index.js +2 -3
- package/dist/components/lukso-color-picker/index.cjs +4 -5
- package/dist/components/lukso-color-picker/index.js +4 -5
- package/dist/components/lukso-dropdown/index.cjs +6 -4
- package/dist/components/lukso-dropdown/index.js +6 -4
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +1 -1
- package/dist/components/lukso-footer/index.js +1 -1
- package/dist/components/lukso-form-description/index.cjs +2 -2
- package/dist/components/lukso-form-description/index.js +2 -2
- package/dist/components/lukso-form-error/index.cjs +2 -2
- package/dist/components/lukso-form-error/index.js +2 -2
- package/dist/components/lukso-form-label/index.cjs +2 -2
- package/dist/components/lukso-form-label/index.js +2 -2
- package/dist/components/lukso-icon/index.cjs +2 -2
- package/dist/components/lukso-icon/index.js +2 -2
- package/dist/components/lukso-image/index.cjs +2 -2
- package/dist/components/lukso-image/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +4 -5
- package/dist/components/lukso-input/index.js +4 -5
- package/dist/components/lukso-markdown/index.cjs +3 -3
- package/dist/components/lukso-markdown/index.js +3 -3
- package/dist/components/lukso-markdown-editor/index.cjs +17 -5
- package/dist/components/lukso-markdown-editor/index.js +17 -5
- package/dist/components/lukso-modal/index.cjs +1 -1
- package/dist/components/lukso-modal/index.js +1 -1
- package/dist/components/lukso-navbar/index.cjs +1 -1
- package/dist/components/lukso-navbar/index.js +1 -1
- package/dist/components/lukso-pagination/index.cjs +2 -2
- package/dist/components/lukso-pagination/index.js +2 -2
- package/dist/components/lukso-profile/index.cjs +1 -1
- package/dist/components/lukso-profile/index.js +1 -1
- package/dist/components/lukso-progress/index.cjs +2 -3
- package/dist/components/lukso-progress/index.js +2 -3
- package/dist/components/lukso-qr-code/index.cjs +19 -7
- package/dist/components/lukso-qr-code/index.d.ts.map +1 -1
- package/dist/components/lukso-qr-code/index.js +19 -7
- package/dist/components/lukso-radio/index.cjs +2 -3
- package/dist/components/lukso-radio/index.js +2 -3
- package/dist/components/lukso-radio-group/index.cjs +1 -1
- package/dist/components/lukso-radio-group/index.js +1 -1
- package/dist/components/lukso-sanitize/index.cjs +2 -2
- package/dist/components/lukso-sanitize/index.js +2 -2
- package/dist/components/lukso-search/index.cjs +4 -5
- package/dist/components/lukso-search/index.js +4 -5
- package/dist/components/lukso-select/index.cjs +4 -4
- package/dist/components/lukso-select/index.js +4 -4
- package/dist/components/lukso-share/index.cjs +3 -3
- package/dist/components/lukso-share/index.js +3 -3
- package/dist/components/lukso-switch/index.cjs +2 -2
- package/dist/components/lukso-switch/index.js +2 -2
- package/dist/components/lukso-tag/index.cjs +2 -2
- package/dist/components/lukso-tag/index.js +2 -2
- package/dist/components/lukso-terms/index.cjs +10 -8
- package/dist/components/lukso-terms/index.d.ts.map +1 -1
- package/dist/components/lukso-terms/index.js +10 -8
- package/dist/components/lukso-textarea/index.cjs +4 -5
- package/dist/components/lukso-textarea/index.js +4 -5
- package/dist/components/lukso-tooltip/index.cjs +6 -4
- package/dist/components/lukso-tooltip/index.d.ts.map +1 -1
- package/dist/components/lukso-tooltip/index.js +6 -4
- package/dist/components/lukso-username/index.cjs +3 -4
- package/dist/components/lukso-username/index.js +3 -4
- package/dist/components/lukso-wizard/index.cjs +2 -2
- package/dist/components/lukso-wizard/index.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/styles/main-v4.css +342 -0
- package/dist/styles/main.css +1 -2
- package/dist/vite.full.config.d.ts.map +1 -1
- package/package.json +8 -8
- package/tools/accessibility-checker.d.ts +1 -0
- package/tools/accessibility-checker.d.ts.map +1 -1
- package/tools/axe-Dj3cSaX8.cjs +32848 -0
- package/tools/axe-TH2R_oH7.js +32846 -0
- package/tools/cn.cjs +1172 -625
- package/tools/cn.js +1173 -626
- package/tools/debounceFunction.d.ts.map +1 -1
- package/tools/index.cjs +14 -32522
- package/tools/index.js +15 -32523
- package/tools/sass/colors.scss +1 -1
- package/tools/sass/component-v4.scss +18 -0
- package/tools/sass/fonts-v4.scss +70 -0
- package/tools/sass/main-v4.scss +19 -0
- package/tools/sass/tippy-v4.scss +340 -0
- package/tools/sass/variables-v4.scss +172 -0
- package/tools/styles/main-v4.css +342 -0
- package/tools/styles/main.css +1 -2
- package/tools/{tailwind-config-DYc3Xng1.js → tailwind-config-aE2JwROh.js} +1 -1
- package/tools/tailwind-config.js +1 -1
- package/dist/chunks/cn-Df_5FiGi.js +0 -30
- package/dist/chunks/cn-JMx_imgS.js +0 -32
- package/dist/chunks/index-BBPgtFEP.js +0 -30
- package/dist/chunks/index-DluTRl1F.js +0 -26
- package/dist/postcss.config.d.ts +0 -10
- package/dist/postcss.config.d.ts.map +0 -1
package/tools/sass/colors.scss
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Component styles (Tailwind CSS v4)
|
|
3
|
+
*
|
|
4
|
+
* This is the base stylesheet that all web components inherit.
|
|
5
|
+
* Since Web Components styles are encapsulated within the Shadow DOM,
|
|
6
|
+
* we need to include all necessary styles.
|
|
7
|
+
* This version uses Tailwind CSS v4 syntax.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
@use './colors';
|
|
11
|
+
@use './fonts-v4';
|
|
12
|
+
@use './typography';
|
|
13
|
+
@use './utilities';
|
|
14
|
+
@use './variables-v4';
|
|
15
|
+
|
|
16
|
+
strong {
|
|
17
|
+
@apply font-600;
|
|
18
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Fonts (Tailwind CSS v4)
|
|
3
|
+
*
|
|
4
|
+
* This file contains all fonts used in designs.
|
|
5
|
+
* Consumers can override $font-file-path before importing if using Sass.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
$font-file-path: '/assets/fonts' !default;
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Inter;
|
|
12
|
+
src: url('#{$font-file-path}/Inter-Regular.woff2') format('woff2');
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: Inter;
|
|
20
|
+
src: url('#{$font-file-path}/Inter-ExtraBold.woff2') format('woff2');
|
|
21
|
+
font-weight: 800;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: Inter;
|
|
28
|
+
src: url('#{$font-file-path}/Inter-Bold.woff2') format('woff2');
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: Inter;
|
|
36
|
+
src: url('#{$font-file-path}/Inter-SemiBold.woff2') format('woff2');
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: Inter;
|
|
44
|
+
src: url('#{$font-file-path}/Inter-Medium.woff2') format('woff2');
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: Inter;
|
|
52
|
+
src: url('#{$font-file-path}/Inter-Thin.woff2') format('woff2');
|
|
53
|
+
font-weight: 100;
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'PT Mono';
|
|
60
|
+
src: url('#{$font-file-path}/PT-Mono-Regular.woff2') format('woff2');
|
|
61
|
+
font-weight: normal;
|
|
62
|
+
font-style: normal;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'PT Mono';
|
|
67
|
+
src: url('#{$font-file-path}/PT-Mono-Bold.woff2') format('woff2');
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
font-style: normal;
|
|
70
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Main styles (Tailwind CSS v4)
|
|
3
|
+
*
|
|
4
|
+
* This file contains theme configuration for Tailwind v4 applications.
|
|
5
|
+
* Import this to get the same typography scale and design tokens as the web components.
|
|
6
|
+
*
|
|
7
|
+
* This version uses Tailwind CSS v4 syntax and does NOT include @apply directives.
|
|
8
|
+
* Consumers should use utility classes directly (e.g., text-48, font-400, leading-58).
|
|
9
|
+
*
|
|
10
|
+
* Usage:
|
|
11
|
+
* - Import the compiled main-v4.css directly in your Tailwind v4 project (recommended)
|
|
12
|
+
* - Or import this .scss file in your Sass/Vite build (e.g., in Storybook)
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
@use './variables-v4';
|
|
16
|
+
@use './colors';
|
|
17
|
+
@use './fonts-v4';
|
|
18
|
+
|
|
19
|
+
@import 'tailwindcss';
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
.tippy-box[data-animation='fade'][data-state='hidden'] {
|
|
2
|
+
opacity: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.tippy-arrow::before {
|
|
6
|
+
content: '';
|
|
7
|
+
position: absolute;
|
|
8
|
+
border-color: transparent;
|
|
9
|
+
border-style: solid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tippy-box[data-placement^='top'] > .tippy-arrow::before {
|
|
13
|
+
border-top-color: initial;
|
|
14
|
+
transform-origin: center top;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.tippy-box[data-placement^='bottom'] > .tippy-arrow::before {
|
|
18
|
+
border-bottom-color: initial;
|
|
19
|
+
transform-origin: center bottom;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tippy-box[data-placement^='left'] > .tippy-arrow::before {
|
|
23
|
+
border-left-color: initial;
|
|
24
|
+
transform-origin: center left;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tippy-box[data-placement^='right'] > .tippy-arrow::before {
|
|
28
|
+
border-right-color: initial;
|
|
29
|
+
transform-origin: center right;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tippy-box[data-inertia][data-state='visible'] {
|
|
33
|
+
transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tippy-arrow {
|
|
37
|
+
width: 16px;
|
|
38
|
+
height: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// sizes
|
|
42
|
+
|
|
43
|
+
.tippy-size-medium {
|
|
44
|
+
padding: 0.5rem;
|
|
45
|
+
border-radius: var(--radius-4);
|
|
46
|
+
font-size: var(--text-10);
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: var(--font-600);
|
|
49
|
+
line-height: var(--leading-12);
|
|
50
|
+
font-family: var(--font-inter);
|
|
51
|
+
box-shadow: var(--shadow-neutral-shadow-round-1xl);
|
|
52
|
+
|
|
53
|
+
&[data-placement^='top'] > .tippy-arrow {
|
|
54
|
+
bottom: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&[data-placement^='top'] > .tippy-arrow::before {
|
|
58
|
+
bottom: -6px;
|
|
59
|
+
left: 2px;
|
|
60
|
+
border-width: 6px 6px 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&[data-placement^='bottom'] > .tippy-arrow {
|
|
64
|
+
top: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&[data-placement^='bottom'] > .tippy-arrow::before {
|
|
68
|
+
top: -6px;
|
|
69
|
+
left: 2px;
|
|
70
|
+
border-width: 0 6px 6px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&[data-placement^='left'] > .tippy-arrow {
|
|
74
|
+
right: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&[data-placement^='left'] > .tippy-arrow::before {
|
|
78
|
+
border-width: 6px 0 6px 6px;
|
|
79
|
+
right: -6px;
|
|
80
|
+
top: 2px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&[data-placement^='right'] > .tippy-arrow {
|
|
84
|
+
left: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&[data-placement^='right'] > .tippy-arrow::before {
|
|
88
|
+
left: -6px;
|
|
89
|
+
top: 2px;
|
|
90
|
+
border-width: 6px 6px 6px 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tippy-size-large {
|
|
95
|
+
padding: 0.5rem 0.75rem;
|
|
96
|
+
border-radius: var(--radius-8);
|
|
97
|
+
font-size: var(--text-12);
|
|
98
|
+
font-style: normal;
|
|
99
|
+
font-weight: var(--font-400);
|
|
100
|
+
line-height: var(--leading-20);
|
|
101
|
+
font-family: var(--font-inter);
|
|
102
|
+
box-shadow: var(--shadow-neutral-shadow-round-1xl);
|
|
103
|
+
|
|
104
|
+
&[data-placement^='top'] > .tippy-arrow {
|
|
105
|
+
bottom: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&[data-placement^='top'] > .tippy-arrow::before {
|
|
109
|
+
bottom: -8px;
|
|
110
|
+
left: 0;
|
|
111
|
+
border-width: 8px 8px 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&[data-placement^='bottom'] > .tippy-arrow {
|
|
115
|
+
top: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&[data-placement^='bottom'] > .tippy-arrow::before {
|
|
119
|
+
top: -8px;
|
|
120
|
+
left: 0;
|
|
121
|
+
border-width: 0 8px 8px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&[data-placement^='left'] > .tippy-arrow {
|
|
125
|
+
right: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&[data-placement^='left'] > .tippy-arrow::before {
|
|
129
|
+
border-width: 8px 0 8px 8px;
|
|
130
|
+
right: -8px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&[data-placement^='right'] > .tippy-arrow {
|
|
134
|
+
left: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&[data-placement^='right'] > .tippy-arrow::before {
|
|
138
|
+
left: -8px;
|
|
139
|
+
border-width: 8px 8px 8px 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// variants
|
|
144
|
+
|
|
145
|
+
.tippy-variant-dark {
|
|
146
|
+
color: var(--neutral-100);
|
|
147
|
+
background-color: var(--neutral-30);
|
|
148
|
+
|
|
149
|
+
&[data-placement^='top'] .tippy-arrow::before {
|
|
150
|
+
border-top-color: var(--neutral-30);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&[data-placement^='bottom'] .tippy-arrow::before {
|
|
154
|
+
border-bottom-color: var(--neutral-30);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&[data-placement^='left'] .tippy-arrow::before {
|
|
158
|
+
border-left-color: var(--neutral-30);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&[data-placement^='right'] .tippy-arrow::before {
|
|
162
|
+
border-right-color: var(--neutral-30);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
& > .tippy-backdrop {
|
|
166
|
+
background-color: var(--neutral-30);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
& > .tippy-svg-arrow {
|
|
170
|
+
fill: var(--neutral-30);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.tippy-variant-light {
|
|
175
|
+
color: var(--neutral-20);
|
|
176
|
+
background-color: var(--neutral-97);
|
|
177
|
+
|
|
178
|
+
&[data-placement^='top'] .tippy-arrow::before {
|
|
179
|
+
border-top-color: var(--neutral-97);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&[data-placement^='bottom'] .tippy-arrow::before {
|
|
183
|
+
border-bottom-color: var(--neutral-97);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&[data-placement^='left'] .tippy-arrow::before {
|
|
187
|
+
border-left-color: var(--neutral-97);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&[data-placement^='right'] .tippy-arrow::before {
|
|
191
|
+
border-right-color: var(--neutral-97);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
& > .tippy-backdrop {
|
|
195
|
+
background-color: var(--neutral-97);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
& > .tippy-svg-arrow {
|
|
199
|
+
fill: var(--neutral-97);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.tippy-variant-white {
|
|
204
|
+
color: var(--neutral-20);
|
|
205
|
+
background-color: var(--neutral-100);
|
|
206
|
+
|
|
207
|
+
&[data-placement^='top'] .tippy-arrow::before {
|
|
208
|
+
border-top-color: var(--neutral-100);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&[data-placement^='bottom'] .tippy-arrow::before {
|
|
212
|
+
border-bottom-color: var(--neutral-100);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&[data-placement^='left'] .tippy-arrow::before {
|
|
216
|
+
border-left-color: var(--neutral-100);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&[data-placement^='right'] .tippy-arrow::before {
|
|
220
|
+
border-right-color: var(--neutral-100);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
& > .tippy-backdrop {
|
|
224
|
+
background-color: var(--neutral-100);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
& > .tippy-svg-arrow {
|
|
228
|
+
fill: var(--neutral-100);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.tippy-variant-success {
|
|
233
|
+
color: var(--neutral-100);
|
|
234
|
+
background-color: var(--green-54);
|
|
235
|
+
|
|
236
|
+
&[data-placement^='top'] .tippy-arrow::before {
|
|
237
|
+
border-top-color: var(--green-54);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&[data-placement^='bottom'] .tippy-arrow::before {
|
|
241
|
+
border-bottom-color: var(--green-54);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&[data-placement^='left'] .tippy-arrow::before {
|
|
245
|
+
border-left-color: var(--green-54);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&[data-placement^='right'] .tippy-arrow::before {
|
|
249
|
+
border-right-color: var(--green-54);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
& > .tippy-backdrop {
|
|
253
|
+
background-color: var(--green-54);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
& > .tippy-svg-arrow {
|
|
257
|
+
fill: var(--green-54);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.tippy-variant-danger {
|
|
262
|
+
color: var(--neutral-100);
|
|
263
|
+
background-color: var(--red-65);
|
|
264
|
+
|
|
265
|
+
&[data-placement^='top'] .tippy-arrow::before {
|
|
266
|
+
border-top-color: var(--red-65);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&[data-placement^='bottom'] .tippy-arrow::before {
|
|
270
|
+
border-bottom-color: var(--red-65);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&[data-placement^='left'] .tippy-arrow::before {
|
|
274
|
+
border-left-color: var(--red-65);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&[data-placement^='right'] .tippy-arrow::before {
|
|
278
|
+
border-right-color: var(--red-65);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
& > .tippy-backdrop {
|
|
282
|
+
background-color: var(--red-65);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
& > .tippy-svg-arrow {
|
|
286
|
+
fill: var(--red-65);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// themes
|
|
291
|
+
|
|
292
|
+
.tippy-box[data-theme~='dark-medium'] {
|
|
293
|
+
@extend .tippy-variant-dark;
|
|
294
|
+
@extend .tippy-size-medium;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.tippy-box[data-theme~='dark-large'] {
|
|
298
|
+
@extend .tippy-variant-dark;
|
|
299
|
+
@extend .tippy-size-large;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.tippy-box[data-theme~='light-medium'] {
|
|
303
|
+
@extend .tippy-variant-light;
|
|
304
|
+
@extend .tippy-size-medium;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.tippy-box[data-theme~='light-large'] {
|
|
308
|
+
@extend .tippy-variant-light;
|
|
309
|
+
@extend .tippy-size-large;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.tippy-box[data-theme~='white-medium'] {
|
|
313
|
+
@extend .tippy-variant-white;
|
|
314
|
+
@extend .tippy-size-medium;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.tippy-box[data-theme~='white-large'] {
|
|
318
|
+
@extend .tippy-variant-white;
|
|
319
|
+
@extend .tippy-size-large;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.tippy-box[data-theme~='success-medium'] {
|
|
323
|
+
@extend .tippy-variant-success;
|
|
324
|
+
@extend .tippy-size-medium;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.tippy-box[data-theme~='success-large'] {
|
|
328
|
+
@extend .tippy-variant-success;
|
|
329
|
+
@extend .tippy-size-large;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.tippy-box[data-theme~='danger-medium'] {
|
|
333
|
+
@extend .tippy-variant-danger;
|
|
334
|
+
@extend .tippy-size-medium;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.tippy-box[data-theme~='danger-large'] {
|
|
338
|
+
@extend .tippy-variant-danger;
|
|
339
|
+
@extend .tippy-size-large;
|
|
340
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Variables (Tailwind CSS v4)
|
|
3
|
+
*
|
|
4
|
+
* This file contains Tailwind v4 theme configuration using @theme directive.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@theme {
|
|
8
|
+
/* Font families */
|
|
9
|
+
--font-inter: 'Inter', ui-sans-serif, system-ui, sans-serif;
|
|
10
|
+
--font-mono: 'PT Mono', ui-monospace, monospace;
|
|
11
|
+
|
|
12
|
+
/* Font sizes (text-*) */
|
|
13
|
+
--text-6: 6px;
|
|
14
|
+
--text-8: 8px;
|
|
15
|
+
--text-10: 10px;
|
|
16
|
+
--text-12: 12px;
|
|
17
|
+
--text-13: 13px;
|
|
18
|
+
--text-14: 14px;
|
|
19
|
+
--text-16: 16px;
|
|
20
|
+
--text-17: 17px;
|
|
21
|
+
--text-20: 20px;
|
|
22
|
+
--text-21: 21px;
|
|
23
|
+
--text-24: 24px;
|
|
24
|
+
--text-26: 26px;
|
|
25
|
+
--text-32: 32px;
|
|
26
|
+
--text-40: 40px;
|
|
27
|
+
--text-44: 44px;
|
|
28
|
+
--text-48: 48px;
|
|
29
|
+
|
|
30
|
+
/* Font weights (font-*) */
|
|
31
|
+
--font-100: 100;
|
|
32
|
+
--font-200: 200;
|
|
33
|
+
--font-300: 300;
|
|
34
|
+
--font-400: 400;
|
|
35
|
+
--font-500: 500;
|
|
36
|
+
--font-600: 600;
|
|
37
|
+
--font-700: 700;
|
|
38
|
+
--font-800: 800;
|
|
39
|
+
--font-900: 900;
|
|
40
|
+
|
|
41
|
+
/* Line heights (leading-*) */
|
|
42
|
+
--leading-10: 10px;
|
|
43
|
+
--leading-12: 12px;
|
|
44
|
+
--leading-14: 14px;
|
|
45
|
+
--leading-15: 15px;
|
|
46
|
+
--leading-17: 17px;
|
|
47
|
+
--leading-19: 19px;
|
|
48
|
+
--leading-20: 20px;
|
|
49
|
+
--leading-22: 22px;
|
|
50
|
+
--leading-24: 24px;
|
|
51
|
+
--leading-26: 26px;
|
|
52
|
+
--leading-28: 28px;
|
|
53
|
+
--leading-31: 31px;
|
|
54
|
+
--leading-32: 32px;
|
|
55
|
+
--leading-38: 38px;
|
|
56
|
+
--leading-40: 40px;
|
|
57
|
+
--leading-48: 48px;
|
|
58
|
+
--leading-58: 58px;
|
|
59
|
+
|
|
60
|
+
/* Border radius (rounded-*) */
|
|
61
|
+
--radius-0: 0;
|
|
62
|
+
--radius-2: 2px;
|
|
63
|
+
--radius-4: 4px;
|
|
64
|
+
--radius-6: 6px;
|
|
65
|
+
--radius-8: 8px;
|
|
66
|
+
--radius-10: 10px;
|
|
67
|
+
--radius-12: 12px;
|
|
68
|
+
--radius-14: 14px;
|
|
69
|
+
--radius-16: 16px;
|
|
70
|
+
--radius-24: 24px;
|
|
71
|
+
|
|
72
|
+
/* Scales */
|
|
73
|
+
--scale-98: 0.98;
|
|
74
|
+
|
|
75
|
+
/* Heights */
|
|
76
|
+
--height-78: 78px;
|
|
77
|
+
|
|
78
|
+
/* Spacing */
|
|
79
|
+
--spacing-17: 4.25rem;
|
|
80
|
+
--spacing-18: 4.5rem;
|
|
81
|
+
--spacing-22: 5.5rem;
|
|
82
|
+
--spacing-30: 7.5rem;
|
|
83
|
+
|
|
84
|
+
/* Box Shadows (shadow-*) */
|
|
85
|
+
--shadow-neutral-shadow-round:
|
|
86
|
+
0px 7px 5px 0px rgb(63 93 116 / 0%), 0px 0px 10px 0px rgb(63 93 116 / 2%),
|
|
87
|
+
0px 3px 10px 0px rgb(63 93 116 / 8%), 0px 4px 4px 0px rgb(63 93 116 / 13%),
|
|
88
|
+
0px 1px 2px 0px rgb(63 93 116 / 15%), 0px 0px 3px 0px rgb(63 93 116 / 16%);
|
|
89
|
+
--shadow-neutral-shadow-round-1xl:
|
|
90
|
+
0px 27px 12px 0px rgb(63 93 116 / 0%), 0px 18px 7px 0px rgb(63 93 116 / 2%),
|
|
91
|
+
0px 10px 6px 0px rgb(63 93 116 / 8%), 0px 4px 4px 0px rgb(63 93 116 / 13%),
|
|
92
|
+
0px 1px 2px 0px rgb(63 93 116 / 15%), 0px 0px 14px 0px rgb(63 93 116 / 16%);
|
|
93
|
+
--shadow-neutral-shadow-round-2xl:
|
|
94
|
+
0px 85px 24px 0px rgb(63 93 116 / 0%),
|
|
95
|
+
0px 54px 22px 0px rgb(63 93 116 / 2%),
|
|
96
|
+
0px 30px 18px 0px rgb(63 93 116 / 8%),
|
|
97
|
+
0px 14px 14px 0px rgb(63 93 116 / 13%),
|
|
98
|
+
0px 3px 7px 0px rgb(63 93 116 / 15%), 0px 0px 23px 0px rgb(63 93 116 / 16%);
|
|
99
|
+
--shadow-neutral-shadow-round-3xl:
|
|
100
|
+
0px 185px 52px 0px rgb(63 93 116 / 0%),
|
|
101
|
+
0px 118px 47px 0px rgb(63 93 116 / 2%),
|
|
102
|
+
0px 67px 40px 0px rgb(63 93 116 / 8%),
|
|
103
|
+
0px 30px 30px 0px rgb(63 93 116 / 13%),
|
|
104
|
+
0px 7px 16px 0px rgb(63 93 116 / 15%), 0px 0px 30px 0px rgb(63 93 116 / 16%);
|
|
105
|
+
|
|
106
|
+
/* Animations (animate-*) */
|
|
107
|
+
--animate-pulse-resize: pulse-resize 1s ease-in-out infinite;
|
|
108
|
+
--animate-resize-in: resize-in 0.5s ease-in-out;
|
|
109
|
+
--animate-fade-in: fade-in 0.5s ease-in-out forwards;
|
|
110
|
+
--animate-bounce2: bounce2 1s ease-in-out infinite alternate;
|
|
111
|
+
--animate-fade-in-up: fade-in-up 0.5s ease-out forwards;
|
|
112
|
+
|
|
113
|
+
/* Animation Fill Modes (animation-fill-*) */
|
|
114
|
+
--animation-fill-none: none;
|
|
115
|
+
--animation-fill-forwards: forwards;
|
|
116
|
+
--animation-fill-backwards: backwards;
|
|
117
|
+
--animation-fill-both: both;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Keyframes for animations */
|
|
121
|
+
@keyframes pulse-resize {
|
|
122
|
+
0%,
|
|
123
|
+
100% {
|
|
124
|
+
transform: scale(1);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
50% {
|
|
128
|
+
transform: scale(0.7);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@keyframes resize-in {
|
|
133
|
+
0% {
|
|
134
|
+
transform: scale(0.5);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
100% {
|
|
138
|
+
transform: scale(1);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@keyframes fade-in {
|
|
143
|
+
0% {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
100% {
|
|
148
|
+
opacity: 1;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@keyframes bounce2 {
|
|
153
|
+
0% {
|
|
154
|
+
transform: translateY(-6px);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
100% {
|
|
158
|
+
transform: translateY(10);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@keyframes fade-in-up {
|
|
163
|
+
0% {
|
|
164
|
+
opacity: 0;
|
|
165
|
+
transform: translateY(10px);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
100% {
|
|
169
|
+
opacity: 1;
|
|
170
|
+
transform: translateY(0);
|
|
171
|
+
}
|
|
172
|
+
}
|