add text colors

master
Aaron N. Brock 4 years ago
parent d0d38bf034
commit e24669ebb7
  1. 62
      assets/scss/_typography.scss
  2. 4
      assets/scss/_variables.scss

@ -1,5 +1,3 @@
.base-font { .base-font {
font-family: $font-family-base; font-family: $font-family-base;
} }
@ -7,18 +5,20 @@
a.text-light, a.text-dark { a.text-light, a.text-dark {
transition: all .3s ease; transition: all .3s ease;
&:hover{ &:hover{
color: $primary !important; // Yeah, I'm using "!important", what of it? color: $primary !important;
} }
} }
.top-title{ .top-title{
font-size: 20px; font-size: 20px;
position: relative;
display: block; display: block;
margin-bottom: 30px; color: $dark;
@extend .mb-3;
} }
.pre-line{ .pre-line{
margin-left: 20px; margin-left: 20px;
position: relative;
&::before{ &::before{
position: absolute; position: absolute;
content: ''; content: '';
@ -30,42 +30,18 @@ a.text-light, a.text-dark {
background: $secondary-color; background: $secondary-color;
} }
} }
// body{
// font-family: $primary-font;
// font-size: 16px;
// color: $text-color;
// }
// h1, .h1, h2, h3, h4, h5, h6{
// font-family: $font-family-header;
// }
// p{
// font-size: 16px;
// color: $text-color;
// }
// h1{
// font-size: 60px;
// }
// h2{ // This fixes the fact that with `markdownify` we can't add `text-light`
// font-size: 50px; // directly onto the generated `h1`, `h2` etc.
// } .text-white {
h1, h2, h3, h4, h5, h6 {
// h3{ color: $white;
// font-size: 30px; }
// } }
@each $color, $value in $theme-colors {
// h4{ .text-#{$color} {
// font-size: 25px; h1, h2, h3, h4, h5, h6, p, span {
// } color: $value;
}
// h5{ }
// font-size: 18px; }
// }
// h6{
// font-size: 15px;
// font-weight: 300;
// }

@ -50,7 +50,9 @@ $h6-font-size: 15px;
$headings-margin-bottom: 1.5rem; $headings-margin-bottom: 1.5rem;
$line-height-base: 1.75; $line-height-base: 1.75;
// Coloring
$headings-color: #282f49;
$body-color: #7e7e8a;
// Misc // Misc
$link-hover-decoration: none; $link-hover-decoration: none;

Loading…
Cancel
Save