Skip to content

Commit

Permalink
using accentFillRestBehavior.var on fill
Browse files Browse the repository at this point in the history
  • Loading branch information
khamudom committed Mar 23, 2021
1 parent 9a6663f commit cf2c0b1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { css } from '@microsoft/fast-element';
import { display, focusVisible, forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
import { SystemColors } from '@microsoft/fast-web-utilities';
import {
accentFillRestBehavior,
neutralDividerRestBehavior,
neutralFocusBehavior,
neutralForegroundActiveBehavior,
Expand Down Expand Up @@ -85,7 +86,7 @@ export const AccordionItemStyles = css`
grid-column: 4;
z-index: 2;
pointer-events: none;
fill: var(--accent-fill-rest);
fill: ${accentFillRestBehavior.var};
}
slot[name="collapsed-icon"] {
Expand Down Expand Up @@ -121,6 +122,7 @@ export const AccordionItemStyles = css`
z-index: 2;
}
`.withBehaviors(
accentFillRestBehavior,
neutralDividerRestBehavior,
neutralForegroundActiveBehavior,
neutralForegroundFocusBehavior,
Expand Down

0 comments on commit cf2c0b1

Please sign in to comment.