Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(checkbox, progressLinear): removed forgotten privatization in mix…
Browse files Browse the repository at this point in the history
…ins, fixed accent colors

- privatization prefix (`_`) was left on the mixin of checkbox which caused other colors than accent to not be applied
- accent progress-linear was using A100 instead of 100
  • Loading branch information
EladBezalel authored and ThomasBurleson committed Aug 17, 2016
1 parent 6a7a188 commit 7874074
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/components/progressLinear/progress-linear-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ md-progress-linear.md-THEME_NAME-theme {

&.md-accent {
.md-container {
background-color: '{{accent-A100}}';
background-color: '{{accent-100}}';
}

.md-bar {
Expand All @@ -38,10 +38,10 @@ md-progress-linear.md-THEME_NAME-theme {
}
&.md-accent {
.md-bar1 {
background-color: '{{accent-A100}}';
background-color: '{{accent-100}}';
}
.md-dashed:before {
background: radial-gradient('{{accent-A100}}' 0%, '{{accent-A100}}' 16%, transparent 42%);
background: radial-gradient('{{accent-100}}' 0%, '{{accent-100}}' 16%, transparent 42%);
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/core/style/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,24 +299,24 @@
color: '{{primary-color-0.87}}';
}

&:not(.md-checked) ._md-icon {
&:not(.md-checked) .md-icon {
border-color: '{{foreground-2}}';
}

&#{$checkedSelector} ._md-icon {
&#{$checkedSelector} .md-icon {
background-color: '{{primary-color-0.87}}';
}

&#{$checkedSelector}.md-focused ._md-container:before {
&#{$checkedSelector}.md-focused .md-container:before {
background-color: '{{primary-color-0.26}}';
}

&#{$checkedSelector} ._md-icon:after {
&#{$checkedSelector} .md-icon:after {
border-color: '{{primary-contrast-0.87}}';
}

& .md-indeterminate[disabled] {
._md-container {
.md-container {
color: '{{foreground-3}}';
}
}
Expand Down

0 comments on commit 7874074

Please sign in to comment.