From 9f1e8b8c7df373f4e7594549598c3bbce6671f48 Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:21:57 +0200 Subject: [PATCH] feat(button): add ability to apply iati-button styles to elements --- src/scss/components/button/_button.scss | 1 + src/scss/components/button/button.stories.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/scss/components/button/_button.scss b/src/scss/components/button/_button.scss index eeeca24..1b98acc 100644 --- a/src/scss/components/button/_button.scss +++ b/src/scss/components/button/_button.scss @@ -17,6 +17,7 @@ padding: 0.7em; font-weight: 600; transition: all 0.2s ease-in-out; + text-decoration: none; &:hover { background-color: $color-teal-80; diff --git a/src/scss/components/button/button.stories.ts b/src/scss/components/button/button.stories.ts index bfafab1..5edee4c 100644 --- a/src/scss/components/button/button.stories.ts +++ b/src/scss/components/button/button.stories.ts @@ -13,6 +13,10 @@ export const Default: Story = { render: () => html``, }; +export const Link: Story = { + render: () => html`Button`, +}; + export const Light: Story = { parameters: { backgrounds: {