// ------------------------------------------------------------------------------
// <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 pressButtonElementJoyStyle() {
    return css `
:host {
  --press-button-background-color: var(--joy-scheme-background);
  --press-button-border-color: var(--joy-scheme-highlight);
  --press-button-border-radius: var(--joy-layout-radius);
  --press-button-border-style: solid;
  --press-button-border-width: var(--joy-layout-thickness);
  --press-button-focus-ring-active-width: 8px;
  --press-button-focus-ring-color: unset;
  --press-button-focus-ring-inward-offset: 2px;
  --press-button-focus-ring-outward-offset: 2px;
  --press-button-font-family: var(--joy-typography-button-font-family);
  --press-button-font-letter-spacing: var(--joy-typography-button-letter-spacing);
  --press-button-font-line-height: var(--joy-typography-button-line-height);
  --press-button-font-size: var(--joy-typography-button-font-size);
  --press-button-font-text-decoration: var(--joy-typography-button-text-decoration);
  --press-button-font-text-transform: var(--joy-typography-button-text-transform);
  --press-button-font-weight: var(--joy-typography-button-font-weight);
  --press-button-foreground-color: var(--joy-scheme-foreground);
  --press-button-gap: var(--joy-layout-space);
  --press-button-height: auto;
  --press-button-icon-min-width: 36px;
  --press-button-icon-min-height: 36px;
  --press-button-line-height: calc(var(--press-button-font-line-height) - 4px);
  --press-button-min-height: calc(var(--joy-layout-space) * 5 - var(--joy-layout-space) / 2);
  --press-button-min-width: 64px;
  --press-button-padding-bottom: var(--joy-layout-space);
  --press-button-padding-left: calc(var(--joy-layout-space) * 2);
  --press-button-padding-right: calc(var(--joy-layout-space) * 2);
  --press-button-padding-top: var(--joy-layout-space);
  --press-button-progress-fill-color: currentColor;
  --press-button-progress-ring-width: var(--joy-layout-thickness);
  --press-button-progress-thickness: var(--joy-layout-thickness);
  --press-button-ripple-color: unset;
  --press-button-ripple-duration: .2s;
  --press-button-shadow: unset unset unset unset unset;
  --press-button-shadow-blur: unset;
  --press-button-shadow-color: unset;
  --press-button-shadow-offset-x: unset;
  --press-button-shadow-offset-y: unset;
  --press-button-shadow-spread: unset;
  --press-button-transition-duration: var(--joy-duration-short);
  --press-button-transition-mode: ease;
  --press-button-transition-property: background-color, color, border-color, opacity, box-shadow;
  --press-button-translate: none;
  --press-button-width: auto;
}

@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(--press-button-font-family);
  font-size: var(--press-button-font-size);
  line-height: var(--press-button-font-line-height);
  font-weight: var(--press-button-font-weight);
  letter-spacing: var(--press-button-font-letter-spacing);
  -webkit-text-decoration: var(--press-button-font-text-decoration);
  text-decoration: var(--press-button-font-text-decoration);
  text-transform: var(--press-button-font-text-transform);
  transition-duration: var(--press-button-transition-duration);
  transition-timing-function: var(--press-button-transition-mode);
  transition-property: var(--press-button-transition-property);
  cursor: pointer;
  border-start-start-radius: var(--press-button-border-radius);
  border-start-end-radius: var(--press-button-border-radius);
  border-end-end-radius: var(--press-button-border-radius);
  border-end-start-radius: var(--press-button-border-radius);
  width: auto;
  height: auto;
  display: flex;
}

:host [part="focusRing"] {
  --focus-ring-color: var(--press-button-focus-ring-color);
  --focus-ring-active-width: var(--press-button-focus-ring-active-width);
  --focus-ring-inward-offset: var(--press-button-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--press-button-focus-ring-outward-offset);
}

:host [part="ripple"] {
  --ripple-background-color: var(--press-button-ripple-color);
  --ripple-duration: var(--press-button-ripple-duration);
}

:host [part="progressRing"] {
  --progress-ring-thickness: var(--press-button-progress-ring-width);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

:host [part="innerStack"] {
  --stack-gap: var(--press-button-gap);
}

:host [part="button"]:before {
  border-radius: var(--press-button-border-radius);
  content: "";
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: inherit;
  position: absolute;
  inset: 0;
}

:host [part="button"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding-top: var(--press-button-padding-top);
  padding-right: var(--press-button-padding-right);
  padding-bottom: var(--press-button-padding-bottom);
  padding-left: var(--press-button-padding-left);
  gap: var(--press-button-gap);
  background: var(--press-button-background-color);
  color: var(--press-button-foreground-color);
  border-color: var(--press-button-border-color);
  border-width: var(--press-button-border-width);
  border-radius: var(--press-button-border-radius);
  border-style: var(--press-button-border-style);
  width: inherit;
  height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: inherit;
  pointer-events: inherit;
  border-style: solid;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
  border-end-start-radius: inherit;
  outline-style: none;
  flex: 1;
  margin: 0;
  text-decoration: none;
  transition-property: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="button"] [part="icon"] {
  color: inherit;
  flex-shrink: 0;
}

:host [part="button"] [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host [part="progressFill"] {
  background: var(--press-button-progress-fill-color);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: .26;
  width: 0%;
  height: 100%;
  transition-property: opacity;
  transition-duration: var(--press-button-transition-duration);
  transition-timing-function: ease;
  position: absolute;
  top: 0;
  left: 0;
}

:host [part="innerStack"] {
  z-index: 1;
  position: relative;
}

:host(:not([has-icon])) {
  min-width: var(--press-button-min-width);
}

:host(:not([has-link])[has-icon]) {
  min-width: var(--press-button-icon-min-width);
  min-height: var(--press-button-icon-min-height);
}

:host(:active) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-busy]) {
  pointer-events: none;
  position: relative;
}

:host([is-busy]) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([is-busy]) [part="label"], :host([is-busy]) [part="icon"] {
  visibility: hidden;
}

:host([appearance="outline"]) {
  --press-button-border-style: solid;
}

:host([appearance="plain"]), :host([appearance="soft"]), :host([appearance="solid"]) {
  --press-button-border-width: 0px;
}

:host([size="tiny"]) {
  --press-button-font-size: calc(var(--press-button-font-size) - 4px);
  --press-button-line-height: calc(var(--press-button-font-line-height) - 4px);
}

:host([size="small"]) {
  --press-button-font-size: calc(var(--press-button-font-size) - 2px);
  --press-button-line-height: calc(var(--press-button-font-line-height) - 2px);
}

:host([size="large"]) {
  --press-button-font-size: calc(var(--press-button-font-size) + 2px);
  --press-button-line-height: calc(var(--press-button-font-line-height) + 2px);
}

:host([size="giant"]) {
  --press-button-font-size: calc(var(--press-button-font-size) + 4px);
  --press-button-line-height: calc(var(--press-button-font-line-height) + 4px);
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

:host [part="focusRing"] {
  border-radius: min(var(--press-button-border-radius), var(--press-button-border-radius) + var(--joy-layout-thickness));
}

:host [part="button"]:before {
  background-color: var(--joy-scheme-transparent);
}

:host(:hover), :host(:active), :host(:focus), :host([selected]), :host([checked]) {
  --press-button-background-color: var(--joy-scheme-highlight);
  --press-button-border-color: var(--joy-scheme-highlight);
}

:host([disabled]:not([disabled="false"])) {
  --press-button-background-color: var(--joy-scheme-background);
  --press-button-border-color: var(--joy-scheme-highlight);
  --press-button-foreground-color: var(--joy-scheme-disabled);
}

:host([appearance="outline"]) {
  --press-button-border-width: var(--joy-layout-thickness);
  --press-button-focus-ring-outward-offset: 0px;
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-scheme-background);
  --press-button-foreground-color: var(--joy-scheme-foreground);
  --press-button-border-color: var(--joy-scheme-highlight);
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-scheme-highlight);
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-primary-500);
  --press-button-border-color: var(--joy-color-primary-500);
  --press-button-focus-ring-color: var(--joy-color-primary-500);
  --press-button-ripple-color: var(--joy-color-primary-600);
  --press-button-progress-fill-color: var(--joy-color-primary-500);
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-primary-100);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-secondary-500);
  --press-button-border-color: var(--joy-color-secondary-500);
  --press-button-focus-ring-color: var(--joy-color-secondary-500);
  --press-button-ripple-color: var(--joy-color-secondary-600);
  --press-button-progress-fill-color: var(--joy-color-secondary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-secondary-100);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-tertiary-500);
  --press-button-border-color: var(--joy-color-tertiary-500);
  --press-button-focus-ring-color: var(--joy-color-tertiary-500);
  --press-button-ripple-color: var(--joy-color-tertiary-600);
  --press-button-progress-fill-color: var(--joy-color-tertiary-500);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-tertiary-100);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-danger-500);
  --press-button-border-color: var(--joy-color-danger-500);
  --press-button-focus-ring-color: var(--joy-color-danger-500);
  --press-button-ripple-color: var(--joy-color-danger-600);
  --press-button-progress-fill-color: var(--joy-color-danger-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-danger-100);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-warning-500);
  --press-button-border-color: var(--joy-color-warning-500);
  --press-button-focus-ring-color: var(--joy-color-warning-500);
  --press-button-ripple-color: var(--joy-color-warning-600);
  --press-button-progress-fill-color: var(--joy-color-warning-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-warning-100);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-success-500);
  --press-button-border-color: var(--joy-color-success-500);
  --press-button-focus-ring-color: var(--joy-color-success-500);
  --press-button-ripple-color: var(--joy-color-success-600);
  --press-button-progress-fill-color: var(--joy-color-success-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-success-100);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-info-500);
  --press-button-border-color: var(--joy-color-info-500);
  --press-button-focus-ring-color: var(--joy-color-info-500);
  --press-button-ripple-color: var(--joy-color-info-600);
  --press-button-progress-fill-color: var(--joy-color-info-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-info-100);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-highlight-500);
  --press-button-border-color: var(--joy-color-highlight-500);
  --press-button-focus-ring-color: var(--joy-color-highlight-500);
  --press-button-ripple-color: var(--joy-color-highlight-600);
  --press-button-progress-fill-color: var(--joy-color-highlight-500);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-highlight-100);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-neutral-500);
  --press-button-border-color: var(--joy-color-neutral-500);
  --press-button-focus-ring-color: var(--joy-color-neutral-500);
  --press-button-ripple-color: var(--joy-color-neutral-600);
  --press-button-progress-fill-color: var(--joy-color-neutral-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-neutral-100);
}

:host([appearance="plain"]) {
  --press-button-background-color: var(--joy-scheme-transparent);
  --press-button-focus-ring-inward-offset: 0px;
  --press-button-focus-ring-outward-offset: 0px;
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-scheme-highlight);
}

:host([appearance="plain"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-primary-500);
  --press-button-focus-ring-color: var(--joy-color-primary-500);
  --press-button-ripple-color: var(--joy-color-primary-600);
  --press-button-progress-fill-color: var(--joy-color-primary-500);
}

:host([appearance="plain"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-primary-100);
  --press-button-foreground-color: var(--joy-color-primary-500);
}

:host([appearance="plain"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-secondary-500);
  --press-button-focus-ring-color: var(--joy-color-secondary-500);
  --press-button-ripple-color: var(--joy-color-secondary-600);
  --press-button-progress-fill-color: var(--joy-color-secondary-500);
}

:host([appearance="plain"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-secondary-100);
  --press-button-foreground-color: var(--joy-color-secondary-500);
}

:host([appearance="plain"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-tertiary-500);
  --press-button-focus-ring-color: var(--joy-color-tertiary-500);
  --press-button-ripple-color: var(--joy-color-tertiary-600);
  --press-button-progress-fill-color: var(--joy-color-tertiary-500);
}

:host([appearance="plain"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-tertiary-100);
  --press-button-foreground-color: var(--joy-color-tertiary-500);
}

:host([appearance="plain"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-danger-500);
  --press-button-focus-ring-color: var(--joy-color-danger-500);
  --press-button-ripple-color: var(--joy-color-danger-600);
  --press-button-progress-fill-color: var(--joy-color-danger-500);
}

:host([appearance="plain"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-danger-100);
  --press-button-foreground-color: var(--joy-color-danger-500);
}

:host([appearance="plain"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-warning-500);
  --press-button-focus-ring-color: var(--joy-color-warning-500);
  --press-button-ripple-color: var(--joy-color-warning-600);
  --press-button-progress-fill-color: var(--joy-color-warning-500);
}

:host([appearance="plain"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-warning-100);
  --press-button-foreground-color: var(--joy-color-warning-500);
}

:host([appearance="plain"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-success-500);
  --press-button-focus-ring-color: var(--joy-color-success-500);
  --press-button-ripple-color: var(--joy-color-success-600);
  --press-button-progress-fill-color: var(--joy-color-success-500);
}

:host([appearance="plain"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-success-100);
  --press-button-foreground-color: var(--joy-color-success-500);
}

:host([appearance="plain"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-info-500);
  --press-button-focus-ring-color: var(--joy-color-info-500);
  --press-button-ripple-color: var(--joy-color-info-600);
  --press-button-progress-fill-color: var(--joy-color-info-500);
}

:host([appearance="plain"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-info-100);
  --press-button-foreground-color: var(--joy-color-info-500);
}

:host([appearance="plain"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-highlight-500);
  --press-button-focus-ring-color: var(--joy-color-highlight-500);
  --press-button-ripple-color: var(--joy-color-highlight-600);
  --press-button-progress-fill-color: var(--joy-color-highlight-500);
}

:host([appearance="plain"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-highlight-100);
  --press-button-foreground-color: var(--joy-color-highlight-500);
}

:host([appearance="plain"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --press-button-foreground-color: var(--joy-color-neutral-500);
  --press-button-focus-ring-color: var(--joy-color-neutral-500);
  --press-button-ripple-color: var(--joy-color-neutral-600);
  --press-button-progress-fill-color: var(--joy-color-neutral-500);
}

:host([appearance="plain"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-neutral-100);
  --press-button-foreground-color: var(--joy-color-neutral-500);
}

:host([appearance="soft"]) {
  --press-button-focus-ring-inward-offset: 0px;
  --press-button-focus-ring-outward-offset: 0px;
}

:host([appearance="soft"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-scheme-highlight);
  --press-button-foreground-color: var(--joy-scheme-foreground);
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-primary-100);
  --press-button-foreground-color: var(--joy-color-primary-500);
  --press-button-focus-ring-color: var(--joy-color-primary-500);
  --press-button-ripple-color: var(--joy-color-primary-600);
  --press-button-progress-fill-color: var(--joy-color-primary-500);
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-primary-200);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-secondary-100);
  --press-button-foreground-color: var(--joy-color-secondary-500);
  --press-button-focus-ring-color: var(--joy-color-secondary-500);
  --press-button-ripple-color: var(--joy-color-secondary-600);
  --press-button-progress-fill-color: var(--joy-color-secondary-500);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-secondary-200);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-tertiary-100);
  --press-button-foreground-color: var(--joy-color-tertiary-500);
  --press-button-focus-ring-color: var(--joy-color-tertiary-500);
  --press-button-ripple-color: var(--joy-color-tertiary-600);
  --press-button-progress-fill-color: var(--joy-color-tertiary-500);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-tertiary-200);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-danger-100);
  --press-button-foreground-color: var(--joy-color-danger-500);
  --press-button-focus-ring-color: var(--joy-color-danger-500);
  --press-button-ripple-color: var(--joy-color-danger-600);
  --press-button-progress-fill-color: var(--joy-color-danger-500);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-danger-200);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-warning-100);
  --press-button-foreground-color: var(--joy-color-warning-500);
  --press-button-focus-ring-color: var(--joy-color-warning-500);
  --press-button-ripple-color: var(--joy-color-warning-600);
  --press-button-progress-fill-color: var(--joy-color-warning-500);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-warning-200);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-success-100);
  --press-button-foreground-color: var(--joy-color-success-500);
  --press-button-focus-ring-color: var(--joy-color-success-500);
  --press-button-ripple-color: var(--joy-color-success-600);
  --press-button-progress-fill-color: var(--joy-color-success-500);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-success-200);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-info-100);
  --press-button-foreground-color: var(--joy-color-info-500);
  --press-button-focus-ring-color: var(--joy-color-info-500);
  --press-button-ripple-color: var(--joy-color-info-600);
  --press-button-progress-fill-color: var(--joy-color-info-500);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-info-200);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-highlight-100);
  --press-button-foreground-color: var(--joy-color-highlight-500);
  --press-button-focus-ring-color: var(--joy-color-highlight-500);
  --press-button-ripple-color: var(--joy-color-highlight-600);
  --press-button-progress-fill-color: var(--joy-color-highlight-500);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-highlight-200);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-neutral-100);
  --press-button-foreground-color: var(--joy-color-neutral-500);
  --press-button-focus-ring-color: var(--joy-color-neutral-500);
  --press-button-ripple-color: var(--joy-color-neutral-600);
  --press-button-progress-fill-color: var(--joy-color-neutral-500);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-neutral-200);
}

:host([appearance="solid"]) {
  --press-button-focus-ring-inward-offset: 0px;
  --press-button-focus-ring-outward-offset: 0px;
}

:host([appearance="solid"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-scheme-highlight);
  --press-button-foreground-color: var(--joy-scheme-foreground);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-primary-500);
  --press-button-foreground-color: var(--joy-color-primary-0);
  --press-button-focus-ring-color: var(--joy-color-primary-500);
  --press-button-ripple-color: var(--joy-color-primary-600);
  --press-button-progress-fill-color: var(--joy-color-primary-0);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-primary-600);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-secondary-500);
  --press-button-foreground-color: var(--joy-color-secondary-0);
  --press-button-focus-ring-color: var(--joy-color-secondary-500);
  --press-button-ripple-color: var(--joy-color-secondary-600);
  --press-button-progress-fill-color: var(--joy-color-secondary-0);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-secondary-600);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-tertiary-500);
  --press-button-foreground-color: var(--joy-color-tertiary-0);
  --press-button-focus-ring-color: var(--joy-color-tertiary-500);
  --press-button-ripple-color: var(--joy-color-tertiary-600);
  --press-button-progress-fill-color: var(--joy-color-tertiary-0);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-tertiary-600);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-danger-500);
  --press-button-foreground-color: var(--joy-color-danger-0);
  --press-button-focus-ring-color: var(--joy-color-danger-500);
  --press-button-ripple-color: var(--joy-color-danger-600);
  --press-button-progress-fill-color: var(--joy-color-danger-0);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-danger-600);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-warning-500);
  --press-button-foreground-color: var(--joy-color-warning-0);
  --press-button-focus-ring-color: var(--joy-color-warning-500);
  --press-button-ripple-color: var(--joy-color-warning-600);
  --press-button-progress-fill-color: var(--joy-color-warning-0);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-warning-600);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-success-500);
  --press-button-foreground-color: var(--joy-color-success-0);
  --press-button-focus-ring-color: var(--joy-color-success-500);
  --press-button-ripple-color: var(--joy-color-success-600);
  --press-button-progress-fill-color: var(--joy-color-success-0);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-success-600);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-info-500);
  --press-button-foreground-color: var(--joy-color-info-0);
  --press-button-focus-ring-color: var(--joy-color-info-500);
  --press-button-ripple-color: var(--joy-color-info-600);
  --press-button-progress-fill-color: var(--joy-color-info-0);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-info-600);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-highlight-500);
  --press-button-foreground-color: var(--joy-color-highlight-0);
  --press-button-focus-ring-color: var(--joy-color-highlight-500);
  --press-button-ripple-color: var(--joy-color-highlight-600);
  --press-button-progress-fill-color: var(--joy-color-highlight-0);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-highlight-600);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --press-button-background-color: var(--joy-color-neutral-500);
  --press-button-foreground-color: var(--joy-color-neutral-0);
  --press-button-focus-ring-color: var(--joy-color-neutral-500);
  --press-button-ripple-color: var(--joy-color-neutral-600);
  --press-button-progress-fill-color: var(--joy-color-neutral-0);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --press-button-background-color: var(--joy-color-neutral-600);
}

:host([size="tiny"]) {
  --press-button-font-size: calc(var(--joy-typography-button-font-size) - 4px);
  --press-button-font-line-height: calc(var(--joy-typography-button-line-height) - 4px);
  --press-button-padding-top: calc(var(--joy-layout-space) - 4px);
  --press-button-padding-right: calc(var(--joy-layout-space) - 4px);
  --press-button-padding-bottom: calc(var(--joy-layout-space) - 4px);
  --press-button-padding-left: calc(var(--joy-layout-space) - 4px);
  --press-button-icon-min-width: 24px;
  --press-button-icon-min-height: 24px;
}

:host([size="small"]) {
  --press-button-font-size: calc(var(--joy-typography-button-font-size) - 2px);
  --press-button-font-line-height: calc(var(--joy-typography-button-line-height) - 2px);
  --press-button-padding-top: calc(var(--joy-layout-space) - 2px);
  --press-button-padding-right: calc(var(--joy-layout-space) - 2px);
  --press-button-padding-bottom: calc(var(--joy-layout-space) - 2px);
  --press-button-padding-left: calc(var(--joy-layout-space) - 2px);
  --press-button-icon-min-width: 24px;
  --press-button-icon-min-height: 24px;
}

:host([size="medium"]) {
  --press-button-font-size: var(--joy-typography-button-font-size);
  --press-button-font-line-height: var(--joy-typography-button-line-height);
}

:host([size="large"]) {
  --press-button-font-size: calc(var(--joy-typography-button-font-size) + 2px);
  --press-button-font-line-height: calc(var(--joy-typography-button-line-height) + 2px);
  --press-button-padding-top: calc(var(--joy-layout-space) + 4px);
  --press-button-padding-right: calc(var(--joy-layout-space) + 4px);
  --press-button-padding-bottom: calc(var(--joy-layout-space) + 4px);
  --press-button-padding-left: calc(var(--joy-layout-space) + 4px);
}

:host([size="giant"]) {
  --press-button-font-size: calc(var(--joy-typography-button-font-size) + 4px);
  --press-button-font-line-height: calc(var(--joy-typography-button-line-height) + 4px);
  --press-button-padding-top: calc(var(--joy-layout-space) + 8px);
  --press-button-padding-right: calc(var(--joy-layout-space) + 8px);
  --press-button-padding-bottom: calc(var(--joy-layout-space) + 8px);
  --press-button-padding-left: calc(var(--joy-layout-space) + 8px);
}

    `;
}
//# sourceMappingURL=PressButtonElement.Joy.js.map