// ------------------------------------------------------------------------------
// <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 listingItemElementCosmopolitanStyle() {
    return css `
:host {
  --listing-item-background-color: unset;
  --listing-item-font-family: unset;
  --listing-item-font-letter-spacing: unset;
  --listing-item-font-line-height: unset;
  --listing-item-font-size: unset;
  --listing-item-font-text-decoration: unset;
  --listing-item-font-text-transform: unset;
  --listing-item-font-weight: unset;
  --listing-item-foreground-color: unset;
  --listing-item-gap: unset;
  --listing-item-padding-bottom: unset;
  --listing-item-padding-left: unset;
  --listing-item-padding-right: unset;
  --listing-item-padding-top: unset;
  --listing-item-shadow: 0px 0px 0px 0px transparent;
  --listing-item-shadow-blur: 0px;
  --listing-item-shadow-color: transparent;
  --listing-item-shadow-offset-x: 0px;
  --listing-item-shadow-offset-y: 0px;
  --listing-item-shadow-spread: 0px;
  --listing-item-transition-duration: unset;
  --listing-item-transition-mode: unset;
  --listing-item-transition-property: unset;
  --listing-item-translate: none;
}

@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;
  font-family: var(--listing-item-font-family);
  font-size: var(--listing-item-font-size);
  font-weight: var(--listing-item-font-weight);
  line-height: var(--listing-item-font-line-height);
  color: var(--listing-item-foreground-color);
  background-color: var(--listing-item-background-color);
  padding-top: var(--listing-item-padding-top);
  padding-right: var(--listing-item-padding-right);
  padding-bottom: var(--listing-item-padding-bottom);
  padding-left: var(--listing-item-padding-left);
  transition-duration: var(--listing-item-transition-duration);
  transition-timing-function: var(--listing-item-transition-mode);
  transition-property: var(--listing-item-transition-property);
  display: block;
}

:host [part="item"] {
  align-items: baseline;
  gap: var(--listing-item-gap);
  flex-direction: row;
  display: flex;
}

:host [part="content"] {
  flex: 1;
  min-width: 0;
}

:host([size="large"]) [part="item"] {
  gap: calc(var(--listing-item-gap) * 1.5);
}

:host([disabled]:not([disabled="false"])) {
  --listing-item-foreground-color: var(--cosmopolitan-scheme-disabled);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --listing-item-foreground-color: var(--cosmopolitan-color-neutral-500);
}

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