aliascss 1.3.5 → 1.3.7

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/lib/prebuild.d.ts CHANGED
@@ -31,11 +31,7 @@ declare const _default: {
31
31
  type: string;
32
32
  statement: string;
33
33
  };
34
- 'x-screen-root': {
35
- type: string;
36
- statement: string;
37
- };
38
- 'x-screen': {
34
+ 'x-import-tokens': {
39
35
  type: string;
40
36
  statement: string;
41
37
  };
@@ -131,11 +127,11 @@ declare const _default: {
131
127
  type: string;
132
128
  statement: string;
133
129
  };
134
- 'x-acss-utils': {
130
+ 'x-import-utils-1': {
135
131
  type: string;
136
132
  statement: string;
137
133
  };
138
- 'x-acss-vars-dark': {
134
+ 'x-import-vars-dark': {
139
135
  type: string;
140
136
  statement: string;
141
137
  };
package/lib/prebuild.js CHANGED
@@ -1,47 +1,4 @@
1
1
  export default {
2
- // ...animation,
3
- // :Base component styles
4
- // '@comp':{
5
- // type:'statement',
6
- // statement:`` ,
7
- // },
8
- // 'x-bg-1':{
9
- // 'type':'statement',
10
- // statement:`bg-lg-135deg-1e1b4b-0f172a
11
- // --bf[cont,pa,flex-center,w-130px,h-130px,bgc-rgba-99-102-241-0.25,br-50p,t--30px,l--30px,backdrop-filter-blur-12px,bxs-0px-0px-40px-rgba-99-102-241-0.3]
12
- // --af[cont,pa,w-100px,h-100px,br-50px,bgc-rgba-244-114-182-0.2,btm--20px,r--20px,b-1px-s-rgba-255-255-255-0.1,bxs-0px-0px-30px-rgba-244-114-183-0.3]`
13
- // },
14
- // 'x-bg-cyberpunk-grid':{
15
- // 'type':'raw',
16
- // statement:`
17
- // .x-bg-cyberpunk-grid {
18
- // --x-bg-cyberpunk-grid-color:#00001a;
19
- // --x-bg-cyberpunk-grid-line-color:0 255 200;
20
- // background: var(--x-bg-cyberpunk-grid-color);
21
- // perspective: 400px;
22
- // }
23
- // .x-bg-cyberpunk-grid::before {
24
- // content: '';
25
- // position: absolute;
26
- // width: 200%;
27
- // height: 200%;
28
- // top: 0;
29
- // left: -50%;
30
- // background-image:
31
- // linear-gradient(rgba(var(--x-bg-cyberpunk-grid-line-color) / 0.3) 1px, transparent 1px),
32
- // linear-gradient(90deg, rgba(var(--x-bg-cyberpunk-grid-line-color) / 0.3) 1px, transparent 1px);
33
- // background-size: 30px 30px;
34
- // transform: rotateX(55deg);
35
- // transform-origin: 50% 0%;
36
- // }
37
- // .x-bg-cyberpunk-grid::after {
38
- // content: '';
39
- // position: absolute;
40
- // inset: 0;
41
- // background:
42
- // linear-gradient(180deg, var(--x-bg-cyberpunk-grid-color) 0%, transparent 40%, var(--x-bg-cyberpunk-grid-color) 100%),
43
- // radial-gradient(ellipse at 50% 0%, rgba(var(--x-bg-cyberpunk-grid-line-color) / 0.25) 0%, transparent 60%);
44
- // }`},
45
2
  'x-btn': {
46
3
  type: 'statement',
47
4
  statement: `@base-all-unset
@@ -82,174 +39,196 @@ export default {
82
39
  statement: `@layer reset, base;
83
40
  @layer reset{*,::after,::before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:--theme(--default-font-family,ui-sans-serif,system-ui,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji');font-feature-settings:--theme(--default-font-feature-settings,normal);font-variation-settings:--theme(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:--theme(--default-mono-font-family, ui-monospace,SFMono-Regular,Menlo, Monaco,Consolas,'Liberation Mono','Courier New',monospace);font-feature-settings:--theme(--default-mono-font-feature-settings,normal);font-variation-settings:--theme(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type='button'],[type='reset'],[type='submit']),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden='until-found'])){display:none!important}}`
84
41
  },
85
- // 'x-css-vars-color':{
86
- // type:'raw',
87
- // statement:`:root{--gray-25:#FCFCFD;--gray-50:#F9FAFB;--gray-100:#F2F4F7;--gray-200:#EAECF0;--gray-300:#D0D5DD;--gray-400:#98A2B3;--gray-500:#667085;--gray-600:#475467;--gray-700:#344054;--gray-800:#1D2939;--gray-900:#101828;--gray-950:#0C111D;
88
- // --grayDark-25:#FAFAFA;--grayDark-50:#F5F5F5;--grayDark-100:#F0F1F1;--grayDark-200:#ECECED;--grayDark-300:#CECFD2;--grayDark-400:#94969C;--grayDark-500:#85888E;--grayDark-600:#61646C;--grayDark-700:#333741;--grayDark-800:#1F242F;--grayDark-900:#161B26;--grayDark-950:#0C111D;
89
- // --primary-25:#FCFAFF;--primary-50:#F9F5FF;--primary-100:#F4EBFF;--primary-200:#E9D7FE;--primary-300:#D6BBFB;--primary-400:#B692F6;--primary-500:#9E77ED;--primary-600:#7F56D9;--primary-700:#6941C6;--primary-800:#53389E;--primary-900:#42307D;--primary-950:#2C1C5F;
90
- // --brand-25:#FCFAFF;--brand-50:#F9F5FF;--brand-100:#F4EBFF;--brand-200:#E9D7FE;--brand-300:#D6BBFB;--brand-400:#B692F6;--brand-500:#9E77ED;--brand-600:#7F56D9;--brand-700:#6941C6;--brand-800:#53389E;--brand-900:#42307D;--brand-950:#2C1C5F;
91
- // --error-25:#FFFBFA;--error-50:#FEF3F2;--error-100:#FEE4E2;--error-200:#FECDCA;--error-300:#FDA29B;--error-400:#F97066;--error-500:#F04438;--error-600:#D92D20;--error-700:#B42318;--error-800:#912018;--error-900:#7A271A;--error-950:#55160C;
92
- // --warning-25:#FFFCF5;--warning-50:#FFFAEB;--warning-100:#FEF0C7;--warning-200:#FEDF89;--warning-300:#FEC48B;--warning-400:#FDB022;--warning-500:#F79009;--warning-600:#DC6803;--warning-700:#B54708;--warning-800:#93370D;--warning-900:#7A2E0E;--warning-950:#4E1D09;
93
- // --success-25:#F6FEF9;--success-50:#ECFDF3;--success-100:#DCFAE6;--success-200:#ABEFC6;--success-300:#75E0A7;--success-400:#47CD89;--success-500:#17B26A;--success-600:#079455;--success-700:#067647;--success-800:#085D3A;--success-900:#074D31;--success-950:#053321;
94
- // --grayBlue-25:#FCFCFD;--grayBlue-50:#F8F9FC;--grayBlue-100:#EAECF5;--grayBlue-200:#D5D9EB;--grayBlue-300:#B3B8DB;--grayBlue-400:#717BBC;--grayBlue-500:#4E5BA6;--grayBlue-600:#3E4784;--grayBlue-700:#363F72;--grayBlue-800:#293056;--grayBlue-900:#101323;--grayBlue-950:#0D0F1C;
95
- // --grayCool-25:#FCFCFD;--grayCool-50:#F9F9FB;--grayCool-100:#EFF1F5;--grayCool-200:#DCDFEA;--grayCool-300:#B9C0D4;--grayCool-400:#7D89B0;--grayCool-500:#5D6B98;--grayCool-600:#4A5578;--grayCool-700:#404968;--grayCool-800:#30374F;--grayCool-900:#111322;--grayCool-950:#0E101B;
96
- // --grayModern-25:#FCFCFD;--grayModern-50:#F8FAFC;--grayModern-100:#EEF2F6;--grayModern-200:#E3E8EF;--grayModern-300:#CDD5DF;--grayModern-400:#9AA4B2;--grayModern-500:#697586;--grayModern-600:#4B5565;--grayModern-700:#364152;--grayModern-800:#202939;--grayModern-900:#121926;--grayModern-950:#0D121C;
97
- // --grayNeutral-25:#FCFCFD;--grayNeutral-50:#F9FAFB;--grayNeutral-100:#F3F4F6;--grayNeutral-200:#E5E7EB;--grayNeutral-300:#D2D6DB;--grayNeutral-400:#9DA4AE;--grayNeutral-500:#6C737F;--grayNeutral-600:#4D5761;--grayNeutral-700:#384250;--grayNeutral-800:#1F2A37;--grayNeutral-900:#111927;--grayNeutral-950:#0D121C;
98
- // --grayIron-25:#FCFCFC;--grayIron-50:#FAFAFA;--grayIron-100:#F4F4F5;--grayIron-200:#E4E4E7;--grayIron-300:#D1D1D6;--grayIron-400:#A0A0AB;--grayIron-500:#70707B;--grayIron-600:#51525C;--grayIron-700:#3F3F46;--grayIron-800:#26272B;--grayIron-900:#1A1A1E;--grayIron-950:#131316;
99
- // --grayTrue-25:#FCFCFC;--grayTrue-50:#FAFAFA;--grayTrue-100:#F5F5F5;--grayTrue-200:#E5E5E5;--grayTrue-300:#D6D6D6;--grayTrue-400:#A3A3A3;--grayTrue-500:#737373;--grayTrue-600:#525252;--grayTrue-700:#424242;--grayTrue-800:#292929;--grayTrue-900:#141414;--grayTrue-950:#0F0F0F;
100
- // --grayWarm-25:#FDFDFC;--grayWarm-50:#FAFAF9;--grayWarm-100:#F5F5F4;--grayWarm-200:#E7E5E4;--grayWarm-300:#D7D3D0;--grayWarm-400:#A9A29D;--grayWarm-500:#79716B;--grayWarm-600:#57534E;--grayWarm-700:#44403C;--grayWarm-800:#292524;--grayWarm-900:#1C1917;--grayWarm-950:#171412;
101
- // --moss-25:#FAFDF7;--moss-50:#F5FBEE;--moss-100:#E6F4D7;--moss-200:#CEEAB0;--moss-300:#ACDC79;--moss-400:#86CB3C;--moss-500:#669F2A;--moss-600:#4F7A21;--moss-700:#3F621A;--moss-800:#335015;--moss-900:#2B4212;--moss-950:#1A280B;
102
- // --greenLight-25:#FAFEF5;--greenLight-50:#F3FEE7;--greenLight-100:#E4FBCC;--greenLight-200:#D0F8AB;--greenLight-300:#A6EF67;--greenLight-400:#85E13A;--greenLight-500:#66C61C;--greenLight-600:#4CA30D;--greenLight-700:#3B7C0F;--greenLight-800:#326212;--greenLight-900:#2B5314;--greenLight-950:#15290A;
103
- // --green-25:#F6FEF9;--green-50:#EDFCF2;--green-100:#D3F8DF;--green-200:#AAF0C4;--green-300:#73E2A3;--green-400:#73E2A3;--green-500:#16B364;--green-600:#099250;--green-700:#087443;--green-800:#095C37;--green-900:#084C2E;--green-950:#052E1C;
104
- // --teal-25:#F6FEFC;--teal-50:#F0FDF9;--teal-100:#CCFBEF;--teal-200:#99F6E0;--teal-300:#5FE9D0;--teal-400:#2ED3B7;--teal-500:#15B79E;--teal-600:#0E9384;--teal-700:#107569;--teal-800:#125D56;--teal-900:#134E48;--teal-950:#0A2926;
105
- // --cyan-25:#F5FEFF;--cyan-50:#ECFDFF;--cyan-100:#CFF9FE;--cyan-200:#A5F0FC;--cyan-300:#67E3F9;--cyan-400:#22CCEE;--cyan-500:#06AED4;--cyan-600:#088AB2;--cyan-700:#0E7090;--cyan-800:#155B75;--cyan-900:#164C63;--cyan-950:#0D2D3A;
106
- // --blueLight-25:#F5FBFF;--blueLight-50:#F0F9FF;--blueLight-100:#E0F2FE;--blueLight-200:#B9E6FE;--blueLight-300:#7CD4FD;--blueLight-400:#36BFFA;--blueLight-500:#0BA5EC;--blueLight-600:#0086C9;--blueLight-700:#026AA2;--blueLight-800:#065986;--blueLight-900:#0B4A6F;--blueLight-950:#062C41;
107
- // --blue-25:#F5FAFF;--blue-50:#EFF8FF;--blue-100:#D1E9FF;--blue-200:#B2DDFF;--blue-300:#84CAFF;--blue-400:#53B1FD;--blue-500:#2E90FA;--blue-600:#1570EF;--blue-700:#175CD3;--blue-800:#1849A9;--blue-900:#194185;--blue-950:#102A56;
108
- // --blueDark-25:#F5F8FF;--blueDark-50:#EFF4FF;--blueDark-100:#D1E0FF;--blueDark-200:#B2CCFF;--blueDark-300:#84ADFF;--blueDark-400:#528BFF;--blueDark-500:#2970FF;--blueDark-600:#155EEF;--blueDark-700:#004EEB;--blueDark-800:#0040C1;--blueDark-900:#00359E;--blueDark-950:#002266;
109
- // --indigo-25:#F5F8FF;--indigo-50:#EEF4FF;--indigo-100:#E0EAFF;--indigo-200:#C7D7FE;--indigo-300:#A4BCFD;--indigo-400:#8098F9;--indigo-500:#6172F3;--indigo-600:#444CE7;--indigo-700:#3538CD;--indigo-800:#2D31A6;--indigo-900:#2D3282;--indigo-950:#1F235B;
110
- // --violet-25:#FBFAFF;--violet-50:#F5F3FF;--violet-100:#ECE9FE;--violet-200:#DDD6FE;--violet-300:#C3B5FD;--violet-400:#A48AFB;--violet-500:#875BF7;--violet-600:#7839EE;--violet-700:#6927DA;--violet-800:#5720B7;--violet-900:#491C96;--violet-950:#2E125E;
111
- // --purple-25:#FAFAFF;--purple-50:#F4F3FF;--purple-100:#EBE9FE;--purple-200:#D9D6FE;--purple-300:#BDB4FE;--purple-400:#9B8AFB;--purple-500:#7A5AF8;--purple-600:#6938EF;--purple-700:#5925DC;--purple-800:#4A1FB8;--purple-900:#3E1C96;--purple-950:#21115F;
112
- // --fuchsia-25:#FEFAFF;--fuchsia-50:#FDF4FF;--fuchsia-100:#FBE8FF;--fuchsia-200:#F6D0FE;--fuchsia-300:#EEAAFD;--fuchsia-400:#E478FA;--fuchsia-500:#D444F1;--fuchsia-600:#BA24D5;--fuchsia-700:#9F1AB1;--fuchsia-800:#821890;--fuchsia-900:#6F1877;--fuchsia-950:#47104C;
113
- // --pink-25:#FEF6FB;--pink-50:#FDF2FA;--pink-100:#FCE7F6;--pink-200:#FCCEEE;--pink-300:#FAA7E0;--pink-400:#F670C7;--pink-500:#EE46BC;--pink-600:#DD2590;--pink-700:#C11574;--pink-800:#9E165F;--pink-900:#851651;--pink-950:#4E0D30;
114
- // --rose-25:#FFF5F6;--rose-50:#FFF1F3;--rose-100:#FFE4E8;--rose-200:#FECDD6;--rose-300:#FEA3B4;--rose-400:#FD6F8E;--rose-500:#F63D68;--rose-600:#E31B54;--rose-700:#C01048;--rose-800:#A11043;--rose-900:#89123E;--rose-950:#510B24;
115
- // --orangeDark-25:#FFF9F5;--orangeDark-50:#FFF4ED;--orangeDark-100:#FFE6D5;--orangeDark-200:#FFD6AE;--orangeDark-300:#FF9C66;--orangeDark-400:#FF692E;--orangeDark-500:#FF4405;--orangeDark-600:#E62E05;--orangeDark-700:#BC1B06;--orangeDark-800:#97180C;--orangeDark-900:#771A0D;--orangeDark-950:#57130A;
116
- // --orange-25:#FEFAF5;--orange-50:#FEF6EE;--orange-100:#FDEAD7;--orange-200:#F9DBAF;--orange-300:#F7B27A;--orange-400:#F38744;--orange-500:#EF6820;--orange-600:#E04F16;--orange-700:#B93815;--orange-800:#932F19;--orange-900:#772917;--orange-950:#511C10;
117
- // --yellow-25:#FEFDF0;--yellow-50:#FEFBE8;--yellow-100:#FEF7C3;--yellow-200:#FEEE95;--yellow-300:#FDE272;--yellow-400:#FAC515;--yellow-500:#EAAA08;--yellow-600:#CA8504;--yellow-700:#A15C07;--yellow-800:#854A0E;--yellow-900:#713B12;--yellow-950:#542C0D;
118
- // }`,
119
- // },
120
- // 'x-css-vars-color-gray':{
121
- // type:'raw',
122
- // statement:`:root{--gray-25:#FCFCFD;--gray-50:#F9FAFB;--gray-100:#F2F4F7;--gray-200:#EAECF0;--gray-300:#D0D5DD;--gray-400:#98A2B3;--gray-500:#667085;--gray-600:#475467;--gray-700:#344054;--gray-800:#1D2939;--gray-900:#101828;--gray-950:#0C111D;}`
123
- // },
124
- // 'x-css-vars-color-grayDark':{
125
- // type:'raw',
126
- // statement:`:root{--grayDark-25:#FAFAFA;--grayDark-50:#F5F5F5;--grayDark-100:#F0F1F1;--grayDark-200:#ECECED;--grayDark-300:#CECFD2;--grayDark-400:#94969C;--grayDark-500:#85888E;--grayDark-600:#61646C;--grayDark-700:#333741;--grayDark-800:#1F242F;--grayDark-900:#161B26;--grayDark-950:#0C111D;}`
127
- // },
128
- // 'x-css-vars-color-primary':{
129
- // type:'raw',
130
- // statement:`:root{--primary-25:#FCFAFF;--primary-50:#F9F5FF;--primary-100:#F4EBFF;--primary-200:#E9D7FE;--primary-300:#D6BBFB;--primary-400:#B692F6;--primary-500:#9E77ED;--primary-600:#7F56D9;--primary-700:#6941C6;--primary-800:#53389E;--primary-900:#42307D;--primary-950:#2C1C5F;}`
131
- // },
132
- // 'x-css-vars-color-brand':{
133
- // type:'raw',
134
- // statement:`:root{--brand-25:#FCFAFF;--brand-50:#F9F5FF;--brand-100:#F4EBFF;--brand-200:#E9D7FE;--brand-300:#D6BBFB;--brand-400:#B692F6;--brand-500:#9E77ED;--brand-600:#7F56D9;--brand-700:#6941C6;--brand-800:#53389E;--brand-900:#42307D;--brand-950:#2C1C5F;}`
135
- // },
136
- // 'x-css-vars-color-error':{
137
- // type:'raw',
138
- // statement:`:root{--error-25:#FFFBFA;--error-50:#FEF3F2;--error-100:#FEE4E2;--error-200:#FECDCA;--error-300:#FDA29B;--error-400:#F97066;--error-500:#F04438;--error-600:#D92D20;--error-700:#B42318;--error-800:#912018;--error-900:#7A271A;--error-950:#55160C;}`
139
- // },
140
- // 'x-css-vars-color-success':{
141
- // type:'raw',
142
- // statement:`:root{--warning-25:#FFFCF5;--warning-50:#FFFAEB;--warning-100:#FEF0C7;--warning-200:#FEDF89;--warning-300:#FEC48B;--warning-400:#FDB022;--warning-500:#F79009;--warning-600:#DC6803;--warning-700:#B54708;--warning-800:#93370D;--warning-900:#7A2E0E;--warning-950:#4E1D09;
143
- // --success-25:#F6FEF9;--success-50:#ECFDF3;--success-100:#DCFAE6;--success-200:#ABEFC6;--success-300:#75E0A7;--success-400:#47CD89;--success-500:#17B26A;--success-600:#079455;--success-700:#067647;--success-800:#085D3A;--success-900:#074D31;--success-950:#053321;}`
144
- // },
145
- // 'x-css-vars-color-grayBlue':{
146
- // type:'raw',
147
- // statement:`:root{--grayBlue-25:#FCFCFD;--grayBlue-50:#F8F9FC;--grayBlue-100:#EAECF5;--grayBlue-200:#D5D9EB;--grayBlue-300:#B3B8DB;--grayBlue-400:#717BBC;--grayBlue-500:#4E5BA6;--grayBlue-600:#3E4784;--grayBlue-700:#363F72;--grayBlue-800:#293056;--grayBlue-900:#101323;--grayBlue-950:#0D0F1C;
148
- // --grayCool-25:#FCFCFD;--grayCool-50:#F9F9FB;--grayCool-100:#EFF1F5;--grayCool-200:#DCDFEA;--grayCool-300:#B9C0D4;--grayCool-400:#7D89B0;--grayCool-500:#5D6B98;--grayCool-600:#4A5578;--grayCool-700:#404968;--grayCool-800:#30374F;--grayCool-900:#111322;--grayCool-950:#0E101B;}`
149
- // },
150
- // 'x-css-vars-color-grayNeural':{
151
- // type:'raw',
152
- // statement:`:root{--grayModern-25:#FCFCFD;--grayModern-50:#F8FAFC;--grayModern-100:#EEF2F6;--grayModern-200:#E3E8EF;--grayModern-300:#CDD5DF;--grayModern-400:#9AA4B2;--grayModern-500:#697586;--grayModern-600:#4B5565;--grayModern-700:#364152;--grayModern-800:#202939;--grayModern-900:#121926;--grayModern-950:#0D121C;
153
- // --grayNeutral-25:#FCFCFD;--grayNeutral-50:#F9FAFB;--grayNeutral-100:#F3F4F6;--grayNeutral-200:#E5E7EB;--grayNeutral-300:#D2D6DB;--grayNeutral-400:#9DA4AE;--grayNeutral-500:#6C737F;--grayNeutral-600:#4D5761;--grayNeutral-700:#384250;--grayNeutral-800:#1F2A37;--grayNeutral-900:#111927;--grayNeutral-950:#0D121C;}`
154
- // },
155
- // 'x-css-vars-color-grayIron':{
156
- // type:'raw',
157
- // statement:`:root{--grayIron-25:#FCFCFC;--grayIron-50:#FAFAFA;--grayIron-100:#F4F4F5;--grayIron-200:#E4E4E7;--grayIron-300:#D1D1D6;--grayIron-400:#A0A0AB;--grayIron-500:#70707B;--grayIron-600:#51525C;--grayIron-700:#3F3F46;--grayIron-800:#26272B;--grayIron-900:#1A1A1E;--grayIron-950:#131316;}`
158
- // },
159
- // 'x-css-vars-color-grayWarm':{
160
- // type:'raw',
161
- // statement:`:root{--grayTrue-25:#FCFCFC;--grayTrue-50:#FAFAFA;--grayTrue-100:#F5F5F5;--grayTrue-200:#E5E5E5;--grayTrue-300:#D6D6D6;--grayTrue-400:#A3A3A3;--grayTrue-500:#737373;--grayTrue-600:#525252;--grayTrue-700:#424242;--grayTrue-800:#292929;--grayTrue-900:#141414;--grayTrue-950:#0F0F0F;
162
- // --grayWarm-25:#FDFDFC;--grayWarm-50:#FAFAF9;--grayWarm-100:#F5F5F4;--grayWarm-200:#E7E5E4;--grayWarm-300:#D7D3D0;--grayWarm-400:#A9A29D;--grayWarm-500:#79716B;--grayWarm-600:#57534E;--grayWarm-700:#44403C;--grayWarm-800:#292524;--grayWarm-900:#1C1917;--grayWarm-950:#171412;}`
163
- // },
164
- // 'x-css-vars-color-greenLight':{
165
- // type:'raw',
166
- // statement:`:root{--moss-25:#FAFDF7;--moss-50:#F5FBEE;--moss-100:#E6F4D7;--moss-200:#CEEAB0;--moss-300:#ACDC79;--moss-400:#86CB3C;--moss-500:#669F2A;--moss-600:#4F7A21;--moss-700:#3F621A;--moss-800:#335015;--moss-900:#2B4212;--moss-950:#1A280B;
167
- // --greenLight-25:#FAFEF5;--greenLight-50:#F3FEE7;--greenLight-100:#E4FBCC;--greenLight-200:#D0F8AB;--greenLight-300:#A6EF67;--greenLight-400:#85E13A;--greenLight-500:#66C61C;--greenLight-600:#4CA30D;--greenLight-700:#3B7C0F;--greenLight-800:#326212;--greenLight-900:#2B5314;--greenLight-950:#15290A;}`
168
- // },
169
- // 'x-css-vars-color-green':{
170
- // type:'raw',
171
- // statement:`:root{--green-25:#F6FEF9;--green-50:#EDFCF2;--green-100:#D3F8DF;--green-200:#AAF0C4;--green-300:#73E2A3;--green-400:#73E2A3;--green-500:#16B364;--green-600:#099250;--green-700:#087443;--green-800:#095C37;--green-900:#084C2E;--green-950:#052E1C;}`
172
- // },
173
- // 'x-css-vars-color-teal':{
174
- // type:'raw',
175
- // statement:`:root{--teal-25:#F6FEFC;--teal-50:#F0FDF9;--teal-100:#CCFBEF;--teal-200:#99F6E0;--teal-300:#5FE9D0;--teal-400:#2ED3B7;--teal-500:#15B79E;--teal-600:#0E9384;--teal-700:#107569;--teal-800:#125D56;--teal-900:#134E48;--teal-950:#0A2926;}`
176
- // },
177
- // 'x-css-vars-color-cyan':{
178
- // type:'raw',
179
- // statement:`:root{--cyan-25:#F5FEFF;--cyan-50:#ECFDFF;--cyan-100:#CFF9FE;--cyan-200:#A5F0FC;--cyan-300:#67E3F9;--cyan-400:#22CCEE;--cyan-500:#06AED4;--cyan-600:#088AB2;--cyan-700:#0E7090;--cyan-800:#155B75;--cyan-900:#164C63;--cyan-950:#0D2D3A;}`
180
- // },
181
- // 'x-css-vars-color-blueLight':{
182
- // type:'raw',
183
- // statement:`:root{--blueLight-25:#F5FBFF;--blueLight-50:#F0F9FF;--blueLight-100:#E0F2FE;--blueLight-200:#B9E6FE;--blueLight-300:#7CD4FD;--blueLight-400:#36BFFA;--blueLight-500:#0BA5EC;--blueLight-600:#0086C9;--blueLight-700:#026AA2;--blueLight-800:#065986;--blueLight-900:#0B4A6F;--blueLight-950:#062C41;}`
184
- // },
185
- // 'x-css-vars-color-blue':{
186
- // type:'raw',
187
- // statement:`:root{--blue-25:#F5FAFF;--blue-50:#EFF8FF;--blue-100:#D1E9FF;--blue-200:#B2DDFF;--blue-300:#84CAFF;--blue-400:#53B1FD;--blue-500:#2E90FA;--blue-600:#1570EF;--blue-700:#175CD3;--blue-800:#1849A9;--blue-900:#194185;--blue-950:#102A56;}`
188
- // },
189
- // 'x-css-vars-color-blueDark':{
190
- // type:'raw',
191
- // statement:`:root{--blueDark-25:#F5F8FF;--blueDark-50:#EFF4FF;--blueDark-100:#D1E0FF;--blueDark-200:#B2CCFF;--blueDark-300:#84ADFF;--blueDark-400:#528BFF;--blueDark-500:#2970FF;--blueDark-600:#155EEF;--blueDark-700:#004EEB;--blueDark-800:#0040C1;--blueDark-900:#00359E;--blueDark-950:#002266;}`
192
- // },
193
- // 'x-css-vars-color-indigo':{
194
- // type:'raw',
195
- // statement:`:root{--indigo-25:#F5F8FF;--indigo-50:#EEF4FF;--indigo-100:#E0EAFF;--indigo-200:#C7D7FE;--indigo-300:#A4BCFD;--indigo-400:#8098F9;--indigo-500:#6172F3;--indigo-600:#444CE7;--indigo-700:#3538CD;--indigo-800:#2D31A6;--indigo-900:#2D3282;--indigo-950:#1F235B;}`
196
- // },
197
- // 'x-css-vars-color-violet':{
198
- // type:'raw',
199
- // statement:`:root{--violet-25:#FBFAFF;--violet-50:#F5F3FF;--violet-100:#ECE9FE;--violet-200:#DDD6FE;--violet-300:#C3B5FD;--violet-400:#A48AFB;--violet-500:#875BF7;--violet-600:#7839EE;--violet-700:#6927DA;--violet-800:#5720B7;--violet-900:#491C96;--violet-950:#2E125E;}`
200
- // },
201
- // 'x-css-vars-color-purple':{
202
- // type:'raw',
203
- // statement:`:root{--purple-25:#FAFAFF;--purple-50:#F4F3FF;--purple-100:#EBE9FE;--purple-200:#D9D6FE;--purple-300:#BDB4FE;--purple-400:#9B8AFB;--purple-500:#7A5AF8;--purple-600:#6938EF;--purple-700:#5925DC;--purple-800:#4A1FB8;--purple-900:#3E1C96;--purple-950:#21115F;}`
204
- // },
205
- // 'x-css-vars-color-fuchsia':{
206
- // type:'raw',
207
- // statement:`:root{--fuchsia-25:#FEFAFF;--fuchsia-50:#FDF4FF;--fuchsia-100:#FBE8FF;--fuchsia-200:#F6D0FE;--fuchsia-300:#EEAAFD;--fuchsia-400:#E478FA;--fuchsia-500:#D444F1;--fuchsia-600:#BA24D5;--fuchsia-700:#9F1AB1;--fuchsia-800:#821890;--fuchsia-900:#6F1877;--fuchsia-950:#47104C;}`
208
- // },
209
- // 'x-css-vars-color-pink':{
210
- // type:'raw',
211
- // statement:`:root{--pink-25:#FEF6FB;--pink-50:#FDF2FA;--pink-100:#FCE7F6;--pink-200:#FCCEEE;--pink-300:#FAA7E0;--pink-400:#F670C7;--pink-500:#EE46BC;--pink-600:#DD2590;--pink-700:#C11574;--pink-800:#9E165F;--pink-900:#851651;--pink-950:#4E0D30;}`
212
- // },
213
- // 'x-css-vars-color-rose':{
214
- // type:'raw',
215
- // statement:`:root{--rose-25:#FFF5F6;--rose-50:#FFF1F3;--rose-100:#FFE4E8;--rose-200:#FECDD6;--rose-300:#FEA3B4;--rose-400:#FD6F8E;--rose-500:#F63D68;--rose-600:#E31B54;--rose-700:#C01048;--rose-800:#A11043;--rose-900:#89123E;--rose-950:#510B24;}`
216
- // },
217
- // 'x-css-vars-color-orangeDark':{
218
- // type:'raw',
219
- // statement:`:root{--orangeDark-25:#FFF9F5;--orangeDark-50:#FFF4ED;--orangeDark-100:#FFE6D5;--orangeDark-200:#FFD6AE;--orangeDark-300:#FF9C66;--orangeDark-400:#FF692E;--orangeDark-500:#FF4405;--orangeDark-600:#E62E05;--orangeDark-700:#BC1B06;--orangeDark-800:#97180C;--orangeDark-900:#771A0D;--orangeDark-950:#57130A;}`
220
- // },
221
- // 'x-css-vars-color-orange':{
222
- // type:'raw',
223
- // statement:`:root{--orange-25:#FEFAF5;--orange-50:#FEF6EE;--orange-100:#FDEAD7;--orange-200:#F9DBAF;--orange-300:#F7B27A;--orange-400:#F38744;--orange-500:#EF6820;--orange-600:#E04F16;--orange-700:#B93815;--orange-800:#932F19;--orange-900:#772917;--orange-950:#511C10;}`
224
- // },
225
- // 'x-css-vars-color-yellow':{
226
- // type:'raw',
227
- // statement:`:root{--yellow-25:#FEFDF0;--yellow-50:#FEFBE8;--yellow-100:#FEF7C3;--yellow-200:#FEEE95;--yellow-300:#FDE272;--yellow-400:#FAC515;--yellow-500:#EAAA08;--yellow-600:#CA8504;--yellow-700:#A15C07;--yellow-800:#854A0E;--yellow-900:#713B12;--yellow-950:#542C0D;}`
228
- // },
229
- 'x-screen-root': {
230
- type: 'statement',
231
- statement: `pr oh
232
- w--x-screen-root-width:100dvw h--x-screen-root-height:100dvh
233
- --has(__[data-state=open][class~=x-screen-push][class~=x-screen-up])__[class~=x-screen-main]-mt--push-down:100dvh
234
- --has(__[data-state=open][class~=x-screen-push][class~=x-screen-down])__[class~=x-screen-main]-mt--push-up:--100dvh
235
- --has(__[data-state=open][class~=x-screen-push][class~=x-screen-right])__[class~=x-screen-main]-ml--push-left:--100p
236
- --has(__[data-state=open][class~=x-screen-push][class~=x-screen-left])__[class~=x-screen-main]-ml--push-right:100p
237
- --has(__[class~=is-active][class~=x-screen-push][class~=x-screen-up])__[class~=x-screen-main]-mt--push-down:100dvh
238
- --has(__[class~=is-active][class~=x-screen-push][class~=x-screen-down])__[class~=x-screen-main]-mt--push-up:--100dvh
239
- --has(__[class~=is-active][class~=x-screen-push][class~=x-screen-right])__[class~=x-screen-main]-ml--push-left:--100p
240
- --has(__[class~=is-active][class~=x-screen-push][class~=x-screen-left])__[class~=x-screen-main]-ml--push-right:100p
241
- `,
242
- },
243
- 'x-screen': {
244
- type: 'statement',
245
- statement: `w--x-screen-width:100p h--x-screen-height:100p pa transition-property-margin_transform
246
- transition-duration--x-screen-transition-duration:0d35s
247
- [data-state=open]-transform-translate-0
248
- [class~=is-active]-transform-translate-0
249
- [transform-ty--100p,t0,l0,zi-1]--as-x-screen-up
250
- [transform-ty-100p,btm0,l0,zi-1]--as-x-screen-down
251
- [transform-tx--100p,l0,t0,zi-1]--as-x-screen-left
252
- [transform-tx-100p,r0,t0,zi-1]--as-x-screen-right `
42
+ //
43
+ 'x-import-tokens': {
44
+ type: 'raw',
45
+ statement: `
46
+ :root {
47
+ --text-white:#ffffffff;
48
+ --text-black:#00000000;
49
+ --text-color:initial;
50
+ --text-hover-color:initial;
51
+ --text-pressed-color:initial;
52
+ --text-disabled-color:initial;
53
+ --text-active-color:initial;
54
+ --text-link-color:initial;
55
+ --text-visited-color:initial;
56
+ --bg-color:initial;
57
+ --bg-hover-color:initial;
58
+ --bg-disabled-color:initial;
59
+ --bg-pressed-color:initial;
60
+ --bg--active-color:initial;
61
+
62
+ --border-color:initial;
63
+ --border-hover-color:initial;
64
+ --border-disabled-color:initial;
65
+ --border-pressed-color:initial;
66
+ --border--active-color:initial;
67
+ }
68
+
69
+ @media (prefers-color-scheme: dark) {
70
+ :root{
71
+ --text-white:#00000000;
72
+ --text-black:#fffffff;
73
+ --text-color:initial;
74
+ --text-hover-color:initial;
75
+ --text-pressed-color:initial;
76
+ --text-disabled-color:initial;
77
+ --text-active-color:initial;
78
+ --text-link-color:initial;
79
+ --text-visited-color:initial;
80
+ --text-color:initial;
81
+
82
+ --bg-color:initial;
83
+ --bg-hover-color:initial;
84
+ --bg-disabled-color:initial;
85
+ --bg-pressed-color:initial;
86
+ --bg--active-color:initial;
87
+
88
+ --border-color:initial;
89
+ --border-hover-color:initial;
90
+ --border-disabled-color:initial;
91
+ --border-pressed-color:initial;
92
+ --border--active-color:initial;
93
+ }
94
+ }
95
+
96
+ .x-import-semantics-vars{
97
+ color:var(--text-color)
98
+ }
99
+
100
+ :root{
101
+
102
+
103
+ /* Fluid Display Scale */
104
+ --display-xs: clamp(1.125rem, calc(1rem + 0.625vw), 1.5rem); /* Scales from 18px to 24px */
105
+ --display-sm: clamp(1.25rem, calc(1.0417rem + 1.0417vw), 1.875rem); /* Scales from 20px to 30px */
106
+ --display-md: clamp(1.5rem, calc(1.25rem + 1.25vw), 2.25rem); /* Scales from 24px to 36px */
107
+ --display-lg: clamp(1.875rem, calc(1.5rem + 1.875vw), 3rem); /* Scales from 30px to 48px */
108
+ --display-xl: clamp(2.25rem, calc(1.75rem + 2.5vw), 3.75rem); /* Scales from 36px to 60px */
109
+ --display-2xl: clamp(2.5rem, calc(1.8333rem + 3.3333vw), 4.5rem); /* Scales from 40px to 72px */
110
+
111
+
112
+ /* Typography scale — fluid */
113
+
114
+
115
+ --text-xs: clamp(0.75rem, calc(0.7rem + 0.25vw), 0.875rem);
116
+ --text-sm: clamp(0.875rem, calc(0.8rem + 0.35vw), 1rem);
117
+ --text-base: clamp(1rem, calc(0.95rem + 0.25vw), 1.125rem);
118
+ --text-lg: clamp(1.125rem, calc(1rem + 0.75vw), 1.5rem);
119
+ --text-xl: clamp(1.5rem, calc(1.2rem + 1.25vw), 2.25rem);
120
+ --text-2xl: clamp(2rem, calc(1.2rem + 2.5vw), 3.5rem);
121
+ --text-3xl: clamp(2.5rem, calc(1rem + 4vw), 5rem);
122
+ --text-hero: clamp(3rem, calc(0.5rem + 7vw), 8rem);
123
+
124
+ /* Base spacing unit */
125
+
126
+ --space: var(--space-base,0.25rem);
127
+
128
+ /* Spacing scale */
129
+ --space-1: calc(var(--space) * 1);
130
+ --space-2: calc(var(--space) * 2);
131
+ --space-3: calc(var(--space) * 3);
132
+ --space-4: calc(var(--space) * 4);
133
+ --space-5: calc(var(--space) * 5);
134
+ --space-6: calc(var(--space) * 6);
135
+ --space-8: calc(var(--space) * 8);
136
+ --space-10: calc(var(--space) * 10);
137
+ --space-12: calc(var(--space) * 12);
138
+ --space-16: calc(var(--space) * 16);
139
+ --space-20: calc(var(--space) * 20);
140
+ --space-24: calc(var(--space) * 24);
141
+ --space-32: calc(var(--space) * 32);
142
+
143
+ /* Border radius */
144
+ --radius-sm: 0.375rem;
145
+ --radius-md: 0.5rem;
146
+ --radius-base: 0.5rem;
147
+ --radius-lg: 0.75rem;
148
+ --radius-xl: 1rem;
149
+ --radius-2xl: 1.5rem;
150
+ --radius-full: 9999px;
151
+
152
+ /* Colors — Light */
153
+ --color-bg: #f5f6fa;
154
+ --color-surface: #ffffff;
155
+ --color-surface-2: #f8f9fc;
156
+ --color-surface-offset: #eef0f6;
157
+ --color-surface-offset-2: #e4e7f0;
158
+ --color-surface-dynamic: #d9dde8;
159
+ --color-divider: #d0d4e0;
160
+ --color-border: #c4c9d8;
161
+
162
+ --color-text: #111827;
163
+ --color-text-muted: #4b5563;
164
+ --color-text-faint: #9ca3af;
165
+ --color-text-inverse: #f9fafb;
166
+
167
+ --color-primary: #0a4f6b;
168
+ /* --color-primary: red; */
169
+ --color-primary-hover: #063a52;
170
+ --color-primary-active: #04283a;
171
+ --color-primary-highlight: #cce3ed;
172
+ --color-primary-light: #e8f4f8;
173
+
174
+ --color-accent: #d97706;
175
+ --color-accent-hover: #b45309;
176
+ --color-accent-light: #fef3c7;
177
+
178
+ --color-success: #166534;
179
+ --color-success-bg: #dcfce7;
180
+ --color-success-highlight: #dcfce7;
181
+
182
+ --color-error: #991b1b;
183
+ --color-error-bg: #fee2e2;
184
+
185
+ --color-gold: #d19900;
186
+ --color-gold-bg: #fef9e7;
187
+
188
+
189
+
190
+ /* Base shadow color (Lightness Chroma Hue) */
191
+
192
+ --shadow-color: 0.2 0.03 245;
193
+
194
+ /* Shadows */
195
+
196
+ --shadow-sm: 0 1px 3px oklch(var(--shadow-color) / 0.08);
197
+ --shadow-md: 0 4px 14px oklch(var(--shadow-color) / 0.10);
198
+ --shadow-lg: 0 12px 40px oklch(var(--shadow-color) / 0.14);
199
+ --shadow-xl: 0 24px 60px oklch(var(--shadow-color) / 0.18);
200
+
201
+ /* subtle: Subtle contact + slight lift (Great for buttons and cards) */
202
+ --shadow-subtle:
203
+ 0 1px 2px oklch(var(--shadow-color) / 0.06),
204
+ 0 1px 4px oklch(var(--shadow-color) / 0.08);
205
+
206
+ /* light: Defined contact + medium spread (Great for dropdowns) */
207
+ --shadow-light:
208
+ 0 2px 4px oklch(var(--shadow-color) / 0.04),
209
+ 0 6px 16px oklch(var(--shadow-color) / 0.10);
210
+
211
+ /* soft: Soft contact + ambient mid + wide directional (Great for modals) */
212
+ --shadow-soft:
213
+ 0 4px 8px oklch(var(--shadow-color) / 0.03),
214
+ 0 12px 24px oklch(var(--shadow-color) / 0.06),
215
+ 0 20px 48px oklch(var(--shadow-color) / 0.12);
216
+
217
+ /* hard: Deep contact + soft ambient + massive spread (Great for floating palettes) */
218
+ --shadow-hard:
219
+ 0 6px 12px oklch(var(--shadow-color) / 0.03),
220
+ 0 16px 32px oklch(var(--shadow-color) / 0.06),
221
+ 0 32px 80px oklch(var(--shadow-color) / 0.14);
222
+
223
+
224
+
225
+
226
+ /* Layout */
227
+ --content-narrow: 640px;
228
+ --content-default: 960px;
229
+ --content-wide: 1200px;
230
+ }
231
+ `
253
232
  },
254
233
  'x-divider-text': {
255
234
  type: 'statement',
@@ -310,7 +289,7 @@ export default {
310
289
  [class~=x-menu-open][--af-tf-r-45deg,--af-t-50p,--bf-tf-r--45deg,--bf-t50p,--af-tn-all-0d5s,--bf-tn-all-0d5s]
311
290
  [x-menu-open][--af-tf-r-45deg,--af-t-50p,--bf-tf-r--45deg,--bf-t50p,--af-tn-all-0d5s,--bf-tn-all-0d5s]`
312
291
  },
313
- 'x-acss-utils': {
292
+ 'x-import-utils-1': {
314
293
  type: 'statement',
315
294
  statement: `
316
295
  [c-gray-900,dark-c-grayDark-50]--as-text-primary
@@ -385,7 +364,7 @@ export default {
385
364
  [background-color-success-600,dark-background-color-success-600]--as-bg-success-solid
386
365
  `,
387
366
  },
388
- 'x-acss-vars-dark': {
367
+ 'x-import-vars-dark': {
389
368
  type: 'statement',
390
369
  statement: `
391
370
  --text-primary:--gray-50
@@ -59,6 +59,7 @@ const prefix = {
59
59
  '--ge': '::grammar-error',
60
60
  '--has': ':has', // --has
61
61
  '--hs': ':has', // -hs
62
+ '--Has': ' :has', // --has
62
63
  '--hover-after': ':hover::after', // -haf
63
64
  '--haf': ':hover::after', // -haf
64
65
  '--hover-before': ':hover::before', // -hbf
@@ -74,7 +75,8 @@ const prefix = {
74
75
  '--ind': ':indeterminate', // idt
75
76
  '--invalid': ':invalid', // -in
76
77
  '--inv': ':invalid', // -in
77
- '--is': ':is',
78
+ '--is': ' :is',
79
+ '--Is': ':is',
78
80
  // '--is':':is',
79
81
  '--lang': ':lang', // -ln
80
82
  '--lan': ':lan', // -ln
@@ -143,7 +145,9 @@ const prefix = {
143
145
  '--visited': ':visited', // -vi
144
146
  '--vi': ':visited', // -vi
145
147
  '--v': ':visited', // -vi
146
- '--where': ':where',
147
- '--w': ':where'
148
+ '--where': ' :where',
149
+ '--w': ' :where',
150
+ '--Where': ':where',
151
+ '--W': ':where'
148
152
  };
149
153
  export default prefix;
@@ -1,5 +1,5 @@
1
1
  const attribute = {
2
- test: /^[-,]?[\[][a-zA-Z0-9-_:]+([~*$^]?[=][a-zA-Z0-9-_:/.]+)?[\]]/,
2
+ test: /^[-,_]?[\[][a-zA-Z0-9-_:]+([~*$^]?[=][a-zA-Z0-9-_:/.]+)?[\]]/,
3
3
  process(className) {
4
4
  const match = className.match(this.test);
5
5
  if (match) {
@@ -9,7 +9,7 @@ const attribute = {
9
9
  const result = attr.replace(attrSplit, attrSplit.replace(/:/g, '\\:'))
10
10
  // .replace(/^([-]?[\[][a-z0-9-_:]+)([~*$^]?[=][a-z0-9-_:/.]+)?[\]]/,(m,s,b)=>s.replace(/\:/g,'\:')+b+']')
11
11
  .replace(/-(eql|equal)-/, '=').replace(/[=]([a-zA-Z0-9-_:/.]+)[\]]/, '="$1"]').replace(/^[-_]/, ""); // replace(/([\[|\]])/g,'\\$1').replace(/([=])/g,'\\$1');
12
- return [className.replace(attr, ''), result];
12
+ return [className.replace(attr, ''), /^[_]/.test(className) ? ' ' + result : result];
13
13
  }
14
14
  }
15
15
  }
@@ -4,21 +4,22 @@ const element = {
4
4
  const match = className.match(this.test);
5
5
  if (match) {
6
6
  const alias = match[0];
7
- if (alias) {
8
- const result = alias
9
- .replace('next', ' + ')
10
- .replace('child', ' > ')
11
- .replace('siblings', ' ~')
12
- .replace(/____/g, ' ~ ')
13
- .replace(/___/g, ' + ')
14
- .replace(/__/g, ' > ')
15
- .replace(/_/g, ' ')
16
- .replace(/[\s]all/, ' * ')
17
- .replace(/[\s](dot)/g, (e, a) => { return ' .' + a.toLowerCase(); })
18
- // .replace(/[\s]([A-Z])/g, (e, a) => { return ' .' + a.toLowerCase();})
19
- .replace(/[\s]+/g, " ").trim();
20
- return [className.replace(alias, ''), ' ' + result];
21
- }
7
+ if (match)
8
+ if (alias) {
9
+ const result = alias
10
+ .replace('next', ' + ')
11
+ .replace('child', ' > ')
12
+ .replace('siblings', ' ~')
13
+ .replace(/____/g, ' ~ ')
14
+ .replace(/___/g, ' + ')
15
+ .replace(/__/g, ' > ')
16
+ .replace(/_/g, ' ')
17
+ .replace(/[\s]all/, ' * ')
18
+ .replace(/[\s](dot)/g, (e, a) => { return ' .' + a.toLowerCase(); })
19
+ // .replace(/[\s]([A-Z])/g, (e, a) => { return ' .' + a.toLowerCase();})
20
+ .replace(/[\s]+/g, " ").trim();
21
+ return [className.replace(alias, (/[^_][_]$/.test(alias) ? '_' : '')), ' ' + result];
22
+ }
22
23
  }
23
24
  }
24
25
  };
@@ -8,7 +8,7 @@ export default function PseudoEleStateNew(data) {
8
8
  return null;
9
9
  const matchAndFunc = [
10
10
  {
11
- match: /^-([-]?(not|has|is|where|n|hs|w))\((.+)\)/,
11
+ match: /^-([-]?(not|has|Has|is|Is|where|Where|n|hs|w|W))\((.+)\)/,
12
12
  func(value) {
13
13
  const matched = value.match(this.match);
14
14
  const newData = matched === null || matched === void 0 ? void 0 : matched[3];
@@ -51,8 +51,8 @@ export default function PseudoEleStateNew(data) {
51
51
  // console.log(data,cn,alias,mch)
52
52
  return [cn, `${alias}(${cont})`];
53
53
  }
54
- else if (/(^-(-not|-has|-is|-where|-n|-hs|-w|-is)[-_])/.test(data)) {
55
- const mch = data.match(/(^-(-not|-has|-is|-where|-n|-hs|-w|-is)([_-]+[a-zA-Z0-9\.,]+)(?=[-|_]))/);
54
+ else if (/(^-(-not|-has|-Has|-is|-Is|-where|-Where|-n|-hs|-w|-W|-is)[-_])/.test(data)) {
55
+ const mch = data.match(/(^-(-not|-has|-Has|-is|-Is|-where|-Where|-n|-hs|-w|-W|-is)([_-]+[a-zA-Z0-9\.,]+)(?=[-|_]))/);
56
56
  const cn = (mch === null || mch === void 0 ? void 0 : mch[1]) ? data.replace(mch[1], '') : '';
57
57
  const alias = (mch === null || mch === void 0 ? void 0 : mch[2]) ? prefix['-' + mch[2].replace(/-$/, '')] : '';
58
58
  const cont = (_a = PseudoEleStateNew((mch === null || mch === void 0 ? void 0 : mch[3]) + '-dn')) === null || _a === void 0 ? void 0 : _a[1];
@@ -13,6 +13,20 @@ const media = {
13
13
  '@container-lg': '@container (min-width : 992px)',
14
14
  '@container-xl': '@container (min-width : 1200px)',
15
15
  '@container-2xl': '@container (min-width : 1408px)',
16
+ '@forced-color-active': '@media (forced-colors: active)',
17
+ '@fca': '@media (forced-colors: active)',
18
+ '@standalone': '@media (display-mode: standalone)',
19
+ '@browser': '@media (display-mode: browser)',
20
+ '@short-height': '@media (max-height: 600px)',
21
+ '@xsh': '@media (max-height: 600px)',
22
+ '@p3': '@media (color-gamut: p3)',
23
+ '@motion-reduce': '@media (prefers-reduced-motion: reduce)',
24
+ '@mouse': '@media (hover: hover) and (pointer: fine)',
25
+ '@touch': '@media (hover: none) and (pointer: coarse)',
26
+ '@resolution-lg': '@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)',
27
+ '@resolution-xl': '@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi)',
28
+ '@contrast-more': '@media (prefers-contrast: more)',
29
+ '@data-reduce': '@media (prefers-reduced-data: reduce)',
16
30
  xs: '@media (max-width : 576px)',
17
31
  '@xs': '@media (max-width : 576px)',
18
32
  sm: '@media (min-width : 576px)',