Skip to content

Commit

Permalink
Merge pull request #36 from fortanix/fix/add-toast-notify-export-miss…
Browse files Browse the repository at this point in the history
…ing-variables

Add missing exports and scss color variables
  • Loading branch information
mkrause authored Nov 20, 2024
2 parents 6a11fe2 + 338550b commit 0c0b3db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import '../src/styling/main.scss';
* Components
*/

// Typography
export { H1, H2, H3, H4, H5, H6 } from '../src/typography/Heading/Heading.tsx';

// Actions
export { Button } from '../src/components/actions/Button/Button.tsx';
export { ButtonAsLink } from '../src/components/actions/ButtonAsLink/ButtonAsLink.tsx';
Expand Down Expand Up @@ -59,6 +62,7 @@ export { Modal } from '../src/components/overlays/Modal/Modal.tsx';
export { type ToastContent, ToastProvider, ToastMessage } from '../src/components/overlays/Toast/Toast.tsx';
export { Tooltip } from '../src/components/overlays/Tooltip/Tooltip.tsx';
export { TooltipProvider } from '../src/components/overlays/Tooltip/TooltipProvider.tsx';
export { notify } from '../src/components/overlays/Toast/Toast.tsx';

/**
* Layouts
Expand Down
8 changes: 4 additions & 4 deletions src/components/containers/Alert/Alert.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
--bk-panel-border-color: light-dark(#FEC84B, #FEC84B);
}
&.bk-alert--error {
--bk-panel-background-color: #{bk.$theme-notification-informational-background-default};
--bk-panel-border-color: #{bk.$theme-notification-informational-background-default};
--bk-panel-background-color: #{bk.$theme-notification-alert-border-default};
--bk-panel-border-color: #{bk.$theme-notification-alert-border-default};
}
&.bk-alert--success {
--bk-panel-background-color: #{bk.$theme-notification-informational-background-default};
--bk-panel-border-color: #{bk.$theme-notification-informational-background-default};
--bk-panel-background-color: #{bk.$theme-notification-success-border-default};
--bk-panel-border-color: #{bk.$theme-notification-success-border-default};
}

display: grid;
Expand Down

0 comments on commit 0c0b3db

Please sign in to comment.