Introduce color variables
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
b34c6860be
commit
6d5d1b9851
35 changed files with 696 additions and 909 deletions
30
assets/styles/mixins.scss
Normal file
30
assets/styles/mixins.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
@mixin reset-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@mixin section-title-adjustment() {
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin brand-background() {
|
||||
@each $brand, $color in $brand-colors {
|
||||
.bg-#{$brand} {
|
||||
background-color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin transition() {
|
||||
transition: all $transition-type $transition-duration;
|
||||
}
|
||||
|
||||
@mixin selection-color() {
|
||||
background: $accent-color;
|
||||
color: $text-over-accent-color;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue