Skip to content

Commit

Permalink
feat: start minimizing tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
blaberg committed Dec 13, 2024
1 parent b8e0439 commit fa8b7ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/generator/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["../../public/**/*.html"],
content: ["./cmd/generator/**/*.html"],
theme: {
extend: {},
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/generator/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="{{.CSSFile}}" rel="stylesheet">
<title>{{.Title}}</title>
</head>
<body>
<body class="p-4">
{{template "content" .}}
</body>
</html>
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="./output.css" rel="stylesheet">
<title>John&#39;s Recipes</title>
</head>
<body>
<body class="p-4">
<a href="my-first-recipe">my-first-recipe</a><a href="my-second-recipe">my-second-recipe</a>
</body>
</html>
2 changes: 1 addition & 1 deletion public/my-first-recipe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="../output.css" rel="stylesheet">
<title>My First Recipe</title>
</head>
<body>
<body class="p-4">
<h1 class="text-xl">My First Recipe</h1>
<h1>My first recipe</h1>
</body>
Expand Down
2 changes: 1 addition & 1 deletion public/my-second-recipe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="../output.css" rel="stylesheet">
<title>My Second Recipe</title>
</head>
<body>
<body class="p-4">
<h1 class="text-xl">My Second Recipe</h1>
<h1>My Second recipe</h1>
</body>
Expand Down

0 comments on commit fa8b7ce

Please sign in to comment.