Setup tailwindcss and daisyui
This commit is contained in:
parent
cef077e986
commit
875be278dc
7 changed files with 1445 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
||||||
.qlot
|
.qlot
|
||||||
|
node_modules
|
||||||
|
static/tailwind.css
|
||||||
|
|
1
.node-version
Normal file
1
.node-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
20.9.0
|
1418
package-lock.json
generated
Normal file
1418
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
6
package.json
Normal file
6
package.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"daisyui": "^4.6.1",
|
||||||
|
"tailwindcss": "^3.4.1"
|
||||||
|
}
|
||||||
|
}
|
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
(mk:deftag page ()
|
(mk:deftag page ()
|
||||||
<ui:layout>
|
<ui:layout>
|
||||||
<h1>Hello HTMX from Common Lisp!</h1>
|
<section class="h-full flex justify-center items-center">
|
||||||
|
<h1 class="text-4xl text-amber-500" >Hello HTMX from Common Lisp!</h1>
|
||||||
|
</section>
|
||||||
</ui:layout>)
|
</ui:layout>)
|
||||||
|
|
||||||
;;; Controller
|
;;; Controller
|
||||||
|
|
|
@ -11,6 +11,12 @@
|
||||||
<head>
|
<head>
|
||||||
<title>skyizwhite.dev</title>
|
<title>skyizwhite.dev</title>
|
||||||
<script src="/static/htmx.min.js" ></script>
|
<script src="/static/htmx.min.js" ></script>
|
||||||
|
<link href="/static/tailwind.css" rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>,@(progn children)</body>
|
<body class="h-[100svh]" >,@(progn children)</body>
|
||||||
</html>)
|
</html>)
|
||||||
|
|
8
tailwind.config.js
Normal file
8
tailwind.config.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
export default {
|
||||||
|
content: [
|
||||||
|
"./src/routes/**/*.lisp",
|
||||||
|
"./src/ui/**/*.lisp"
|
||||||
|
],
|
||||||
|
plugins: [require("daisyui")],
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue