From 43e7979191a81cd7ec098640541d6b4d5e11b365 Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:46:08 +0100 Subject: [PATCH 1/8] fix: replace broken TailwindCSS logo url with local file --- assets/img/templ-mark.svg | 19 +++++++++++++++++++ internal/ui/modules/sidebar_right.templ | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 assets/img/templ-mark.svg diff --git a/assets/img/templ-mark.svg b/assets/img/templ-mark.svg new file mode 100644 index 0000000..bfbc630 --- /dev/null +++ b/assets/img/templ-mark.svg @@ -0,0 +1,19 @@ + + + + + + + + + </> TEMPL + + \ No newline at end of file diff --git a/internal/ui/modules/sidebar_right.templ b/internal/ui/modules/sidebar_right.templ index c7f4537..d4222af 100644 --- a/internal/ui/modules/sidebar_right.templ +++ b/internal/ui/modules/sidebar_right.templ @@ -20,7 +20,7 @@ var SidebarRightLinks = []SidebarRightLItem{ Text: "Simplify your JavaScript with a lightweight, powerful framework.", }, { - ImageSrc: "https://tailwindcss.com/_next/static/media/tailwindcss-logotype-white.944c5d0ef628083bb316f9b3d643385c86bcdb3d.svg", + ImageSrc: "/assets/img/tailwindcss-mark.svg", Url: "https://tailwindcss.com", Text: "Create beautiful, responsive designs with ease.", }, From 5fe85a79ab3b1ebf54ca179e5dd3434a07aa51a3 Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:46:31 +0100 Subject: [PATCH 2/8] chore: replace Templ + Alpine.js logo URLs with local files --- assets/img/alpinejs-mark.svg | 11 +++++++++++ assets/img/tailwindcss-mark.svg | 1 + internal/ui/modules/sidebar_right.templ | 5 +++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 assets/img/alpinejs-mark.svg create mode 100644 assets/img/tailwindcss-mark.svg diff --git a/assets/img/alpinejs-mark.svg b/assets/img/alpinejs-mark.svg new file mode 100644 index 0000000..fe8a206 --- /dev/null +++ b/assets/img/alpinejs-mark.svg @@ -0,0 +1,11 @@ + + + Custom Preset 4 Copy 5 + + + + + + + + \ No newline at end of file diff --git a/assets/img/tailwindcss-mark.svg b/assets/img/tailwindcss-mark.svg new file mode 100644 index 0000000..6a9ab49 --- /dev/null +++ b/assets/img/tailwindcss-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/internal/ui/modules/sidebar_right.templ b/internal/ui/modules/sidebar_right.templ index d4222af..7c58f0c 100644 --- a/internal/ui/modules/sidebar_right.templ +++ b/internal/ui/modules/sidebar_right.templ @@ -10,12 +10,12 @@ type SidebarRightLItem struct { var SidebarRightLinks = []SidebarRightLItem{ { - ImageSrc: "https://templ.guide/img/logo.svg", + ImageSrc: "/assets/img/templ-mark.svg", Url: "https://templ.guide", Text: "Elevate your Go projects with type-safe, efficient HTML templating.", }, { - ImageSrc: "https://alpinejs.dev/alpine_long.svg", + ImageSrc: "/assets/img/alpinejs-mark.svg", Url: "https://alpinejs.dev", Text: "Simplify your JavaScript with a lightweight, powerful framework.", }, @@ -58,3 +58,4 @@ templ SidebarRight() { } + From ee903f17fa656f0922213f227ad7093e66ca90ce Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:47:04 +0100 Subject: [PATCH 3/8] docs: make all external link open in a new tab --- internal/ui/pages/how_to_use.templ | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/internal/ui/pages/how_to_use.templ b/internal/ui/pages/how_to_use.templ index 8a556cc..d833af5 100644 --- a/internal/ui/pages/how_to_use.templ +++ b/internal/ui/pages/how_to_use.templ @@ -236,7 +236,7 @@ templ HowToUse() { @components.Code(components.CodeProps{Language: "shell", ShowCopyButton: true}) { { installGo } } -

For installation instructions, visit golang.org/dl.

+

For installation instructions, visit golang.org/dl.

2. Templ (v0.3.819 or later)

@@ -386,7 +386,7 @@ templ HowToUse() {
  • Automated file watching and rebuilding
  • - The Makefile configuration is based on the Templ documentation and adapted for our use case. + The Makefile configuration is based on the Templ documentation and adapted for our use case. While there are many ways to set up your development environment, this configuration provides a solid starting point.

    @@ -441,7 +441,7 @@ templ HowToUse() {

    1. Quickstart Template (Recommended for new projects)

    - For a ready-to-go setup, check out our TemplUI Quickstart template. + For a ready-to-go setup, check out our TemplUI Quickstart template. It includes all requirements and configurations, using TemplUI as a package library by default but can be easily modified to use copied components or a mix of both approaches.

    @@ -525,9 +525,9 @@ templ HowToUse() { For advanced configuration and best practices, refer to the official documentation:

      -
    • Templ Guide - Cache configuration, component patterns, etc.
    • -
    • Tailwind CSS - Custom theming, plugins, optimization
    • -
    • Alpine.js - Advanced interactivity, state management
    • +
    • Templ Guide - Cache configuration, component patterns, etc.
    • +
    • Tailwind CSS - Custom theming, plugins, optimization
    • +
    • Alpine.js - Advanced interactivity, state management

    Note: Our quickstart template includes recommended configurations for production use.

    @@ -545,3 +545,4 @@ templ HowToUse() { } } + From af0f69eeae29cc1a308e78d03947b4224fbae9ef Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:47:36 +0100 Subject: [PATCH 4/8] fix(label): add component code --- internal/ui/pages/label.templ | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/ui/pages/label.templ b/internal/ui/pages/label.templ index 210b5f2..ec4c5d2 100644 --- a/internal/ui/pages/label.templ +++ b/internal/ui/pages/label.templ @@ -16,9 +16,10 @@ templ Label() { Alpine: true, }) { @modules.ExampleWrapper(modules.ExampleWrapperProps{ - SectionName: "", - ShowcaseFile: showcase.CheckboxWithLabel(), - PreviewCodeFile: "checkbox_with_label.templ", + SectionName: "", + ShowcaseFile: showcase.CheckboxWithLabel(), + PreviewCodeFile: "checkbox_with_label.templ", + ComponentCodeFile: "label.templ", })
    @components.Card(components.CardProps{}) { @@ -60,3 +61,4 @@ templ Label() { } } } + From 4df254408c0ba487a4078c38ed239e4cf7380024 Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:49:39 +0100 Subject: [PATCH 5/8] fix(card-gen): replace non-existing SanitizeStyleAttributeValues func --- go.mod | 2 +- go.sum | 6 ++---- pkg/components/card_templ.go | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index df79a72..7cda0b9 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,6 @@ go 1.23.3 require ( github.com/Oudwins/tailwind-merge-go v0.2.0 - github.com/a-h/templ v0.3.819 + github.com/a-h/templ v0.3.833 github.com/joho/godotenv v1.5.1 ) diff --git a/go.sum b/go.sum index ab767ca..234b0bd 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,7 @@ github.com/Oudwins/tailwind-merge-go v0.2.0 h1:rtVHgYmLwwae4P+K6//ceRuUdyz3Bny6fo4664fOEmo= github.com/Oudwins/tailwind-merge-go v0.2.0/go.mod h1:kkZodgOPvZQ8f7SIrlWkG/w1g9JTbtnptnePIh3V72U= -github.com/a-h/templ v0.2.793 h1:Io+/ocnfGWYO4VHdR0zBbf39PQlnzVCVVD+wEEs6/qY= -github.com/a-h/templ v0.2.793/go.mod h1:lq48JXoUvuQrU0VThrK31yFwdRjTCnIE5bcPCM9IP1w= -github.com/a-h/templ v0.3.819 h1:KDJ5jTFN15FyJnmSmo2gNirIqt7hfvBD2VXVDTySckM= -github.com/a-h/templ v0.3.819/go.mod h1:iDJKJktpttVKdWoTkRNNLcllRI+BlpopJc+8au3gOUo= +github.com/a-h/templ v0.3.833 h1:L/KOk/0VvVTBegtE0fp2RJQiBm7/52Zxv5fqlEHiQUU= +github.com/a-h/templ v0.3.833/go.mod h1:cAu4AiZhtJfBjMY0HASlyzvkrtjnHWPeEsyGK2YYmfk= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= diff --git a/pkg/components/card_templ.go b/pkg/components/card_templ.go index cc46abf..4f76d16 100644 --- a/pkg/components/card_templ.go +++ b/pkg/components/card_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -174,7 +174,7 @@ func CardImage(props CardImageProps) templ.Component { return templ_7745c5c3_Err } var templ_7745c5c3_Var7 string - templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs("aspect-ratio: " + props.AspectRatio) + templ_7745c5c3_Var7, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues("aspect-ratio: " + props.AspectRatio) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `pkg/components/card.templ`, Line: 70, Col: 47} } From af43bb374a140531b11bc50f1f14cab3aca99f8c Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:50:10 +0100 Subject: [PATCH 6/8] chore(gen): bump Templ version from 0.3.819 to 0.3.833 --- pkg/components/accordion_templ.go | 2 +- pkg/components/alert_templ.go | 2 +- pkg/components/avatar_templ.go | 2 +- pkg/components/badge_templ.go | 2 +- pkg/components/button_templ.go | 2 +- pkg/components/checkbox_templ.go | 2 +- pkg/components/code_templ.go | 2 +- pkg/components/datepicker_templ.go | 2 +- pkg/components/dropdown_menu_templ.go | 2 +- pkg/components/form_templ.go | 2 +- pkg/components/input_templ.go | 2 +- pkg/components/label_templ.go | 2 +- pkg/components/modal_templ.go | 2 +- pkg/components/radio_templ.go | 2 +- pkg/components/select_templ.go | 2 +- pkg/components/sheet_templ.go | 2 +- pkg/components/slider_templ.go | 2 +- pkg/components/tabs_templ.go | 2 +- pkg/components/textarea_templ.go | 2 +- pkg/components/timepicker_templ.go | 2 +- pkg/components/toast_templ.go | 2 +- pkg/components/toggle_templ.go | 2 +- pkg/components/tooltip_templ.go | 2 +- pkg/helpers/helpers_templ.go | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/pkg/components/accordion_templ.go b/pkg/components/accordion_templ.go index 520bea0..33e327d 100644 --- a/pkg/components/accordion_templ.go +++ b/pkg/components/accordion_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/alert_templ.go b/pkg/components/alert_templ.go index 5e0267f..afa7212 100644 --- a/pkg/components/alert_templ.go +++ b/pkg/components/alert_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/avatar_templ.go b/pkg/components/avatar_templ.go index a01050c..b14f581 100644 --- a/pkg/components/avatar_templ.go +++ b/pkg/components/avatar_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/badge_templ.go b/pkg/components/badge_templ.go index 2332a05..8ccc5a3 100644 --- a/pkg/components/badge_templ.go +++ b/pkg/components/badge_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/button_templ.go b/pkg/components/button_templ.go index 0a675ed..bbe19c8 100644 --- a/pkg/components/button_templ.go +++ b/pkg/components/button_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/checkbox_templ.go b/pkg/components/checkbox_templ.go index f1d5242..c848640 100644 --- a/pkg/components/checkbox_templ.go +++ b/pkg/components/checkbox_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/code_templ.go b/pkg/components/code_templ.go index bd03e76..422755d 100644 --- a/pkg/components/code_templ.go +++ b/pkg/components/code_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/datepicker_templ.go b/pkg/components/datepicker_templ.go index 1113d3a..f2d9bda 100644 --- a/pkg/components/datepicker_templ.go +++ b/pkg/components/datepicker_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/dropdown_menu_templ.go b/pkg/components/dropdown_menu_templ.go index 0eab622..afbacd4 100644 --- a/pkg/components/dropdown_menu_templ.go +++ b/pkg/components/dropdown_menu_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/form_templ.go b/pkg/components/form_templ.go index fc0cfd8..93270eb 100644 --- a/pkg/components/form_templ.go +++ b/pkg/components/form_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/input_templ.go b/pkg/components/input_templ.go index af7a50f..059b0e8 100644 --- a/pkg/components/input_templ.go +++ b/pkg/components/input_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/label_templ.go b/pkg/components/label_templ.go index f1b6d01..faeab81 100644 --- a/pkg/components/label_templ.go +++ b/pkg/components/label_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/modal_templ.go b/pkg/components/modal_templ.go index a66b6f4..ec794ee 100644 --- a/pkg/components/modal_templ.go +++ b/pkg/components/modal_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/radio_templ.go b/pkg/components/radio_templ.go index 4fc9e93..8d8e219 100644 --- a/pkg/components/radio_templ.go +++ b/pkg/components/radio_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/select_templ.go b/pkg/components/select_templ.go index 762d9ec..163e95a 100644 --- a/pkg/components/select_templ.go +++ b/pkg/components/select_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/sheet_templ.go b/pkg/components/sheet_templ.go index 6fe5a2f..482b12f 100644 --- a/pkg/components/sheet_templ.go +++ b/pkg/components/sheet_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/slider_templ.go b/pkg/components/slider_templ.go index d652317..02d650f 100644 --- a/pkg/components/slider_templ.go +++ b/pkg/components/slider_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/tabs_templ.go b/pkg/components/tabs_templ.go index 1c18623..a52280b 100644 --- a/pkg/components/tabs_templ.go +++ b/pkg/components/tabs_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/textarea_templ.go b/pkg/components/textarea_templ.go index c82486a..e8377ad 100644 --- a/pkg/components/textarea_templ.go +++ b/pkg/components/textarea_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/timepicker_templ.go b/pkg/components/timepicker_templ.go index 71767d7..84fc234 100644 --- a/pkg/components/timepicker_templ.go +++ b/pkg/components/timepicker_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/toast_templ.go b/pkg/components/toast_templ.go index cd8277d..fbd53df 100644 --- a/pkg/components/toast_templ.go +++ b/pkg/components/toast_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/toggle_templ.go b/pkg/components/toggle_templ.go index 3239331..1a324cf 100644 --- a/pkg/components/toggle_templ.go +++ b/pkg/components/toggle_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/components/tooltip_templ.go b/pkg/components/tooltip_templ.go index c610ec0..704bb9b 100644 --- a/pkg/components/tooltip_templ.go +++ b/pkg/components/tooltip_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package components //lint:file-ignore SA4006 This context is only used if a nested component is present. diff --git a/pkg/helpers/helpers_templ.go b/pkg/helpers/helpers_templ.go index a40908c..f37c8b9 100644 --- a/pkg/helpers/helpers_templ.go +++ b/pkg/helpers/helpers_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.819 +// templ: version: v0.3.833 package helpers //lint:file-ignore SA4006 This context is only used if a nested component is present. From d93484cb0abec3a8be0d34dfdba87aca3ac39811 Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:50:25 +0100 Subject: [PATCH 7/8] docs: bump required Templ version --- internal/ui/pages/how_to_use.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/pages/how_to_use.templ b/internal/ui/pages/how_to_use.templ index d833af5..ab73226 100644 --- a/internal/ui/pages/how_to_use.templ +++ b/internal/ui/pages/how_to_use.templ @@ -239,7 +239,7 @@ templ HowToUse() {

    For installation instructions, visit golang.org/dl.

    -

    2. Templ (v0.3.819 or later)

    +

    2. Templ (v0.3.833 or later)

    Install the Templ CLI:

    @components.Code(components.CodeProps{Language: "shell", ShowCopyButton: true}) { { installTempl } From 712eea3237ffd3a59336e34c0478f0d8f131abb9 Mon Sep 17 00:00:00 2001 From: Arthur Wallendorff Date: Fri, 7 Feb 2025 21:57:18 +0100 Subject: [PATCH 8/8] fix(docs): remove orphan opening brackets in TailwindCSS example config --- internal/ui/pages/how_to_use.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/pages/how_to_use.templ b/internal/ui/pages/how_to_use.templ index ab73226..72ec904 100644 --- a/internal/ui/pages/how_to_use.templ +++ b/internal/ui/pages/how_to_use.templ @@ -54,7 +54,7 @@ tailwind: dev: make -j3 templ server tailwind` -var tailwindConfig = `{/** @type {import('tailwindcss').Config} */ +var tailwindConfig = `/** @type {import('tailwindcss').Config} */ const config = { darkMode: ["class"], content: ["./**/*.html", "./**/*.templ", "./**/*.go"],