@arolariu/components 0.1.0 → 0.1.1

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,128 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useEffect } from "react";
4
+ import { cn } from "../../lib/utils.js";
5
+ import { motion, stagger, useAnimate, useInView } from "motion/react";
6
+ const TypewriterText = ({ words, className, cursorClassName })=>{
7
+ const wordsArray = words.map((word)=>({
8
+ ...word,
9
+ text: word.text.split("")
10
+ }));
11
+ const [scope, animate] = useAnimate();
12
+ const isInView = useInView(scope);
13
+ useEffect(()=>{
14
+ if (isInView) animate("span", {
15
+ display: "inline-block",
16
+ opacity: 1,
17
+ width: "fit-content"
18
+ }, {
19
+ duration: 0.3,
20
+ delay: stagger(0.1),
21
+ ease: "easeInOut"
22
+ });
23
+ }, [
24
+ isInView
25
+ ]);
26
+ const renderWords = ()=>/*#__PURE__*/ jsx(motion.div, {
27
+ ref: scope,
28
+ className: "inline",
29
+ children: wordsArray.map((word, idx)=>/*#__PURE__*/ jsxs("div", {
30
+ className: "inline-block",
31
+ children: [
32
+ word.text.map((char, index)=>/*#__PURE__*/ jsx(motion.span, {
33
+ initial: {},
34
+ className: cn("dark:text-white text-black opacity-0 hidden", word.className),
35
+ children: char
36
+ }, `char-${index}`)),
37
+ "\xa0"
38
+ ]
39
+ }, `word-${idx}`))
40
+ });
41
+ return /*#__PURE__*/ jsxs("div", {
42
+ className: cn("text-base sm:text-xl md:text-3xl lg:text-5xl font-bold text-center", className),
43
+ children: [
44
+ renderWords(),
45
+ /*#__PURE__*/ jsx(motion.span, {
46
+ initial: {
47
+ opacity: 0
48
+ },
49
+ animate: {
50
+ opacity: 1
51
+ },
52
+ transition: {
53
+ duration: 0.8,
54
+ repeat: 1 / 0,
55
+ repeatType: "reverse"
56
+ },
57
+ className: cn("inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-blue-500", cursorClassName)
58
+ })
59
+ ]
60
+ });
61
+ };
62
+ const TypewriterTextSmooth = ({ words, className, cursorClassName })=>{
63
+ const wordsArray = words.map((word)=>({
64
+ ...word,
65
+ text: word.text.split("")
66
+ }));
67
+ const renderWords = ()=>/*#__PURE__*/ jsx("div", {
68
+ children: wordsArray.map((word, idx)=>/*#__PURE__*/ jsxs("div", {
69
+ className: "inline-block",
70
+ children: [
71
+ word.text.map((char, index)=>/*#__PURE__*/ jsx("span", {
72
+ className: cn("dark:text-white text-black ", word.className),
73
+ children: char
74
+ }, `char-${index}`)),
75
+ "\xa0"
76
+ ]
77
+ }, `word-${idx}`))
78
+ });
79
+ return /*#__PURE__*/ jsxs("div", {
80
+ className: cn("flex space-x-1 my-6", className),
81
+ children: [
82
+ /*#__PURE__*/ jsxs(motion.div, {
83
+ className: "overflow-hidden pb-2",
84
+ initial: {
85
+ width: "0%"
86
+ },
87
+ whileInView: {
88
+ width: "fit-content"
89
+ },
90
+ transition: {
91
+ duration: 2,
92
+ ease: "linear",
93
+ delay: 1
94
+ },
95
+ children: [
96
+ /*#__PURE__*/ jsxs("div", {
97
+ className: "text-xs sm:text-base md:text-xl lg:text:3xl xl:text-5xl font-bold",
98
+ style: {
99
+ whiteSpace: "nowrap"
100
+ },
101
+ children: [
102
+ renderWords(),
103
+ " "
104
+ ]
105
+ }),
106
+ " "
107
+ ]
108
+ }),
109
+ /*#__PURE__*/ jsx(motion.span, {
110
+ initial: {
111
+ opacity: 0
112
+ },
113
+ animate: {
114
+ opacity: 1
115
+ },
116
+ transition: {
117
+ duration: 0.8,
118
+ repeat: 1 / 0,
119
+ repeatType: "reverse"
120
+ },
121
+ className: cn("block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-blue-500", cursorClassName)
122
+ })
123
+ ]
124
+ });
125
+ };
126
+ export { TypewriterText, TypewriterTextSmooth };
127
+
128
+ //# sourceMappingURL=typewriter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components\\ui\\typewriter.js","sources":["webpack://@arolariu/components/./src/components/ui/typewriter.tsx"],"sourcesContent":["\n\nimport * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { motion, stagger, useAnimate, useInView } from \"motion/react\";\nimport { useEffect } from \"react\";\n\nexport const TypewriterText = ({\n words,\n className,\n cursorClassName,\n}: {\n words: {\n text: string;\n className?: string;\n }[];\n className?: string;\n cursorClassName?: string;\n}): React.JSX.Element => {\n // split text inside of words into array of characters\n const wordsArray = words.map((word) => {\n return {\n ...word,\n text: word.text.split(\"\"),\n };\n });\n\n const [scope, animate] = useAnimate();\n const isInView = useInView(scope);\n useEffect(() => {\n if (isInView) {\n animate(\n \"span\",\n {\n display: \"inline-block\",\n opacity: 1,\n width: \"fit-content\",\n },\n {\n duration: 0.3,\n delay: stagger(0.1),\n ease: \"easeInOut\",\n },\n );\n }\n }, [isInView]);\n\n const renderWords = () => {\n return (\n <motion.div ref={scope} className=\"inline\">\n {wordsArray.map((word, idx) => {\n return (\n <div key={`word-${idx}`} className=\"inline-block\">\n {word.text.map((char, index) => (\n <motion.span\n initial={{}}\n key={`char-${index}`}\n className={cn(\n `dark:text-white text-black opacity-0 hidden`,\n word.className,\n )}\n >\n {char}\n </motion.span>\n ))}\n &nbsp;\n </div>\n );\n })}\n </motion.div>\n );\n };\n return (\n <div\n className={cn(\n \"text-base sm:text-xl md:text-3xl lg:text-5xl font-bold text-center\",\n className,\n )}\n >\n {renderWords()}\n <motion.span\n initial={{\n opacity: 0,\n }}\n animate={{\n opacity: 1,\n }}\n transition={{\n duration: 0.8,\n repeat: Infinity,\n repeatType: \"reverse\",\n }}\n className={cn(\n \"inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-blue-500\",\n cursorClassName,\n )}\n ></motion.span>\n </div>\n );\n};\n\nexport const TypewriterTextSmooth = ({\n words,\n className,\n cursorClassName,\n}: {\n words: {\n text: string;\n className?: string;\n }[];\n className?: string;\n cursorClassName?: string;\n}): React.JSX.Element => {\n // split text inside of words into array of characters\n const wordsArray = words.map((word) => {\n return {\n ...word,\n text: word.text.split(\"\"),\n };\n });\n const renderWords = () => {\n return (\n <div>\n {wordsArray.map((word, idx) => {\n return (\n <div key={`word-${idx}`} className=\"inline-block\">\n {word.text.map((char, index) => (\n <span\n key={`char-${index}`}\n className={cn(`dark:text-white text-black `, word.className)}\n >\n {char}\n </span>\n ))}\n &nbsp;\n </div>\n );\n })}\n </div>\n );\n };\n\n return (\n <div className={cn(\"flex space-x-1 my-6\", className)}>\n <motion.div\n className=\"overflow-hidden pb-2\"\n initial={{\n width: \"0%\",\n }}\n whileInView={{\n width: \"fit-content\",\n }}\n transition={{\n duration: 2,\n ease: \"linear\",\n delay: 1,\n }}\n >\n <div\n className=\"text-xs sm:text-base md:text-xl lg:text:3xl xl:text-5xl font-bold\"\n style={{\n whiteSpace: \"nowrap\",\n }}\n >\n {renderWords()}{\" \"}\n </div>{\" \"}\n </motion.div>\n <motion.span\n initial={{\n opacity: 0,\n }}\n animate={{\n opacity: 1,\n }}\n transition={{\n duration: 0.8,\n\n repeat: Infinity,\n repeatType: \"reverse\",\n }}\n className={cn(\n \"block rounded-sm w-[4px] h-4 sm:h-6 xl:h-12 bg-blue-500\",\n cursorClassName,\n )}\n ></motion.span>\n </div>\n );\n};\n"],"names":["TypewriterText","words","className","cursorClassName","wordsArray","word","scope","animate","useAnimate","isInView","useInView","useEffect","stagger","renderWords","motion","idx","char","index","cn","Infinity","TypewriterTextSmooth"],"mappings":";;;;;AAOO,MAAMA,iBAAiB,CAAC,EAC7BC,KAAK,EACLC,SAAS,EACTC,eAAe,EAQhB;IAEC,MAAMC,aAAaH,MAAM,GAAG,CAAC,CAACI,OACrB;YACL,GAAGA,IAAI;YACP,MAAMA,KAAK,IAAI,CAAC,KAAK,CAAC;QACxB;IAGF,MAAM,CAACC,OAAOC,QAAQ,GAAGC;IACzB,MAAMC,WAAWC,UAAUJ;IAC3BK,UAAU;QACR,IAAIF,UACFF,QACE,QACA;YACE,SAAS;YACT,SAAS;YACT,OAAO;QACT,GACA;YACE,UAAU;YACV,OAAOK,QAAQ;YACf,MAAM;QACR;IAGN,GAAG;QAACH;KAAS;IAEb,MAAMI,cAAc,IACX,WAAP,GACE,IAACC,OAAO,GAAG;YAAC,KAAKR;YAAO,WAAU;sBAC/BF,WAAW,GAAG,CAAC,CAACC,MAAMU,MACd,WAAP,GACE,KAAC;oBAAwB,WAAU;;wBAChCV,KAAK,IAAI,CAAC,GAAG,CAAC,CAACW,MAAMC,QAAAA,WAAAA,GACpB,IAACH,OAAO,IAAI;gCACV,SAAS,CAAC;gCAEV,WAAWI,GACT,+CACAb,KAAK,SAAS;0CAGfW;+BANI,CAAC,KAAK,EAAEC,OAAO;wBAQrB;;mBAZK,CAAC,KAAK,EAAEF,KAAK;;IAoBjC,OAAO,WAAP,GACE,KAAC;QACC,WAAWG,GACT,sEACAhB;;YAGDW;0BACD,IAACC,OAAO,IAAI;gBACV,SAAS;oBACP,SAAS;gBACX;gBACA,SAAS;oBACP,SAAS;gBACX;gBACA,YAAY;oBACV,UAAU;oBACV,QAAQK;oBACR,YAAY;gBACd;gBACA,WAAWD,GACT,kEACAf;;;;AAKV;AAEO,MAAMiB,uBAAuB,CAAC,EACnCnB,KAAK,EACLC,SAAS,EACTC,eAAe,EAQhB;IAEC,MAAMC,aAAaH,MAAM,GAAG,CAAC,CAACI,OACrB;YACL,GAAGA,IAAI;YACP,MAAMA,KAAK,IAAI,CAAC,KAAK,CAAC;QACxB;IAEF,MAAMQ,cAAc,IACX,WAAP,GACE,IAAC;sBACET,WAAW,GAAG,CAAC,CAACC,MAAMU,MACd,WAAP,GACE,KAAC;oBAAwB,WAAU;;wBAChCV,KAAK,IAAI,CAAC,GAAG,CAAC,CAACW,MAAMC,QAAAA,WAAAA,GACpB,IAAC;gCAEC,WAAWC,GAAG,+BAA+Bb,KAAK,SAAS;0CAE1DW;+BAHI,CAAC,KAAK,EAAEC,OAAO;wBAKrB;;mBARK,CAAC,KAAK,EAAEF,KAAK;;IAiBjC,OAAO,WAAP,GACE,KAAC;QAAI,WAAWG,GAAG,uBAAuBhB;;0BACxC,KAACY,OAAO,GAAG;gBACT,WAAU;gBACV,SAAS;oBACP,OAAO;gBACT;gBACA,aAAa;oBACX,OAAO;gBACT;gBACA,YAAY;oBACV,UAAU;oBACV,MAAM;oBACN,OAAO;gBACT;;kCAEA,KAAC;wBACC,WAAU;wBACV,OAAO;4BACL,YAAY;wBACd;;4BAECD;4BAAe;;;oBACX;;;0BAET,IAACC,OAAO,IAAI;gBACV,SAAS;oBACP,SAAS;gBACX;gBACA,SAAS;oBACP,SAAS;gBACX;gBACA,YAAY;oBACV,UAAU;oBAEV,QAAQK;oBACR,YAAY;gBACd;gBACA,WAAWD,GACT,4DACAf;;;;AAKV"}
@@ -1 +1 @@
1
- {"version":3,"file":"hooks\\use-mobile.js","sources":["webpack://@arolariu/components/./src/hooks/use-mobile.tsx"],"sourcesContent":["import * as React from \"react\";\r\n\r\nconst MOBILE_BREAKPOINT = 768;\r\n\r\n/**\r\n * A custom React hook that detects whether the current device is a mobile device\r\n * based on the screen width.\r\n *\r\n * This hook uses a media query to check if the viewport width is less than the defined\r\n * mobile breakpoint (768px). It updates the state when the window size changes.\r\n *\r\n * @returns {boolean} Returns true if the viewport width is less than the mobile breakpoint,\r\n * false otherwise.\r\n *\r\n * @example\r\n * ```tsx\r\n * function MyComponent() {\r\n * const isMobile = useIsMobile();\r\n *\r\n * return (\r\n * <div>\r\n * {isMobile ? 'Mobile View' : 'Desktop View'}\r\n * </div>\r\n * );\r\n * }\r\n * ```\r\n */\r\nexport function useIsMobile(): boolean {\r\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(\r\n undefined,\r\n );\r\n\r\n React.useEffect(() => {\r\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\r\n const onChange = () => {\r\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\r\n };\r\n mql.addEventListener(\"change\", onChange);\r\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\r\n return () => mql.removeEventListener(\"change\", onChange);\r\n }, []);\r\n\r\n return !!isMobile;\r\n}\r\n"],"names":["MOBILE_BREAKPOINT","useIsMobile","isMobile","setIsMobile","React","undefined","mql","window","onChange"],"mappings":";AAEA,MAAMA,oBAAoB;AAyBnB,SAASC;IACd,MAAM,CAACC,UAAUC,YAAY,GAAGC,SAC9BC;IAGFD,UAAgB;QACd,MAAME,MAAMC,OAAO,UAAU,CAAC,CAAC,YAAY,EAAEP,oBAAoB,EAAE,GAAG,CAAC;QACvE,MAAMQ,WAAW;YACfL,YAAYI,OAAO,UAAU,GAAGP;QAClC;QACAM,IAAI,gBAAgB,CAAC,UAAUE;QAC/BL,YAAYI,OAAO,UAAU,GAAGP;QAChC,OAAO,IAAMM,IAAI,mBAAmB,CAAC,UAAUE;IACjD,GAAG,EAAE;IAEL,OAAO,CAAC,CAACN;AACX"}
1
+ {"version":3,"file":"hooks\\use-mobile.js","sources":["webpack://@arolariu/components/./src/hooks/use-mobile.tsx"],"sourcesContent":["import * as React from \"react\";\n\nconst MOBILE_BREAKPOINT = 768;\n\n/**\n * A custom React hook that detects whether the current device is a mobile device\n * based on the screen width.\n *\n * This hook uses a media query to check if the viewport width is less than the defined\n * mobile breakpoint (768px). It updates the state when the window size changes.\n *\n * @returns {boolean} Returns true if the viewport width is less than the mobile breakpoint,\n * false otherwise.\n *\n * @example\n * ```tsx\n * function MyComponent() {\n * const isMobile = useIsMobile();\n *\n * return (\n * <div>\n * {isMobile ? 'Mobile View' : 'Desktop View'}\n * </div>\n * );\n * }\n * ```\n */\nexport function useIsMobile(): boolean {\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(\n undefined,\n );\n\n React.useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n };\n mql.addEventListener(\"change\", onChange);\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);\n return () => mql.removeEventListener(\"change\", onChange);\n }, []);\n\n return !!isMobile;\n}\n"],"names":["MOBILE_BREAKPOINT","useIsMobile","isMobile","setIsMobile","React","undefined","mql","window","onChange"],"mappings":";AAEA,MAAMA,oBAAoB;AAyBnB,SAASC;IACd,MAAM,CAACC,UAAUC,YAAY,GAAGC,SAC9BC;IAGFD,UAAgB;QACd,MAAME,MAAMC,OAAO,UAAU,CAAC,CAAC,YAAY,EAAEP,oBAAoB,EAAE,GAAG,CAAC;QACvE,MAAMQ,WAAW;YACfL,YAAYI,OAAO,UAAU,GAAGP;QAClC;QACAM,IAAI,gBAAgB,CAAC,UAAUE;QAC/BL,YAAYI,OAAO,UAAU,GAAGP;QAChC,OAAO,IAAMM,IAAI,mBAAmB,CAAC,UAAUE;IACjD,GAAG,EAAE;IAEL,OAAO,CAAC,CAACN;AACX"}
package/dist/index.css CHANGED
@@ -429,6 +429,10 @@
429
429
  padding-block: 0;
