From fea390440dea0d1efe46dc8e5b9925dbb11a9aa6 Mon Sep 17 00:00:00 2001 From: amendelsohn Date: Tue, 17 Oct 2023 17:13:24 -0700 Subject: [PATCH 01/13] updated button styles --- .../src/components/button/Button.module.css | 14 +++++++-- .../src/components/button/Button.stories.tsx | 30 ------------------- 2 files changed, 12 insertions(+), 32 deletions(-) diff --git a/packages/harmony/src/components/button/Button.module.css b/packages/harmony/src/components/button/Button.module.css index 7b294813e58..ad54af1e561 100644 --- a/packages/harmony/src/components/button/Button.module.css +++ b/packages/harmony/src/components/button/Button.module.css @@ -117,6 +117,7 @@ --button-color: var(--harmony-n-300); --text-color: var(--harmony-text-default); background: transparent; + border-color: var(--harmony-border-strong); box-shadow: none; } .secondary:hover { @@ -138,15 +139,24 @@ /* Tertiary */ .tertiary { - --button-color: var(--harmony-n-300); --text-color: var(--harmony-text-default); - background: var(--harmony-static-white); + background: #FFFFFF; + opacity: 0.85; + backdrop-filter: blur(6px); + border-color: var(--harmony-border-default); } .tertiary:hover { box-shadow: var(--harmony-shadow-mid); + background: var(--harmony-static-white); + border-color: var(--harmony-border-strong); + opacity: 1; + backdrop-filter: none; } .tertiary:active { background-color: var(--harmony-n-50); + border-color: var(--harmony-border-strong); + opacity: 1; + backdrop-filter: none; box-shadow: none; } diff --git a/packages/harmony/src/components/button/Button.stories.tsx b/packages/harmony/src/components/button/Button.stories.tsx index 191a7b56006..a9aa0f2b56b 100644 --- a/packages/harmony/src/components/button/Button.stories.tsx +++ b/packages/harmony/src/components/button/Button.stories.tsx @@ -1,13 +1,9 @@ import type { Meta, StoryObj } from '@storybook/react' -import * as Icons from '../typography/Icons' - import { Button } from './Button' import { ButtonProps, ButtonSize, ButtonType } from './types' const baseProps: ButtonProps = { - iconLeft: Icons.IconCampfire, - iconRight: Icons.IconCampfire, text: 'Click Me' } @@ -34,32 +30,6 @@ const meta: Meta = {