@aircall/ds 0.25.0 → 0.27.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/globals.css +1 -1
- package/dist/index.d.ts +298 -42
- package/dist/index.js +339 -4
- package/dist/theme.css +970 -2
- package/package.json +3 -3
package/dist/theme.css
CHANGED
|
@@ -1,2 +1,970 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* DS theme definitions — no Preflight, no utility classes. Includes the DS
|
|
3
|
+
* `@layer base` reset (default border color, focus ring, and body/host
|
|
4
|
+
* background + text tokens) so this file is the single non-utility artifact a
|
|
5
|
+
* consumer needs alongside their own Tailwind compilation.
|
|
6
|
+
*
|
|
7
|
+
* Import this in packages/apps that compose @aircall/ds and generate DS utility
|
|
8
|
+
* classes from their own Tailwind pass (single-compilation), without bundling
|
|
9
|
+
* the full DS globals (Preflight + all precompiled DS utility classes).
|
|
10
|
+
*
|
|
11
|
+
* Do NOT use `@import '@aircall/ds/theme.css' layer(theme)` — this file contains
|
|
12
|
+
* multiple layers and custom variants that must land in their own layers.
|
|
13
|
+
*
|
|
14
|
+
* Usage (single-compilation consumer — app or library that builds on DS):
|
|
15
|
+
* @import 'tailwindcss'; // Preflight + the utility engine
|
|
16
|
+
* @import '@aircall/ds/theme.css'; // tokens + dark variant + base reset
|
|
17
|
+
* @source '../node_modules/@aircall/ds';
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* inlined from: tw-animate-css */
|
|
21
|
+
@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@theme inline{--animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); filter: blur(var(--tw-enter-blur,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); filter: blur(var(--tw-exit-blur,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }}}@utility animation-duration-*{--tw-animation-duration: calc(--value(number)*1ms); --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms); animation-duration: --value(--animation-duration-*,[duration],"initial",[*]);}@utility delay-*{animation-delay: calc(--value(number)*1ms); animation-delay: --value(--animation-delay-*,[duration],"initial",[*]); --tw-animation-delay: calc(--value(number)*1ms); --tw-animation-delay: --value(--animation-delay-*,[duration],"initial",[*]);}@utility repeat-*{animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]); --tw-animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]);}@utility direction-*{animation-direction: --value(--animation-direction-*,"initial",[*]); --tw-animation-direction: --value(--animation-direction-*,"initial",[*]);}@utility fill-mode-*{animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]); --tw-animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]);}@utility running{animation-play-state: running;}@utility paused{animation-play-state: paused;}@utility play-state-*{animation-play-state: --value("initial",[*]);}@utility blur-in{--tw-enter-blur: 20px;}@utility blur-in-*{--tw-enter-blur: calc(--value(number)*1px); --tw-enter-blur: --value(--blur-*,[*]);}@utility blur-out{--tw-exit-blur: 20px;}@utility blur-out-*{--tw-exit-blur: calc(--value(number)*1px); --tw-exit-blur: --value(--blur-*,[*]);}@utility fade-in{--tw-enter-opacity: 0;}@utility fade-in-*{--tw-enter-opacity: calc(--value(number)/100); --tw-enter-opacity: --value(--percentage-*,[*]);}@utility fade-out{--tw-exit-opacity: 0;}@utility fade-out-*{--tw-exit-opacity: calc(--value(number)/100); --tw-exit-opacity: --value(--percentage-*,[*]);}@utility zoom-in{--tw-enter-scale: 0;}@utility zoom-in-*{--tw-enter-scale: calc(--value(number)*1%); --tw-enter-scale: calc(--value(ratio)); --tw-enter-scale: --value(--percentage-*,[*]);}@utility -zoom-in-*{--tw-enter-scale: calc(--value(number)*-1%); --tw-enter-scale: calc(--value(ratio)*-1); --tw-enter-scale: --value(--percentage-*,[*]);}@utility zoom-out{--tw-exit-scale: 0;}@utility zoom-out-*{--tw-exit-scale: calc(--value(number)*1%); --tw-exit-scale: calc(--value(ratio)); --tw-exit-scale: --value(--percentage-*,[*]);}@utility -zoom-out-*{--tw-exit-scale: calc(--value(number)*-1%); --tw-exit-scale: calc(--value(ratio)*-1); --tw-exit-scale: --value(--percentage-*,[*]);}@utility spin-in{--tw-enter-rotate: 30deg;}@utility spin-in-*{--tw-enter-rotate: calc(--value(number)*1deg); --tw-enter-rotate: calc(--value(ratio)*360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility -spin-in{--tw-enter-rotate: -30deg;}@utility -spin-in-*{--tw-enter-rotate: calc(--value(number)*-1deg); --tw-enter-rotate: calc(--value(ratio)*-360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}@utility spin-out{--tw-exit-rotate: 30deg;}@utility spin-out-*{--tw-exit-rotate: calc(--value(number)*1deg); --tw-exit-rotate: calc(--value(ratio)*360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility -spin-out{--tw-exit-rotate: -30deg;}@utility -spin-out-*{--tw-exit-rotate: calc(--value(number)*-1deg); --tw-exit-rotate: calc(--value(ratio)*-360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}@utility slide-in-from-top{--tw-enter-translate-y: -100%;}@utility slide-in-from-top-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-y: calc(--value(ratio)*-100%); --tw-enter-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-bottom{--tw-enter-translate-y: 100%;}@utility slide-in-from-bottom-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-y: calc(--value(ratio)*100%); --tw-enter-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-left{--tw-enter-translate-x: -100%;}@utility slide-in-from-left-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-in-from-right{--tw-enter-translate-x: 100%;}@utility slide-in-from-right-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-in-from-start{&:dir(ltr){ --tw-enter-translate-x: -100%; }&:dir(rtl){ --tw-enter-translate-x: 100%; }}@utility slide-in-from-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-in-from-end{&:dir(ltr){ --tw-enter-translate-x: 100%; }&:dir(rtl){ --tw-enter-translate-x: -100%; }}@utility slide-in-from-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}@utility slide-out-to-top{--tw-exit-translate-y: -100%;}@utility slide-out-to-top-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-y: calc(--value(ratio)*-100%); --tw-exit-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-bottom{--tw-exit-translate-y: 100%;}@utility slide-out-to-bottom-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-y: calc(--value(ratio)*100%); --tw-exit-translate-y: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-left{--tw-exit-translate-x: -100%;}@utility slide-out-to-left-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}@utility slide-out-to-right{--tw-exit-translate-x: 100%;}@utility slide-out-to-right-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]);}@utility slide-out-to-start{&:dir(ltr){ --tw-exit-translate-x: -100%; }&:dir(rtl){ --tw-exit-translate-x: 100%; }}@utility slide-out-to-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }}@utility slide-out-to-end{&:dir(ltr){ --tw-exit-translate-x: 100%; }&:dir(rtl){ --tw-exit-translate-x: -100%; }}@utility slide-out-to-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}
|
|
22
|
+
/* inlined from: ./brand.css */
|
|
23
|
+
/* Aircall Color Palette */
|
|
24
|
+
|
|
25
|
+
@theme inline {
|
|
26
|
+
/* Charcoal (blue-gray) */
|
|
27
|
+
--color-charcoal-50: #f6fafc;
|
|
28
|
+
--color-charcoal-100: #edf4f8;
|
|
29
|
+
--color-charcoal-200: #dce9f1;
|
|
30
|
+
--color-charcoal-300: #b0c4d1;
|
|
31
|
+
--color-charcoal-400: #97abb8;
|
|
32
|
+
--color-charcoal-500: #6d8695;
|
|
33
|
+
--color-charcoal-600: #536c7b;
|
|
34
|
+
--color-charcoal-700: #3a5362;
|
|
35
|
+
--color-charcoal-800: #284150;
|
|
36
|
+
--color-charcoal-900: #132c3b;
|
|
37
|
+
--color-charcoal-950: #07202f;
|
|
38
|
+
|
|
39
|
+
/* Neutral */
|
|
40
|
+
--color-neutral-50: #f8f9fc;
|
|
41
|
+
--color-neutral-100: #f0f2f6;
|
|
42
|
+
--color-neutral-200: #e4e6ea;
|
|
43
|
+
--color-neutral-300: #bdbfc3;
|
|
44
|
+
--color-neutral-400: #a4a6aa;
|
|
45
|
+
--color-neutral-500: #7e8084;
|
|
46
|
+
--color-neutral-600: #64666a;
|
|
47
|
+
--color-neutral-700: #4b4d51;
|
|
48
|
+
--color-neutral-800: #36383c;
|
|
49
|
+
--color-neutral-900: #24262a;
|
|
50
|
+
--color-neutral-950: #0b0d11;
|
|
51
|
+
|
|
52
|
+
/* Red */
|
|
53
|
+
--color-red-50: #fff7f5;
|
|
54
|
+
--color-red-100: #ffedea;
|
|
55
|
+
--color-red-200: #ffdcd6;
|
|
56
|
+
--color-red-300: #ff9d8a;
|
|
57
|
+
--color-red-400: #ff7256;
|
|
58
|
+
--color-red-500: #ea4829;
|
|
59
|
+
--color-red-600: #db391a;
|
|
60
|
+
--color-red-700: #c22001;
|
|
61
|
+
--color-red-800: #951800;
|
|
62
|
+
--color-red-900: #600f00;
|
|
63
|
+
--color-red-950: #420b00;
|
|
64
|
+
|
|
65
|
+
/* Yellow */
|
|
66
|
+
--color-yellow-50: #fffcf3;
|
|
67
|
+
--color-yellow-100: #fff5d9;
|
|
68
|
+
--color-yellow-200: #fff1c0;
|
|
69
|
+
--color-yellow-300: #ffcd4f;
|
|
70
|
+
--color-yellow-400: #f3ad26;
|
|
71
|
+
--color-yellow-500: #d68100;
|
|
72
|
+
--color-yellow-600: #a96600;
|
|
73
|
+
--color-yellow-700: #8f5600;
|
|
74
|
+
--color-yellow-800: #693f00;
|
|
75
|
+
--color-yellow-900: #422800;
|
|
76
|
+
--color-yellow-950: #2f1c00;
|
|
77
|
+
|
|
78
|
+
/* Green */
|
|
79
|
+
--color-green-50: #f4fffb;
|
|
80
|
+
--color-green-100: #e6fff4;
|
|
81
|
+
--color-green-200: #d1ffec;
|
|
82
|
+
--color-green-300: #5bf1b2;
|
|
83
|
+
--color-green-400: #37cd8e;
|
|
84
|
+
--color-green-500: #13a96a;
|
|
85
|
+
--color-green-600: #00884f;
|
|
86
|
+
--color-green-700: #006a3d;
|
|
87
|
+
--color-green-800: #005a34;
|
|
88
|
+
--color-green-900: #003a22;
|
|
89
|
+
--color-green-950: #002817;
|
|
90
|
+
|
|
91
|
+
/* Blue */
|
|
92
|
+
--color-blue-50: #f5faff;
|
|
93
|
+
--color-blue-100: #eaf4ff;
|
|
94
|
+
--color-blue-200: #d7e9ff;
|
|
95
|
+
--color-blue-300: #98c7ff;
|
|
96
|
+
--color-blue-400: #70b1ff;
|
|
97
|
+
--color-blue-500: #388ef6;
|
|
98
|
+
--color-blue-600: #1e74dc;
|
|
99
|
+
--color-blue-700: #055bc3;
|
|
100
|
+
--color-blue-800: #00479c;
|
|
101
|
+
--color-blue-900: #003472;
|
|
102
|
+
--color-blue-950: #001f45;
|
|
103
|
+
|
|
104
|
+
/* Purple */
|
|
105
|
+
--color-purple-50: #f9f8ff;
|
|
106
|
+
--color-purple-100: #f2f0ff;
|
|
107
|
+
--color-purple-200: #e6e1ff;
|
|
108
|
+
--color-purple-300: #bfb3ff;
|
|
109
|
+
--color-purple-400: #a696ff;
|
|
110
|
+
--color-purple-500: #8b77fc;
|
|
111
|
+
--color-purple-600: #6551d6;
|
|
112
|
+
--color-purple-700: #4c38bd;
|
|
113
|
+
--color-purple-800: #3a26ab;
|
|
114
|
+
--color-purple-900: #110074;
|
|
115
|
+
--color-purple-950: #0d0054;
|
|
116
|
+
|
|
117
|
+
/* Pink */
|
|
118
|
+
--color-pink-50: #fff6f8;
|
|
119
|
+
--color-pink-100: #ffecf0;
|
|
120
|
+
--color-pink-200: #ffdae2;
|
|
121
|
+
--color-pink-300: #ffa0b5;
|
|
122
|
+
--color-pink-400: #ff7b97;
|
|
123
|
+
--color-pink-500: #eb5e7c;
|
|
124
|
+
--color-pink-600: #cf4260;
|
|
125
|
+
--color-pink-700: #ac1f3d;
|
|
126
|
+
--color-pink-800: #9a0d2b;
|
|
127
|
+
--color-pink-900: #750019;
|
|
128
|
+
--color-pink-950: #500011;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/*
|
|
132
|
+
* emoji-picker-react brand overrides.
|
|
133
|
+
*
|
|
134
|
+
* Selector matches the picker root AND its `.epr-dark-theme` variant so the
|
|
135
|
+
* overrides win in both modes. The library scopes its dark-mode defaults on
|
|
136
|
+
* `.EmojiPickerReact.epr-dark-theme` (specificity 0,2,0); matching that class
|
|
137
|
+
* explicitly keeps us at the same specificity while load-order-independent.
|
|
138
|
+
*/
|
|
139
|
+
.ds-emoji-picker .EmojiPickerReact,
|
|
140
|
+
.ds-emoji-picker .EmojiPickerReact.epr-dark-theme {
|
|
141
|
+
--epr-emoji-size: 24px;
|
|
142
|
+
--epr-category-navigation-button-size: 24px;
|
|
143
|
+
--epr-header-padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2);
|
|
144
|
+
--epr-category-label-height: calc(var(--spacing) * 8);
|
|
145
|
+
|
|
146
|
+
/* Align the picker surface with the surrounding DS popover (dark in dark mode). */
|
|
147
|
+
--epr-bg-color: var(--popover);
|
|
148
|
+
--epr-category-label-bg-color: var(--popover);
|
|
149
|
+
--epr-picker-border-color: var(--border);
|
|
150
|
+
|
|
151
|
+
/*
|
|
152
|
+
* Theme-aware search field. Using `--muted` (which is a DS token that already
|
|
153
|
+
* flips light/dark via `[data-theme='dark']`) means we don't depend on the
|
|
154
|
+
* library's own `.epr-dark-theme` detection — the search input stays in sync
|
|
155
|
+
* with the DS theme even if `resolvedTheme` is mid-update on first render.
|
|
156
|
+
*/
|
|
157
|
+
--epr-search-input-bg-color: var(--muted);
|
|
158
|
+
--epr-search-input-bg-color-active: var(--muted);
|
|
159
|
+
|
|
160
|
+
/* Use the DS focus ring / primary on accent surfaces instead of the library's blue. */
|
|
161
|
+
--epr-search-border-color: var(--ring);
|
|
162
|
+
--epr-category-icon-active-color: var(--primary);
|
|
163
|
+
|
|
164
|
+
font-family: var(--font-sans);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/*
|
|
168
|
+
* The library ships `.EmojiPickerReact * { font-family: sans-serif }`, which
|
|
169
|
+
* targets every descendant directly and overrides normal inheritance from
|
|
170
|
+
* the root. Restore inheritance so descendants (including
|
|
171
|
+
* `.epr-emoji-category-label`) pick up the DS font set on the root above.
|
|
172
|
+
* Selector below beats the library's specificity (0,2,1 vs 0,1,1).
|
|
173
|
+
*/
|
|
174
|
+
.ds-emoji-picker .EmojiPickerReact * {
|
|
175
|
+
font-family: inherit;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
* Library paints category labels at `font-weight: 700`. Soften to normal — the
|
|
180
|
+
* extra selector depth (0,4,0) beats the library's (0,3,1).
|
|
181
|
+
*/
|
|
182
|
+
.ds-emoji-picker .EmojiPickerReact .epr-emoji-category > .epr-emoji-category-label {
|
|
183
|
+
font-weight: 400;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
* Remove the circular focus ring the library paints around category nav
|
|
188
|
+
* buttons via `::before`. The icon color change on hover still fires via the
|
|
189
|
+
* SVG sprite's `background-position` shift, so the active state stays
|
|
190
|
+
* visible without the extra border. Specificity (0,5,2) beats library (0,4,2).
|
|
191
|
+
*/
|
|
192
|
+
.ds-emoji-picker .EmojiPickerReact .epr-category-nav > button.epr-cat-btn:focus::before {
|
|
193
|
+
content: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
|
|
198
|
+
|
|
199
|
+
@theme {
|
|
200
|
+
--font-sans: 'Fellix', sans-serif;
|
|
201
|
+
--text-tiny: 0.625rem;
|
|
202
|
+
--text-tiny--line-height: 0.75 / 0.625rem;
|
|
203
|
+
--animate-caret-blink: caret-blink 1.25s ease-out infinite;
|
|
204
|
+
/* Badge AI glow — a subtle breathing pulse of the drop-shadow. Reads
|
|
205
|
+
--badge-glow (the per-color accent set by the badge) so one keyframe
|
|
206
|
+
serves every color. Disabled under prefers-reduced-motion at the call-site. */
|
|
207
|
+
--animate-badge-glow: badge-glow 2.5s ease-in-out infinite;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@keyframes caret-blink {
|
|
211
|
+
0%,
|
|
212
|
+
70%,
|
|
213
|
+
100% {
|
|
214
|
+
opacity: 1;
|
|
215
|
+
}
|
|
216
|
+
20%,
|
|
217
|
+
50% {
|
|
218
|
+
opacity: 0;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@keyframes badge-glow {
|
|
223
|
+
0%,
|
|
224
|
+
100% {
|
|
225
|
+
filter: drop-shadow(0 0 2px var(--badge-glow));
|
|
226
|
+
}
|
|
227
|
+
50% {
|
|
228
|
+
filter: drop-shadow(0 0 5px var(--badge-glow));
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@layer theme {
|
|
233
|
+
/* Light theme */
|
|
234
|
+
:root,
|
|
235
|
+
:host {
|
|
236
|
+
--background: #fff;
|
|
237
|
+
--foreground: var(--color-neutral-950);
|
|
238
|
+
--card: #fff;
|
|
239
|
+
--card-foreground: var(--color-neutral-950);
|
|
240
|
+
--popover: #fff;
|
|
241
|
+
--popover-foreground: var(--color-neutral-950);
|
|
242
|
+
|
|
243
|
+
--primary: var(--color-green-600);
|
|
244
|
+
--primary-foreground: #fff;
|
|
245
|
+
--secondary: var(--color-charcoal-700);
|
|
246
|
+
--secondary-foreground: var(--color-charcoal-50);
|
|
247
|
+
|
|
248
|
+
--info: var(--color-blue-500);
|
|
249
|
+
--info-foreground: var(--color-blue-700);
|
|
250
|
+
--info-background: var(--color-blue-50);
|
|
251
|
+
--success: var(--color-green-500);
|
|
252
|
+
--success-foreground: var(--color-green-700);
|
|
253
|
+
--success-background: var(--color-green-50);
|
|
254
|
+
--warning: var(--color-yellow-500);
|
|
255
|
+
--warning-foreground: var(--color-yellow-700);
|
|
256
|
+
--warning-background: var(--color-yellow-50);
|
|
257
|
+
--muted: var(--color-neutral-100);
|
|
258
|
+
--muted-foreground: var(--color-neutral-600);
|
|
259
|
+
--accent: var(--color-neutral-100);
|
|
260
|
+
--accent-foreground: var(--color-neutral-900);
|
|
261
|
+
--destructive: var(--color-red-600);
|
|
262
|
+
--destructive-foreground: var(--color-red-50);
|
|
263
|
+
--destructive-background: var(--color-red-50);
|
|
264
|
+
--border: var(--color-neutral-200);
|
|
265
|
+
--input: var(--color-neutral-200);
|
|
266
|
+
--ring: var(--color-neutral-400);
|
|
267
|
+
--chart-1: var(--color-green-600);
|
|
268
|
+
--chart-2: var(--color-blue-600);
|
|
269
|
+
--chart-3: var(--color-purple-700);
|
|
270
|
+
--chart-4: var(--color-yellow-400);
|
|
271
|
+
--chart-5: var(--color-pink-500);
|
|
272
|
+
--radius: 0.625rem;
|
|
273
|
+
--sidebar: #fff;
|
|
274
|
+
--sidebar-foreground: var(--color-neutral-800);
|
|
275
|
+
--sidebar-primary: var(--color-green-600);
|
|
276
|
+
--sidebar-primary-foreground: #fff;
|
|
277
|
+
--sidebar-accent: var(--color-neutral-100);
|
|
278
|
+
--sidebar-accent-foreground: var(--color-neutral-900);
|
|
279
|
+
--sidebar-border: var(--color-neutral-200);
|
|
280
|
+
--sidebar-ring: var(--color-neutral-400);
|
|
281
|
+
|
|
282
|
+
/* Badge color film — a wash laid over a colored Badge's solid base shade
|
|
283
|
+
to derive its four tones from one base color. White in light mode (the
|
|
284
|
+
base lightens as opacity rises); see the dark theme for the near-black
|
|
285
|
+
counterpart. Opacity = tone: Dark 10% → Medium Dark 40% → Medium Light
|
|
286
|
+
60% → Light 80%. */
|
|
287
|
+
--badge-film-10: rgba(255, 255, 255, 0.1);
|
|
288
|
+
--badge-film-40: rgba(255, 255, 255, 0.4);
|
|
289
|
+
--badge-film-60: rgba(255, 255, 255, 0.6);
|
|
290
|
+
--badge-film-80: rgba(255, 255, 255, 0.8);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Dark theme */
|
|
294
|
+
[data-theme='dark'],
|
|
295
|
+
[data-theme='dark'] * {
|
|
296
|
+
--background: var(--color-neutral-950);
|
|
297
|
+
--foreground: var(--color-neutral-50);
|
|
298
|
+
--card: var(--color-neutral-900);
|
|
299
|
+
--card-foreground: var(--color-neutral-50);
|
|
300
|
+
--popover: var(--color-neutral-800);
|
|
301
|
+
--popover-foreground: var(--color-neutral-50);
|
|
302
|
+
|
|
303
|
+
--primary: var(--color-green-500);
|
|
304
|
+
--primary-foreground: var(--color-neutral-950);
|
|
305
|
+
--secondary: var(--color-charcoal-300);
|
|
306
|
+
--secondary-foreground: var(--color-charcoal-900);
|
|
307
|
+
|
|
308
|
+
--info: var(--color-blue-500);
|
|
309
|
+
--info-foreground: var(--color-blue-400);
|
|
310
|
+
--info-background: var(--color-blue-950);
|
|
311
|
+
--success: var(--color-green-500);
|
|
312
|
+
--success-foreground: var(--color-green-400);
|
|
313
|
+
--success-background: var(--color-green-950);
|
|
314
|
+
--warning: var(--color-yellow-500);
|
|
315
|
+
--warning-foreground: var(--color-yellow-400);
|
|
316
|
+
--warning-background: var(--color-yellow-950);
|
|
317
|
+
--muted: var(--color-neutral-800);
|
|
318
|
+
--muted-foreground: var(--color-neutral-400);
|
|
319
|
+
--accent: var(--color-neutral-700);
|
|
320
|
+
--accent-foreground: var(--color-neutral-50);
|
|
321
|
+
--destructive: var(--color-red-400);
|
|
322
|
+
--destructive-foreground: var(--color-red-50);
|
|
323
|
+
--destructive-background: var(--color-red-950);
|
|
324
|
+
--border: oklch(1 0 0 / 10%);
|
|
325
|
+
--input: oklch(1 0 0 / 15%);
|
|
326
|
+
--ring: var(--color-neutral-500);
|
|
327
|
+
--chart-1: var(--color-green-500);
|
|
328
|
+
--chart-2: var(--color-blue-500);
|
|
329
|
+
--chart-3: var(--color-purple-600);
|
|
330
|
+
--chart-4: var(--color-yellow-500);
|
|
331
|
+
--chart-5: var(--color-pink-600);
|
|
332
|
+
--sidebar: var(--color-neutral-900);
|
|
333
|
+
--sidebar-foreground: var(--color-neutral-50);
|
|
334
|
+
--sidebar-primary: var(--color-green-500);
|
|
335
|
+
--sidebar-primary-foreground: #fff;
|
|
336
|
+
--sidebar-accent: var(--color-neutral-800);
|
|
337
|
+
--sidebar-accent-foreground: var(--color-neutral-50);
|
|
338
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
339
|
+
--sidebar-ring: var(--color-neutral-600);
|
|
340
|
+
|
|
341
|
+
/* Dark theme: the film flips to near-black (#0a0a0a) so the same base
|
|
342
|
+
shade darkens into its four tones instead of lightening. */
|
|
343
|
+
--badge-film-10: rgba(10, 10, 10, 0.1);
|
|
344
|
+
--badge-film-40: rgba(10, 10, 10, 0.4);
|
|
345
|
+
--badge-film-60: rgba(10, 10, 10, 0.6);
|
|
346
|
+
--badge-film-80: rgba(10, 10, 10, 0.8);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
@theme inline {
|
|
351
|
+
--color-background: var(--background);
|
|
352
|
+
--color-foreground: var(--foreground);
|
|
353
|
+
--color-card: var(--card);
|
|
354
|
+
--color-card-foreground: var(--card-foreground);
|
|
355
|
+
--color-popover: var(--popover);
|
|
356
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
357
|
+
--color-primary: var(--primary);
|
|
358
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
359
|
+
--color-secondary: var(--secondary);
|
|
360
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
361
|
+
--color-info: var(--info);
|
|
362
|
+
--color-info-foreground: var(--info-foreground);
|
|
363
|
+
--color-info-background: var(--info-background);
|
|
364
|
+
--color-success: var(--success);
|
|
365
|
+
--color-success-foreground: var(--success-foreground);
|
|
366
|
+
--color-success-background: var(--success-background);
|
|
367
|
+
--color-warning: var(--warning);
|
|
368
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
369
|
+
--color-warning-background: var(--warning-background);
|
|
370
|
+
--color-muted: var(--muted);
|
|
371
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
372
|
+
--color-accent: var(--accent);
|
|
373
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
374
|
+
--color-destructive: var(--destructive);
|
|
375
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
376
|
+
--color-destructive-background: var(--destructive-background);
|
|
377
|
+
--color-border: var(--border);
|
|
378
|
+
--color-input: var(--input);
|
|
379
|
+
--color-ring: var(--ring);
|
|
380
|
+
--color-chart-1: var(--chart-1);
|
|
381
|
+
--color-chart-2: var(--chart-2);
|
|
382
|
+
--color-chart-3: var(--chart-3);
|
|
383
|
+
--color-chart-4: var(--chart-4);
|
|
384
|
+
--color-chart-5: var(--chart-5);
|
|
385
|
+
--color-sidebar: var(--sidebar);
|
|
386
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
387
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
388
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
389
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
390
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
391
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
392
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
393
|
+
|
|
394
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
395
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
396
|
+
--radius-lg: var(--radius);
|
|
397
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/*
|
|
401
|
+
* Attachment utilities — ported verbatim from the shadcn base theme
|
|
402
|
+
* (packages/shadcn/src/tailwind.css). Consumed by the Attachment component:
|
|
403
|
+
* - `scrollbar-none` → AttachmentGroup (hide the scrollbar)
|
|
404
|
+
* - `scroll-fade-x` → AttachmentGroup (masked edge fade, scroll-driven)
|
|
405
|
+
* - `shimmer` → AttachmentTitle (uploading / processing state)
|
|
406
|
+
* Kept faithful to shadcn so future `shadcn add` upgrades stay drop-in.
|
|
407
|
+
*/
|
|
408
|
+
|
|
409
|
+
/* Hide the scrollbar while preserving scrollability. */
|
|
410
|
+
@utility scrollbar-none {
|
|
411
|
+
-ms-overflow-style: none;
|
|
412
|
+
scrollbar-width: none;
|
|
413
|
+
|
|
414
|
+
&::-webkit-scrollbar {
|
|
415
|
+
display: none;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* shimmer */
|
|
420
|
+
@property --shimmer-angle {
|
|
421
|
+
syntax: "<angle>";
|
|
422
|
+
inherits: true;
|
|
423
|
+
initial-value: 20deg;
|
|
424
|
+
}
|
|
425
|
+
@property --shimmer-image {
|
|
426
|
+
syntax: "*";
|
|
427
|
+
inherits: false;
|
|
428
|
+
}
|
|
429
|
+
@property --shimmer-text-fill {
|
|
430
|
+
syntax: "*";
|
|
431
|
+
inherits: false;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
@theme inline {
|
|
435
|
+
@keyframes tw-shimmer {
|
|
436
|
+
from {
|
|
437
|
+
background-position: 100% 0;
|
|
438
|
+
}
|
|
439
|
+
to {
|
|
440
|
+
background-position: 0 0;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
@utility shimmer {
|
|
446
|
+
--_spread: var(--shimmer-spread, calc(3ch + 40px));
|
|
447
|
+
--_base: currentColor;
|
|
448
|
+
--_highlight: var(
|
|
449
|
+
--shimmer-color,
|
|
450
|
+
oklch(from currentColor l c h / calc(alpha* 0.2))
|
|
451
|
+
);
|
|
452
|
+
|
|
453
|
+
background-image: var(
|
|
454
|
+
--shimmer-image,
|
|
455
|
+
linear-gradient(
|
|
456
|
+
calc(90deg + var(--shimmer-angle)),
|
|
457
|
+
var(--_base) calc(50% - var(--_spread)),
|
|
458
|
+
color-mix(in oklch, var(--_highlight), var(--_base) 50%)
|
|
459
|
+
calc(50% - var(--_spread) * 0.5),
|
|
460
|
+
var(--_highlight) 50%,
|
|
461
|
+
color-mix(in oklch, var(--_highlight), var(--_base) 50%)
|
|
462
|
+
calc(50% + var(--_spread) * 0.5),
|
|
463
|
+
var(--_base) calc(50% + var(--_spread))
|
|
464
|
+
)
|
|
465
|
+
);
|
|
466
|
+
background-repeat: no-repeat;
|
|
467
|
+
background-size: calc(200% + var(--_spread) * 2) 100%;
|
|
468
|
+
background-position: 0 0;
|
|
469
|
+
background-clip: text;
|
|
470
|
+
-webkit-background-clip: text;
|
|
471
|
+
-webkit-text-fill-color: var(--shimmer-text-fill, transparent);
|
|
472
|
+
animation: tw-shimmer var(--shimmer-duration, 2s) linear infinite;
|
|
473
|
+
|
|
474
|
+
@variant dark {
|
|
475
|
+
--_highlight: var(
|
|
476
|
+
--shimmer-color,
|
|
477
|
+
oklch(from currentColor max(0.8, calc(l + 0.4)) c h / calc(alpha + 0.4))
|
|
478
|
+
);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
&:where([dir="rtl"], [dir="rtl"] *) {
|
|
482
|
+
animation-direction: reverse;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
@utility shimmer-once {
|
|
487
|
+
animation-iteration-count: 1;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
@utility shimmer-reverse {
|
|
491
|
+
animation-direction: reverse;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
@utility shimmer-none {
|
|
495
|
+
--shimmer-image: none;
|
|
496
|
+
--shimmer-text-fill: currentColor;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@utility shimmer-color-* {
|
|
500
|
+
--shimmer-color: --value(--color, [color]);
|
|
501
|
+
--shimmer-color: color-mix(
|
|
502
|
+
in oklch,
|
|
503
|
+
--value(--color, [color]) calc(--modifier(integer) * 1%),
|
|
504
|
+
transparent
|
|
505
|
+
);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@utility shimmer-duration-* {
|
|
509
|
+
--shimmer-duration: calc(--value(integer) * 1ms);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@utility shimmer-spread-* {
|
|
513
|
+
--shimmer-spread: calc(var(--spacing) * --value(integer));
|
|
514
|
+
--shimmer-spread: --value([length], [percentage]);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
@utility shimmer-angle-* {
|
|
518
|
+
--shimmer-angle: calc(--value(integer) * 1deg);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
@media (prefers-reduced-motion: reduce) {
|
|
522
|
+
.shimmer {
|
|
523
|
+
animation: none;
|
|
524
|
+
background-image: none;
|
|
525
|
+
-webkit-text-fill-color: currentColor;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/* scroll-fade */
|
|
531
|
+
@property --scroll-fade-t {
|
|
532
|
+
syntax: "<length-percentage>";
|
|
533
|
+
inherits: false;
|
|
534
|
+
initial-value: 0px;
|
|
535
|
+
}
|
|
536
|
+
@property --scroll-fade-b {
|
|
537
|
+
syntax: "<length-percentage>";
|
|
538
|
+
inherits: false;
|
|
539
|
+
initial-value: 0px;
|
|
540
|
+
}
|
|
541
|
+
@property --scroll-fade-s {
|
|
542
|
+
syntax: "<length-percentage>";
|
|
543
|
+
inherits: false;
|
|
544
|
+
initial-value: 0px;
|
|
545
|
+
}
|
|
546
|
+
@property --scroll-fade-e {
|
|
547
|
+
syntax: "<length-percentage>";
|
|
548
|
+
inherits: false;
|
|
549
|
+
initial-value: 0px;
|
|
550
|
+
}
|
|
551
|
+
@property --scroll-fade-mask {
|
|
552
|
+
syntax: "*";
|
|
553
|
+
inherits: false;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@theme inline {
|
|
557
|
+
@keyframes scroll-fade-reveal-t {
|
|
558
|
+
from {
|
|
559
|
+
--scroll-fade-t: 0px;
|
|
560
|
+
}
|
|
561
|
+
to {
|
|
562
|
+
--scroll-fade-t: var(--_scroll-fade-size-t, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
@keyframes scroll-fade-reveal-b {
|
|
566
|
+
from {
|
|
567
|
+
--scroll-fade-b: var(--_scroll-fade-size-b, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
|
|
568
|
+
}
|
|
569
|
+
to {
|
|
570
|
+
--scroll-fade-b: 0px;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
@keyframes scroll-fade-reveal-s {
|
|
574
|
+
from {
|
|
575
|
+
--scroll-fade-s: 0px;
|
|
576
|
+
}
|
|
577
|
+
to {
|
|
578
|
+
--scroll-fade-s: var(--_scroll-fade-size-s, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
@keyframes scroll-fade-reveal-e {
|
|
582
|
+
from {
|
|
583
|
+
--scroll-fade-e: var(--_scroll-fade-size-e, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
|
|
584
|
+
}
|
|
585
|
+
to {
|
|
586
|
+
--scroll-fade-e: 0px;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
@utility scroll-fade {
|
|
592
|
+
--_scroll-fade-size-t: var(
|
|
593
|
+
--scroll-fade-t-size,
|
|
594
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
595
|
+
);
|
|
596
|
+
--_scroll-fade-size-b: var(
|
|
597
|
+
--scroll-fade-b-size,
|
|
598
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
599
|
+
);
|
|
600
|
+
--scroll-fade-block: linear-gradient(
|
|
601
|
+
to bottom,
|
|
602
|
+
transparent 0,
|
|
603
|
+
#000 var(--scroll-fade-t, 0px),
|
|
604
|
+
#000 calc(100% - var(--scroll-fade-b, 0px)),
|
|
605
|
+
transparent 100%
|
|
606
|
+
);
|
|
607
|
+
-webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
|
|
608
|
+
mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
|
|
609
|
+
-webkit-mask-composite: source-in;
|
|
610
|
+
mask-composite: intersect;
|
|
611
|
+
-webkit-mask-repeat: no-repeat;
|
|
612
|
+
mask-repeat: no-repeat;
|
|
613
|
+
|
|
614
|
+
@supports (animation-timeline: scroll()) {
|
|
615
|
+
animation:
|
|
616
|
+
scroll-fade-reveal-t 1ms ease-in-out,
|
|
617
|
+
scroll-fade-reveal-b 1ms ease-in-out;
|
|
618
|
+
animation-timeline: scroll(self y), scroll(self y);
|
|
619
|
+
animation-range:
|
|
620
|
+
0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
|
|
621
|
+
calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
|
|
622
|
+
animation-fill-mode: both;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
@supports not (animation-timeline: scroll()) {
|
|
626
|
+
--scroll-fade-t: var(--_scroll-fade-size-t);
|
|
627
|
+
--scroll-fade-b: var(--_scroll-fade-size-b);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@utility scroll-fade-y {
|
|
632
|
+
--_scroll-fade-size-t: var(
|
|
633
|
+
--scroll-fade-t-size,
|
|
634
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
635
|
+
);
|
|
636
|
+
--_scroll-fade-size-b: var(
|
|
637
|
+
--scroll-fade-b-size,
|
|
638
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
639
|
+
);
|
|
640
|
+
--scroll-fade-block: linear-gradient(
|
|
641
|
+
to bottom,
|
|
642
|
+
transparent 0,
|
|
643
|
+
#000 var(--scroll-fade-t, 0px),
|
|
644
|
+
#000 calc(100% - var(--scroll-fade-b, 0px)),
|
|
645
|
+
transparent 100%
|
|
646
|
+
);
|
|
647
|
+
-webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
|
|
648
|
+
mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
|
|
649
|
+
-webkit-mask-composite: source-in;
|
|
650
|
+
mask-composite: intersect;
|
|
651
|
+
-webkit-mask-repeat: no-repeat;
|
|
652
|
+
mask-repeat: no-repeat;
|
|
653
|
+
|
|
654
|
+
@supports (animation-timeline: scroll()) {
|
|
655
|
+
animation:
|
|
656
|
+
scroll-fade-reveal-t 1ms ease-in-out,
|
|
657
|
+
scroll-fade-reveal-b 1ms ease-in-out;
|
|
658
|
+
animation-timeline: scroll(self y), scroll(self y);
|
|
659
|
+
animation-range:
|
|
660
|
+
0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
|
|
661
|
+
calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
|
|
662
|
+
animation-fill-mode: both;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
@supports not (animation-timeline: scroll()) {
|
|
666
|
+
--scroll-fade-t: var(--_scroll-fade-size-t);
|
|
667
|
+
--scroll-fade-b: var(--_scroll-fade-size-b);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
@utility scroll-fade-x {
|
|
672
|
+
--_scroll-fade-size-s: var(
|
|
673
|
+
--scroll-fade-s-size,
|
|
674
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
675
|
+
);
|
|
676
|
+
--_scroll-fade-size-e: var(
|
|
677
|
+
--scroll-fade-e-size,
|
|
678
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
679
|
+
);
|
|
680
|
+
--scroll-fade-inline: linear-gradient(
|
|
681
|
+
to right,
|
|
682
|
+
transparent 0,
|
|
683
|
+
#000 var(--scroll-fade-s, 0px),
|
|
684
|
+
#000 calc(100% - var(--scroll-fade-e, 0px)),
|
|
685
|
+
transparent 100%
|
|
686
|
+
);
|
|
687
|
+
&:where([dir="rtl"], [dir="rtl"] *) {
|
|
688
|
+
--scroll-fade-inline: linear-gradient(
|
|
689
|
+
to left,
|
|
690
|
+
transparent 0,
|
|
691
|
+
#000 var(--scroll-fade-s, 0px),
|
|
692
|
+
#000 calc(100% - var(--scroll-fade-e, 0px)),
|
|
693
|
+
transparent 100%
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
-webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-inline));
|
|
697
|
+
mask-image: var(--scroll-fade-mask, var(--scroll-fade-inline));
|
|
698
|
+
-webkit-mask-composite: source-in;
|
|
699
|
+
mask-composite: intersect;
|
|
700
|
+
-webkit-mask-repeat: no-repeat;
|
|
701
|
+
mask-repeat: no-repeat;
|
|
702
|
+
|
|
703
|
+
@supports (animation-timeline: scroll()) {
|
|
704
|
+
animation:
|
|
705
|
+
scroll-fade-reveal-s 1ms ease-in-out,
|
|
706
|
+
scroll-fade-reveal-e 1ms ease-in-out;
|
|
707
|
+
animation-timeline: scroll(self inline), scroll(self inline);
|
|
708
|
+
animation-range:
|
|
709
|
+
0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
|
|
710
|
+
calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
|
|
711
|
+
animation-fill-mode: both;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
@supports not (animation-timeline: scroll()) {
|
|
715
|
+
--scroll-fade-s: var(--_scroll-fade-size-s);
|
|
716
|
+
--scroll-fade-e: var(--_scroll-fade-size-e);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
@utility scroll-fade-t {
|
|
721
|
+
--_scroll-fade-size-t: var(
|
|
722
|
+
--scroll-fade-t-size,
|
|
723
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
724
|
+
);
|
|
725
|
+
--scroll-fade-mask: linear-gradient(
|
|
726
|
+
to bottom,
|
|
727
|
+
transparent 0,
|
|
728
|
+
#000 var(--scroll-fade-t, 0px),
|
|
729
|
+
#000 100%
|
|
730
|
+
);
|
|
731
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
732
|
+
mask-image: var(--scroll-fade-mask);
|
|
733
|
+
-webkit-mask-composite: source-in;
|
|
734
|
+
mask-composite: intersect;
|
|
735
|
+
-webkit-mask-repeat: no-repeat;
|
|
736
|
+
mask-repeat: no-repeat;
|
|
737
|
+
|
|
738
|
+
@supports (animation-timeline: scroll()) {
|
|
739
|
+
animation: scroll-fade-reveal-t 1ms ease-in-out;
|
|
740
|
+
animation-timeline: scroll(self y);
|
|
741
|
+
animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
|
|
742
|
+
animation-fill-mode: both;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
@supports not (animation-timeline: scroll()) {
|
|
746
|
+
--scroll-fade-t: var(--_scroll-fade-size-t);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
@utility scroll-fade-b {
|
|
751
|
+
--_scroll-fade-size-b: var(
|
|
752
|
+
--scroll-fade-b-size,
|
|
753
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
754
|
+
);
|
|
755
|
+
--scroll-fade-mask: linear-gradient(
|
|
756
|
+
to bottom,
|
|
757
|
+
#000 0,
|
|
758
|
+
#000 calc(100% - var(--scroll-fade-b, 0px)),
|
|
759
|
+
transparent 100%
|
|
760
|
+
);
|
|
761
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
762
|
+
mask-image: var(--scroll-fade-mask);
|
|
763
|
+
-webkit-mask-composite: source-in;
|
|
764
|
+
mask-composite: intersect;
|
|
765
|
+
-webkit-mask-repeat: no-repeat;
|
|
766
|
+
mask-repeat: no-repeat;
|
|
767
|
+
|
|
768
|
+
@supports (animation-timeline: scroll()) {
|
|
769
|
+
animation: scroll-fade-reveal-b 1ms ease-in-out;
|
|
770
|
+
animation-timeline: scroll(self y);
|
|
771
|
+
animation-range: calc(
|
|
772
|
+
100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
|
|
773
|
+
)
|
|
774
|
+
100%;
|
|
775
|
+
animation-fill-mode: both;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
@supports not (animation-timeline: scroll()) {
|
|
779
|
+
--scroll-fade-b: var(--_scroll-fade-size-b);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
@utility scroll-fade-l {
|
|
784
|
+
--_scroll-fade-size-s: var(
|
|
785
|
+
--scroll-fade-s-size,
|
|
786
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
787
|
+
);
|
|
788
|
+
--scroll-fade-mask: linear-gradient(
|
|
789
|
+
to right,
|
|
790
|
+
transparent 0,
|
|
791
|
+
#000 var(--scroll-fade-s, 0px),
|
|
792
|
+
#000 100%
|
|
793
|
+
);
|
|
794
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
795
|
+
mask-image: var(--scroll-fade-mask);
|
|
796
|
+
-webkit-mask-composite: source-in;
|
|
797
|
+
mask-composite: intersect;
|
|
798
|
+
-webkit-mask-repeat: no-repeat;
|
|
799
|
+
mask-repeat: no-repeat;
|
|
800
|
+
|
|
801
|
+
@supports (animation-timeline: scroll()) {
|
|
802
|
+
animation: scroll-fade-reveal-s 1ms ease-in-out;
|
|
803
|
+
animation-timeline: scroll(self x);
|
|
804
|
+
animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
|
|
805
|
+
animation-fill-mode: both;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
@supports not (animation-timeline: scroll()) {
|
|
809
|
+
--scroll-fade-s: var(--_scroll-fade-size-s);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
@utility scroll-fade-r {
|
|
814
|
+
--_scroll-fade-size-e: var(
|
|
815
|
+
--scroll-fade-e-size,
|
|
816
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
817
|
+
);
|
|
818
|
+
--scroll-fade-mask: linear-gradient(
|
|
819
|
+
to right,
|
|
820
|
+
#000 0,
|
|
821
|
+
#000 calc(100% - var(--scroll-fade-e, 0px)),
|
|
822
|
+
transparent 100%
|
|
823
|
+
);
|
|
824
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
825
|
+
mask-image: var(--scroll-fade-mask);
|
|
826
|
+
-webkit-mask-composite: source-in;
|
|
827
|
+
mask-composite: intersect;
|
|
828
|
+
-webkit-mask-repeat: no-repeat;
|
|
829
|
+
mask-repeat: no-repeat;
|
|
830
|
+
|
|
831
|
+
@supports (animation-timeline: scroll()) {
|
|
832
|
+
animation: scroll-fade-reveal-e 1ms ease-in-out;
|
|
833
|
+
animation-timeline: scroll(self x);
|
|
834
|
+
animation-range: calc(
|
|
835
|
+
100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
|
|
836
|
+
)
|
|
837
|
+
100%;
|
|
838
|
+
animation-fill-mode: both;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
@supports not (animation-timeline: scroll()) {
|
|
842
|
+
--scroll-fade-e: var(--_scroll-fade-size-e);
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
@utility scroll-fade-s {
|
|
847
|
+
--_scroll-fade-size-s: var(
|
|
848
|
+
--scroll-fade-s-size,
|
|
849
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
850
|
+
);
|
|
851
|
+
--scroll-fade-mask: linear-gradient(
|
|
852
|
+
to right,
|
|
853
|
+
transparent 0,
|
|
854
|
+
#000 var(--scroll-fade-s, 0px),
|
|
855
|
+
#000 100%
|
|
856
|
+
);
|
|
857
|
+
&:where([dir="rtl"], [dir="rtl"] *) {
|
|
858
|
+
--scroll-fade-mask: linear-gradient(
|
|
859
|
+
to left,
|
|
860
|
+
transparent 0,
|
|
861
|
+
#000 var(--scroll-fade-s, 0px),
|
|
862
|
+
#000 100%
|
|
863
|
+
);
|
|
864
|
+
}
|
|
865
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
866
|
+
mask-image: var(--scroll-fade-mask);
|
|
867
|
+
-webkit-mask-composite: source-in;
|
|
868
|
+
mask-composite: intersect;
|
|
869
|
+
-webkit-mask-repeat: no-repeat;
|
|
870
|
+
mask-repeat: no-repeat;
|
|
871
|
+
|
|
872
|
+
@supports (animation-timeline: scroll()) {
|
|
873
|
+
animation: scroll-fade-reveal-s 1ms ease-in-out;
|
|
874
|
+
animation-timeline: scroll(self inline);
|
|
875
|
+
animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
|
|
876
|
+
animation-fill-mode: both;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@supports not (animation-timeline: scroll()) {
|
|
880
|
+
--scroll-fade-s: var(--_scroll-fade-size-s);
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
@utility scroll-fade-e {
|
|
885
|
+
--_scroll-fade-size-e: var(
|
|
886
|
+
--scroll-fade-e-size,
|
|
887
|
+
var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
|
|
888
|
+
);
|
|
889
|
+
--scroll-fade-mask: linear-gradient(
|
|
890
|
+
to right,
|
|
891
|
+
#000 0,
|
|
892
|
+
#000 calc(100% - var(--scroll-fade-e, 0px)),
|
|
893
|
+
transparent 100%
|
|
894
|
+
);
|
|
895
|
+
&:where([dir="rtl"], [dir="rtl"] *) {
|
|
896
|
+
--scroll-fade-mask: linear-gradient(
|
|
897
|
+
to left,
|
|
898
|
+
#000 0,
|
|
899
|
+
#000 calc(100% - var(--scroll-fade-e, 0px)),
|
|
900
|
+
transparent 100%
|
|
901
|
+
);
|
|
902
|
+
}
|
|
903
|
+
-webkit-mask-image: var(--scroll-fade-mask);
|
|
904
|
+
mask-image: var(--scroll-fade-mask);
|
|
905
|
+
-webkit-mask-composite: source-in;
|
|
906
|
+
mask-composite: intersect;
|
|
907
|
+
-webkit-mask-repeat: no-repeat;
|
|
908
|
+
mask-repeat: no-repeat;
|
|
909
|
+
|
|
910
|
+
@supports (animation-timeline: scroll()) {
|
|
911
|
+
animation: scroll-fade-reveal-e 1ms ease-in-out;
|
|
912
|
+
animation-timeline: scroll(self inline);
|
|
913
|
+
animation-range: calc(
|
|
914
|
+
100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
|
|
915
|
+
)
|
|
916
|
+
100%;
|
|
917
|
+
animation-fill-mode: both;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
@supports not (animation-timeline: scroll()) {
|
|
921
|
+
--scroll-fade-e: var(--_scroll-fade-size-e);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
@utility scroll-fade-* {
|
|
926
|
+
--scroll-fade-size: calc(var(--spacing) * --value(integer));
|
|
927
|
+
--scroll-fade-size: --value([length], [percentage]);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
@utility scroll-fade-t-* {
|
|
931
|
+
--scroll-fade-t-size: calc(var(--spacing) * --value(integer));
|
|
932
|
+
--scroll-fade-t-size: --value([length], [percentage]);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
@utility scroll-fade-b-* {
|
|
936
|
+
--scroll-fade-b-size: calc(var(--spacing) * --value(integer));
|
|
937
|
+
--scroll-fade-b-size: --value([length], [percentage]);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
@utility scroll-fade-s-* {
|
|
941
|
+
--scroll-fade-s-size: calc(var(--spacing) * --value(integer));
|
|
942
|
+
--scroll-fade-s-size: --value([length], [percentage]);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
@utility scroll-fade-e-* {
|
|
946
|
+
--scroll-fade-e-size: calc(var(--spacing) * --value(integer));
|
|
947
|
+
--scroll-fade-e-size: --value([length], [percentage]);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
@utility scroll-fade-none {
|
|
951
|
+
--scroll-fade-mask: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/*
|
|
955
|
+
* DS base reset. Folded in from globals.css so this file carries the base layer
|
|
956
|
+
* for single-compilation consumers. globals.css still re-exposes it via its
|
|
957
|
+
* own `@import './theme.css'`, so the precompiled DS bundle is unchanged.
|
|
958
|
+
*/
|
|
959
|
+
@layer base {
|
|
960
|
+
* {
|
|
961
|
+
@apply border-border outline-ring/50;
|
|
962
|
+
}
|
|
963
|
+
body,
|
|
964
|
+
:host {
|
|
965
|
+
@apply bg-background text-foreground;
|
|
966
|
+
}
|
|
967
|
+
[data-theme='dark'] {
|
|
968
|
+
@apply bg-background text-foreground;
|
|
969
|
+
}
|
|
970
|
+
}
|