This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/components/autocomplete Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ @mixin md-autocomplete-input ($input-color ) {
2
+ md-input-container .md-input-focused {
3
+ .md-input {
4
+ border-color : $input-color ;
5
+ }
6
+ label ,
7
+ md-icon {
8
+ color : $input-color ;
9
+ }
10
+ }
11
+ }
12
+ @mixin md-autocomplete-progress ($container-color , $bar-color ) {
13
+ md-progress-linear {
14
+ .md-container {
15
+ background-color : $container-color ;
16
+ }
17
+ .md-bar {
18
+ background-color : $bar-color ;
19
+ }
20
+ }
21
+ }
1
22
md-autocomplete .md-THEME_NAME-theme {
2
23
background : ' {{background-hue-1}}' ;
3
24
& [disabled ]:not ([md-floating-label ]) {
@@ -16,6 +37,14 @@ md-autocomplete.md-THEME_NAME-theme {
16
37
input {
17
38
color : ' {{foreground-1}}' ;
18
39
}
40
+ & .md-accent {
41
+ @include md-autocomplete-input (' {{accent-color}}' );
42
+ @include md-autocomplete-progress (' {{accent-100}}' , ' {{accent-color}}' );
43
+ }
44
+ & .md-warn {
45
+ @include md-autocomplete-input (' {{warn-A700}}' );
46
+ @include md-autocomplete-progress (' {{warn-100}}' , ' {{warn-color}}' );
47
+ }
19
48
}
20
49
.md-autocomplete-suggestions-container.md-THEME_NAME-theme {
21
50
background : ' {{background-hue-1}}' ;
You can’t perform that action at this time.
0 commit comments