430
430
  }
431
431
 
432
+ ::-webkit-calendar-picker-indicator {
433
+ line-height: 1;
434
+ }
435
+
432
436
  :-moz-ui-invalid {
433
437
  box-shadow: none;
434
438
  }
@@ -794,6 +798,10 @@
794
798
  margin-block: calc(var(--spacing) * 4);
795
799
  }
796
800
 
801
+ .my-6 {
802
+ margin-block: calc(var(--spacing) * 6);
803
+ }
804
+
797
805
  .-mt-1 {
798
806
  margin-top: calc(var(--spacing) * -1);
799
807
  }
@@ -1393,6 +1401,10 @@
1393
1401
  width: calc(var(--spacing) * 96);
1394
1402
  }
1395
1403
 
1404
+ .w-\[4px\] {
1405
+ width: 4px;
1406
+ }
1407
+
1396
1408
  .w-\[30\%\] {
1397
1409
  width: 30%;
1398
1410
  }
@@ -1953,6 +1965,12 @@
1953
1965
  margin-inline-end: calc(var(--spacing) * -2 * (1 - var(--tw-space-x-reverse)));
1954
1966
  }
1955
1967
 
1968
+ :where(.space-x-1 > :not(:last-child)) {
1969
+ --tw-space-x-reverse: 0;
1970
+ margin-inline-start: calc(var(--spacing) * 1 * var(--tw-space-x-reverse));
1971
+ margin-inline-end: calc(var(--spacing) * 1 * (1 - var(--tw-space-x-reverse)));
1972
+ }
1973
+
1956
1974
  :where(.space-x-2 > :not(:last-child)) {
1957
1975
  --tw-space-x-reverse: 0;
1958
1976
  margin-inline-start: calc(var(--spacing) * 2 * var(--tw-space-x-reverse));
@@ -2189,16 +2207,6 @@
2189
2207
  border-color: var(--color-neutral-200);
2190
2208
  }
2191
2209
 
2192
- .border-neutral-200\/50 {
2193
- border-color: #e5e5e580;
2194
- }
2195
-
2196
- @supports (color: color-mix(in lab,red,red)) {
2197
- .border-neutral-200\/50 {
2198
- border-color: color-mix(in oklab, var(--color-neutral-200) 50%, transparent);
2199
- }
2200
- }
2201
-
2202
2210
  .border-neutral-300 {
2203
2211
  border-color: var(--color-neutral-300);
2204
2212
  }
@@ -5172,6 +5180,10 @@
5172
5180
  display: inline-block;
5173
5181
  }
5174
5182
 
5183
+ .sm\:h-6 {
5184
+ height: calc(var(--spacing) * 6);
5185
+ }
5186
+
5175
5187
  .sm\:max-w-\[300px\] {
5176
5188
  max-width: 300px;
5177
5189
  }
@@ -5242,6 +5254,16 @@
5242
5254
  line-height: var(--tw-leading, var(--text-6xl--line-height));
5243
5255
  }
5244
5256
 
5257
+ .sm\:text-base {
5258
+ font-size: var(--text-base);
5259
+ line-height: var(--tw-leading, var(--text-base--line-height));
5260
+ }
5261
+
5262
+ .sm\:text-xl {
5263
+ font-size: var(--text-xl);
5264
+ line-height: var(--tw-leading, var(--text-xl--line-height));
5265
+ }
5266
+
5245
5267
  .data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction="left"], .data-\[vaul-drawer-direction\=right\]\:sm\:max-w-sm[data-vaul-drawer-direction="right"] {
5246
5268
  max-width: var(--container-sm);
5247
5269
  }
