Skip to content

Commit

Permalink
fix(button): use larger icons in Close Button
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Feb 5, 2024
1 parent a06e0b5 commit c4aa02c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/button/src/CloseButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,37 @@ import {
import { property } from '@spectrum-web-components/base/src/decorators.js';
import { StyledButton } from './StyledButton.js';
import buttonStyles from '@spectrum-web-components/close-button/src/close-button.css.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross75.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross100.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross200.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross300.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross400.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-cross500.js';
import crossMediumStyles from '@spectrum-web-components/icon/src/spectrum-icon-cross.css.js';
import type { ButtonStatics } from './Button.js';

const crossIcon: Record<string, () => TemplateResult> = {
s: () => html`
<sp-icon-cross75
<sp-icon-cross200
slot="icon"
class="icon spectrum-UIIcon-Cross75"
></sp-icon-cross75>
class="icon spectrum-UIIcon-Cross200"
></sp-icon-cross200>
`,
m: () => html`
<sp-icon-cross100
<sp-icon-cross300
slot="icon"
class="icon spectrum-UIIcon-Cross100"
></sp-icon-cross100>
class="icon spectrum-UIIcon-Cross300"
></sp-icon-cross300>
`,
l: () => html`
<sp-icon-cross200
<sp-icon-cross400
slot="icon"
class="icon spectrum-UIIcon-Cross200"
></sp-icon-cross200>
class="icon spectrum-UIIcon-Cross400"
></sp-icon-cross400>
`,
xl: () => html`
<sp-icon-cross300
<sp-icon-cross500
slot="icon"
class="icon spectrum-UIIcon-Cross300"
></sp-icon-cross300>
class="icon spectrum-UIIcon-Cross500"
></sp-icon-cross500>
`,
};

Expand Down

0 comments on commit c4aa02c

Please sign in to comment.