File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
src/components/combo/themes/shared Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,26 @@ $dropdown-theme: dropdown-theme.$material;
7575 color : var-get ($theme , ' toggle-button-foreground-filled' );
7676}
7777
78- :host (:focus-within ) {
78+ :host (:not ([outlined ]):focus-within ) {
79+ igc-input ::part (container ) {
80+ --_toggle-focus-background : #{var-get ($theme , ' toggle-button-background' )} ;
81+ --_toggle-focus-foreground : #{var-get ($theme , ' toggle-button-foreground' )} ;
82+ }
83+
84+ igc-input::part(container) {
85+ & :focus-within {
86+ --_toggle-focus-background : #{var-get ($theme , ' toggle-button-background-focus' )} ;
87+ --_toggle-focus-foreground : #{var-get ($theme , ' toggle-button-foreground-filled' )} ;
88+ }
89+ }
90+
7991 [part ~= ' toggle-icon' ] {
80- color : var-get ( $theme , ' toggle-button-foreground-filled ' );
81- background : var-get ( $theme , ' toggle-button-background -focus' );
92+ color : var ( --_toggle-focus-foreground );
93+ background : var ( --_toggle -focus-background );
8294 }
83- }
8495
85- :host (:not ([outlined ]):focus-within ) {
86- > igc-input ::part (container ) {
87- background : var-get ($input-theme , ' box-background-focus' );
96+ [part = ' toggle-icon filled' ] {
97+ color : var-get ($theme , ' toggle-button-foreground-filled' );
8898 }
8999}
90100
You can’t perform that action at this time.
0 commit comments