@chekinapp/tokens 0.0.12 → 0.0.14
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/package.json +1 -1
- package/src/base/components.css +1 -1
- package/src/surfaces/guest.css +2 -2
- package/src/tailwind-preset.js +11 -0
package/package.json
CHANGED
package/src/base/components.css
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--button-primary-active-overlay: rgba(0, 0, 0, 0.1);
|
|
31
31
|
|
|
32
32
|
/* Secondary variant */
|
|
33
|
-
--button-secondary-bg:
|
|
33
|
+
--button-secondary-bg: #f2f2f2;
|
|
34
34
|
--button-secondary-text: var(--chekin-color-brand-navy);
|
|
35
35
|
--button-secondary-border: transparent;
|
|
36
36
|
--button-secondary-hover-overlay: rgba(0, 0, 0, 0.05);
|
package/src/surfaces/guest.css
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
/* Button sizing: larger touch targets for guest */
|
|
31
31
|
--button-min-width-default: 295px;
|
|
32
32
|
--button-min-width-m: 275px;
|
|
33
|
-
--button-height-default:
|
|
33
|
+
--button-height-default: 48px;
|
|
34
34
|
--button-height-sm: 46px;
|
|
35
35
|
--button-height-m: 40px;
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
--button-outline-bg: var(--chekin-color-surface-input-empty);
|
|
43
43
|
--button-outline-text: var(--chekin-color-brand-blue);
|
|
44
44
|
--button-link-text: var(--chekin-color-brand-blue);
|
|
45
|
-
|
|
45
|
+
--button-outline-hover-bg: rgba(0, 0, 0, 0.04);
|
|
46
46
|
--circular-loader-color: var(--chekin-color-brand-blue);
|
|
47
47
|
--error-message-color: #f84b7a;
|
|
48
48
|
}
|
package/src/tailwind-preset.js
CHANGED
|
@@ -79,10 +79,21 @@ export default {
|
|
|
79
79
|
from: {height: 'var(--radix-accordion-content-height)'},
|
|
80
80
|
to: {height: '0'},
|
|
81
81
|
},
|
|
82
|
+
'chekin-loading-bar': {
|
|
83
|
+
'0%': {left: '-43%', width: '43%'},
|
|
84
|
+
'70%': {left: '42%', width: '58%'},
|
|
85
|
+
'100%': {left: '100%', width: '58%'},
|
|
86
|
+
},
|
|
87
|
+
'chekin-three-dots': {
|
|
88
|
+
'0%, 80%, 100%': {transform: 'scale(0)'},
|
|
89
|
+
'40%': {transform: 'scale(1)'},
|
|
90
|
+
},
|
|
82
91
|
},
|
|
83
92
|
animation: {
|
|
84
93
|
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
85
94
|
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
95
|
+
'chekin-loading-bar': 'chekin-loading-bar 0.9s linear infinite',
|
|
96
|
+
'chekin-three-dots': 'chekin-three-dots 1.1s infinite ease-in-out both',
|
|
86
97
|
},
|
|
87
98
|
},
|
|
88
99
|
},
|