// ------------------------------------------------------------------------------
// <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 badgeElementMemphisStyle() {
    return css `
:host {
  --badge-background-color: var(--memphis-scheme-background);
  --badge-border-color: var(--memphis-scheme-contrast);
  --badge-border-radius: var(--memphis-layout-radius);
  --badge-border-style: solid;
  --badge-border-width: var(--memphis-layout-thickness);
  --badge-font-family: var(--memphis-font-family);
  --badge-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --badge-font-line-height: var(--memphis-typography-body2-line-height);
  --badge-font-size: var(--memphis-typography-body2-font-size);
  --badge-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --badge-font-text-transform: var(--memphis-typography-body2-text-transform);
  --badge-font-weight: var(--memphis-typography-body2-font-weight);
  --badge-foreground-color: var(--memphis-scheme-foreground);
  --badge-gap: var(--memphis-layout-space);
  --badge-height: auto;
  --badge-padding-bottom: var(--memphis-layout-space);
  --badge-padding-left: var(--memphis-layout-space);
  --badge-padding-right: var(--memphis-layout-space);
  --badge-padding-top: var(--memphis-layout-space);
  --badge-shadow: var(--memphis-elevation-light-offset-x-0) var(--memphis-elevation-light-offset-y-0) var(--memphis-elevation-light-blur-0) var(--memphis-elevation-light-spread-0) var(--memphis-elevation-light-color-0);
  --badge-shadow-blur: var(--memphis-elevation-light-blur-0);
  --badge-shadow-color: var(--memphis-elevation-light-color-0);
  --badge-shadow-offset-x: var(--memphis-elevation-light-offset-x-0);
  --badge-shadow-offset-y: var(--memphis-elevation-light-offset-y-0);
  --badge-shadow-spread: var(--memphis-elevation-light-spread-0);
  --badge-transition-duration: .2s;
  --badge-transition-mode: ease;
  --badge-transition-property: background-color, color, border-color, opacity, box-shadow;
  --badge-translate: none;
}

@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(--badge-font-family);
  font-size: var(--badge-font-size);
  line-height: var(--badge-font-line-height);
  font-weight: var(--badge-font-weight);
  letter-spacing: var(--badge-font-letter-spacing);
  -webkit-text-decoration: var(--badge-font-text-decoration);
  text-decoration: var(--badge-font-text-decoration);
  text-transform: var(--badge-font-text-transform);
  transition-duration: var(--badge-transition-duration);
  transition-timing-function: var(--badge-transition-mode);
  transition-property: var(--badge-transition-property);
  padding-top: var(--badge-padding-top);
  padding-right: var(--badge-padding-right);
  padding-bottom: var(--badge-padding-bottom);
  padding-left: var(--badge-padding-left);
  gap: var(--badge-gap);
  background-color: var(--badge-background-color);
  color: var(--badge-foreground-color);
  border-color: var(--badge-border-color);
  border-width: var(--badge-border-width);
  border-radius: var(--badge-border-radius);
  border-style: var(--badge-border-style);
  height: var(--badge-height);
  box-shadow: var(--badge-shadow-offset-x) var(--badge-shadow-offset-y) var(--badge-shadow-blur) var(--badge-shadow-spread) var(--badge-shadow-color);
  align-items: center;
  display: inline-flex;
  position: absolute;
  overflow: hidden;
}

:host [part="icon"] {
  color: inherit;
  flex-shrink: 0;
}

:host [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host {
  --badge-shadow-color: var(--memphis-scheme-highlight);
}

:host([disabled]:not([disabled="false"])) {
  --badge-background-color: var(--memphis-scheme-background);
  --badge-border-color: var(--memphis-scheme-highlight);
  --badge-foreground-color: var(--memphis-scheme-disabled);
}

:host([appearance="solid"]) {
  --badge-background-color: var(--memphis-scheme-highlight);
}

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

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-primary-500);
  --badge-border-color: var(--memphis-color-primary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-secondary-500);
  --badge-border-color: var(--memphis-color-secondary-500);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-tertiary-500);
  --badge-border-color: var(--memphis-color-tertiary-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-danger-500);
  --badge-border-color: var(--memphis-color-danger-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-warning-500);
  --badge-border-color: var(--memphis-color-warning-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-success-500);
  --badge-border-color: var(--memphis-color-success-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-info-500);
  --badge-border-color: var(--memphis-color-info-500);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-highlight-500);
  --badge-border-color: var(--memphis-color-highlight-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-neutral-500);
  --badge-border-color: var(--memphis-color-neutral-500);
}

:host([appearance="plain"]) {
  --badge-border-width: 0px;
  box-shadow: none;
}

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

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

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

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

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

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

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

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

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

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

:host([appearance="soft"]) {
  --badge-border-width: 0px;
  box-shadow: none;
}

:host([appearance="soft"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-neutral-500);
  --badge-background-color: var(--memphis-color-neutral-100);
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-primary-500);
  --badge-background-color: var(--memphis-color-primary-100);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-secondary-500);
  --badge-background-color: var(--memphis-color-secondary-100);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-tertiary-500);
  --badge-background-color: var(--memphis-color-tertiary-100);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-danger-500);
  --badge-background-color: var(--memphis-color-danger-100);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-warning-500);
  --badge-background-color: var(--memphis-color-warning-100);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-success-500);
  --badge-background-color: var(--memphis-color-success-100);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-info-500);
  --badge-background-color: var(--memphis-color-info-100);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-highlight-500);
  --badge-background-color: var(--memphis-color-highlight-100);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--memphis-color-neutral-500);
  --badge-background-color: var(--memphis-color-neutral-100);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-primary-500);
  --badge-foreground-color: var(--memphis-color-primary-0);
  --badge-border-color: var(--memphis-color-primary-500);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-secondary-500);
  --badge-foreground-color: var(--memphis-color-secondary-0);
  --badge-border-color: var(--memphis-color-secondary-500);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-tertiary-500);
  --badge-foreground-color: var(--memphis-color-tertiary-0);
  --badge-border-color: var(--memphis-color-tertiary-500);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-danger-500);
  --badge-foreground-color: var(--memphis-color-danger-0);
  --badge-border-color: var(--memphis-color-danger-500);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-warning-500);
  --badge-foreground-color: var(--memphis-color-warning-0);
  --badge-border-color: var(--memphis-color-warning-500);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-success-500);
  --badge-foreground-color: var(--memphis-color-success-0);
  --badge-border-color: var(--memphis-color-success-500);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-info-500);
  --badge-foreground-color: var(--memphis-color-info-0);
  --badge-border-color: var(--memphis-color-info-500);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-highlight-500);
  --badge-foreground-color: var(--memphis-color-highlight-0);
  --badge-border-color: var(--memphis-color-highlight-500);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-neutral-500);
  --badge-foreground-color: var(--memphis-color-neutral-0);
  --badge-border-color: var(--memphis-color-neutral-500);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-primary-500);
  --badge-foreground-color: var(--memphis-color-primary-0);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-secondary-500);
  --badge-foreground-color: var(--memphis-color-secondary-0);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-tertiary-500);
  --badge-foreground-color: var(--memphis-color-tertiary-0);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-danger-500);
  --badge-foreground-color: var(--memphis-color-danger-0);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-warning-500);
  --badge-foreground-color: var(--memphis-color-warning-0);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-success-500);
  --badge-foreground-color: var(--memphis-color-success-0);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-info-500);
  --badge-foreground-color: var(--memphis-color-info-0);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-highlight-500);
  --badge-foreground-color: var(--memphis-color-highlight-0);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--memphis-color-neutral-500);
  --badge-foreground-color: var(--memphis-color-neutral-0);
}

    `;
}
//# sourceMappingURL=BadgeElement.Memphis.js.map