mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
ed75dabe57
* add banner component * update banner styles and tests * fix padding and update snapshot * banner stories id removal * update readme * Update ui/components/component-library/banner/banner.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/component-library/banner/README.mdx Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Update ui/components/component-library/banner/README.mdx Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * banner updates Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
17 lines
310 B
SCSS
17 lines
310 B
SCSS
.mm-banner {
|
|
border-left-color: var(--color-primary-default);
|
|
|
|
&--severity-danger {
|
|
border-left-color: var(--color-error-default);
|
|
}
|
|
|
|
&--severity-warning {
|
|
border-left-color: var(--color-warning-default);
|
|
}
|
|
|
|
&--severity-success {
|
|
border-left-color: var(--color-success-default);
|
|
}
|
|
}
|
|
|