Skip to main content
Module

x/lume/tests/__snapshots__/windi_css.test.ts.snap

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
export const snapshot = {};
snapshot[`Windi CSS plugin 1`] = `5`;
snapshot[`Windi CSS plugin 2`] = `{ formats: [ { asset: true, engines: undefined, ext: ".windi.css", pageLoader: [AsyncFunction: text], }, { engines: 1, ext: ".tmpl.ts", pageLoader: [AsyncFunction: module], }, { engines: 1, ext: ".tmpl.js", pageLoader: [AsyncFunction: module], }, { engines: undefined, ext: ".tmpl.json", pageLoader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: undefined, ext: ".json", }, { engines: 1, ext: ".md", pageLoader: [AsyncFunction: text], }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".njk", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yaml", pageLoader: [AsyncFunction: yaml], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yml", pageLoader: [AsyncFunction: yaml], }, ],}`;
snapshot[`Windi CSS plugin 3`] = `[]`;
snapshot[`Windi CSS plugin 4`] = `{ content: \`<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Windi demo</title> <link rel="stylesheet" href="/windi.css"><style>*, ::before, ::after { -webkit-box-sizing: border-box; box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb;}* { --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59, 130, 246, 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000;}:root { -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;}:-moz-focusring { outline: 1px dotted ButtonText;}:-moz-ui-invalid { box-shadow: none;}::moz-focus-inner { border-style: none; padding: 0;}::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto;}::-webkit-search-decoration { -webkit-appearance: none;}::-webkit-file-upload-button { -webkit-appearance: button; font: inherit;}[type='search'] { -webkit-appearance: textfield; outline-offset: -2px;}abbr[title] { -webkit-text-decoration: underline dotted; text-decoration: underline dotted;}a { color: inherit; text-decoration: inherit;}body { margin: 0; font-family: inherit; line-height: inherit;}html { -webkit-text-size-adjust: 100%; 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"; line-height: 1.5;}p { margin: 0;}.btn-green { --tw-bg-opacity: 1; background-color: rgba(16, 185, 129, var(--tw-bg-opacity)); --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity));}.btn-green:hover { --tw-bg-opacity: 1; background-color: rgba(4, 120, 87, var(--tw-bg-opacity));}.bg-purple-500 { --tw-bg-opacity: 1; background-color: rgba(139, 92, 246, var(--tw-bg-opacity));}</style></head><body> <div class="bg-purple-500"> <p>This is page 1</p> <a href="page2.html" class="btn-green">Go to page 2</a></div></body></html>\`, data: { content: '<div class="bg-purple-500"> <p>This is page 1</p> <a href="page2.html" class="btn-green">Go to page 2</a></div>', date: 1970-01-01T00:00:00.000Z, layout: "layout.njk", page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/", }, dest: { ext: ".html", path: "/index", }, src: { ext: ".njk", path: "/index", remote: undefined, },}`;
snapshot[`Windi CSS plugin 5`] = `{ content: \`<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Windi demo</title> <link rel="stylesheet" href="/windi.css"><style>*, ::before, ::after { -webkit-box-sizing: border-box; box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb;}* { --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59, 130, 246, 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000;}:root { -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;}:-moz-focusring { outline: 1px dotted ButtonText;}:-moz-ui-invalid { box-shadow: none;}::moz-focus-inner { border-style: none; padding: 0;}::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto;}::-webkit-search-decoration { -webkit-appearance: none;}::-webkit-file-upload-button { -webkit-appearance: button; font: inherit;}[type='search'] { -webkit-appearance: textfield; outline-offset: -2px;}abbr[title] { -webkit-text-decoration: underline dotted; text-decoration: underline dotted;}body { margin: 0; font-family: inherit; line-height: inherit;}html { -webkit-text-size-adjust: 100%; 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"; line-height: 1.5;}p { margin: 0;}.text-sky-100 { --tw-text-opacity: 1; color: rgba(224, 242, 254, var(--tw-text-opacity));}</style></head><body> <p class="text-sky-100">This is page 1</p></body></html>\`, data: { content: undefined, date: 1970-01-01T00:00:00.000Z, layout: "layout.njk", page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/page/1.html", }, dest: { ext: ".html", path: "/page/1", }, src: { ext: ".tmpl.js", path: "/multi[0]", remote: undefined, },}`;
snapshot[`Windi CSS plugin 6`] = `{ content: \`<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Windi demo</title> <link rel="stylesheet" href="/windi.css"><style>*, ::before, ::after { -webkit-box-sizing: border-box; box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb;}* { --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59, 130, 246, 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000;}:root { -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;}:-moz-focusring { outline: 1px dotted ButtonText;}:-moz-ui-invalid { box-shadow: none;}::moz-focus-inner { border-style: none; padding: 0;}::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto;}::-webkit-search-decoration { -webkit-appearance: none;}::-webkit-file-upload-button { -webkit-appearance: button; font: inherit;}[type='search'] { -webkit-appearance: textfield; outline-offset: -2px;}abbr[title] { -webkit-text-decoration: underline dotted; text-decoration: underline dotted;}body { margin: 0; font-family: inherit; line-height: inherit;}html { -webkit-text-size-adjust: 100%; 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"; line-height: 1.5;}p { margin: 0;}.text-sky-200 { --tw-text-opacity: 1; color: rgba(186, 230, 253, var(--tw-text-opacity));}</style></head><body> <p class="text-sky-200">This is page 2</p></body></html>\`, data: { content: undefined, date: 1970-01-01T00:00:00.000Z, layout: "layout.njk", page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/page/2.html", }, dest: { ext: ".html", path: "/page/2", }, src: { ext: ".tmpl.js", path: "/multi[1]", remote: undefined, },}`;
snapshot[`Windi CSS plugin 7`] = `{ content: \`<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Windi demo</title> <link rel="stylesheet" href="/windi.css"><style>*, ::before, ::after { -webkit-box-sizing: border-box; box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb;}* { --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59, 130, 246, 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000;}:root { -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;}:-moz-focusring { outline: 1px dotted ButtonText;}:-moz-ui-invalid { box-shadow: none;}::moz-focus-inner { border-style: none; padding: 0;}::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto;}::-webkit-search-decoration { -webkit-appearance: none;}::-webkit-file-upload-button { -webkit-appearance: button; font: inherit;}[type='search'] { -webkit-appearance: textfield; outline-offset: -2px;}abbr[title] { -webkit-text-decoration: underline dotted; text-decoration: underline dotted;}body { margin: 0; font-family: inherit; line-height: inherit;}html { -webkit-text-size-adjust: 100%; 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"; line-height: 1.5;}p { margin: 0;}.bg-purple-600 { --tw-bg-opacity: 1; background-color: rgba(124, 58, 237, var(--tw-bg-opacity));}</style></head><body> <div class="bg-purple-600"> <p>This is page 2</p></div></body></html>\`, data: { content: '<div class="bg-purple-600"> <p>This is page 2</p></div>', date: 1970-01-01T00:00:00.000Z, layout: "layout.njk", page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/page2/", }, dest: { ext: ".html", path: "/page2/index", }, src: { ext: ".njk", path: "/page2", remote: undefined, },}`;
snapshot[`Windi CSS plugin 8`] = `{ content: ".btn { border-radius: 0.25rem; font-weight: 700; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; padding-right: 1rem;}.btn-blue { --tw-bg-opacity: 1; background-color: rgba(59, 130, 246, var(--tw-bg-opacity)); --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity)); padding-top: 1rem;}.btn-blue:hover { --tw-bg-opacity: 1; background-color: rgba(29, 78, 216, var(--tw-bg-opacity));}", data: { content: ".btn { @apply font-bold py-2 px-4 rounded;}.btn-blue { @apply bg-blue-500 hover:bg-blue-700 text-white; padding-top: 1rem;}", date: 1970-01-01T00:00:00.000Z, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/styles.css", }, dest: { ext: ".css", path: "/styles", }, src: { ext: ".windi.css", path: "/styles", remote: undefined, },}`;