This commit is contained in:
RezHackXYZ 2025-05-11 16:59:40 +05:30
parent bd4a695e74
commit e579802394
No known key found for this signature in database
6 changed files with 26 additions and 4 deletions

7
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,7 @@
{
"tailwindCSS.emmetCompletions": true,
"editor.inlineSuggest.enabled": true,
"editor.quickSuggestions": {
"strings": true
}
}

6
postcss.config.js Normal file
View file

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

View file

@ -1,12 +1,12 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en" style="height: 100%; margin: 0">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover" style="height: 100%; margin: 0">
<div style="display: contents">%sveltekit.body%</div> <div style="display: contents" style="height: 100%; margin: 0">%sveltekit.body%</div>
</body> </body>
</html> </html>

View file

@ -3,4 +3,4 @@
let { children } = $props(); let { children } = $props();
</script> </script>
{@render children()} <div class="h-full bg-black">{@render children()}</div>

View file

@ -0,0 +1 @@
<h1 class="text-red-500 underline text-[100px] font-mono">testing tailwind</h1>

8
tailwind.config.js Normal file
View file

@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte}'],
theme: {
extend: {},
},
plugins: [],
};