From be7be0e16aa31cc1b45b3c0e52767bac563b4139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sun, 17 Jan 2021 20:22:52 +0100 Subject: [PATCH] Add link buttons to demo for comparing styles --- snikket_web/templates/demo.html | 81 +++++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 18 deletions(-) diff --git a/snikket_web/templates/demo.html b/snikket_web/templates/demo.html index bd8c4db..eda56b5 100644 --- a/snikket_web/templates/demo.html +++ b/snikket_web/templates/demo.html @@ -166,24 +166,69 @@ -

The following demonstrate the different button styles. First normal buttons:

-
- - - -
-

Then the accentuated versions:

-
- - - -
-

And finally, the Danger Zone:

-
- - - -
+
+

The following demonstrate the different button styles. First normal buttons:

+
+ {#- -#} + + {#- -#} + + {#- -#} + + {#- -#} +
+

Then the accentuated versions:

+
+ {#- -#} + + {#- -#} + + {#- -#} + + {#- -#} +
+

And finally, the Danger Zone:

+
+ {#- -#} + + {#- -#} + + {#- -#} + + {#- -#} +
+
+

The following demonstrate the different button styles. First normal buttons:

+
+ {#- -#} + Tertiary + {#- -#} + Secondary + {#- -#} + Primary + {#- -#} +
+

Then the accentuated versions:

+
+ {#- -#} + Tertiary + {#- -#} + Secondary + {#- -#} + Primary + {#- -#} +
+

And finally, the Danger Zone:

+
+ {#- -#} + Tertiary + {#- -#} + Secondary + {#- -#} + Primary + {#- -#} +
+
{# {% for style in ["primary", "secondary", "tertiary"] %}

The following demonstrate the {{ style }} button styles: