mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 00:39:25 +00:00
Added sass, and initial sass partials
This commit is contained in:
17
src/stylesheets/abstracts/_mixins.scss
Normal file
17
src/stylesheets/abstracts/_mixins.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
@mixin on-event($self: false) {
|
||||
@if $self {
|
||||
&,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
5
src/stylesheets/abstracts/_variables.scss
Normal file
5
src/stylesheets/abstracts/_variables.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
// Font stacks
|
||||
$text-font-stack: 'Roboto', 'Arial', sans-serif !default;
|
||||
|
||||
// Colours
|
||||
$text-colour: rgb(34, 34, 34) !default;
|
||||
4
src/stylesheets/base/_typography.scss
Normal file
4
src/stylesheets/base/_typography.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
body {
|
||||
font-family: $text-font-stack;
|
||||
color: $text-colour;
|
||||
}
|
||||
4
src/stylesheets/main.scss
Normal file
4
src/stylesheets/main.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
@import 'abstracts/variables';
|
||||
@import 'abstracts/mixins';
|
||||
|
||||
@import 'base/typography';
|
||||
Reference in New Issue
Block a user