Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8 Create color variables #28

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/CharacterCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
&__avatar {
margin: 0 auto;
height: 200px;
border-bottom: 5px solid red;
border-bottom: 5px solid $red;
}

&__avatar-img {
Expand Down Expand Up @@ -99,7 +99,7 @@ export default {
&__nickname-container::before {
content: "";
position: absolute;
background: red;
background: $red;
height: 100%;
transform: scaleY(0);
transform-origin: top;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ComicCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ export default {
flex-wrap: wrap;
margin: 0 5px;
width: 200px;
background: black;
background: $black;
cursor: pointer;

&__avatar {
height: 200px;
overflow: hidden;
border-bottom: 5px solid red;
border-bottom: 5px solid $red;
}

&__avatar-img {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ComicsCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default {
transition: opacity 0.5s ease-in-out;
cursor: pointer;
font-size: 30px;
color: #5bf3ae;
color: $aquamarine;

&--disabled {
opacity: 0.3;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
align-items: center;
width: 100%;
height: 20vh;
background: black;
background: $black;
bottom: 0;

&__social {
Expand All @@ -38,7 +38,7 @@
font-size: 30px;
padding: 5px;
text-decoration: none;
color: white;
color: $white;
}
}
</style>
6 changes: 3 additions & 3 deletions src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
.nav {
position: relative;
width: 100%;
background: black;
background: $black;
z-index: 2;

&__items {
Expand All @@ -37,13 +37,13 @@ export default {

&__link {
font-weight: bold;
color: white;
color: $white;
padding: 0 5px;
text-transform: uppercase;
text-decoration: none;

&.router-link-exact-active {
color: #5bf3ae;
color: $aquamarine;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// Variables
$red: #ff0000;
$white: #ffffff;
$black: #000000;
$aquamarine: #5BF3AE;