Setup tailwindcss and daisyui

This commit is contained in:
Akira Tempaku 2024-02-02 01:51:27 +09:00
commit 875be278dc
7 changed files with 1445 additions and 2 deletions

View file

@ -13,7 +13,9 @@
(mk:deftag page ()
<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>)
;;; Controller

View file

@ -11,6 +11,12 @@
<head>
<title>skyizwhite.dev</title>
<script src="/static/htmx.min.js" ></script>
<link href="/static/tailwind.css" rel="stylesheet">
<style>
@tailwind base;
@tailwind components;
@tailwind utilities;
</style>
</head>
<body>,@(progn children)</body>
<body class="h-[100svh]" >,@(progn children)</body>
</html>)