Skip to content

Commit

Permalink
style(alert): upd dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ereburg committed Dec 3, 2024
1 parent b7b4e3b commit 5191ff0
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions utils/vara-ui/src/components/alert/alert.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
height: 20px;
padding: 0;

color: #000;
background: none;
border: none;
cursor: pointer;
Expand Down Expand Up @@ -141,7 +142,7 @@
.header {
gap: 12px;
}

.title {
font-size: 17px;
font-weight: 700;
Expand Down Expand Up @@ -174,6 +175,7 @@
background-color: #272b2f;
}

.close,
.body {
color: #ffffff;
}
Expand Down Expand Up @@ -217,19 +219,12 @@

// Variants
.notification {
&.success {
box-shadow: 0 0 0 1px rgba(0, 255, 196, 0.6);

.header {
color: #ffffff;
}
}

&.error {
box-shadow: 0 0 0 1px rgba(255, 56, 89, 0.6);

.header {
color: #ffffff;
&.success,
&.error,
&.info,
&.loading {
.title {
color: #fff;
}
}
}
Expand Down

0 comments on commit 5191ff0

Please sign in to comment.