Skip to content

Commit

Permalink
refactor: Refactor: Update colors to rgb and remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JonySamarelli committed Jan 31, 2024
1 parent 3142782 commit d38e6ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/components/ProgressBar/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.progress-bar {
width: 100%;
display: grid;

&__background {
position: relative;
z-index: 0;
Expand All @@ -15,12 +15,11 @@
top: 25%;
background-color: colors.$grey150;
}

&__foreground {
$default-progress-bar-height: 6px;
position: relative;
z-index: 1;
height: $default-progress-bar-height;
height: 6px;
grid-row: 1;
grid-column: 1;
border-radius: 100000px;
Expand Down
4 changes: 2 additions & 2 deletions src/styles/colors.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$appColor: rgb(0, 52, 89);
$appContentColor: rgb(255, 255, 255);
$grey150: #ECEFF2;
$grey150: rgb(236, 239, 242);
$gray800: rgb(57, 67, 79);
$gray600: rgb(128, 139, 154);
$blue500: rgb(27, 133, 243);
$yellow500: #FFC542;
$yellow500: rgb(255, 197, 66);

0 comments on commit d38e6ab

Please sign in to comment.