// ------------------------------------------------------------------------------
// <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 segmentElementMemphisStyle() {
    return css `
:host {
  --segment-background-color: var(--memphis-scheme-background);
  --segment-border-color: var(--memphis-scheme-contrast);
  --segment-border-radius: var(--memphis-layout-radius);
  --segment-border-style: solid;
  --segment-border-width: var(--memphis-layout-thickness);
  --segment-font-family: unset;
  --segment-font-letter-spacing: unset;
  --segment-font-line-height: unset;
  --segment-font-size: unset;
  --segment-font-text-decoration: unset;
  --segment-font-text-transform: unset;
  --segment-font-weight: unset;
  --segment-foreground-color: var(--memphis-scheme-foreground);
  --segment-gap: var(--memphis-layout-space);
  --segment-indicator-height: calc(100% - (var(--segment-padding-top) + var(--segment-padding-bottom)));
  --segment-padding-bottom: var(--memphis-layout-space);
  --segment-padding-left: var(--memphis-layout-space);
  --segment-padding-right: var(--memphis-layout-space);
  --segment-padding-top: var(--memphis-layout-space);
  --segment-shadow: var(--memphis-elevation-semilight-offset-x-0) var(--memphis-elevation-semilight-offset-y-0) var(--memphis-elevation-semilight-blur-0) var(--memphis-elevation-semilight-spread-0) var(--memphis-elevation-semilight-color-0);
  --segment-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --segment-shadow-color: var(--memphis-elevation-semilight-color-0);
  --segment-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --segment-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --segment-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --segment-transition-duration: var(--memphis-layout-transition);
  --segment-transition-mode: ease;
  --segment-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --segment-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 {
  background-color: var(--segment-background-color);
  border-color: var(--segment-border-color);
  color: var(--segment-foreground-color);
  padding-top: var(--segment-padding-top);
  padding-right: var(--segment-padding-right);
  padding-bottom: var(--segment-padding-bottom);
  padding-left: var(--segment-padding-left);
  gap: var(--segment-gap);
  border-width: var(--segment-border-width);
  border-radius: var(--segment-border-radius);
  border-style: var(--segment-border-style);
  transition-duration: var(--segment-transition-duration);
  transition-timing-function: var(--segment-transition-mode);
  transition-property: var(--segment-transition-property);
  text-align: center;
  contain: paint;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 0;
  grid-auto-columns: minmax(min-content, 1fr);
  justify-content: start;
  align-items: stretch;
  width: auto;
  display: grid;
  position: relative;
  overflow: auto hidden;
}

:host::-webkit-scrollbar {
  display: none;
}

:host slot {
  z-index: 1;
  display: grid;
}

:host [part="indicator"] {
  border-radius: inherit;
  width: 100%;
  height: var(--segment-indicator-height);
  top: var(--segment-padding-top);
  bottom: var(--segment-padding-bottom);
}

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

:host {
  --segment-shadow-color: var(--memphis-scheme-highlight);
  box-shadow: var(--segment-shadow-offset-x) var(--segment-shadow-offset-y) var(--segment-shadow-blur) var(--segment-shadow-spread) var(--segment-shadow-color);
}

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

:host([variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-primary-600);
}

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

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-secondary-600);
}

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

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-tertiary-600);
}

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

:host([variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-danger-600);
}

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

:host([variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-warning-600);
}

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

:host([variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-success-600);
}

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

:host([variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-info-600);
}

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

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-highlight-600);
}

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

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-color-neutral-600);
}

:host([appearance="outline"]) {
  --segment-border-width: var(--memphis-layout-thickness);
  --segment-border-style: solid;
  --segment-shadow-color: var(--memphis-color-neutral-200);
}

:host([appearance="outline"][variant="primary"]) {
  --segment-shadow-color: var(--memphis-color-primary-200);
}

:host([appearance="outline"][variant="secondary"]) {
  --segment-shadow-color: var(--memphis-color-secondary-200);
}

:host([appearance="outline"][variant="tertiary"]) {
  --segment-shadow-color: var(--memphis-color-tertiary-200);
}

:host([appearance="outline"][variant="danger"]) {
  --segment-shadow-color: var(--memphis-color-danger-200);
}

:host([appearance="outline"][variant="warning"]) {
  --segment-shadow-color: var(--memphis-color-warning-200);
}

:host([appearance="outline"][variant="success"]) {
  --segment-shadow-color: var(--memphis-color-success-200);
}

:host([appearance="outline"][variant="info"]) {
  --segment-shadow-color: var(--memphis-color-info-200);
}

:host([appearance="outline"][variant="highlight"]) {
  --segment-shadow-color: var(--memphis-color-highlight-200);
}

:host([appearance="outline"][variant="neutral"]) {
  --segment-shadow-color: var(--memphis-color-neutral-200);
}

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

:host([appearance="outline"]:not([disabled]:not([disabled="false"])):hover) {
  --segment-background-color: var(--memphis-scheme-background);
  --segment-foreground-color: var(--memphis-scheme-foreground);
}

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

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

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

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

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

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

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

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

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

:host([appearance="solid"]) {
  --segment-shadow-color: var(--memphis-scheme-disabled);
}

:host([appearance="solid"]:not([disabled]:not([disabled="false"]))) {
  --segment-background-color: var(--memphis-scheme-highlight);
  --segment-border-color: var(--memphis-scheme-contrast);
  --segment-shadow-color: var(--memphis-scheme-highlight);
  --segment-foreground-color: var(--memphis-scheme-foreground);
}

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

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

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

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

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

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

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

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

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

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