Skip to content

Commit

Permalink
dartcss
Browse files Browse the repository at this point in the history
  • Loading branch information
vachan-maker committed Feb 16, 2024
1 parent c605efd commit c7c3f36
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
16 changes: 8 additions & 8 deletions assets/sass/_global.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@use "./utils/variables";

body {
font-family: $fontParagraph;
color: $white;
background-color: $backgroundDark;
font-family: v.$fontParagraph;
color: v.$white;
background-color: v.$backgroundDark;
margin: 0;
display: flex;
flex-direction: column;
Expand All @@ -13,26 +13,26 @@ body {
}

a {
color: $orange;
color: v.$orange;
}

pre code {
font-family: $fontCode;
font-family: v.$fontCode;
font-size: 75%;
display: block;
background: $backgroundDarker;
background: v.$backgroundDarker;
padding: 10px;
overflow: auto;
}

code {
font-family: $fontCode;
font-family: v.$fontCode;
font-size: 75%;
}

@for $i from 1 through 6 {
h#{$i} {
font-family: $fontHeader;
font-family: v.$fontHeader;
}
}

Expand Down
4 changes: 2 additions & 2 deletions assets/sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
.footer {
padding: 15px;
text-align: center;
background-color: $backgroundDarker;
background-color: v.$backgroundDarker;
}

.footerLink {
color: $orange;
color: v.$orange;
}
14 changes: 7 additions & 7 deletions assets/sass/components/_header.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@use "../utils/variables";

.header {
font-family: $fontHeader;
font-family: v.$fontHeader;
font-size: 1.1rem;
padding: 0 20px;
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
width: $width;
width: v.$width;
}

.headerWrapper {
overflow: auto;
box-sizing: border-box;
background-color: $backgroundDarker;
background-color: v.$backgroundDarker;
display: flex;
justify-content: center;
flex-shrink: 0;
Expand All @@ -29,10 +29,10 @@
display: inline;
margin: 5px;
a {
color: $white;
color: v.$white;
}
a:hover {
color: $link_hover_color;
color: v.$link_hover_color;
}
}
}
Expand All @@ -41,10 +41,10 @@
font-size: 1.1rem;
}
.terminal a{
color: $white;
color: v.$white;
text-decoration: none;
}
.terminal a:hover {
color: $h1_header_color;
color: v.$h1_header_color;
}

12 changes: 6 additions & 6 deletions assets/sass/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

.postDate {
float: right;
color: $white;
color: v.$white;
}

.postTitle {
color: $orange;
color: v.$orange;
text-transform: capitalize;
font-family: $fontHeader;
font-family: v.$fontHeader;
font-size: 1.25rem;
margin: 0;
}
Expand All @@ -27,14 +27,14 @@

.postListItem {
padding: 20px;
background-color: $backgroundDarker;
background-color: v.$backgroundDarker;
margin-bottom: 20px;
}

.postExcerpt {
text-align: initial;
text-decoration: none;
color: $white;
color: v.$white;
}

.headerContainer {
Expand All @@ -47,5 +47,5 @@
}

a:hover {
color: $link_hover_color;
color: v.$link_hover_color;
};
2 changes: 1 addition & 1 deletion assets/sass/pages/_baseof.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
padding: 20px;

@media only screen and (min-width: $breakLarge) {
width: $width;
width: v.$width;
}
}
4 changes: 2 additions & 2 deletions assets/sass/pages/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
}

.postMetadata {
font-family: $fontCode;
font-family: v.$fontCode;
display: block;
background: $backgroundDarker;
background: v.$backgroundDarker;
padding: 10px;
}

Expand Down

0 comments on commit c7c3f36

Please sign in to comment.