-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Base LESS - Updated package.json and version bump
- Loading branch information
1 parent
f63fe98
commit 8f4c84a
Showing
25 changed files
with
1,616 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@breakpoint-m: 768px; | ||
@breakpoint-l: 980px; | ||
@breakpoint-xl: 1200px; | ||
|
||
@grid-gutter: 16px; | ||
|
||
// Mixins | ||
|
||
// Breakpoints | ||
// Example: .component { @include breakpoint(m) { background: red; } }; | ||
// Output: .component { @media only screen and (min-width: 720px) { background: red; } } | ||
.breakpoint(@bp, @content) { | ||
& when (@bp = xl) { | ||
@media only screen and (min-width: @breakpoint-xl) { | ||
@content(); | ||
} | ||
} | ||
& when (@bp = l) { | ||
@media only screen and (min-width: @breakpoint-l) { | ||
@content(); | ||
} | ||
} | ||
& when (@bp = m) { | ||
@media only screen and (min-width: @breakpoint-m) { | ||
@content(); | ||
} | ||
} | ||
} | ||
|
||
// Background Color with Opacity | ||
// Example: .element { @include background-rgba(#000000, .5); }} | ||
// Output: .element { background: rgba(0, 0, 0, .5); } | ||
.background-rgba(@color, @alpha) { | ||
background-color: @color; | ||
background-color: rgba(@color, @alpha); | ||
} | ||
|
||
// Animations | ||
// Example: .fade { @mixin animate(1s); } | ||
// Output: .fade { animation-duration: 1s; animation-fill-mode: both; } | ||
.animate(@duration: 1s) { | ||
animation-duration: @duration; | ||
animation-fill-mode: both; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pre, | ||
code, | ||
kbd, | ||
samp { | ||
font-family: monospace, monospace; | ||
font-size: 1rem; | ||
} |
Oops, something went wrong.