Fixing wrong dark mode color on button
This commit is contained in:
parent
fb02af582b
commit
7fe5045344
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/theme",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.2",
|
||||
"description": "",
|
||||
"main": " ",
|
||||
"files": [
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user