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",
"version": "1.2.0",
"version": "1.2.2",
"description": "",
"main": " ",
"files": [

View File

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

View File

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