// ------------------------------------------------------------------------------
// <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 colorEditorSwatchElementMemphisStyle() {
    return css `
:host {
  --color-editor-swatch-background-color: transparent;
  --color-editor-swatch-border-color: var(--memphis-scheme-contrast);
  --color-editor-swatch-border-radius: 0;
  --color-editor-swatch-border-style: solid;
  --color-editor-swatch-border-width: var(--memphis-layout-thickness);
  --color-editor-swatch-checkerboard-size: 8px;
  --color-editor-swatch-font-family: unset;
  --color-editor-swatch-font-letter-spacing: unset;
  --color-editor-swatch-font-line-height: unset;
  --color-editor-swatch-font-size: unset;
  --color-editor-swatch-font-text-decoration: unset;
  --color-editor-swatch-font-text-transform: unset;
  --color-editor-swatch-font-weight: unset;
  --color-editor-swatch-foreground-color: var(--memphis-scheme-foreground);
  --color-editor-swatch-gap: unset;
  --color-editor-swatch-height: calc(var(--memphis-layout-space) * 4);
  --color-editor-swatch-padding-bottom: unset;
  --color-editor-swatch-padding-left: unset;
  --color-editor-swatch-padding-right: unset;
  --color-editor-swatch-padding-top: unset;
  --color-editor-swatch-shadow: unset unset unset unset unset;
  --color-editor-swatch-shadow-blur: unset;
  --color-editor-swatch-shadow-color: unset;
  --color-editor-swatch-shadow-offset-x: unset;
  --color-editor-swatch-shadow-offset-y: unset;
  --color-editor-swatch-shadow-spread: unset;
  --color-editor-swatch-transition-duration: var(--memphis-duration-short);
  --color-editor-swatch-transition-mode: ease;
  --color-editor-swatch-transition-property: opacity, background-color;
  --color-editor-swatch-translate: none;
  --color-editor-swatch-width: calc(var(--memphis-layout-space) * 4);
}

@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-swatch-width);
  height: var(--color-editor-swatch-height);
  border-radius: var(--color-editor-swatch-border-radius);
  box-sizing: border-box;
  flex-shrink: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

:host [part="checkerboard"] {
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect fill='%23ccc' width='4' height='4'/%3E%3Crect fill='%23ccc' x='4' y='4' width='4' height='4'/%3E%3C/svg%3E");
  background-size: var(--color-editor-swatch-checkerboard-size) var(--color-editor-swatch-checkerboard-size);
  background-repeat: repeat;
  position: absolute;
  inset: 0;
}

:host [part="color"] {
  border-radius: inherit;
  position: absolute;
  inset: 0;
}

:host [part="color"][data-light="true"] {
  border: var(--color-editor-swatch-border-width) var(--color-editor-swatch-border-style) var(--color-editor-swatch-border-color);
}

:host [part="copy-button"] {
  border-radius: inherit;
  cursor: pointer;
  opacity: 0;
  transition-duration: var(--color-editor-swatch-transition-duration);
  transition-timing-function: var(--color-editor-swatch-transition-mode);
  transition-property: var(--color-editor-swatch-transition-property);
  background-color: #0000004d;
  border: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
  position: absolute;
  inset: 0;
}

:host [part="copy-button"]:hover, :host [part="copy-button"]:focus-visible {
  opacity: 1;
}

:host [part="copy-button"] svg {
  fill: #fff;
  width: 16px;
  height: 16px;
}

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