Fixing wrong dark mode color on button

This commit is contained in:
Fabian 2019-07-27 17:07:08 +02:00
parent fb02af582b
commit 7fe5045344
3 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/theme", "name": "@hibas123/theme",
"version": "1.2.0", "version": "1.2.2",
"description": "", "description": "",
"main": " ", "main": " ",
"files": [ "files": [

View File

@ -1,6 +1,5 @@
.btn-flat { @mixin btn-flat() {
position: relative; position: relative;
color: black;
border: 0; border: 0;
margin: .3rem; margin: .3rem;
padding: .5rem; padding: .5rem;
@ -9,8 +8,12 @@
transition: .05s background-color linear; transition: .05s background-color linear;
} }
.btn-flat {
@include btn-flat();
}
.btn { .btn {
@extend .btn-flat; @include btn-flat();
} }
.btn-primary { .btn-primary {

View File

@ -1,4 +1,4 @@
.btn-flat { @mixin btn-flat {
background: $button-color; background: $button-color;
&:hover { &:hover {
@ -10,9 +10,13 @@
} }
} }
.btn-flat {
@include btn-flat();
}
.btn { .btn {
@include Elevation(1); @include Elevation(1);
@extend .btn-flat; @include btn-flat();
} }
.fab { .fab {