@@ -5264,6 +5286,10 @@
5264
5286
  display: none;
5265
5287
  }
5266
5288
 
5289
+ .md\:h-6 {
5290
+ height: calc(var(--spacing) * 6);
5291
+ }
5292
+
5267
5293
  .md\:w-\[400px\] {
5268
5294
  width: 400px;
5269
5295
  }
@@ -5326,6 +5352,11 @@
5326
5352
  text-align: left;
5327
5353
  }
5328
5354
 
5355
+ .md\:text-3xl {
5356
+ font-size: var(--text-3xl);
5357
+ line-height: var(--tw-leading, var(--text-3xl--line-height));
5358
+ }
5359
+
5329
5360
  .md\:text-6xl {
5330
5361
  font-size: var(--text-6xl);
5331
5362
  line-height: var(--tw-leading, var(--text-6xl--line-height));
@@ -5336,6 +5367,11 @@
5336
5367
  line-height: var(--tw-leading, var(--text-sm--line-height));
5337
5368
  }
5338
5369
 
5370
+ .md\:text-xl {
5371
+ font-size: var(--text-xl);
5372
+ line-height: var(--tw-leading, var(--text-xl--line-height));
5373
+ }
5374
+
5339
5375
  .md\:opacity-0 {
5340
5376
  opacity: 0;
5341
5377
  }
