Skip to content

Commit

Permalink
Add missing exports and scss color variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Younes Chellaf committed Nov 20, 2024
1 parent 6a11fe2 commit ccfd085
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 * 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 ccfd085

Please sign in to comment.