// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function iconElementJoyStyle() {
    return css `
:host {
  --icon-background-color: transparent;
  --icon-border-color: transparent;
  --icon-border-radius: 100%;
  --icon-border-style: solid;
  --icon-border-width: 0px;
  --icon-font-family: var(--joy-font-family);
  --icon-font-letter-spacing: unset;
  --icon-font-line-height: unset;
  --icon-font-size: 12px;
  --icon-font-text-decoration: unset;
  --icon-font-text-transform: unset;
  --icon-font-weight: normal;
  --icon-foreground-color: var(--joy-scheme-foreground);
  --icon-gap: 8px;
  --icon-padding-bottom: 4px;
  --icon-padding-left: 8px;
  --icon-padding-right: 8px;
  --icon-padding-top: 4px;
  --icon-shadow: unset;
  --icon-size: unset;
  --icon-transition-duration: .2s;
  --icon-transition-mode: ease;
  --icon-transition-property: all;
  --icon-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--icon-font-family);
  font-size: var(--icon-font-size);
  font-weight: var(--icon-font-weight);
  background-color: var(--icon-background-color);
  color: var(--icon-foreground-color);
  width: var(--icon-size, 32px);
  height: var(--icon-size, 32px);
  font-size: var(--icon-size, 32px);
  border: var(--icon-border-width) var(--icon-border-style) var(--icon-border-color);
  border-radius: var(--icon-border-radius);
  display: block;
}

:host [part="symbol"] {
  fill: currentColor;
  width: 100%;
  height: 100%;
}

:host([disabled]:not([disabled="false"])) {
  --icon-foreground-color: var(--joy-scheme-disabled);
}

:host(:not([disabled]:not([disabled="false"]))[readonly]) {
  --icon-foreground-color: var(--joy-scheme-middlelight);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="primary"]) {
  --icon-foreground-color: var(--joy-color-primary-500);
  --icon-border-color: var(--joy-color-primary-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="secondary"]) {
  --icon-foreground-color: var(--joy-color-secondary-500);
  --icon-border-color: var(--joy-color-secondary-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="tertiary"]) {
  --icon-foreground-color: var(--joy-color-tertiary-500);
  --icon-border-color: var(--joy-color-tertiary-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="success"]) {
  --icon-foreground-color: var(--joy-color-success-500);
  --icon-border-color: var(--joy-color-success-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="danger"]) {
  --icon-foreground-color: var(--joy-color-danger-500);
  --icon-border-color: var(--joy-color-danger-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="warning"]) {
  --icon-foreground-color: var(--joy-color-warning-500);
  --icon-border-color: var(--joy-color-warning-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="info"]) {
  --icon-foreground-color: var(--joy-color-info-500);
  --icon-border-color: var(--joy-color-info-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="neutral"]) {
  --icon-foreground-color: var(--joy-color-neutral-500);
  --icon-border-color: var(--joy-color-neutral-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="outline"][variant="highlight"]) {
  --icon-foreground-color: var(--joy-color-highlight-500);
  --icon-border-color: var(--joy-color-highlight-500);
  --icon-border-width: var(--joy-layout-thickness);
  --icon-border-style: solid;
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="primary"]) {
  --icon-foreground-color: var(--joy-color-primary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="secondary"]) {
  --icon-foreground-color: var(--joy-color-secondary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="tertiary"]) {
  --icon-foreground-color: var(--joy-color-tertiary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="success"]) {
  --icon-foreground-color: var(--joy-color-success-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="danger"]) {
  --icon-foreground-color: var(--joy-color-danger-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="warning"]) {
  --icon-foreground-color: var(--joy-color-warning-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="info"]) {
  --icon-foreground-color: var(--joy-color-info-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="neutral"]) {
  --icon-foreground-color: var(--joy-color-neutral-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="plain"][variant="highlight"]) {
  --icon-foreground-color: var(--joy-color-highlight-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="primary"]) {
  --icon-foreground-color: var(--joy-color-primary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="secondary"]) {
  --icon-foreground-color: var(--joy-color-secondary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="tertiary"]) {
  --icon-foreground-color: var(--joy-color-tertiary-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="success"]) {
  --icon-foreground-color: var(--joy-color-success-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="danger"]) {
  --icon-foreground-color: var(--joy-color-danger-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="warning"]) {
  --icon-foreground-color: var(--joy-color-warning-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="info"]) {
  --icon-foreground-color: var(--joy-color-info-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="neutral"]) {
  --icon-foreground-color: var(--joy-color-neutral-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="soft"][variant="highlight"]) {
  --icon-foreground-color: var(--joy-color-highlight-500);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="primary"]) {
  --icon-foreground-color: var(--joy-color-primary-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="secondary"]) {
  --icon-foreground-color: var(--joy-color-secondary-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="tertiary"]) {
  --icon-foreground-color: var(--joy-color-tertiary-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="success"]) {
  --icon-foreground-color: var(--joy-color-success-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="danger"]) {
  --icon-foreground-color: var(--joy-color-danger-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="warning"]) {
  --icon-foreground-color: var(--joy-color-warning-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="info"]) {
  --icon-foreground-color: var(--joy-color-info-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="neutral"]) {
  --icon-foreground-color: var(--joy-color-neutral-100);
}

:host(:not([disabled]:not([disabled="false"]))[appearance="solid"][variant="highlight"]) {
  --icon-foreground-color: var(--joy-color-highlight-100);
}

:host([inline]) {
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  font-size: var(--icon-size, 24px);
}

:host([size="tiny"]) {
  width: var(--icon-size, 16px);
  height: var(--icon-size, 16px);
  font-size: var(--icon-size, 16px);
}

:host([size="tiny"][inline]) {
  width: var(--icon-size, 8px);
  height: var(--icon-size, 8px);
  font-size: var(--icon-size, 8px);
}

:host([size="small"]) {
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  font-size: var(--icon-size, 24px);
}

:host([size="small"][inline]) {
  width: var(--icon-size, 16px);
  height: var(--icon-size, 16px);
  font-size: var(--icon-size, 16px);
}

:host([size="medium"]) {
  width: var(--icon-size, 32px);
  height: var(--icon-size, 32px);
  font-size: var(--icon-size, 32px);
}

:host([size="medium"][inline]) {
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  font-size: var(--icon-size, 24px);
}

:host([size="large"]) {
  width: var(--icon-size, 48px);
  height: var(--icon-size, 48px);
  font-size: var(--icon-size, 48px);
}

:host([size="large"][inline]) {
  width: var(--icon-size, 32px);
  height: var(--icon-size, 32px);
  font-size: var(--icon-size, 32px);
}

:host([size="giant"]) {
  width: var(--icon-size, 64px);
  height: var(--icon-size, 64px);
  font-size: var(--icon-size, 64px);
}

:host([size="giant"][inline]) {
  width: var(--icon-size, 48px);
  height: var(--icon-size, 48px);
  font-size: var(--icon-size, 48px);
}

    `;
}
//# sourceMappingURL=IconElement.Joy.js.map