Nuxt/packages/ui-templates/test/__snapshots__/templates.spec.ts.snap

1474 lines
27 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`template > produces correct output for error-404 template 1`] = `
".grid {
display: grid;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.max-w-520px {
max-width: 520px;
}
.min-h-screen {
min-height: 100vh;
}
.w-full {
width: 100%;
}
.flex {
display: flex;
}
.place-content-center {
place-content: center;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.overflow-hidden {
overflow: hidden;
}
.bg-white {
--un-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.text-center {
text-align: center;
}
.text-\\[80px\\] {
font-size: 80px;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-\\[\\#020420\\] {
--un-text-opacity: 1;
color: rgb(2 4 32 / var(--un-text-opacity));
}
.text-\\[\\#64748B\\] {
--un-text-opacity: 1;
color: rgb(100 116 139 / var(--un-text-opacity));
}
.hover\\:text-\\[\\#00DC82\\]:hover {
--un-text-opacity: 1;
color: rgb(0 220 130 / var(--un-text-opacity));
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.leading-none {
line-height: 1;
}
.tracking-wide {
letter-spacing: 0.025em;
}
.font-sans {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Helvetica Neue,
Arial,
Noto Sans,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
}
.tabular-nums {
--un-numeric-spacing: tabular-nums;
font-variant-numeric: var(--un-ordinal) var(--un-slashed-zero)
var(--un-numeric-figure) var(--un-numeric-spacing)
var(--un-numeric-fraction);
}
.underline {
text-decoration-line: underline;
}
.underline-offset-3 {
text-underline-offset: 3px;
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
.dark\\:bg-\\[\\#020420\\] {
--un-bg-opacity: 1;
background-color: rgb(2 4 32 / var(--un-bg-opacity));
}
.dark\\:text-white {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
}
@media (min-width: 640px) {
.sm\\:text-\\[110px\\] {
font-size: 110px;
}
.sm\\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
}
"
`;
exports[`template > produces correct output for error-404 template 2`] = `
"*,
:before,
:after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: var(--un-default-border-color, #e5e7eb);
}
:before,
:after {
--un-content: "";
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family:
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
h1,
h2 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
h1,
h2,
p {
margin: 0;
}
*,
:before,
:after {
--un-rotate: 0;
--un-rotate-x: 0;
--un-rotate-y: 0;
--un-rotate-z: 0;
--un-scale-x: 1;
--un-scale-y: 1;
--un-scale-z: 1;
--un-skew-x: 0;
--un-skew-y: 0;
--un-translate-x: 0;
--un-translate-y: 0;
--un-translate-z: 0;
--un-pan-x: ;
--un-pan-y: ;
--un-pinch-zoom: ;
--un-scroll-snap-strictness: proximity;
--un-ordinal: ;
--un-slashed-zero: ;
--un-numeric-figure: ;
--un-numeric-spacing: ;
--un-numeric-fraction: ;
--un-border-spacing-x: 0;
--un-border-spacing-y: 0;
--un-ring-offset-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-shadow: 0 0 rgb(0 0 0 / 0);
--un-shadow-inset: ;
--un-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-inset: ;
--un-ring-offset-width: 0px;
--un-ring-offset-color: #fff;
--un-ring-width: 0px;
--un-ring-color: rgb(147 197 253 / 0.5);
--un-blur: ;
--un-brightness: ;
--un-contrast: ;
--un-drop-shadow: ;
--un-grayscale: ;
--un-hue-rotate: ;
--un-invert: ;
--un-saturate: ;
--un-sepia: ;
--un-backdrop-blur: ;
--un-backdrop-brightness: ;
--un-backdrop-contrast: ;
--un-backdrop-grayscale: ;
--un-backdrop-hue-rotate: ;
--un-backdrop-invert: ;
--un-backdrop-opacity: ;
--un-backdrop-saturate: ;
--un-backdrop-sepia: ;
}
"
`;
exports[`template > produces correct output for error-500 template 1`] = `
".grid {
display: grid;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.max-w-520px {
max-width: 520px;
}
.min-h-screen {
min-height: 100vh;
}
.place-content-center {
place-content: center;
}
.overflow-hidden {
overflow: hidden;
}
.bg-white {
--un-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.text-center {
text-align: center;
}
.text-\\[80px\\] {
font-size: 80px;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.text-\\[\\#020420\\] {
--un-text-opacity: 1;
color: rgb(2 4 32 / var(--un-text-opacity));
}
.text-\\[\\#64748B\\] {
--un-text-opacity: 1;
color: rgb(100 116 139 / var(--un-text-opacity));
}
.font-semibold {
font-weight: 600;
}
.leading-none {
line-height: 1;
}
.tracking-wide {
letter-spacing: 0.025em;
}
.font-sans {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Helvetica Neue,
Arial,
Noto Sans,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
}
.tabular-nums {
--un-numeric-spacing: tabular-nums;
font-variant-numeric: var(--un-ordinal) var(--un-slashed-zero)
var(--un-numeric-figure) var(--un-numeric-spacing)
var(--un-numeric-fraction);
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
.dark\\:bg-\\[\\#020420\\] {
--un-bg-opacity: 1;
background-color: rgb(2 4 32 / var(--un-bg-opacity));
}
.dark\\:text-white {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
}
@media (min-width: 640px) {
.sm\\:text-\\[110px\\] {
font-size: 110px;
}
.sm\\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
}
"
`;
exports[`template > produces correct output for error-500 template 2`] = `
"*,
:before,
:after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: var(--un-default-border-color, #e5e7eb);
}
:before,
:after {
--un-content: "";
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family:
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
h1,
h2 {
font-size: inherit;
font-weight: inherit;
}
h1,
h2,
p {
margin: 0;
}
*,
:before,
:after {
--un-rotate: 0;
--un-rotate-x: 0;
--un-rotate-y: 0;
--un-rotate-z: 0;
--un-scale-x: 1;
--un-scale-y: 1;
--un-scale-z: 1;
--un-skew-x: 0;
--un-skew-y: 0;
--un-translate-x: 0;
--un-translate-y: 0;
--un-translate-z: 0;
--un-pan-x: ;
--un-pan-y: ;
--un-pinch-zoom: ;
--un-scroll-snap-strictness: proximity;
--un-ordinal: ;
--un-slashed-zero: ;
--un-numeric-figure: ;
--un-numeric-spacing: ;
--un-numeric-fraction: ;
--un-border-spacing-x: 0;
--un-border-spacing-y: 0;
--un-ring-offset-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-shadow: 0 0 rgb(0 0 0 / 0);
--un-shadow-inset: ;
--un-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-inset: ;
--un-ring-offset-width: 0px;
--un-ring-offset-color: #fff;
--un-ring-width: 0px;
--un-ring-color: rgb(147 197 253 / 0.5);
--un-blur: ;
--un-brightness: ;
--un-contrast: ;
--un-drop-shadow: ;
--un-grayscale: ;
--un-hue-rotate: ;
--un-invert: ;
--un-saturate: ;
--un-sepia: ;
--un-backdrop-blur: ;
--un-backdrop-brightness: ;
--un-backdrop-contrast: ;
--un-backdrop-grayscale: ;
--un-backdrop-hue-rotate: ;
--un-backdrop-invert: ;
--un-backdrop-opacity: ;
--un-backdrop-saturate: ;
--un-backdrop-sepia: ;
}
"
`;
exports[`template > produces correct output for error-dev template 1`] = `
".absolute {
position: absolute;
}
.top-6 {
top: 1.5rem;
}
.z-10 {
z-index: 10;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.mb-4 {
margin-bottom: 1rem;
}
.mb-8 {
margin-bottom: 2rem;
}
.inline-block {
display: inline-block;
}
.h-auto {
height: auto;
}
.min-h-screen {
min-height: 100vh;
}
.flex {
display: flex;
}
.flex-1 {
flex: 1 1 0%;
}
.flex-col {
flex-direction: column;
}
.overflow-y-auto {
overflow-y: auto;
}
.border {
border-width: 1px;
}
.border-b-0 {
border-bottom-width: 0px;
}
.border-black\\/5 {
border-color: #0000000d;
}
.rounded-t-md {
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
}
.bg-gray-50\\/50 {
background-color: #f5f5f580;
}
.bg-white {
--un-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.p-8 {
padding: 2rem;
}
.px-10 {
padding-left: 2.5rem;
padding-right: 2.5rem;
}
.pt-12 {
padding-top: 3rem;
}
.text-6xl {
font-size: 3.75rem;
line-height: 1;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
.text-black {
--un-text-opacity: 1;
color: rgb(0 0 0 / var(--un-text-opacity));
}
.hover\\:text-\\[\\#00DC82\\]:hover {
--un-text-opacity: 1;
color: rgb(0 220 130 / var(--un-text-opacity));
}
.font-light {
font-weight: 300;
}
.font-medium {
font-weight: 500;
}
.leading-tight {
line-height: 1.25;
}
.font-sans {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Helvetica Neue,
Arial,
Noto Sans,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
}
.hover\\:underline:hover {
text-decoration-line: underline;
}
.underline-offset-3 {
text-underline-offset: 3px;
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
.dark\\:border-white\\/10 {
border-color: #ffffff1a;
}
.dark\\:bg-\\[\\#020420\\] {
--un-bg-opacity: 1;
background-color: rgb(2 4 32 / var(--un-bg-opacity));
}
.dark\\:bg-white\\/5 {
background-color: #ffffff0d;
}
.dark\\:text-white {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
}
@media (min-width: 640px) {
.sm\\:right-6 {
right: 1.5rem;
}
.sm\\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.sm\\:text-8xl {
font-size: 6rem;
line-height: 1;
}
}
"
`;
exports[`template > produces correct output for error-dev template 2`] = `
"*,
:before,
:after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: var(--un-default-border-color, #e5e7eb);
}
:before,
:after {
--un-content: "";
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family:
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
h1 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
pre {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
Liberation Mono,
Courier New,
monospace;
font-feature-settings: normal;
font-variation-settings: normal;
font-size: 1em;
}
h1,
p,
pre {
margin: 0;
}
*,
:before,
:after {
--un-rotate: 0;
--un-rotate-x: 0;
--un-rotate-y: 0;
--un-rotate-z: 0;
--un-scale-x: 1;
--un-scale-y: 1;
--un-scale-z: 1;
--un-skew-x: 0;
--un-skew-y: 0;
--un-translate-x: 0;
--un-translate-y: 0;
--un-translate-z: 0;
--un-pan-x: ;
--un-pan-y: ;
--un-pinch-zoom: ;
--un-scroll-snap-strictness: proximity;
--un-ordinal: ;
--un-slashed-zero: ;
--un-numeric-figure: ;
--un-numeric-spacing: ;
--un-numeric-fraction: ;
--un-border-spacing-x: 0;
--un-border-spacing-y: 0;
--un-ring-offset-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-shadow: 0 0 rgb(0 0 0 / 0);
--un-shadow-inset: ;
--un-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-inset: ;
--un-ring-offset-width: 0px;
--un-ring-offset-color: #fff;
--un-ring-width: 0px;
--un-ring-color: rgb(147 197 253 / 0.5);
--un-blur: ;
--un-brightness: ;
--un-contrast: ;
--un-drop-shadow: ;
--un-grayscale: ;
--un-hue-rotate: ;
--un-invert: ;
--un-saturate: ;
--un-sepia: ;
--un-backdrop-blur: ;
--un-backdrop-brightness: ;
--un-backdrop-contrast: ;
--un-backdrop-grayscale: ;
--un-backdrop-hue-rotate: ;
--un-backdrop-invert: ;
--un-backdrop-opacity: ;
--un-backdrop-saturate: ;
--un-backdrop-sepia: ;
}
"
`;
exports[`template > produces correct output for loading template 1`] = `
".nuxt-loader-bar {
background: #00dc82;
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 3px;
}
.triangle-loading {
position: absolute;
}
.triangle-loading > path {
fill: none;
stroke-width: 4px;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 128;
stroke-dashoffset: 128;
animation: nuxt-loading-move 3s linear infinite;
}
.nuxt-logo:hover .triangle-loading > path {
animation-play-state: paused;
}
.relative {
position: relative;
}
.inline-block {
display: inline-block;
}
.min-h-screen {
min-height: 100vh;
}
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.items-end {
align-items: flex-end;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.gap-4 {
gap: 1rem;
}
.overflow-hidden {
overflow: hidden;
}
.border {
border-width: 1px;
}
.border-\\[\\#00DC42\\]\\/50 {
border-color: #00dc4280;
}
.group:hover .group-hover\\:border-\\[\\#00DC42\\] {
--un-border-opacity: 1;
border-color: rgb(0 220 66 / var(--un-border-opacity));
}
.rounded {
border-radius: 0.25rem;
}
.bg-\\[\\#00DC42\\]\\/10 {
background-color: #00dc421a;
}
.bg-white {
--un-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.group:hover .group-hover\\:bg-\\[\\#00DC42\\]\\/15 {
background-color: #00dc4226;
}
.px-2\\.5 {
padding-left: 0.625rem;
padding-right: 0.625rem;
}
.py-1\\.5 {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
}
.text-center {
text-align: center;
}
.text-\\[16px\\] {
font-size: 16px;
}
.text-\\[\\#00DC82\\],
.group:hover .group-hover\\:text-\\[\\#00DC82\\] {
--un-text-opacity: 1;
color: rgb(0 220 130 / var(--un-text-opacity));
}
.text-\\[\\#00DC82\\]\\/80 {
color: #00dc82cc;
}
.text-\\[\\#020420\\],
.group:hover .group-hover\\:text-\\[\\#020420\\] {
--un-text-opacity: 1;
color: rgb(2 4 32 / var(--un-text-opacity));
}
.text-\\[\\#020420\\]\\/80 {
color: #020420cc;
}
.font-semibold {
font-weight: 600;
}
.leading-none {
line-height: 1;
}
.font-mono {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
Liberation Mono,
Courier New,
monospace;
}
.font-sans {
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Helvetica Neue,
Arial,
Noto Sans,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
.dark\\:bg-\\[\\#020420\\] {
--un-bg-opacity: 1;
background-color: rgb(2 4 32 / var(--un-bg-opacity));
}
.dark\\:text-gray-200 {
--un-text-opacity: 1;
color: rgb(224 224 224 / var(--un-text-opacity));
}
.dark\\:text-white,
.group:hover .dark\\:group-hover\\:text-white {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
}
"
`;
exports[`template > produces correct output for loading template 2`] = `
"@keyframes nuxt-loading-move {
100% {
stroke-dashoffset: -128;
}
}
@media (prefers-color-scheme: dark) {
html,
body {
color: white;
color-scheme: dark;
}
}
*,
:before,
:after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: var(--un-default-border-color, #e5e7eb);
}
:before,
:after {
--un-content: "";
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family:
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
svg {
display: block;
vertical-align: middle;
}
*,
:before,
:after {
--un-rotate: 0;
--un-rotate-x: 0;
--un-rotate-y: 0;
--un-rotate-z: 0;
--un-scale-x: 1;
--un-scale-y: 1;
--un-scale-z: 1;
--un-skew-x: 0;
--un-skew-y: 0;
--un-translate-x: 0;
--un-translate-y: 0;
--un-translate-z: 0;
--un-pan-x: ;
--un-pan-y: ;
--un-pinch-zoom: ;
--un-scroll-snap-strictness: proximity;
--un-ordinal: ;
--un-slashed-zero: ;
--un-numeric-figure: ;
--un-numeric-spacing: ;
--un-numeric-fraction: ;
--un-border-spacing-x: 0;
--un-border-spacing-y: 0;
--un-ring-offset-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-shadow: 0 0 rgb(0 0 0 / 0);
--un-shadow-inset: ;
--un-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-inset: ;
--un-ring-offset-width: 0px;
--un-ring-offset-color: #fff;
--un-ring-width: 0px;
--un-ring-color: rgb(147 197 253 / 0.5);
--un-blur: ;
--un-brightness: ;
--un-contrast: ;
--un-drop-shadow: ;
--un-grayscale: ;
--un-hue-rotate: ;
--un-invert: ;
--un-saturate: ;
--un-sepia: ;
--un-backdrop-blur: ;
--un-backdrop-brightness: ;
--un-backdrop-contrast: ;
--un-backdrop-grayscale: ;
--un-backdrop-hue-rotate: ;
--un-backdrop-invert: ;
--un-backdrop-opacity: ;
--un-backdrop-saturate: ;
--un-backdrop-sepia: ;
}
"
`;
exports[`template > produces correct output for welcome template 1`] = `
".sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.absolute {
position: absolute;
}
.relative {
position: relative;
}
.right-4 {
right: 1rem;
}
.top-4 {
top: 1rem;
}
.grid {
display: grid;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.mt-1 {
margin-top: 0.25rem;
}
.mt-4 {
margin-top: 1rem;
}
.mt-6 {
margin-top: 1.5rem;
}
.inline-block {
display: inline-block;
}
.size-\\[18px\\] {
width: 18px;
height: 18px;
}
.size-4 {
width: 1rem;
height: 1rem;
}
.size-5,
.group:hover .group-hover\\:size-5 {
width: 1.25rem;
height: 1.25rem;
}
.h-\\[32px\\] {
height: 32px;
}
.h-8 {
height: 2rem;
}
.max-w-\\[980px\\] {
max-width: 980px;
}
.min-h-screen {
min-height: 100vh;
}
.w-\\[32px\\] {
width: 32px;
}
.w-full {
width: 100%;
}
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
.flex-col {
flex-direction: column;
}
.place-content-center {
place-content: center;
}
.items-end {
align-items: flex-end;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.gap-1 {
gap: 0.25rem;
}
.gap-4 {
gap: 1rem;
}
.gap-y-4 {
row-gap: 1rem;
}
.border {
border-width: 1px;
}
.border-\\[\\#00DC42\\]\\/50 {
border-color: #00dc4280;
}
.border-\\[\\#00DC82\\] {
--un-border-opacity: 1;
border-color: rgb(0 220 130 / var(--un-border-opacity));
}
.border-gray-200 {
--un-border-opacity: 1;
border-color: rgb(224 224 224 / var(--un-border-opacity));
}
.border-green-600\\/10 {
border-color: #00bb6a1a;
}
.border-green-600\\/20 {
border-color: #00bb6a33;
}
.hover\\:border-\\[\\#00DC82\\]:hover {
--un-border-opacity: 1;
border-color: rgb(0 220 130 / var(--un-border-opacity));
}
.rounded {
border-radius: 0.25rem;
}
.rounded-lg {
border-radius: 0.5rem;
}
.bg-\\[\\#00DC42\\]\\/10 {
background-color: #00dc421a;
}
.bg-\\[\\#00DC82\\]\\/5 {
background-color: #00dc820d;
}
.bg-gray-50\\/10 {
background-color: #f5f5f51a;
}
.bg-green-50 {
--un-bg-opacity: 1;
background-color: rgb(208 252 222 / var(--un-bg-opacity));
}
.bg-white {
--un-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--un-bg-opacity));
}
.p-1 {
padding: 0.25rem;
}
.p-6 {
padding: 1.5rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.text-\\[12px\\] {
font-size: 12px;
}
.text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-\\[\\#00DC82\\],
.group:hover .group-hover\\:text-\\[\\#00DC82\\] {
--un-text-opacity: 1;
color: rgb(0 220 130 / var(--un-text-opacity));
}
.text-\\[\\#020420\\] {
--un-text-opacity: 1;
color: rgb(2 4 32 / var(--un-text-opacity));
}
.text-\\[\\#020420\\]\\/20 {
color: #02042033;
}
.text-gray-500 {
--un-text-opacity: 1;
color: rgb(117 117 117 / var(--un-text-opacity));
}
.text-gray-700 {
--un-text-opacity: 1;
color: rgb(66 66 66 / var(--un-text-opacity));
}
.text-green-700 {
--un-text-opacity: 1;
color: rgb(0 153 86 / var(--un-text-opacity));
}
.hover\\:text-\\[\\#020420\\]:hover {
--un-text-opacity: 1;
color: rgb(2 4 32 / var(--un-text-opacity));
}
.font-bold {
font-weight: 700;
}
.font-semibold {
font-weight: 600;
}
.leading-none {
line-height: 1;
}
.font-mono {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
Liberation Mono,
Courier New,
monospace;
}
.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.focus-visible\\:ring-2:focus-visible {
--un-ring-width: 2px;
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
var(--un-ring-offset-width) var(--un-ring-offset-color);
--un-ring-shadow: var(--un-ring-inset) 0 0 0
calc(var(--un-ring-width) + var(--un-ring-offset-width))
var(--un-ring-color);
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
var(--un-shadow);
}
.transition-all {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 0.15s;
}
@media (prefers-color-scheme: dark) {
.dark\\:border-\\[\\#00DC82\\]\\/50 {
border-color: #00dc8280;
}
.dark\\:border-\\[\\#00DC82\\]\\/80,
.group:hover .group-hover\\:dark\\:border-\\[\\#00DC82\\]\\/80 {
border-color: #00dc82cc;
}
.dark\\:border-white\\/10 {
border-color: #ffffff1a;
}
.dark\\:border-white\\/20 {
border-color: #fff3;
}
.hover\\:dark\\:border-\\[\\#00DC82\\]:hover {
--un-border-opacity: 1;
border-color: rgb(0 220 130 / var(--un-border-opacity));
}
.dark\\:bg-\\[\\#020420\\] {
--un-bg-opacity: 1;
background-color: rgb(2 4 32 / var(--un-bg-opacity));
}
.dark\\:bg-white\\/5 {
background-color: #ffffff0d;
}
.dark\\:text-\\[\\#00DC82\\] {
--un-text-opacity: 1;
color: rgb(0 220 130 / var(--un-text-opacity));
}
.dark\\:text-gray-200 {
--un-text-opacity: 1;
color: rgb(224 224 224 / var(--un-text-opacity));
}
.dark\\:text-gray-400 {
--un-text-opacity: 1;
color: rgb(158 158 158 / var(--un-text-opacity));
}
.dark\\:text-white {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
.dark\\:text-white\\/40 {
color: #fff6;
}
.dark\\:hover\\:text-white:hover {
--un-text-opacity: 1;
color: rgb(255 255 255 / var(--un-text-opacity));
}
.group:hover .group-hover\\:dark\\:text-gray-100 {
--un-text-opacity: 1;
color: rgb(238 238 238 / var(--un-text-opacity));
}
}
@media (min-width: 640px) {
.sm\\:col-span-2 {
grid-column: span 2 / span 2;
}
.sm\\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sm\\:mb-0 {
margin-bottom: 0;
}
.sm\\:mt-0 {
margin-top: 0;
}
.sm\\:mt-10 {
margin-top: 2.5rem;
}
.sm\\:mt-6 {
margin-top: 1.5rem;
}
.sm\\:h-12 {
height: 3rem;
}
.sm\\:gap-6 {
gap: 1.5rem;
}
.sm\\:px-2\\.5 {
padding-left: 0.625rem;
padding-right: 0.625rem;
}
.sm\\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.sm\\:py-1\\.5 {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
}
.sm\\:text-\\[14px\\] {
font-size: 14px;
}
.sm\\:text-base {
font-size: 1rem;
line-height: 1.5rem;
}
}
@media (min-width: 1024px) {
.lg\\:px-8 {
padding-left: 2rem;
padding-right: 2rem;
}
}
"
`;
exports[`template > produces correct output for welcome template 2`] = `
"*,
:before,
:after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: var(--un-default-border-color, #e5e7eb);
}
:before,
:after {
--un-content: "";
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family:
ui-sans-serif,
system-ui,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
Segoe UI Symbol,
"Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
h1,
h2 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
h1,
h2,
p {
margin: 0;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
svg {
display: block;
vertical-align: middle;
}
*,
:before,
:after {
--un-rotate: 0;
--un-rotate-x: 0;
--un-rotate-y: 0;
--un-rotate-z: 0;
--un-scale-x: 1;
--un-scale-y: 1;
--un-scale-z: 1;
--un-skew-x: 0;
--un-skew-y: 0;
--un-translate-x: 0;
--un-translate-y: 0;
--un-translate-z: 0;
--un-pan-x: ;
--un-pan-y: ;
--un-pinch-zoom: ;
--un-scroll-snap-strictness: proximity;
--un-ordinal: ;
--un-slashed-zero: ;
--un-numeric-figure: ;
--un-numeric-spacing: ;
--un-numeric-fraction: ;
--un-border-spacing-x: 0;
--un-border-spacing-y: 0;
--un-ring-offset-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-shadow: 0 0 rgb(0 0 0 / 0);
--un-shadow-inset: ;
--un-shadow: 0 0 rgb(0 0 0 / 0);
--un-ring-inset: ;
--un-ring-offset-width: 0px;
--un-ring-offset-color: #fff;
--un-ring-width: 0px;
--un-ring-color: rgb(147 197 253 / 0.5);
--un-blur: ;
--un-brightness: ;
--un-contrast: ;
--un-drop-shadow: ;
--un-grayscale: ;
--un-hue-rotate: ;
--un-invert: ;
--un-saturate: ;
--un-sepia: ;
--un-backdrop-blur: ;
--un-backdrop-brightness: ;
--un-backdrop-contrast: ;
--un-backdrop-grayscale: ;
--un-backdrop-hue-rotate: ;
--un-backdrop-invert: ;
--un-backdrop-opacity: ;
--un-backdrop-saturate: ;
--un-backdrop-sepia: ;
}
"
`;