// ------------------------------------------------------------------------------
// <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 toolbarElementJoyStyle() {
    return css `
:host {
  --toolbar-background-color: var(--joy-scheme-background);
  --toolbar-border-color: var(--joy-scheme-highlight);
  --toolbar-border-radius: var(--joy-layout-radius);
  --toolbar-border-style: solid;
  --toolbar-border-width: var(--joy-layout-thickness);
  --toolbar-font-family: var(--joy-font-family);
  --toolbar-font-letter-spacing: unset;
  --toolbar-font-line-height: unset;
  --toolbar-font-size: 24px;
  --toolbar-font-text-decoration: unset;
  --toolbar-font-text-transform: unset;
  --toolbar-font-weight: normal;
  --toolbar-foreground-color: var(--joy-scheme-foreground);
  --toolbar-gap: 16px;
  --toolbar-height: 64px;
  --toolbar-line-height: 28px;
  --toolbar-padding-bottom: var(--joy-layout-space);
  --toolbar-padding-left: calc(var(--joy-layout-space) * 2);
  --toolbar-padding-right: calc(var(--joy-layout-space) * 2);
  --toolbar-padding-top: var(--joy-layout-space);
  --toolbar-shadow-blur: unset;
  --toolbar-shadow-color: unset;
  --toolbar-shadow-offset-x: unset;
  --toolbar-shadow-offset-y: unset;
  --toolbar-shadow-spread: unset;
  --toolbar-transition-duration: var(--joy-duration-short);
  --toolbar-transition-mode: ease;
  --toolbar-transition-property: all;
  --toolbar-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(--toolbar-font-family);
  font-size: var(--toolbar-font-size);
  font-weight: var(--toolbar-font-weight);
  line-height: var(--toolbar-line-height);
  min-height: var(--toolbar-height);
  padding-top: var(--toolbar-padding-top);
  padding-bottom: var(--toolbar-padding-bottom);
  padding-left: var(--toolbar-padding-left);
  padding-right: var(--toolbar-padding-right);
  background-color: var(--toolbar-background-color);
  color: var(--toolbar-foreground-color);
  border-radius: var(--toolbar-border-radius);
  box-shadow: var(--toolbar-shadow-offset-x) var(--toolbar-shadow-offset-y) var(--toolbar-shadow-blur) var(--toolbar-shadow-spread) var(--toolbar-shadow-color);
  border-style: var(--toolbar-border-style);
  border-color: var(--toolbar-border-color);
  border-width: var(--toolbar-border-width);
  align-items: center;
  display: flex;
}

:host [part="root"] {
  align-items: center;
  gap: var(--toolbar-gap);
  flex: 1;
  display: flex;
}

:host [part="main"] {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

:host [part="main"] [part="title"] ::slotted(*) {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

:host [part="main"] [part="subTitle"] ::slotted(*) {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

:host [part="main"] [part="title"] ::slotted(*), :host [part="main"] [part="subTitle"] ::slotted(*) {
  padding: 0 var(--joy-layout-space);
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --toolbar-border-style: solid;
}

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

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

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

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

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

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

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

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

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

:host([appearance="plain"]) {
  --toolbar-border-style: none;
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) {
  --toolbar-background-color: transparent;
}

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

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

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

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

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

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

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

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

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

:host([appearance="soft"]) {
  --toolbar-border-style: none;
}

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

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

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

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

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

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

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

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

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

:host([appearance="solid"]) {
  --toolbar-border-style: none;
}

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

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

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

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

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

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

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

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

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

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