Skip to content

Commit

Permalink
Consolidate raw colors (hackforla#1917)
Browse files Browse the repository at this point in the history
* added first icon

* added all of the information

* changed background color properties to variable names

* changed some color properties

* changed remaining color properties to variable names

* Update contact-us.yml

* Update contact-us.yml

Co-authored-by: Stanley Pascua <[email protected]>
Co-authored-by: Stanley Pascua <[email protected]>
Co-authored-by: Ava Li <[email protected]>
  • Loading branch information
4 people authored Aug 1, 2021
1 parent 435668f commit 14f4f65
Show file tree
Hide file tree
Showing 22 changed files with 102 additions and 74 deletions.
2 changes: 1 addition & 1 deletion _data/internal/credits/contact-us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ provider-link: https://www.freepik.com/
image-url: /assets/images/about/about-us-header.svg
alt: 'Image of Contact Us'
type: icon
---
---
2 changes: 1 addition & 1 deletion _sass/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ h1 {

mark {
background: #ff0;
color: #000;
color: $color-black;
}

/**
Expand Down
40 changes: 23 additions & 17 deletions _sass/components/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.donation-gif-box-shadow {
box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
box-shadow: 0px 8px 16px rgba($color-black,0.12);
}

.header-text--about-us {
Expand Down Expand Up @@ -79,7 +79,7 @@
// Make the active link different
.is-active {
font-weight: 700;
color:#333 !important;
color: $color-black !important;
a {
font-weight: 700;
&:link,
Expand Down Expand Up @@ -116,9 +116,9 @@ a.anchor {
grid-area: nav;
display: none;
background: #fff;
border: 0px solid rgba(51, 51, 51, 0.06);
border: 0px solid rgba($color-black, 0.06);
border-radius: 16px;
box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.2);
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
overflow: hidden;
width: 250px;
padding: 35px 30px 15px 18px;
Expand All @@ -143,6 +143,12 @@ a.anchor {
}

.page-card--about {
background: #fff;
border: 0 solid rgba($color-black, 0.06);
border-radius: 16px;
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
overflow: hidden;
max-width: 896px;
overflow: hidden;
border: 0 solid rgba(51, 51, 51, 0.06);
border-radius: 16px;
Expand Down Expand Up @@ -173,7 +179,7 @@ a.anchor {
float: right;
transform: rotate(-45deg);
transition: transform 0.25s ease-in;
color: rgb(250, 17, 79);
color: $color-red;
font-weight: bolder;
font-size: 24px;
}
Expand All @@ -194,7 +200,7 @@ a.anchor {
float: right;
transform: rotate(-45deg);
transition: transform 0.25s ease-in;
color: rgb(250, 17, 79);
color: $color-red;
font-weight: bolder;
font-size: 24px;
}
Expand Down Expand Up @@ -228,7 +234,7 @@ a.anchor {
position: absolute;
margin-left: 10px;
transform: rotate(-45deg);
color: rgb(250, 17, 79);
color: $color-red;
font-weight: bolder;
font-size: 16px;
}
Expand All @@ -245,7 +251,7 @@ a.anchor {
position: absolute;
margin-left: 10px;
transform: rotate(135deg);
color: rgb(250, 17, 79);
color: $color-red;
font-weight: bolder;
font-size: 16px;
}
Expand Down Expand Up @@ -360,37 +366,37 @@ a.anchor {

// SDG Colors
.color-goldenrod-2 {
color: #d49f28;
color: $color-mustard;
font-weight: 700;
}

.color-orangered {
color: #ee412a;
color: $color-orangered;
font-weight: 700;
}

.color-brown {
color: #8e1737;
color: $color-redpurple;
font-weight: 700;
}

.color-goldenrod-11 {
color: #fa9c25;
color: $color-lightorange;
font-weight: 700;
}

.color-darkolivegreen {
color: #48763e;
color: $color-darkolive;
font-weight: 700;
}

.color-teal {
color: #01548a;
color: $color-dark-royalblue;
font-weight: 700;
}

.color-midnightblue {
color: #173567;
color: $color-midnightblue;
font-weight: 700;
}

Expand Down Expand Up @@ -920,7 +926,7 @@ a.anchor {
position: relative;
bottom: 50px;
left: 20px;
color: #767676;
color: $color-cement;
font-style: normal;
}
.quote-text{
Expand Down Expand Up @@ -948,7 +954,7 @@ a.anchor {
position: relative;
left:125px;
bottom: 90px;
color: #767676;
color: $color-cement;
font-style: normal;
}
.garcetti-quote{
Expand Down
2 changes: 1 addition & 1 deletion _sass/components/_communities-of-practice.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
grid-template-rows: auto;
grid-template-columns: 24% auto;
border-radius: 16px;
box-shadow: 0 0 8px 0 rgba(51,51,51,0.2);
box-shadow: 0 0 8px 0 rgba($color-black,0.2);
width: 240px;
height: 70px;
margin-bottom: 10px;
Expand Down
4 changes: 2 additions & 2 deletions _sass/components/_dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.dashboardEmbed{
display: flex;
background-color: #020d2d;
background-color: $color-blue-dark;
margin: 0 auto 0 auto;

@media #{$bp-tablet-up}{
Expand All @@ -24,5 +24,5 @@ iframe{
}

.dashboardEmbed {
background-color: #020d2d;
background-color: $color-blue-dark;
}
10 changes: 5 additions & 5 deletions _sass/components/_events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@

& > .column-card-lg--events {
background: #fff;
border: 0 solid rgba(51, 51, 51, 0.06);
border: 0 solid rgba($color-black, 0.06);
border-radius: 20px;
box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.2);
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
overflow: hidden;
max-width: 489px;
width: 100%;
Expand Down Expand Up @@ -147,7 +147,7 @@
padding: 0 2em;
display: inline;
margin: 20px;
border: 0 solid rgba(51, 51, 51, 0.06);
border: 0 solid rgba($color-black, 0.06);
border-radius: 16px;
}
}
Expand Down Expand Up @@ -250,9 +250,9 @@

.getting-started-page-card-locations {
background: #fff;
border: 0 solid rgba(51, 51, 51, 0.06);
border: 0 solid rgba($color-black, 0.06);
border-radius: 16px;
box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.2);
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
overflow: hidden;
max-width: 996px;
margin-bottom: 0;
Expand Down
4 changes: 4 additions & 0 deletions _sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
}
}

.footer-header {
position: relative;
color: $color-red;
margin-bottom: 54px;
.footer-links {
display: flex;
flex-wrap: wrap-reverse;
Expand Down
4 changes: 2 additions & 2 deletions _sass/components/_getting-started-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
.step-header {
display: flex;
justify-content: center;
color: #000000;
color: $color-black;
font-family: "Roboto"sans-serif;

@media #{$bp-below-mobile} {
Expand Down Expand Up @@ -151,7 +151,7 @@
float: right;
transform: rotate(-45deg);
transition: transform 0.25s ease-in;
color: rgb(250, 17, 79);
color: $color-red;
font-weight: bolder;
font-size: 24px;
}
Expand Down
6 changes: 3 additions & 3 deletions _sass/components/_guide-pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

// NEW MOBILE FRIENDLY RULES
@media #{$bp-below-mobile} {
background: linear-gradient(to bottom, rgba(3,13,45,0.3) 30%, #030d2d 100%);
background: linear-gradient(to bottom, rgba($color-blue-dark,0.3) 30%, #030d2d 100%);
}
}
}
Expand Down Expand Up @@ -78,7 +78,7 @@
//only show header divider if screen is bigger than mobile
@media #{$bp-mobile-up} {
.border-right {
border-right: 1px solid rgba(0,0,0, 0.3);
border-right: 1px solid rgba($color-black, 0.3);
align-self: center;
max-height: 150px;
height: 280px;
Expand Down Expand Up @@ -138,7 +138,7 @@

.section-container {
background: $color-white;
box-shadow: 0px 4px 8px rgba(51, 51, 51, 0.2);
box-shadow: 0px 4px 8px rgba($color-black, 0.2);
border-radius: 10px;
margin: 2% 12%;
padding: 5% 12.5%;
Expand Down
8 changes: 4 additions & 4 deletions _sass/components/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ button {
float: right;
text-align: center;
margin-left: 10px;
background-color: rgb(255, 255, 151);
background-color: $color-lightyellow;
width: 92px;
padding: 2px 7px;
border-radius: 6px;
Expand All @@ -326,15 +326,15 @@ button {
}

.status-Active {
background-color: rgb(187, 255, 187);
background-color: $color-lightgreen;
}

.status-Rebooting {
background-color: rgb(164, 213, 255);
background-color: $color-babyblue;
}

.status-Completed {
background-color: rgb(255, 173, 173);
background-color: $color-salmon;
}

.project-card-field-inline {
Expand Down
6 changes: 3 additions & 3 deletions _sass/components/_project-filter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ul.filter-list {

//category boxes
li.filter-item {
border: 1px solid rgba(0, 0, 0, 0.24);
border: 1px solid rgba($color-black, 0.24);
border-radius: 5px;
color: black;
background: white;
Expand Down Expand Up @@ -46,7 +46,7 @@ li.filter-item:focus-within a {
//dropdown
ul.filter-list li ul {
background: white;
border: 1px solid rgba(0, 0, 0, 0.24);
border: 1px solid rgba($color-black, 0.24);
visibility: hidden;
opacity: 0;
transition: all 0.5s ease;
Expand Down Expand Up @@ -141,7 +141,7 @@ ul.filter-list li ul li {
a.clear-filter-tags {
margin-left: 1em;
text-decoration: underline;
color: #767676;
color: $color-cement;

&:hover {
cursor: pointer;
Expand Down
8 changes: 4 additions & 4 deletions _sass/components/_project-meetings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

h1 {
color: #333;
color: $color-black;
font-weight: 700;
font-size: 24px;
padding-bottom: 28px;
Expand Down Expand Up @@ -73,7 +73,7 @@
}

.covid-notification-banner {
background-color: #f2c94d;
background-color: $color-gold;
width: 100%;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -110,7 +110,7 @@

li:before {
content: "\2022";
color: #fa114f;
color: $color-red;
font-weight: bold;
font-size: 28px;
display: inline-block;
Expand All @@ -131,7 +131,7 @@
}

.team-meetings-title {
color: #fff;
color: $color-white;

// NEW MOBILE FRIENDLY RULES
@media #{$bp-below-mobile} {
Expand Down
Loading

0 comments on commit 14f4f65

Please sign in to comment.