summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/shortcodes/button.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
commite77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch)
treef0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/layouts/shortcodes/button.html
parent4b355837824ac2422d371acef790f0f4249255c7 (diff)
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/button.html')
-rw-r--r--themes/blowfish/layouts/shortcodes/button.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/shortcodes/button.html b/themes/blowfish/layouts/shortcodes/button.html
new file mode 100644
index 0000000..c6a4c36
--- /dev/null
+++ b/themes/blowfish/layouts/shortcodes/button.html
@@ -0,0 +1,8 @@
+<a
+ class="!rounded-md bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
+ {{ with .Get "href" }}href="{{ . }}"{{ end }}
+ {{ with .Get "target" }}target="{{ . }}"{{ end }}
+ role="button"
+>
+ {{ .Inner }}
+</a>