Add Scrollbar styling
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
@import "./_vals.scss";
|
||||
|
||||
$background:false !default;
|
||||
$on-background:false !default;
|
||||
$button-color: #CCCCCC !default;
|
||||
$background: false !default;
|
||||
$on-background: false !default;
|
||||
$button-color: #cccccc !default;
|
||||
$on-button: #000000 !default;
|
||||
|
||||
@if $background==false or $on-background==false {
|
||||
@error("background and on-background must be set!");
|
||||
@error ("background and on-background must be set!");
|
||||
}
|
||||
|
||||
:root {
|
||||
@ -18,7 +18,6 @@ $on-button: #000000 !default;
|
||||
background: $background;
|
||||
}
|
||||
|
||||
|
||||
@each $dp in $elevations {
|
||||
.elv-#{$dp} {
|
||||
@include Elevation($dp, false);
|
||||
@ -33,13 +32,10 @@ $on-button: #000000 !default;
|
||||
@include ElevationTransition();
|
||||
}
|
||||
|
||||
|
||||
@function darken-brighten-color($color, $val) {
|
||||
@if (lightness($color) > 50) {
|
||||
@return darken($color, $val); // Lighter backgorund, return dark color
|
||||
}
|
||||
|
||||
@else {
|
||||
} @else {
|
||||
@return lighten($color, $val); // Darker background, return light color
|
||||
}
|
||||
}
|
||||
@ -51,4 +47,5 @@ $on-button: #000000 !default;
|
||||
@import "./theme/_list.scss";
|
||||
@import "./theme/_header.scss";
|
||||
@import "./theme/_card.scss";
|
||||
@import "./theme/table.scss";
|
||||
@import "./theme/_table.scss";
|
||||
@import "./theme/_scroll.scss";
|
||||
|
Reference in New Issue
Block a user