Skip to content

Commit cfb1afa

Browse files
committed
fix(DRP): lint errors
1 parent 75de2bc commit cfb1afa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/components/date-range-picker/themes/shared/date-range-picker.common.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,30 +59,24 @@ $theme: $material;
5959

6060
:host(:not([readonly])) {
6161
--affix-color: #{var-get($theme, 'input-prefix-color')};
62-
}
6362

64-
:host(:not([readonly])) {
6563
[part='calendar-icon'],
6664
[part='calendar-icon-open'],
6765
[part='clear-icon'] {
6866
color: var(--affix-color);
6967
}
70-
}
7168

72-
:host(:not([readonly]):not([disabled])) {
73-
::part(filled) {
74-
--affix-color: #{var-get($theme, 'input-prefix-color--filled')};
75-
}
76-
}
77-
78-
:host(:not([readonly])) {
7969
igc-input:focus-within {
8070
--affix-color: #{var-get($theme, 'input-prefix-color--focused')};
8171

8272
&::part(filled) {
8373
--affix-color: #{var-get($theme, 'input-prefix-color--focused')};
8474
}
8575
}
76+
77+
::part(filled) {
78+
--affix-color: #{var-get($theme, 'input-prefix-color--filled')};
79+
}
8680
}
8781

8882
:host(:not([disabled])[invalid]),
@@ -94,6 +88,12 @@ $theme: $material;
9488

9589
:host(:disabled),
9690
:host([disabled]) {
91+
--affix-color: var-get($theme, 'disabled-text-color');
92+
93+
::part(filled) {
94+
--affix-color: var-get($theme, 'disabled-text-color');
95+
}
96+
9797
::part(helper-text),
9898
[part='label'],
9999
igc-validator {

0 commit comments

Comments
 (0)