Add basic SCSS as an example of how to do it for later
This commit is contained in:
parent
286327b116
commit
6c273a68e6
3 changed files with 15 additions and 0 deletions
5
styles/mixins/sr-only.scss
Normal file
5
styles/mixins/sr-only.scss
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@mixin sr-only {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
position: absolute;
|
||||
}
|
||||
9
styles/root.scss
Normal file
9
styles/root.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@use "./vars/_colours.scss" as *;
|
||||
@use "./mixins/sr-only.scss" as *;
|
||||
|
||||
.screenreader {
|
||||
background-color: $background;
|
||||
color: $background;
|
||||
|
||||
@include sr-only;
|
||||
}
|
||||
1
styles/vars/_colours.scss
Normal file
1
styles/vars/_colours.scss
Normal file
|
|
@ -0,0 +1 @@
|
|||
$background: white;
|
||||
Loading…
Add table
Add a link
Reference in a new issue