Skip to content

Commit

Permalink
style: improve more contrast errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugomndez committed Aug 21, 2022
1 parent bd6bc70 commit a892d34
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
12 changes: 9 additions & 3 deletions src/components/Exchange/Exchange.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,21 @@
font-style: normal;
font-weight: bold;
line-height: 2.3rem;
color: #ff9536;
color: var(--subtitle);
padding: 8px;
border-radius: 8px;
background-color: var(--soft-orange);
}
.comisionesTableTitle {
margin-bottom: 15px;
font-size: 1.8rem;
font-style: normal;
font-weight: bold;
line-height: 2.3rem;
color: var(--secundary-blue);
color: var(--subtitle);
padding: 8px;
border-radius: 8px;
background-color: var(--soft-blue);
}
.currencyTableContainer,
.comisionesTableContainer {
Expand Down Expand Up @@ -144,7 +150,7 @@
font-size: 1.2rem;
font-weight: 300;
line-height: 1.5rem;
color: var(--warm-black);
color: #6a6a6a;
}

.currencyDateBg {
Expand Down
8 changes: 4 additions & 4 deletions src/components/LocaleOptions/LocaleOptions.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
font-style: normal;
line-height: 1.8rem;
margin-bottom: 4px;
color: var(--just-white);
color: var(--warm-black);
}

.section a {
Expand All @@ -23,15 +23,15 @@
line-height: 1.8rem;
padding: 4px;
text-decoration: none;
color: var(--just-white);
color: var(--warm-black);
}

.section a:hover,
.section a:active,
.section a:focus {
border: 1px solid var(--just-white);
border: 1px solid var(--warm-black);
}

.active {
border: 1px solid var(--just-white);
border: 1px solid var(--warm-black);
}
4 changes: 3 additions & 1 deletion src/components/Plans/Plans.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@
padding: 6px;
top: -15px;
left: calc(50% - 60px);
font-family: var(--Secondary-FF);
font-size: 1.2rem;
border-radius: 8px;
font-style: normal;
font-weight: bold;
color: var(--just-white);
color: var(--warm-black);
background-color: var(--bitcoin-orange);
}

Expand Down Expand Up @@ -121,4 +122,5 @@

.cardCtaIcon {
vertical-align: middle;
margin-left: 5px;
}
1 change: 1 addition & 0 deletions src/components/Poster/Poster.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
font-weight: bold;
line-height: 2.6rem;
color: var(--just-white);
text-shadow: 1px 1px 2px black;
}
2 changes: 1 addition & 1 deletion src/layout/Footer/Footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

.a {
text-decoration: none;
color: var(--just-white);
color: var(--warm-black);
}
2 changes: 1 addition & 1 deletion src/layout/Header/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
min-width: 320px;
height: 334px;
text-align: center;
background: linear-gradient(207.8deg, #201e1c 16.69%, #f7931a 100%);
background: linear-gradient(207.8deg, #201e1c 16.69%, #ff9933 100%);
}

.logo {
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:root {
/* Colors */
--bitcoin-orange: #f7931a;
--bitcoin-orange: #ff9933;
--soft-orange: #ffe9d5;
--secundary-blue: #1a9af7;
--secundary-blue: #1a63f7; /*#1a9af7*/
--soft-blue: #e7f5ff;
--warm-black: #201e1c;
--black: #282623;
Expand Down

0 comments on commit a892d34

Please sign in to comment.