(overrides) Change the text and arrow color of mat-select on focus when it's used as a prefix or suffix in mat-form-field

This commit is contained in:
sercan 2021-05-16 15:54:55 +03:00
parent 3395e7f0bc
commit d0876eb80c

View File

@ -633,12 +633,28 @@
@apply icon-size-6;
}
/* Make mat-select usable as */
/* prefix and suffix */
/* Make mat-select usable as prefix and suffix */
.mat-select {
display: flex;
align-items: center;
&:focus {
.mat-select-trigger {
.mat-select-value {
@apply text-primary #{'!important'};
}
.mat-select-arrow-wrapper {
.mat-select-arrow {
border-top-color: var(--fuse-primary) !important;
}
}
}
}
.mat-select-trigger {
display: flex;
align-items: center;
@ -663,6 +679,7 @@
.mat-select-arrow {
min-height: 0;
@apply text-gray-500 dark:text-gray-400 #{'!important'};
}
}
}