// ------------------------------------------------------------------------------
// <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 segmentElementRetroStyle() {
    return css `
:host {
  --segment-background-color: var(--retro-scheme-background);
  --segment-border-color: var(--retro-scheme-contrast);
  --segment-border-radius: var(--retro-layout-radius);
  --segment-border-style: solid;
  --segment-border-width: var(--retro-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(--retro-scheme-foreground);
  --segment-gap: var(--retro-layout-space);
  --segment-indicator-height: calc(100% - (var(--segment-padding-top)  + var(--segment-padding-bottom)));
  --segment-padding-bottom: var(--retro-layout-space);
  --segment-padding-left: var(--retro-layout-space);
  --segment-padding-right: var(--retro-layout-space);
  --segment-padding-top: var(--retro-layout-space);
  --segment-shadow-blur: var(--retro-elevation-semilight-blur-0);
  --segment-shadow-color: var(--retro-elevation-semilight-color-0);
  --segment-shadow-offset-x: var(--retro-elevation-semilight-offset-x-0);
  --segment-shadow-offset-y: var(--retro-elevation-semilight-offset-y-0);
  --segment-shadow-spread: var(--retro-elevation-semilight-spread-0);
  --segment-transition-duration: var(--retro-layout-transition);
  --segment-transition-mode: ease;
  --segment-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --segment-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 {
  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;
  --segment-shadow-color: var(--retro-scheme-highlight);
  width: auto;
  box-shadow: var(--segment-shadow-offset-x) var(--segment-shadow-offset-y) var(--segment-shadow-blur) var(--segment-shadow-spread) var(--segment-shadow-color);
  grid-auto-columns: minmax(min-content, 1fr);
  justify-content: start;
  align-items: stretch;
  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([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --segment-background-color: var(--retro-color-primary-500);
  --segment-foreground-color: var(--retro-color-primary-0);
  --segment-shadow-color: var(--retro-color-primary-200);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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