mirror of
https://github.com/CompeyDev/seal.devcomp.xyz.git
synced 2024-12-12 04:40:41 +00:00
fix: tailwind configs for trunk build
This commit is contained in:
parent
463a2d6c00
commit
7b7536d702
4 changed files with 16 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
|||
# production
|
||||
/dist
|
||||
/styles/tailwind.css
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Trunk | Yew | Tailwind</title>
|
||||
<title>seal.devcomp.xyz</title>
|
||||
|
||||
<link data-trunk rel="tailwind-css" href="styles/tailwind.css"/>
|
||||
<link data-trunk rel="css" href="styles/globals.css"/>
|
||||
|
|
3
styles/tailwind.css
Normal file
3
styles/tailwind.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
|
@ -1,15 +1,15 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
purge: {
|
||||
mode: "all",
|
||||
content: [
|
||||
"./src/**/*.rs",
|
||||
"./src/**/*.html",
|
||||
"./public/index.html",
|
||||
"./styles/*.css",
|
||||
],
|
||||
mode: "jit",
|
||||
content: {
|
||||
files: ["src/**/*.rs", "src/**/*.html", "index.html", "styles/*.css"]
|
||||
},
|
||||
darkMode: "media", // 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
theme: {},
|
||||
variants: {},
|
||||
plugins: [],
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue