// ------------------------------------------------------------------------------
// <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 markerElementJoyStyle() {
    return css `
:host {
  --marker-background-color: var(--joy-scheme-background);
  --marker-border-color: var(--joy-scheme-highlight);
  --marker-border-radius: 50%;
  --marker-border-style: solid;
  --marker-border-width: var(--joy-layout-thickness);
  --marker-font-family: var(--joy-font-family);
  --marker-font-letter-spacing: var(--joy-typography-body2-letter-spacing);
  --marker-font-line-height: var(--joy-typography-body2-line-height);
  --marker-font-size: var(--joy-typography-body2-font-size);
  --marker-font-text-decoration: var(--joy-typography-body2-text-decoration);
  --marker-font-text-transform: var(--joy-typography-body2-text-transform);
  --marker-font-weight: var(--joy-typography-body2-font-weight);
  --marker-foreground-color: var(--joy-scheme-foreground);
  --marker-gap: calc(var(--joy-layout-space) / 2);
  --marker-height: 22px;
  --marker-padding-bottom: calc(var(--joy-layout-space) / 2);
  --marker-padding-left: calc(var(--joy-layout-space) / 2);
  --marker-padding-right: calc(var(--joy-layout-space) / 2);
  --marker-padding-top: calc(var(--joy-layout-space) / 2);
  --marker-transition-duration: var(--joy-duration-short);
  --marker-transition-mode: ease;
  --marker-transition-property: background-color, color, border-color, opacity, box-shadow;
  --marker-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(--marker-font-family);
  font-size: var(--marker-font-size);
  line-height: var(--marker-font-line-height);
  font-weight: var(--marker-font-weight);
  letter-spacing: var(--marker-font-letter-spacing);
  -webkit-text-decoration: var(--marker-font-text-decoration);
  text-decoration: var(--marker-font-text-decoration);
  text-transform: var(--marker-font-text-transform);
  transition-duration: var(--marker-transition-duration);
  transition-timing-function: var(--marker-transition-mode);
  transition-property: var(--marker-transition-property);
  padding-top: var(--marker-padding-top);
  padding-right: var(--marker-padding-right);
  padding-bottom: var(--marker-padding-bottom);
  padding-left: var(--marker-padding-left);
  gap: var(--marker-gap);
  background-color: var(--marker-background-color);
  color: var(--marker-foreground-color);
  border-color: var(--marker-border-color);
  border-width: var(--marker-border-width);
  border-style: var(--marker-border-style);
  height: var(--marker-height);
  width: var(--marker-height);
  box-sizing: border-box;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

: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;
  text-align: center;
}

:host {
  --_size: unset;
  --_tiny: 8px;
  --_small: 16px;
  --_medium: 22px;
  --_large: 28px;
  --_giant: 32px;
}

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

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

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

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

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

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

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

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

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

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

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

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

:host([appearance="plain"]) {
  --marker-border-width: 0px;
}

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

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

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

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

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

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

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

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

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

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

:host([appearance="soft"]) {
  --marker-border-width: 0px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:host([size="tiny"]) {
  --_size: var(--_tiny);
}

:host([size="tiny"]) [part="label"] {
  height: 8px;
  font-size: 0;
  line-height: 0;
}

:host([size="small"]) {
  --_size: var(--_small);
}

:host([size="small"]) [part="label"] {
  height: 10px;
  font-size: 8px;
  line-height: 10px;
}

:host([size="medium"]) {
  --_size: var(--_medium);
}

:host([size="medium"]) [part="label"] {
  height: 16px;
  font-size: 14px;
  line-height: 16px;
}

:host([size="large"]) {
  --_size: var(--_large);
}

:host([size="large"]) [part="label"] {
  height: 20px;
  font-size: 20px;
  line-height: 22px;
}

:host([size="giant"]) {
  --_size: var(--_giant);
}

:host([size="giant"]) [part="label"] {
  height: 24px;
  font-size: 24px;
  line-height: 24px;
}

:host([size="tiny"]) {
  font-size: calc(var(--marker-font-size) - 4px);
}

:host([size="small"]) {
  font-size: calc(var(--marker-font-size) - 2px);
}

:host([size="medium"]) {
  font-size: var(--marker-font-size);
}

:host([size="large"]) {
  font-size: calc(var(--marker-font-size) + 2px);
}

:host([size="giant"]) {
  font-size: calc(var(--marker-font-size) + 4px);
}

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