// ------------------------------------------------------------------------------
// <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 textElementRetroStyle() {
    return css `
:host {
  --text-background-color: transparent;
  --text-border-color: transparent;
  --text-border-radius: 0px;
  --text-border-style: solid;
  --text-border-width: 0px;
  --text-font-decoration: var(--retro-typography-body1-text-decoration);
  --text-font-family: var(--retro-font-family);
  --text-font-letter-spacing: var(--retro-typography-body1-letter-spacing);
  --text-font-line-height: var(--retro-typography-body1-line-height);
  --text-font-size: var(--retro-typography-body1-font-size);
  --text-font-text-decoration: unset;
  --text-font-text-transform: unset;
  --text-font-transform: var(--retro-typography-body1-text-transform);
  --text-font-weight: var(--retro-typography-body1-font-weight);
  --text-foreground-color: var(--retro-scheme-foreground);
  --text-gap: 0px;
  --text-padding-bottom: 0px;
  --text-padding-left: 0px;
  --text-padding-right: 0px;
  --text-padding-top: 0px;
  --text-shadow: var(--retro-elevation-none);
  --text-transition-duration: .2s;
  --text-transition-mode: ease;
  --text-transition-property: color, opacity, box-shadow;
  --text-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(--text-font-family);
  font-size: var(--text-font-size);
  line-height: var(--text-font-line-height);
  font-weight: var(--text-font-weight);
  letter-spacing: var(--text-font-letter-spacing);
  -webkit-text-decoration: var(--text-font-text-decoration);
  text-decoration: var(--text-font-text-decoration);
  text-transform: var(--text-font-text-transform);
  padding-top: var(--text-padding-top);
  padding-right: var(--text-padding-right);
  padding-bottom: var(--text-padding-bottom);
  padding-left: var(--text-padding-left);
  gap: var(--text-gap);
  background-color: var(--text-background-color);
  color: var(--text-foreground-color);
  line-clamp: var(--max-lines);
  -webkit-line-clamp: var(--max-lines);
  text-align: left;
  box-orient: vertical;
  box-sizing: border-box;
  line-break: normal;
  word-break: normal;
  white-space: nowrap;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

:host [part="text"] {
  display: inherit;
  box-orient: inherit;
  line-clamp: inherit;
  -webkit-line-clamp: inherit;
  text-align: inherit;
  font: inherit;
  vertical-align: baseline;
  border: none;
  -webkit-box-orient: vertical;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

:host([alignment="center"]) {
  text-align: center;
}

:host([alignment="justify"]) {
  text-align: justify;
}

:host([alignment="left"]) {
  text-align: left;
}

:host([alignment="right"]) {
  text-align: right;
}

:host([wrap]), :host([wrap]) [part="text"] {
  white-space: normal;
}

:host([truncate]), :host([truncate]) [part="text"] {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

:host([role="link"]) {
  cursor: pointer;
}

    `;
}
//# sourceMappingURL=TextElement.Retro.js.map