// ------------------------------------------------------------------------------
// <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 fontEditorElementMemphisStyle() {
    return css `
:host {
  --font-editor-alphabet-button-background-color: transparent;
  --font-editor-alphabet-button-background-color-active: var(--memphis-color-primary-500);
  --font-editor-alphabet-button-background-color-hover: var(--memphis-scheme-middlelight);
  --font-editor-alphabet-button-border-radius: var(--memphis-layout-radius);
  --font-editor-alphabet-button-foreground-color: var(--memphis-scheme-foreground);
  --font-editor-alphabet-button-foreground-color-active: var(--memphis-scheme-on-primary);
  --font-editor-alphabet-button-foreground-color-disabled: var(--memphis-scheme-disabled);
  --font-editor-alphabet-button-foreground-color-hover: var(--memphis-scheme-foreground);
  --font-editor-alphabet-button-size: 24px;
  --font-editor-background-color: var(--memphis-scheme-background);
  --font-editor-border-color: var(--memphis-scheme-middlelight);
  --font-editor-border-radius: var(--memphis-layout-radius);
  --font-editor-border-style: solid;
  --font-editor-border-width: var(--memphis-layout-thickness);
  --font-editor-focus-ring-active-width: 8px;
  --font-editor-focus-ring-color: var(--memphis-color-primary-500);
  --font-editor-focus-ring-inward-offset: 2px;
  --font-editor-focus-ring-outward-offset: 2px;
  --font-editor-font-category-font-size: var(--memphis-typography-caption-font-size);
  --font-editor-font-category-foreground-color: var(--memphis-scheme-disabled);
  --font-editor-font-family: var(--memphis-font-family);
  --font-editor-font-item-background-color: transparent;
  --font-editor-font-item-background-color-hover: var(--memphis-scheme-middlelight);
  --font-editor-font-item-background-color-selected: color-mix(in srgb, var(--memphis-color-primary-500) 15%, transparent);
  --font-editor-font-item-border-radius: var(--memphis-layout-radius);
  --font-editor-font-item-padding: var(--memphis-layout-space);
  --font-editor-font-letter-spacing: unset;
  --font-editor-font-line-height: unset;
  --font-editor-font-name-font-size: var(--memphis-typography-body-font-size);
  --font-editor-font-size: var(--memphis-typography-body-font-size);
  --font-editor-font-text-decoration: unset;
  --font-editor-font-text-transform: unset;
  --font-editor-font-weight: var(--memphis-typography-body-font-weight);
  --font-editor-foreground-color: var(--memphis-scheme-foreground);
  --font-editor-gap: var(--memphis-layout-space);
  --font-editor-height: auto;
  --font-editor-list-height: 300px;
  --font-editor-padding-bottom: var(--memphis-layout-space);
  --font-editor-padding-left: var(--memphis-layout-space);
  --font-editor-padding-right: var(--memphis-layout-space);
  --font-editor-padding-top: var(--memphis-layout-space);
  --font-editor-preview-background-color: var(--memphis-scheme-middlelight);
  --font-editor-preview-border-radius: var(--memphis-layout-radius);
  --font-editor-preview-font-size: var(--memphis-typography-display-font-size);
  --font-editor-preview-min-height: calc(var(--memphis-layout-space) * 12);
  --font-editor-shadow: unset unset unset unset unset;
  --font-editor-shadow-blur: unset;
  --font-editor-shadow-color: unset;
  --font-editor-shadow-offset-x: unset;
  --font-editor-shadow-offset-y: unset;
  --font-editor-shadow-spread: unset;
  --font-editor-transition-duration: var(--memphis-duration-short);
  --font-editor-transition-mode: ease;
  --font-editor-transition-property: unset;
  --font-editor-translate: none;
  --font-editor-width: calc(var(--memphis-layout-space) * 40);
}

@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(--font-editor-width);
  background-color: var(--font-editor-background-color);
  border-radius: var(--font-editor-border-radius);
  font-family: var(--font-editor-font-family);
  font-size: var(--font-editor-font-size);
  font-weight: var(--font-editor-font-weight);
  color: var(--font-editor-foreground-color);
  display: block;
}

:host [part="container"] {
  gap: var(--font-editor-gap);
  flex-direction: column;
  display: flex;
}

:host [part="preview"] {
  padding: var(--font-editor-padding-top) var(--font-editor-padding-left);
  border-bottom: 1px solid var(--font-editor-border-color, currentcolor);
}

:host [part="preview-text"] {
  word-wrap: break-word;
  white-space: pre-wrap;
  font-size: 24px;
  line-height: 1.4;
}

:host [part="search"] {
  padding: var(--font-editor-padding-top) var(--font-editor-padding-left) 0;
}

:host [part="filters"] {
  gap: var(--font-editor-gap);
  padding: 0 var(--font-editor-padding-left);
  flex-direction: column;
  display: flex;
}

:host [part="category-filter"] {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

:host [part="alphabet-filter"] {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

:host [part="alphabet"] {
  flex-wrap: wrap;
  gap: 2px;
  display: flex;
}

:host [part="alphabet-button"] {
  --button-min-width: 32px;
  --button-height: 32px;
}

:host [part="list-container"] {
  padding: 0 var(--font-editor-padding-left) var(--font-editor-padding-bottom);
  max-height: var(--font-editor-list-height);
  overflow-y: auto;
}

:host [part="font-item"] {
  cursor: pointer;
  border-radius: var(--font-editor-border-radius);
  transition: background-color var(--font-editor-transition-duration) var(--font-editor-transition-mode);
  padding: 8px;
}

:host [part="font-item"]:hover {
  background-color: var(--font-editor-hover-background-color, #0000000d);
}

:host [part="loading"] {
  padding: var(--font-editor-padding-top);
  justify-content: center;
  align-items: center;
  display: flex;
}

:host [part="empty"] {
  padding: var(--font-editor-padding-top);
  text-align: center;
  color: var(--font-editor-muted-color, #00000080);
}

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