diff --git a/Makefile b/Makefile index ac1698a..96a5a1e 100644 --- a/Makefile +++ b/Makefile @@ -12,24 +12,17 @@ server: --build.stop_on_error "false" \ --misc.clean_on_exit true -tailwind: +tailwind-app: npx tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch +tailwind-goilerplate: + npx tailwindcss -c ./tailwind.config.lib.js -i ./assets/css/input.css -o ./pkg/styles/goilerplate.css --watch + dev: - make -j3 templ server tailwind + make -j4 templ server tailwind-app tailwind-goilerplate debug: - make -j2 templ tailwind + make -j3 templ tailwind-app tailwind-goilerplate -# Package Tools generate-icons: go run cmd/icongen/main.go - -generate-lib: - templ generate ./pkg/... - -generate-lib-css: - npx tailwindcss -c ./tailwind.config.lib.js -i ./assets/css/input.css -o ./pkg/styles/goilerplate.css - -update-package: generate-lib-css generate-lib - @echo "Package updated successfully" \ No newline at end of file diff --git a/pkg/styles/goilerplate.css b/pkg/styles/goilerplate.css index ec2b1da..e31f2e8 100644 --- a/pkg/styles/goilerplate.css +++ b/pkg/styles/goilerplate.css @@ -719,6 +719,10 @@ body { margin-left: 0.25rem; } +.ml-2 { + margin-left: 0.5rem; +} + .ml-auto { margin-left: auto; } @@ -791,6 +795,10 @@ body { height: 4rem; } +.h-4 { + height: 1rem; +} + .h-5 { height: 1.25rem; } @@ -835,6 +843,10 @@ body { width: 75%; } +.w-4 { + width: 1rem; +} + .w-56 { width: 14rem; } @@ -875,6 +887,10 @@ body { flex-shrink: 1; } +.shrink-0 { + flex-shrink: 0; +} + .-translate-x-full { --tw-translate-x: -100%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); @@ -1045,6 +1061,10 @@ body { border-radius: calc(var(--radius) - 2px); } +.rounded-sm { + border-radius: calc(var(--radius) - 4px); +} + .border { border-width: 1px; } @@ -1094,6 +1114,11 @@ body { border-color: hsl(var(--input) / var(--tw-border-opacity)); } +.border-primary { + --tw-border-opacity: 1; + border-color: hsl(var(--primary) / var(--tw-border-opacity)); +} + .border-transparent { border-color: transparent; } @@ -1175,11 +1200,6 @@ body { padding: 1.5rem; } -.px-0 { - padding-left: 0px; - padding-right: 0px; -} - .px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; @@ -1676,6 +1696,24 @@ body { opacity: 1; } +.peer:disabled ~ .peer-disabled\:cursor-not-allowed { + cursor: not-allowed; +} + +.peer:disabled ~ .peer-disabled\:opacity-70 { + opacity: 0.7; +} + +.data-\[state\=checked\]\:bg-primary[data-state="checked"] { + --tw-bg-opacity: 1; + background-color: hsl(var(--primary) / var(--tw-bg-opacity)); +} + +.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] { + --tw-text-opacity: 1; + color: hsl(var(--primary-foreground) / var(--tw-text-opacity)); +} + .dark\:text-gray-200:is(.dark *) { --tw-text-opacity: 1; color: rgb(229 231 235 / var(--tw-text-opacity));