@@ -5376,6 +5412,10 @@
5376
5412
  display: none;
5377
5413
  }
5378
5414
 
5415
+ .lg\:h-10 {
5416
+ height: calc(var(--spacing) * 10);
5417
+ }
5418
+
5379
5419
  .lg\:w-\[500px\] {
5380
5420
  width: 500px;
5381
5421
  }
@@ -5412,6 +5452,22 @@
5412
5452
  --tw-border-style: none;
5413
5453
  border-style: none;
5414
5454
  }
5455
+
5456
+ .lg\:text-5xl {
5457
+ font-size: var(--text-5xl);
5458
+ line-height: var(--tw-leading, var(--text-5xl--line-height));
5459
+ }
5460
+ }
5461
+
5462
+ @media (width >= 80rem) {
5463
+ .xl\:h-12 {
5464
+ height: calc(var(--spacing) * 12);
5465
+ }
5466
+
5467
+ .xl\:text-5xl {
5468
+ font-size: var(--text-5xl);
5469
+ line-height: var(--tw-leading, var(--text-5xl--line-height));
5470
+ }
5415
5471
  }
5416
5472
 
5417
5473
  .dark\:border-blue-600:is(.dark *) {
@@ -5438,21 +5494,7 @@
5438
5494
  border-color: var(--color-neutral-700);
5439
5495
  }
5440
5496
 
5441
- .dark\:border-neutral-800:is(.dark *) {
5442
- border-color: var(--color-neutral-800);
5443
- }
5444
-
5445
- .dark\:border-neutral-800\/50:is(.dark *) {
5446
- border-color: #26262680;
5447
- }
5448
-
5449
- @supports (color: color-mix(in lab,red,red)) {
5450
- .dark\:border-neutral-800\/50:is(.dark *) {
5451
- border-color: color-mix(in oklab, var(--color-neutral-800) 50%, transparent);
5452
- }
5453
- }
5454
-
5455
- .dark\:dark\:border-neutral-800:is(.dark *):is(.dark *) {
5497
+ .dark\:border-neutral-800:is(.dark *), .dark\:dark\:border-neutral-800:is(.dark *):is(.dark *) {
5456
5498
  border-color: var(--color-neutral-800);
5457
5499
  }
5458
5500