Skip to content

Commit

Permalink
Merge pull request #363 from adobe/unify-color
Browse files Browse the repository at this point in the history
chore: unify color
  • Loading branch information
fkakatie authored Jul 30, 2024
2 parents 516d856 + 1fb21ab commit bb8e1bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ header nav .nav-sections {
flex: 1 1 auto;
display: none;
visibility: hidden;
background-color: var(--overlay-color);
}

header nav[aria-expanded='true'] .nav-sections {
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ main .hero-container {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
color: white;
color: var(--background-color);
}

.hero picture {
Expand Down
20 changes: 10 additions & 10 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

:root {
/* colors */
--link-color: #035fe6;
--link-hover-color: #136ff6;
--background-color: white;
--light-color: #eee;
--dark-color: #ccc;
--text-color: black;
--light-color: #f8f8f8;
--dark-color: #e9e9e9;
--text-color: #131313;
--link-color: #3a63fb;
--link-hover-color: #264dea;

/* fonts */
--body-font-family: roboto, roboto-fallback, sans-serif;
Expand Down Expand Up @@ -71,13 +71,13 @@
}

body {
display: none;
margin: 0;
background-color: var(--background-color);
color: var(--text-color);
font-family: var(--body-font-family);
font-size: var(--body-font-size-m);
line-height: 1.5;
color: var(--text-color);
background-color: var(--background-color);
display: none;
}

body.appear {
Expand Down Expand Up @@ -149,8 +149,8 @@ a:any-link {
}

a:hover {
text-decoration: underline;
color: var(--link-hover-color);
text-decoration: underline;
}

/* buttons */
Expand All @@ -165,8 +165,8 @@ button {
font-weight: 500;
font-style: normal;
cursor: pointer;
color: var(--background-color);
background-color: var(--link-color);
color: var(--background-color);
margin: 16px 0;
white-space: nowrap;
overflow: hidden;
Expand Down

0 comments on commit bb8e1bd

Please sign in to comment.