// ------------------------------------------------------------------------------
// <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 colorEditorAreaElementCosmopolitanStyle() {
    return css `
:host {
  --color-editor-area-background-color: transparent;
  --color-editor-area-border-color: transparent;
  --color-editor-area-border-radius: var(--cosmopolitan-layout-radius);
  --color-editor-area-border-style: none;
  --color-editor-area-border-width: 0;
  --color-editor-area-focus-ring-active-width: 8px;
  --color-editor-area-focus-ring-color: var(--cosmopolitan-color-primary-500);
  --color-editor-area-focus-ring-inward-offset: 2px;
  --color-editor-area-focus-ring-outward-offset: 2px;
  --color-editor-area-font-family: unset;
  --color-editor-area-font-letter-spacing: unset;
  --color-editor-area-font-line-height: unset;
  --color-editor-area-font-size: unset;
  --color-editor-area-font-text-decoration: unset;
  --color-editor-area-font-text-transform: unset;
  --color-editor-area-font-weight: unset;
  --color-editor-area-foreground-color: var(--cosmopolitan-scheme-foreground);
  --color-editor-area-gap: unset;
  --color-editor-area-height: calc(var(--cosmopolitan-layout-space) * 16);
  --color-editor-area-padding-bottom: unset;
  --color-editor-area-padding-left: unset;
  --color-editor-area-padding-right: unset;
  --color-editor-area-padding-top: unset;
  --color-editor-area-shadow: var(--cosmopolitan-elevation-light-offset-x-1) var(--cosmopolitan-elevation-light-offset-y-1) var(--cosmopolitan-elevation-light-blur-1) var(--cosmopolitan-elevation-light-spread-1) var(--cosmopolitan-elevation-light-color-1);
  --color-editor-area-shadow-blur: var(--cosmopolitan-elevation-light-blur-1);
  --color-editor-area-shadow-color: var(--cosmopolitan-elevation-light-color-1);
  --color-editor-area-shadow-offset-x: var(--cosmopolitan-elevation-light-offset-x-1);
  --color-editor-area-shadow-offset-y: var(--cosmopolitan-elevation-light-offset-y-1);
  --color-editor-area-shadow-spread: var(--cosmopolitan-elevation-light-spread-1);
  --color-editor-area-thumb-border-color: var(--cosmopolitan-scheme-surface);
  --color-editor-area-thumb-border-radius: 50%;
  --color-editor-area-thumb-border-width: calc(var(--cosmopolitan-layout-thickness) * 2);
  --color-editor-area-thumb-shadow: var(--cosmopolitan-elevation-light-1);
  --color-editor-area-thumb-size: calc(var(--cosmopolitan-layout-space) * 1.75);
  --color-editor-area-transition-duration: var(--cosmopolitan-duration-short);
  --color-editor-area-transition-mode: ease;
  --color-editor-area-transition-property: box-shadow, border-color;
  --color-editor-area-translate: none;
  --color-editor-area-width: 100%;
}

@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 {
  width: var(--color-editor-area-width);
  height: var(--color-editor-area-height);
  border-radius: var(--color-editor-area-border-radius);
  touch-action: none;
  cursor: crosshair;
  box-sizing: border-box;
  display: block;
  position: relative;
  overflow: hidden;
}

:host [part="gradient-saturation"] {
  pointer-events: none;
  background-image: linear-gradient(to right, #fff, #cc9a8100);
  position: absolute;
  inset: 0;
}

:host [part="gradient-value"] {
  pointer-events: none;
  background-image: linear-gradient(to top, #000, #cc9a8100);
  position: absolute;
  inset: 0;
}

:host [part="thumb"] {
  width: var(--color-editor-area-thumb-size);
  height: var(--color-editor-area-thumb-size);
  border-radius: var(--color-editor-area-thumb-border-radius);
  border: var(--color-editor-area-thumb-border-width) solid var(--color-editor-area-thumb-border-color);
  box-shadow: var(--color-editor-area-thumb-shadow);
  cursor: move;
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transition-duration: var(--color-editor-area-transition-duration);
  transition-timing-function: var(--color-editor-area-transition-mode);
  transition-property: var(--color-editor-area-transition-property);
  box-shadow: var(--color-editor-area-shadow-offset-x) var(--color-editor-area-shadow-offset-y) var(--color-editor-area-shadow-blur) var(--color-editor-area-shadow-spread) var(--color-editor-area-shadow-color);
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

:host:focus-visible [part="thumb"] {
  border-color: var(--color-editor-area-focus-ring-color);
  box-shadow: 0 0 0 2px var(--color-editor-area-focus-ring-color);
}

    `;
}
//# sourceMappingURL=ColorEditorAreaElement.Cosmopolitan.js.map