Skip to content

Commit

Permalink
Change input and alert style
Browse files Browse the repository at this point in the history
  • Loading branch information
2-towns committed Nov 4, 2024
1 parent 5cf3f82 commit 4f4dcee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
11 changes: 5 additions & 6 deletions src/components/Alert/alert.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.alert {
border-top: 2px solid rgb(var(--codex-alert-color));
border-bottom: 2px solid rgb(var(--codex-alert-color));
background-color: rgba(var(--codex-alert-color), 0.1);
color: 1px solid var(--codex-alert-color);
border-radius: var(--codex-border-radius);
Expand All @@ -17,17 +17,14 @@
}

span {
background: rgba(var(--codex-alert-color), 0.2);
border-radius: 75px;
height: 1.75rem;
min-width: 1.75rem;
height: 20px;
min-width: 20px;
display: flex;
justify-content: center;
align-items: center;

span {
display: flex;
width: 1rem;
color: rgb(var(--codex-alert-color));
}
}
Expand All @@ -38,5 +35,7 @@

&.alert--warning {
--codex-alert-color: var(--codex-color-warning);
background-color: #fbc64b33;
border-color: #ffc800;
}
}
2 changes: 1 addition & 1 deletion src/components/Input/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

input {
background-color: var(--codex-input-background);
background-color: #14141499;
color: white;
border-radius: var(--codex-border-radius);
border: 1px solid var(--codex-input-border-color);
Expand Down
5 changes: 1 addition & 4 deletions src/components/Upload/upload.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
.upload {
border: 1px dashed var(--codex-border-color);
background-color: var(
--codex-upload-background,
var(--codex-background-secondary)
);
background-color: #14141499;
min-height: 150px;
border-radius: var(--codex-border-radius);
justify-content: space-between;
Expand Down

0 comments on commit 4f4dcee

Please sign in to comment.