aliascss 1.2.2 → 1.2.4
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/README.md +6 -4
- package/aliascss.config.js +5 -12
- package/dist/aliascss.js +1 -1
- package/lib/css-properties-all.js +122 -38
- package/lib/custom-css-compilers.d.ts +1 -0
- package/lib/custom-css-compilers.js +50 -23
- package/lib/node/compileFile.js +1 -1
- package/lib/prebuild.d.ts +356 -43
- package/lib/prebuild.js +398 -54
- package/lib/prefix/responsive.js +23 -1
- package/lib/returnStatement.js +9 -0
- package/lib/static/customStaticClassNames.js +41 -33
- package/package.json +1 -1
- package/ui-dev/app/index.bk +0 -45
- package/ui-dev/app/index.html +0 -41
- package/ui-dev/app/index.html.css +0 -313
- package/ui-dev/app/index.html.module.css +0 -272
- package/ui-dev/button.html +0 -87
- package/ui-dev/button.html.css +0 -358
- package/ui-dev/button.html.module.css +0 -272
- package/ui-dev/card-section-row-container-box-bk.html +0 -154
- package/ui-dev/card-section-row-container-box-bk.html.css +0 -321
- package/ui-dev/card-section-row-container-box-bk.html.module.css +0 -272
- package/ui-dev/card-section-row-container-box.html +0 -150
- package/ui-dev/card-section-row-container-box.html.css +0 -346
- package/ui-dev/card-section-row-container-box.html.module.css +0 -272
- package/ui-dev/index-preview-one.html +0 -72
- package/ui-dev/index-preview-one.html.css +0 -293
- package/ui-dev/index-preview-one.html.module.css +0 -272
- package/ui-dev/index-test.html +0 -79
- package/ui-dev/index-test.html.css +0 -300
- package/ui-dev/index-test.html.module.css +0 -272
- package/ui-dev/index.html +0 -191
- package/ui-dev/index.html.css +0 -445
- package/ui-dev/index.html.module.css +0 -272
- package/ui-dev/nav-red.html +0 -121
- package/ui-dev/nav-red.html.css +0 -366
- package/ui-dev/nav-red.html.module.css +0 -272
- package/ui-dev/navbar-demo.html +0 -121
- package/ui-dev/navbar-demo.html.css +0 -368
- package/ui-dev/navbar-demo.html.module.css +0 -272
- package/ui-dev/tooltip.html +0 -113
- package/ui-dev/tooltip.html.css +0 -307
- package/ui-dev/tooltip.html.module.css +0 -272
package/lib/prebuild.js
CHANGED
|
@@ -1,36 +1,242 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
'x-css-reset-normalize': {
|
|
3
|
+
type: 'raw',
|
|
4
|
+
statement: `html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;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}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}`
|
|
5
|
+
},
|
|
6
|
+
'x-css-reset': {
|
|
7
|
+
type: 'raw',
|
|
8
|
+
statement: `html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;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}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}`
|
|
9
|
+
},
|
|
10
|
+
'x-css-reset-josh': {
|
|
11
|
+
type: 'raw',
|
|
12
|
+
statement: `*,::before,::after{box-sizing:border-box}*{margin:0} @media(prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%} input,button,textarea,select{font:inherit} p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word} p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}`
|
|
13
|
+
},
|
|
14
|
+
'x-css-reset-sanitize': {
|
|
15
|
+
type: 'raw',
|
|
16
|
+
statement: `*,::before,::after{box-sizing:border-box;background-repeat:no-repeat}::before,::after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li)::before{content:"\x80";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type="button" i],[type="reset" i],[type="submit" i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type="search" i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details > summary:first-of-type){display:list-item}:where([aria-busy="true" i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled="true" i],[disabled]){cursor:not-allowed}:where([aria-hidden="false" i][hidden]){display:initial}:where([aria-hidden="false" i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}`
|
|
17
|
+
},
|
|
18
|
+
'x-css-reset-preflight': {
|
|
19
|
+
type: 'raw',
|
|
20
|
+
statement: `*,::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}`
|
|
21
|
+
},
|
|
22
|
+
'x-css-vars-color': {
|
|
23
|
+
type: 'raw',
|
|
24
|
+
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;
|
|
25
|
+
--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;
|
|
26
|
+
--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;
|
|
27
|
+
--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;
|
|
28
|
+
--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;
|
|
29
|
+
--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;
|
|
30
|
+
--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;
|
|
31
|
+
--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;
|
|
32
|
+
--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;
|
|
33
|
+
--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;
|
|
34
|
+
--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;
|
|
35
|
+
--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;
|
|
36
|
+
--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;
|
|
37
|
+
--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;
|
|
38
|
+
--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;
|
|
39
|
+
--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;
|
|
40
|
+
--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;
|
|
41
|
+
--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;
|
|
42
|
+
--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;
|
|
43
|
+
--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;
|
|
44
|
+
--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;
|
|
45
|
+
--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;
|
|
46
|
+
--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;
|
|
47
|
+
--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;
|
|
48
|
+
--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;
|
|
49
|
+
--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;
|
|
50
|
+
--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;
|
|
51
|
+
--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;
|
|
52
|
+
--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;
|
|
53
|
+
--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;
|
|
54
|
+
--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;
|
|
55
|
+
|
|
56
|
+
}`,
|
|
57
|
+
},
|
|
58
|
+
'x-css-vars-color-gray': {
|
|
59
|
+
type: 'raw',
|
|
60
|
+
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;}`
|
|
61
|
+
},
|
|
62
|
+
'x-css-vars-color-grayDark': {
|
|
63
|
+
type: 'raw',
|
|
64
|
+
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;}`
|
|
65
|
+
},
|
|
66
|
+
'x-css-vars-color-primary': {
|
|
67
|
+
type: 'raw',
|
|
68
|
+
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;}`
|
|
69
|
+
},
|
|
70
|
+
'x-css-vars-color-brand': {
|
|
71
|
+
type: 'raw',
|
|
72
|
+
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;}`
|
|
73
|
+
},
|
|
74
|
+
'x-css-vars-color-error': {
|
|
75
|
+
type: 'raw',
|
|
76
|
+
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;}`
|
|
77
|
+
},
|
|
78
|
+
'x-css-vars-color-success': {
|
|
79
|
+
type: 'raw',
|
|
80
|
+
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;
|
|
81
|
+
--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;}`
|
|
82
|
+
},
|
|
83
|
+
'x-css-vars-color-grayBlue': {
|
|
84
|
+
type: 'raw',
|
|
85
|
+
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;
|
|
86
|
+
--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;}`
|
|
87
|
+
},
|
|
88
|
+
'x-css-vars-color-grayNeural': {
|
|
89
|
+
type: 'raw',
|
|
90
|
+
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;
|
|
91
|
+
--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;}`
|
|
92
|
+
},
|
|
93
|
+
'x-css-vars-color-grayIron': {
|
|
94
|
+
type: 'raw',
|
|
95
|
+
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;}`
|
|
96
|
+
},
|
|
97
|
+
'x-css-vars-color-grayWarm': {
|
|
98
|
+
type: 'raw',
|
|
99
|
+
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;
|
|
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
|
+
},
|
|
102
|
+
'x-css-vars-color-greenLight': {
|
|
103
|
+
type: 'raw',
|
|
104
|
+
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;
|
|
105
|
+
--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;}`
|
|
106
|
+
},
|
|
107
|
+
'x-css-vars-color-green': {
|
|
108
|
+
type: 'raw',
|
|
109
|
+
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;}`
|
|
110
|
+
},
|
|
111
|
+
'x-css-vars-color-teal': {
|
|
112
|
+
type: 'raw',
|
|
113
|
+
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;}`
|
|
114
|
+
},
|
|
115
|
+
'x-css-vars-color-cyan': {
|
|
116
|
+
type: 'raw',
|
|
117
|
+
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;}`
|
|
118
|
+
},
|
|
119
|
+
'x-css-vars-color-blueLight': {
|
|
120
|
+
type: 'raw',
|
|
121
|
+
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;}`
|
|
122
|
+
},
|
|
123
|
+
'x-css-vars-color-blue': {
|
|
124
|
+
type: 'raw',
|
|
125
|
+
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;}`
|
|
126
|
+
},
|
|
127
|
+
'x-css-vars-color-blueDark': {
|
|
128
|
+
type: 'raw',
|
|
129
|
+
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;}`
|
|
130
|
+
},
|
|
131
|
+
'x-css-vars-color-indigo': {
|
|
132
|
+
type: 'raw',
|
|
133
|
+
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;}`
|
|
134
|
+
},
|
|
135
|
+
'x-css-vars-color-violet': {
|
|
136
|
+
type: 'raw',
|
|
137
|
+
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;}`
|
|
138
|
+
},
|
|
139
|
+
'x-css-vars-color-purple': {
|
|
140
|
+
type: 'raw',
|
|
141
|
+
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;}`
|
|
142
|
+
},
|
|
143
|
+
'x-css-vars-color-fuchsia': {
|
|
144
|
+
type: 'raw',
|
|
145
|
+
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;}`
|
|
146
|
+
},
|
|
147
|
+
'x-css-vars-color-pink': {
|
|
148
|
+
type: 'raw',
|
|
149
|
+
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;}`
|
|
150
|
+
},
|
|
151
|
+
'x-css-vars-color-rose': {
|
|
152
|
+
type: 'raw',
|
|
153
|
+
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;}`
|
|
154
|
+
},
|
|
155
|
+
'x-css-vars-color-orangeDark': {
|
|
156
|
+
type: 'raw',
|
|
157
|
+
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;}`
|
|
158
|
+
},
|
|
159
|
+
'x-css-vars-color-orange': {
|
|
160
|
+
type: 'raw',
|
|
161
|
+
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;}`
|
|
162
|
+
},
|
|
163
|
+
'x-css-vars-color-yellow': {
|
|
164
|
+
type: 'raw',
|
|
165
|
+
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;}`
|
|
166
|
+
},
|
|
167
|
+
'x-screen-root': {
|
|
168
|
+
type: 'statement',
|
|
169
|
+
statement: `pr oh
|
|
170
|
+
w--x-screen-root-width:100dvw h--x-screen-root-height:100dvh
|
|
171
|
+
--has(__[data-state=open][class~=x-screen-push][class~=x-screen-up])__[class~=x-screen-main]-mt--push-down:100dvh
|
|
172
|
+
--has(__[data-state=open][class~=x-screen-push][class~=x-screen-down])__[class~=x-screen-main]-mt--push-up:--100dvh
|
|
173
|
+
--has(__[data-state=open][class~=x-screen-push][class~=x-screen-right])__[class~=x-screen-main]-ml--push-left:--100p
|
|
174
|
+
--has(__[data-state=open][class~=x-screen-push][class~=x-screen-left])__[class~=x-screen-main]-ml--push-right:100p
|
|
175
|
+
--has(__[class~=x-screen-is-active][class~=x-screen-push][class~=x-screen-up])__[class~=x-screen-main]-mt--push-down:100dvh
|
|
176
|
+
--has(__[class~=x-screen-is-active][class~=x-screen-push][class~=x-screen-down])__[class~=x-screen-main]-mt--push-up:--100dvh
|
|
177
|
+
--has(__[class~=x-screen-is-active][class~=x-screen-push][class~=x-screen-right])__[class~=x-screen-main]-ml--push-left:--100p
|
|
178
|
+
--has(__[class~=x-screen-is-active][class~=x-screen-push][class~=x-screen-left])__[class~=x-screen-main]-ml--push-right:100p
|
|
179
|
+
`,
|
|
180
|
+
},
|
|
181
|
+
'x-screen': {
|
|
182
|
+
type: 'statement',
|
|
183
|
+
statement: `w--x-screen-width:100p h--x-screen-height:100p pa transition-property-margin_transform
|
|
184
|
+
transition-duration--x-screen-transition-duration:0d35s
|
|
185
|
+
[data-state=open]-transform-translate-0
|
|
186
|
+
[class~=x-screen-is-active]-transform-translate-0
|
|
187
|
+
[transform-ty--100p,t0,l0,zi-1]--as-x-screen-up
|
|
188
|
+
[transform-ty-100p,btm0,l0,zi-1]--as-x-screen-down
|
|
189
|
+
[transform-tx--100p,l0,t0,zi-1]--as-x-screen-left
|
|
190
|
+
[transform-tx-100p,r0,t0,zi-1]--as-x-screen-right `
|
|
191
|
+
},
|
|
12
192
|
// Box-and-button
|
|
13
|
-
'x-section':
|
|
14
|
-
|
|
15
|
-
[class~=x-
|
|
193
|
+
'x-section': {
|
|
194
|
+
type: 'statement',
|
|
195
|
+
statement: `w--x-section-width:100p p--x-section-padding:20px [class~=x-section-spacious]--x-section-padding:80px height--x-section-height:auto`,
|
|
196
|
+
},
|
|
197
|
+
'x-container': {
|
|
198
|
+
type: 'statement',
|
|
199
|
+
statement: `width-100p mla mra pl--x-container-padding:15px pl--x-container-padding:15px bsbb xw--x-container-width:initial
|
|
200
|
+
[class~=x-container-fluid][--x-container-width:100%,m-0-auto]
|
|
16
201
|
[class~=x-container-narrow][--x-container-width:800px]`,
|
|
17
|
-
|
|
18
|
-
'x-
|
|
202
|
+
},
|
|
203
|
+
'x-row': {
|
|
204
|
+
type: 'statement',
|
|
205
|
+
statement: `df fww g-16px m--8px __all-margin-8px i__all-flex-1 [class~=x-row-no-wrap]-fwn [class~=x-row-center]-jcc`,
|
|
206
|
+
},
|
|
207
|
+
'x-col': {
|
|
208
|
+
type: 'statement',
|
|
209
|
+
statement: `df fww g-16px m--8px __all-margin-8px i__all-flex-1 [class~=x-col-no-wrap]-fwn [class~=x-col-center]-jcc
|
|
19
210
|
[class~=x-col-full][flex-grow:1]`,
|
|
20
|
-
|
|
211
|
+
},
|
|
212
|
+
'x-box': {
|
|
213
|
+
type: 'statement',
|
|
214
|
+
statement: `bgc--x-box-bg:ffffff p--x-box-padding:16px br--x-box-border-radius:8px border--x-box-border:1px-solid-e0e0e0
|
|
21
215
|
[class~=x-box-shadow]-bxs-0px-2px-8px-0000000000d1`,
|
|
22
|
-
|
|
216
|
+
},
|
|
217
|
+
'x-card': {
|
|
218
|
+
type: 'statement',
|
|
219
|
+
statement: `bgc--x-card-bg:ffffff padding--x-card-padding:24px br--x-card-border-radius:12px bxs--x-card-shadow:0px-4px-12px-0000000000d1
|
|
23
220
|
[class~=x-card-interactive][--hover-transform-translateY--4px,--hover-bxs-0-8px-24px-0000000000d15]
|
|
24
221
|
transition-transform-0.3s-ease__box-shadow-0.3s-ease
|
|
25
222
|
[class~=x-card-dark][--x-card-bg:1a1a1a,--x-card-shadow:0px-4px-12px-0000000000d3,color--x-card-color:ffffff]`,
|
|
26
|
-
|
|
223
|
+
},
|
|
224
|
+
'x-divider-text': {
|
|
225
|
+
type: 'statement',
|
|
226
|
+
statement: `[df,aic,g12px]
|
|
27
227
|
--before[df,cont,bgc--x-divider-color:gray,flex-1,h--x-divider-width:1px]
|
|
28
228
|
--after[df,cont,bgc--x-divider-color:gray,flex-1,h--x-divider-width:1px]
|
|
29
229
|
`,
|
|
30
|
-
|
|
230
|
+
},
|
|
231
|
+
'x-divider': {
|
|
232
|
+
type: 'statement',
|
|
233
|
+
statement: `border-top-width--x-divider-width:1px
|
|
31
234
|
border-top-color--x-divider-color:gray
|
|
32
235
|
border-top-style--x-divider-style:solid bsbb db`,
|
|
33
|
-
|
|
236
|
+
},
|
|
237
|
+
'x-button': {
|
|
238
|
+
type: 'statement',
|
|
239
|
+
statement: `dib aic jcc cp tdn tn-all-0d3s
|
|
34
240
|
c--x-button-color:ffffff
|
|
35
241
|
p--x-button-padding:8px-16px
|
|
36
242
|
fs--x-button-font-size:16px
|
|
@@ -56,41 +262,89 @@ export default {
|
|
|
56
262
|
[class~=x-button-lg][--x-button-padding:12px-24px,--x-button-font-size:18px]
|
|
57
263
|
[class~=x-button-outline][bg-transparent,--x-button-color:--x-button-bg:gray-600,--border-color:--x-button-color,--hover-bg--x-button-color:gray-600,--hover-color-ffffff]
|
|
58
264
|
[class~=x-button-text][bgc-transparent,--x-button-border:none,--hover-bg--x-button-soft-bg:gray100,--x-button-color:--x-button-bg:gray600,--x-button-padding:4px-8px]`,
|
|
59
|
-
|
|
265
|
+
},
|
|
266
|
+
'x-arrow': {
|
|
267
|
+
type: 'statement',
|
|
268
|
+
statement: `[bss,bc--x-arrow-color:black,bw-0px-3px-3px-0,dib,p-3px] [class~=x-arrow-left]-tf-r-135deg [class~=x-arrow-up]-tf-r--135deg [class~=x-arrow-right]-tf-r--45deg [class~=x-arrow-down]-tf-r-45deg`,
|
|
269
|
+
},
|
|
60
270
|
// CSS entities
|
|
61
|
-
'x-dollar': '
|
|
62
|
-
|
|
63
|
-
'x-
|
|
64
|
-
|
|
65
|
-
'x-
|
|
66
|
-
|
|
67
|
-
'x-
|
|
68
|
-
|
|
69
|
-
'x-
|
|
70
|
-
|
|
71
|
-
'x-
|
|
72
|
-
|
|
73
|
-
'x-
|
|
74
|
-
|
|
75
|
-
'x-
|
|
76
|
-
|
|
77
|
-
'x-
|
|
78
|
-
|
|
79
|
-
'x-
|
|
80
|
-
|
|
81
|
-
'x-
|
|
82
|
-
|
|
83
|
-
'x-
|
|
84
|
-
|
|
85
|
-
'x-
|
|
86
|
-
|
|
87
|
-
'x-
|
|
88
|
-
|
|
89
|
-
'x-
|
|
90
|
-
|
|
91
|
-
'x-
|
|
271
|
+
'x-currency-dollar': { type: 'statement', statement: '--bf-cont_0024'
|
|
272
|
+
},
|
|
273
|
+
'x-currency-cent': { type: 'statement', statement: '--bf-cont_00A2'
|
|
274
|
+
},
|
|
275
|
+
'x-currency-pound': { type: 'statement', statement: '--bf-cont_00A3'
|
|
276
|
+
},
|
|
277
|
+
'x-currency': { type: 'statement', statement: '--bf-cont_00A4'
|
|
278
|
+
},
|
|
279
|
+
'x-currency-yen': { type: 'statement', statement: '--bf-cont_00A5'
|
|
280
|
+
},
|
|
281
|
+
'x-currency-latin-f': { type: 'statement', statement: '--bf-cont_0192' /* Florin */
|
|
282
|
+
},
|
|
283
|
+
'x-currency-armenian-dram': { type: 'statement', statement: '--bf-cont_058F'
|
|
284
|
+
},
|
|
285
|
+
'x-currency-afghani': { type: 'statement', statement: '--bf-cont_060B'
|
|
286
|
+
},
|
|
287
|
+
'x-currency-bengali-mark': { type: 'statement', statement: '--bf-cont_09F2'
|
|
288
|
+
},
|
|
289
|
+
'x-currency-bengali-sign': { type: 'statement', statement: '--bf-cont_09F3'
|
|
290
|
+
},
|
|
291
|
+
'x-currency-gujarati-sign': { type: 'statement', statement: '--bf-cont_0AF1'
|
|
292
|
+
},
|
|
293
|
+
'x-currency-tamil-sign': { type: 'statement', statement: '--bf-cont_0BF9'
|
|
294
|
+
},
|
|
295
|
+
'x-currency-thai-baht': { type: 'statement', statement: '--bf-cont_0E3F'
|
|
296
|
+
},
|
|
297
|
+
'x-currency-khmer-riel': { type: 'statement', statement: '--bf-cont_17DB',
|
|
298
|
+
},
|
|
299
|
+
'x-currency-rial': { type: 'statement', statement: '--bf-cont_FDFC'
|
|
300
|
+
},
|
|
301
|
+
'x-currency-wancho-ngun': { type: 'statement', statement: '--bf-cont_1E2FF',
|
|
302
|
+
},
|
|
303
|
+
'x-currency-euro-currency': { type: 'statement', statement: '--bf-cont_20A0', /* Historical ECU */
|
|
304
|
+
},
|
|
305
|
+
'x-currency-euro': { type: 'statement', statement: '--bf-cont_20AC',
|
|
306
|
+
},
|
|
307
|
+
'x-currency-franc': { type: 'statement', statement: '--bf-cont_20A3',
|
|
308
|
+
},
|
|
309
|
+
'x-currency-lira': { type: 'statement', statement: '--bf-cont_20A4',
|
|
310
|
+
},
|
|
311
|
+
'x-currency-naira': { type: 'statement', statement: '--bf-cont_20A6',
|
|
312
|
+
},
|
|
313
|
+
'x-currency-rupee': { type: 'statement', statement: '--bf-cont_20B9',
|
|
314
|
+
},
|
|
315
|
+
'x-currency-peso': { type: 'statement', statement: '--bf-cont_20B1',
|
|
316
|
+
},
|
|
317
|
+
'x-currency-shekel': { type: 'statement', statement: '--bf-cont_20AA',
|
|
318
|
+
},
|
|
319
|
+
'x-currency-won': { type: 'statement', statement: '--bf-cont_20A9',
|
|
320
|
+
},
|
|
321
|
+
'x-currency-tugrik': { type: 'statement', statement: '--bf-cont_20AE',
|
|
322
|
+
},
|
|
323
|
+
'x-currency-drachma': { type: 'statement', statement: '--bf-cont_20AF',
|
|
324
|
+
},
|
|
325
|
+
'x-currency-kip': { type: 'statement', statement: '--bf-cont_20AD',
|
|
326
|
+
},
|
|
327
|
+
'x-currency-guarani': { type: 'statement', statement: '--bf-cont_20B2',
|
|
328
|
+
},
|
|
329
|
+
'x-currency-hryvnia': { type: 'statement', statement: '--bf-cont_20B4',
|
|
330
|
+
},
|
|
331
|
+
'x-currency-cedi': { type: 'statement', statement: '--bf-cont_20B5', },
|
|
332
|
+
'x-symbol-copy-right': { type: 'statement', statement: '--bf-cont_00A9', },
|
|
333
|
+
'x-symbol-registered': { type: 'statement', statement: '--bf-cont_00AE', },
|
|
334
|
+
'x-symbol-divide': { type: 'statement', statement: '--bf-cont_00Ff7', },
|
|
335
|
+
'x-symbol-arrow-left': { type: 'statement', statement: '--bf-cont_2190', },
|
|
336
|
+
'x-symbol-arrow-up': { type: 'statement', statement: '--bf-cont_2191', },
|
|
337
|
+
'x-symbol-arrow-right': { type: 'statement', statement: '--bf-cont_2192', },
|
|
338
|
+
'x-symbol-arrow-down': { type: 'statement', statement: '--bf-cont_2193', },
|
|
339
|
+
'x-symbol-arrow-left-right': { type: 'statement', statement: '--bf-cont_2194', },
|
|
340
|
+
'x-symbol-arrow-down-left': { type: 'statement', statement: '--bf-cont_2195', },
|
|
341
|
+
'x-symbol-square-root': { type: 'statement', statement: '--bf-cont_221A', },
|
|
342
|
+
'x-symbol-trade-mark': { type: 'statement', statement: '--bf-cont_2122', },
|
|
92
343
|
// --
|
|
93
|
-
'x-menu':
|
|
344
|
+
'x-menu': {
|
|
345
|
+
type: 'statement',
|
|
346
|
+
statement: `pr x-menu-rounded cp
|
|
347
|
+
w-35px h-30px bg-lg-transparent_0px_12d5px-currentColor_12d5px_17d5px-transparent_17d5px_35px
|
|
94
348
|
tn-all-0d5s [class~=x-menu-open]-bg-none
|
|
95
349
|
[x-menu-open]-bg-none
|
|
96
350
|
--af[pa,t0,h-5px,w-35px,bgc-currentColor,cont]
|
|
@@ -99,5 +353,95 @@ export default {
|
|
|
99
353
|
[class~=x-menu-rounded]--bf-br-5px tn-all-0d5s
|
|
100
354
|
--af-tn-all-0d5s --bf-tn-all-0d5s
|
|
101
355
|
[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]
|
|
102
|
-
[x-menu-open][--af-tf-r-45deg,--af-t-50p,--bf-tf-r--45deg,--bf-t50p,--af-tn-all-0d5s,--bf-tn-all-0d5s]
|
|
356
|
+
[x-menu-open][--af-tf-r-45deg,--af-t-50p,--bf-tf-r--45deg,--bf-t50p,--af-tn-all-0d5s,--bf-tn-all-0d5s]`
|
|
357
|
+
},
|
|
358
|
+
'x-acss-utils': {
|
|
359
|
+
type: 'statement',
|
|
360
|
+
statement: `
|
|
361
|
+
[c-gray-900,dark-c-grayDark-50]--as-text-primary
|
|
362
|
+
[c-white,dark-c-grayDark-50]--as-text-primary-on-brand
|
|
363
|
+
[c-gray-700,--hover-c-gray-800,dark-c-grayDark-300,dark--hover-c-grayDark-200]--as-text-secondary
|
|
364
|
+
[c-brand-200,dark-c-grayDark-300]--as-text-secondary-on-brand
|
|
365
|
+
[c-gray-600,--h-c-gray-700,dark-c-grayDark-400,dark--h-c-grayDark-300]--as-text-tertiary
|
|
366
|
+
[c-brand-200,dark-c-grayDark-300]--as-text-tertiary-on-brand
|
|
367
|
+
[c-gray-500,dark-c-grayDark-400]--as-text-quaternary
|
|
368
|
+
[c-brand-300,dark-c-grayDark-400]--as-text-quaternary-on-brand
|
|
369
|
+
[c-white]--as-text-white
|
|
370
|
+
c-gray-500--as-text-disabled
|
|
371
|
+
[c-gray-500,dark-c-grayDark-400]--as-text-placeholder
|
|
372
|
+
[c-gray-300,dark-c-grayDark-700]--as-text-placeholder-subtle
|
|
373
|
+
[c-brand-900,dark-c-grayDark-50]--as-text-brand-primary
|
|
374
|
+
[c-brand-700,dark-c-grayDark-300]--as-text-brand-secondary
|
|
375
|
+
[c-brand-600,dark-c-grayDark-400]--as-text-brand-tertiary
|
|
376
|
+
[c-brand-600,dark-c-grayDark-50]--as-text-brand-tertiary-alt
|
|
377
|
+
[c-error-600,dark-c-error-400]--as-text-error-primary
|
|
378
|
+
[c-warning-600,dark-c-warning-400]--as-text-warning-primary
|
|
379
|
+
[c-success-600,dark-c-success-400]--as-text-success-primary
|
|
380
|
+
[border-color-gray-300,dark-border-color-grayDark-700]--as-border-primary
|
|
381
|
+
[border-color-gray-200,dark-border-color-grayDark-800]--as-border-secondary
|
|
382
|
+
[border-color-gray-100,dark-border-color-grayDark-800]--as-border-tertiary
|
|
383
|
+
[border-color-gray-300,dark-border-color-grayDark-700]--as-border-disabled
|
|
384
|
+
[border-color-gray-200,dark-border-color-grayDark-800]--as-border-disabled-subtle
|
|
385
|
+
[border-color-brand-500,dark-border-color-brand-400]--as-border-brand
|
|
386
|
+
[border-color-brand-600,dark-border-color-grayDark-700]--as-border-brand-alt
|
|
387
|
+
[border-color-error-500,dark-border-color-error-400]--as-border-error
|
|
388
|
+
[border-color-error-300,dark-border-color-error-400]--as-border-error-subtle
|
|
389
|
+
[background-color-gray-900,dark-background-color-white]--as-fg-primary
|
|
390
|
+
[background-color-gray-700,--h-bgc-gray-800,dark-background-color-grayDark-300,dark--h-bgc-grayDark-200]--as-fg-secondary
|
|
391
|
+
[background-color-gray-600,--h-bgc-gray-700,dark-background-color-grayDark-400,dark--h-bgc-grayDark-300]--as-fg-tertiary
|
|
392
|
+
[background-color-gray-500,--h-bgc-gray-400,dark-background-color-grayDark-600,dark--h-bgc-grayDark-300]--as-fg-quaternary
|
|
393
|
+
[background-color-gray-400,--h-bgc-gray-500,dark-background-color-grayDark-500,dark--h-bgc-grayDark-400]--as-fg-quinary
|
|
394
|
+
[background-color-gray-300,dark-background-color-grayDark-600]--as-fg-senary
|
|
395
|
+
[background-color-gray-400,dark-background-color-grayDark-500]--as-fg-disabled
|
|
396
|
+
[background-color-gray-300,dark-background-color-grayDark-600]--as-fg-disabled-subtle
|
|
397
|
+
[background-color-brand-600,dark-background-color-brand-500]--as-fg-brand-primary
|
|
398
|
+
[background-color-brand-600,dark-background-grayDark-300]--as-fg-brand-primary-alt
|
|
399
|
+
[background-color-brand-500,dark-background-color-brand-500]--as-fg-brand-secondary
|
|
400
|
+
[background-color-error-600,dark-background-color-error-500]--as-fg-error-primary
|
|
401
|
+
[background-color-error-500,dark-background-color-error-400]--as-fg-error-secondary
|
|
402
|
+
[background-color-warning-600,dark-background-color-warning-500]--as-fg-warning-primary
|
|
403
|
+
[background-color-warning-500,dark-background-color-warning-400]--as-fg-warning-secondary
|
|
404
|
+
[background-color-success-600,dark-background-color-success-500]--as-fg-success-primary
|
|
405
|
+
[background-color-success-500,dark-background-color-success-400]--as-fg-success-secondary
|
|
406
|
+
|
|
407
|
+
[background-color-white,--h-bgc-gray-50,dark-background-color-grayDark-950,dark--h-bgc-grayDark-800]--as-bg-primary
|
|
408
|
+
[background-color-white,dark-background-color-grayDark-900]--as-bg-primary-alt
|
|
409
|
+
[background-color-gray-950,dark-background-color-grayDark-900]--as-bg-primary-solid
|
|
410
|
+
[background-color-gray-50,--h-bgc-gray-100,dark-background-color-grayDark-900,dark--h-bgc-grayDark-800]--as-bg-secondary
|
|
411
|
+
[background-color-gray-50,dark-background-color-grayDark-950]--as-bg-secondary-alt
|
|
412
|
+
[background-color-gray-25,dark-background-color-grayDark-900]--as-bg-secondary-subtle
|
|
413
|
+
[background-color-gray-600,dark-background-color-grayDark-600]--as-bg-secondary-solid
|
|
414
|
+
[background-color-gray-100,dark-background-color-grayDark-800]--as-bg-tertiary
|
|
415
|
+
[background-color-gray-200,dark-background-color-grayDark-700]--as-bg-quaternary
|
|
416
|
+
[background-color-gray-50,dark-background-color-grayDark-800]--as-bg-active
|
|
417
|
+
[background-color-gray-100,dark-background-color-grayDark-800]--as-bg-disabled
|
|
418
|
+
[background-color-gray-950,dark-background-color-grayDark-800]--as-bg-overlay
|
|
419
|
+
[background-color-brand-50,dark-background-color-brand-500]--as-bg-brand-primary
|
|
420
|
+
[background-color-brand-50,dark-background-color-grayDark-800]--as-bg-brand-primary-alt
|
|
421
|
+
[background-color-brand-100,dark-background-color-brand-600]--as-bg-brand-secondary
|
|
422
|
+
[background-color-brand-600,--h-bgc-brand-700,dark-background-color-brand-600,dark--h-bgc-brand-500]--as-bg-brand-solid
|
|
423
|
+
[background-color-brand-800,dark-background-color-grayDark-800]--as-bg-section
|
|
424
|
+
[background-color-brand-700,dark-background-color-grayDark-950]--as-bg-section-subtle
|
|
425
|
+
[background-color-error-50,dark-background-color-error-500]--as-bg-error-primary
|
|
426
|
+
[background-color-warning-50,dark-background-color-warning-500]--as-bg-warning-primary
|
|
427
|
+
[background-color-warning-100,dark-background-color-warning-600]--as-bg-warning-secondary
|
|
428
|
+
[background-color-warning-600,dark-background-color-warning-600]--as-bg-warning-solid
|
|
429
|
+
[background-color-success-100,dark-background-color-success-600]--as-bg-success-primary
|
|
430
|
+
[background-color-success-600,dark-background-color-success-600]--as-bg-success-solid
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
`,
|
|
438
|
+
},
|
|
439
|
+
'x-acss-vars-dark': {
|
|
440
|
+
type: 'statement',
|
|
441
|
+
statement: `
|
|
442
|
+
--text-primary:--gray-50
|
|
443
|
+
--text-secondary:--gray-200
|
|
444
|
+
--text-disabled:--gray-400
|
|
445
|
+
`,
|
|
446
|
+
},
|
|
103
447
|
};
|
package/lib/prefix/responsive.js
CHANGED
|
@@ -3,22 +3,44 @@ const media = {
|
|
|
3
3
|
test: new RegExp("^(" + "print|xs|sm|md|lg|xl|xxl|-xs|-sm|-md|-lg|-xl|-xxl|-2xl" + ")(?=[-|_])"),
|
|
4
4
|
target: {
|
|
5
5
|
print: '@media print',
|
|
6
|
+
'@print': '@media print',
|
|
6
7
|
xs: '@media (max-width : 576px)',
|
|
8
|
+
'@xs': '@media (max-width : 576px)',
|
|
7
9
|
sm: '@media (min-width : 576px)',
|
|
10
|
+
'@sm': '@media (min-width : 576px)',
|
|
8
11
|
md: '@media (min-width : 768px)',
|
|
12
|
+
'@md': '@media (min-width : 768px)',
|
|
9
13
|
lg: '@media (min-width : 992px)',
|
|
14
|
+
'@lg': '@media (min-width : 992px)',
|
|
10
15
|
xl: '@media (min-width : 1200px)',
|
|
16
|
+
'@xl': '@media (min-width : 1200px)',
|
|
11
17
|
xxl: '@media (min-width : 1408px)',
|
|
18
|
+
'@xxl': '@media (min-width : 1408px)',
|
|
12
19
|
'2xl': '@media (min-width : 1408px)',
|
|
13
20
|
'-xs': '@media (min-width : 576px)',
|
|
21
|
+
'-@xs': '@media (min-width : 576px)',
|
|
22
|
+
'-@sm': '@media (max-width : 576px)',
|
|
14
23
|
'-sm': '@media (max-width : 576px)',
|
|
24
|
+
'-@md': '@media (max-width : 768px)',
|
|
15
25
|
'-md': '@media (max-width : 768px)',
|
|
26
|
+
'-@lg': '@media (max-width : 992px)',
|
|
16
27
|
'-lg': '@media (max-width : 992px)',
|
|
28
|
+
'-@xl': '@media (max-width : 1200px)',
|
|
17
29
|
'-xl': '@media (max-width : 1200px)',
|
|
30
|
+
'-@xxl': '@media (max-width : 1408px)',
|
|
18
31
|
'-xxl': '@media (max-width : 1408px)',
|
|
32
|
+
'-@2xl': '@media (max-width : 1408px)',
|
|
19
33
|
'-2xl': '@media (max-width : 1408px)',
|
|
20
34
|
'dark': '@media (prefers-color-scheme: dark)',
|
|
21
|
-
'
|
|
35
|
+
'@dark': '@media (prefers-color-scheme: dark)',
|
|
36
|
+
'light': '@media (prefers-color-scheme: light)',
|
|
37
|
+
'@light': '@media (prefers-color-scheme: light)',
|
|
38
|
+
'@theme': '@layer theme',
|
|
39
|
+
'@base': '@layer base',
|
|
40
|
+
'@components': '@layer components',
|
|
41
|
+
'@comps': '@layer components',
|
|
42
|
+
'@utils': '@layer utilities',
|
|
43
|
+
'@utilities': '@layer utilities',
|
|
22
44
|
},
|
|
23
45
|
};
|
|
24
46
|
export function createRegexForMedia(prefix) {
|
package/lib/returnStatement.js
CHANGED
|
@@ -47,6 +47,15 @@ export const compiler = {
|
|
|
47
47
|
// className as another-name, bool->only return property and value
|
|
48
48
|
make(className, as, bool) {
|
|
49
49
|
var _a;
|
|
50
|
+
// --Group Statement
|
|
51
|
+
if (this.cssProps.hasOwnProperty(className)) {
|
|
52
|
+
if (this.cssProps[className].hasOwnProperty('type') && (this.cssProps[className].type === 'statement')) {
|
|
53
|
+
return this.group(this.cssProps[className].statement, className);
|
|
54
|
+
}
|
|
55
|
+
if (this.cssProps[className].hasOwnProperty('type') && (this.cssProps[className].type === 'raw')) {
|
|
56
|
+
return this.cssProps[className].statement;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
50
59
|
if (/--as-[a-zA-Z0-9-_]+$/.test(className)) {
|
|
51
60
|
const asMatch = (_a = className.match(/--as-([a-zA-Z0-9-_]+)$/)) !== null && _a !== void 0 ? _a : [null, null];
|
|
52
61
|
if (asMatch[0] && asMatch[1]) {
|