Skip to content
Merged

2.3.1 #648

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions components/chips/_chips.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use '../../sass/colors.module.css' as *;

.chip {
--font-size: 14px;
--font-size-icon: 18px;
Expand Down Expand Up @@ -45,7 +43,7 @@

.chip > .material-icons {
font-size: var(--font-size-icon);
@extend .on-surface-variant-text;
color: var(--md-sys-color-on-surface-variant);
}

.chip .close {
Expand Down
1 change: 0 additions & 1 deletion components/collapsible/_collapsible.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@use '../../sass/variables' as *;
@use '../../sass/global' as *;
// @use '../../sass/color-variables' as *;

.collapsible {
padding-left: 0;
Expand Down
6 changes: 1 addition & 5 deletions components/progress-indicators/_preloader.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
@use '../../sass/variables' as *;
@use '../../sass/colors.module.css' as *;

.progress {
position: relative;
height: 4px;
display: block;
width: 100%;
@extend .surface-variant;
background-color: var(--md-sys-color-surface-variant);
border-radius: 4px;
margin: $element-top-margin 0 $element-bottom-margin 0;
overflow: hidden;
Expand Down Expand Up @@ -82,8 +81,6 @@
}
}



/*
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
Expand Down Expand Up @@ -112,7 +109,6 @@
* SHRINK_TIME = 400ms
*/


.preloader-wrapper {
display: inline-block;
position: relative;
Expand Down
3 changes: 1 addition & 2 deletions components/sliders/_range.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '../../sass/global' as *;
@use '../../sass/colors.module.css' as *;

.range-field {
position: relative;
Expand Down Expand Up @@ -64,7 +63,7 @@ input[type=range] + .thumb {
// Shared
@mixin range-track {
height: 3px;
@extend .surface-variant;
background-color: var(--md-sys-color-surface-variant);
border: none;
}

Expand Down
7 changes: 2 additions & 5 deletions components/switch/_switches.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use '../../sass/colors.module.css' as *;

.switch {
--track-height: 32px;
--track-width: 52px;
Expand Down Expand Up @@ -41,7 +39,7 @@
height: var(--size-on);
}
&:after {
@extend .surface;
background-color: var(--md-sys-color-surface);
}
}
}
Expand Down Expand Up @@ -82,10 +80,9 @@

// NOT CHECKED [DOT]
&:after {
@extend .outline;
background-color: var(--md-sys-color-outline);
height: var(--size-off);
width: var(--size-off);

//@extend .surface-variant;
//box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion dist/css/materialize.colors.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading