// ------------------------------------------------------------------------------
// <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 colorEditorElementJoyStyle() {
    return css `
:host {
  --color-editor-background-color: var(--joy-scheme-background);
  --color-editor-border-color: var(--joy-scheme-middlelight);
  --color-editor-border-radius: var(--joy-layout-radius);
  --color-editor-border-style: solid;
  --color-editor-border-width: var(--joy-layout-thickness);
  --color-editor-focus-ring-active-width: 8px;
  --color-editor-focus-ring-color: var(--joy-color-primary-500);
  --color-editor-focus-ring-inward-offset: 2px;
  --color-editor-focus-ring-outward-offset: 2px;
  --color-editor-font-family: var(--joy-font-family);
  --color-editor-font-letter-spacing: unset;
  --color-editor-font-line-height: unset;
  --color-editor-font-size: var(--joy-typography-caption-font-size);
  --color-editor-font-text-decoration: unset;
  --color-editor-font-text-transform: unset;
  --color-editor-font-weight: var(--joy-typography-caption-font-weight);
  --color-editor-foreground-color: var(--joy-scheme-foreground);
  --color-editor-gap: var(--joy-layout-space);
  --color-editor-height: auto;
  --color-editor-padding-bottom: var(--joy-layout-space);
  --color-editor-padding-left: var(--joy-layout-space);
  --color-editor-padding-right: var(--joy-layout-space);
  --color-editor-padding-top: var(--joy-layout-space);
  --color-editor-shadow: none;
  --color-editor-transition-duration: var(--joy-duration-short);
  --color-editor-transition-mode: ease;
  --color-editor-transition-property: background-color, border-color, box-shadow;
  --color-editor-translate: unset;
  --color-editor-width: 320px;
}

@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 {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: var(--color-editor-width);
  background-color: var(--color-editor-background-color);
  border-radius: var(--color-editor-border-radius);
  font-family: var(--color-editor-font-family);
  font-size: var(--color-editor-font-size);
  font-weight: var(--color-editor-font-weight);
  color: var(--color-editor-foreground-color);
  display: block;
}

:host [part="container"] {
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="tools"] {
  padding: var(--color-editor-padding-left);
  padding-top: var(--color-editor-padding-top);
  gap: var(--color-editor-gap);
  flex-direction: column;
  display: flex;
  position: relative;
}

:host [part="tools-row"] {
  align-items: center;
  gap: var(--color-editor-gap);
  display: flex;
}

:host [part="sliders"] {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  display: flex;
}

:host [part="inputs"] {
  padding: 0 var(--color-editor-padding-left) var(--color-editor-padding-bottom);
}

:host [part="palette"] {
  border-top: 1px solid var(--color-editor-border-color, currentcolor);
}

:host ::slotted([slot="area"]), :host ::slotted([slot="hue-slider"]), :host ::slotted([slot="alpha-slider"]) {
  width: 100%;
  display: block;
}

:host ::slotted([slot="swatch"]) {
  flex-shrink: 0;
}

:host ::slotted([slot="inputs"]), :host ::slotted([slot="palette"]) {
  width: 100%;
  display: block;
}

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