Exporting base styles

This commit is contained in:
Fabian
2019-07-05 12:12:26 +02:00
parent 68284de6bf
commit 9de113f12c
19 changed files with 114 additions and 81 deletions

17
src/theme/_btn.scss Normal file
View File

@ -0,0 +1,17 @@
.btn {
@include Elevation(1);
background: $button-color;
&:hover {
background: darken($button-color, 5%);
}
&:active {
background: lighten($button-color, 5%);
}
}
.fab {
@include Elevation(8);
background: $button-color;
}

7
src/theme/_card.scss Normal file
View File

@ -0,0 +1,7 @@
.card {
@include Elevation(3);
}
.card-elevated {
@include Elevation(8);
}

5
src/theme/_global.scss Normal file
View File

@ -0,0 +1,5 @@
html,
body {
background: $background;
color: $on-background;
}

3
src/theme/_header.scss Normal file
View File

@ -0,0 +1,3 @@
.header {
@include Elevation(3);
}

8
src/theme/_input.scss Normal file
View File

@ -0,0 +1,8 @@
.inp {
color: $on-background;
option {
background: $background;
color: $on-background;
}
}

5
src/theme/_list.scss Normal file
View File

@ -0,0 +1,5 @@
.list-clickable {
li:hover {
background: darken-brighten-color($background, 5%);
}
}

10
src/theme/_modal.scss Normal file
View File

@ -0,0 +1,10 @@
.modal {
background: $background;
@include Elevation(24);
.modal-action {
button {
@extend .btn;
}
}
}