From 4309b4d4bb86e952923b0eb109371d369332b57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Pl=C3=B6hn?= Date: Mon, 15 Sep 2025 17:18:50 +0200 Subject: [PATCH 1/2] feat(blocks): added prose to base blocks --- site/snippets/blocks/heading.php | 5 +++++ site/snippets/blocks/list.php | 5 +++++ site/snippets/blocks/markdown.php | 5 +++++ site/snippets/blocks/quote.php | 11 +++++++++++ site/snippets/blocks/text.php | 5 +++++ 5 files changed, 31 insertions(+) create mode 100644 site/snippets/blocks/heading.php create mode 100644 site/snippets/blocks/list.php create mode 100644 site/snippets/blocks/markdown.php create mode 100644 site/snippets/blocks/quote.php create mode 100644 site/snippets/blocks/text.php diff --git a/site/snippets/blocks/heading.php b/site/snippets/blocks/heading.php new file mode 100644 index 0000000..fb22ef0 --- /dev/null +++ b/site/snippets/blocks/heading.php @@ -0,0 +1,5 @@ + +
+<level()->or('h2') ?>>text() ?>> +
\ No newline at end of file diff --git a/site/snippets/blocks/list.php b/site/snippets/blocks/list.php new file mode 100644 index 0000000..85e1c2c --- /dev/null +++ b/site/snippets/blocks/list.php @@ -0,0 +1,5 @@ + +
+text(); ?> +
\ No newline at end of file diff --git a/site/snippets/blocks/markdown.php b/site/snippets/blocks/markdown.php new file mode 100644 index 0000000..7e60268 --- /dev/null +++ b/site/snippets/blocks/markdown.php @@ -0,0 +1,5 @@ + +
+text()->kt(); ?> +
\ No newline at end of file diff --git a/site/snippets/blocks/quote.php b/site/snippets/blocks/quote.php new file mode 100644 index 0000000..5c00063 --- /dev/null +++ b/site/snippets/blocks/quote.php @@ -0,0 +1,11 @@ + +
+
+ text() ?> + citation()->isNotEmpty()): ?> +
+ citation() ?> +
+ +
+
\ No newline at end of file diff --git a/site/snippets/blocks/text.php b/site/snippets/blocks/text.php new file mode 100644 index 0000000..73317a5 --- /dev/null +++ b/site/snippets/blocks/text.php @@ -0,0 +1,5 @@ + +
+text(); ?> +
From be3ad68b25412edfc0fa3e17d519453edbd6b272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Pl=C3=B6hn?= Date: Mon, 15 Sep 2025 17:19:05 +0200 Subject: [PATCH 2/2] feat(tailwind): added forms plugin --- package.json | 1 + src/css/tailwind.css | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index 9110cca..5ffe04e 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@hotwired/stimulus": "^3.2.2", "@hotwired/stimulus-webpack-helpers": "^1.0.1", "@hotwired/turbo": "^8.0.13", + "@tailwindcss/forms": "^0.5.10", "@tailwindcss/typography": "^0.5.16", "concurrently": "^9.2.1", "tailwindcss": "^4.1.12" diff --git a/src/css/tailwind.css b/src/css/tailwind.css index 3571db7..c2fa746 100644 --- a/src/css/tailwind.css +++ b/src/css/tailwind.css @@ -1,2 +1,5 @@ @import "tailwindcss"; @plugin "@tailwindcss/typography"; +@plugin "@tailwindcss/forms"; + +@source inline('{sm:,md:,lg:,xl:,}col-span-{1,2,3,4,5,6,7,8,9,10,11,12}');