:root {
  --ty-select-radius: var(--ty-border-radius);
  --ty-select-color: var(--ty-color-text);
  --ty-select-bg: var(--ty-color-bg-container);
  --ty-select-bg-disabled: var(--ty-color-bg-disabled);
  --ty-select-opacity-disabled: 0.6;
  --ty-select-border: var(--ty-color-border);
  --ty-select-shadow: var(--ty-shadow-control);
  --ty-select-border-hover: var(--ty-color-primary);
  --ty-select-border-focus: var(--ty-color-primary);
  --ty-select-shadow-focus: var(--ty-shadow-focus);
  --ty-select-placeholder: var(--ty-color-text-placeholder);
  --ty-select-suffix-color: var(--ty-color-text-quaternary);
  --ty-select-suffix-size: 14px;
  --ty-select-suffix-offset-inline-end: 8px;
  --ty-select-clear-bg: var(--ty-color-bg-container);
  --ty-select-clear-color: var(--ty-color-text-quaternary);
  --ty-select-clear-color-hover: var(--ty-color-text-tertiary);
  --ty-select-font-size-sm: var(--ty-font-size-sm);
  --ty-select-font-size-md: var(--ty-font-size-base);
  --ty-select-font-size-lg: var(--ty-font-size-lg);
  --ty-select-height-sm: var(--ty-height-sm);
  --ty-select-height-md: var(--ty-height-md);
  --ty-select-height-lg: var(--ty-height-lg);
  --ty-select-padding-inline-start-sm: 8px;
  --ty-select-padding-inline-start-md: 10px;
  --ty-select-padding-inline-start-lg: 12px;
  --ty-select-padding-inline-end-sm: 24px;
  --ty-select-padding-inline-end-md: 28px;
  --ty-select-padding-inline-end-lg: 32px;
  --ty-select-multiple-padding-inline-end: 28px;
  --ty-select-multiple-gap: 4px;
  --ty-select-multiple-padding-block: 2px;
  --ty-select-search-min-width: 4px;
  --ty-select-tag-height: 22px;
  --ty-select-tag-padding: 0 4px 0 8px;
  --ty-select-tag-padding-max: 0 8px;
  --ty-select-tag-radius: var(--ty-border-radius);
  --ty-select-tag-bg: var(--ty-color-fill-secondary);
  --ty-select-tag-color: var(--ty-color-text);
  --ty-select-tag-font-size: var(--ty-font-size-sm);
  --ty-select-tag-line-height: 20px;
  --ty-select-tag-close-color: var(--ty-color-text-quaternary);
  --ty-select-tag-close-color-hover: var(--ty-color-text);
  --ty-select-tag-close-gap: 4px;
  --ty-select-empty-color: var(--ty-color-text-quaternary);
  --ty-select-feedback-padding: 16px;
  --ty-select-dropdown-bg: var(--ty-color-bg-container);
  --ty-select-dropdown-shadow: var(--ty-shadow-popup);
  --ty-select-dropdown-padding: 4px 0;
  --ty-select-dropdown-max-height: 300px;
  --ty-select-option-padding: 7px 12px;
  --ty-select-option-font-size: var(--ty-font-size-base);
  --ty-select-option-line-height: 22px;
  --ty-select-option-color: var(--ty-color-text);
  --ty-select-option-check-gap: 8px;
  --ty-select-option-active-bg: var(--ty-color-fill-secondary);
  --ty-select-option-selected-bg: var(--ty-color-primary-bg);
  --ty-select-option-disabled-bg: var(--ty-color-bg-container);
  --ty-select-option-disabled-color: var(--ty-color-text-quaternary);
  --ty-select-option-disabled-opacity: 0.5;
  --ty-select-group-title-color: var(--ty-color-text-secondary);
  --ty-select-group-option-padding-inline-start: 24px;
}

[data-tiny-theme='dark'] {
  --ty-select-radius: var(--ty-border-radius);
  --ty-select-color: var(--ty-color-text);
  --ty-select-bg: var(--ty-color-bg-container);
  --ty-select-bg-disabled: var(--ty-color-bg-disabled);
  --ty-select-opacity-disabled: 0.6;
  --ty-select-border: var(--ty-color-border);
  --ty-select-shadow: var(--ty-shadow-control);
  --ty-select-border-hover: var(--ty-color-primary);
  --ty-select-border-focus: var(--ty-color-primary);
  --ty-select-shadow-focus: var(--ty-shadow-focus);
  --ty-select-placeholder: var(--ty-color-text-placeholder);
  --ty-select-suffix-color: var(--ty-color-text-quaternary);
  --ty-select-suffix-size: 14px;
  --ty-select-suffix-offset-inline-end: 8px;
  --ty-select-clear-bg: var(--ty-color-bg-container);
  --ty-select-clear-color: var(--ty-color-text-quaternary);
  --ty-select-clear-color-hover: var(--ty-color-text-tertiary);
  --ty-select-font-size-sm: var(--ty-font-size-sm);
  --ty-select-font-size-md: var(--ty-font-size-base);
  --ty-select-font-size-lg: var(--ty-font-size-lg);
  --ty-select-height-sm: var(--ty-height-sm);
  --ty-select-height-md: var(--ty-height-md);
  --ty-select-height-lg: var(--ty-height-lg);
  --ty-select-padding-inline-start-sm: 8px;
  --ty-select-padding-inline-start-md: 10px;
  --ty-select-padding-inline-start-lg: 12px;
  --ty-select-padding-inline-end-sm: 24px;
  --ty-select-padding-inline-end-md: 28px;
  --ty-select-padding-inline-end-lg: 32px;
  --ty-select-multiple-padding-inline-end: 28px;
  --ty-select-multiple-gap: 4px;
  --ty-select-multiple-padding-block: 2px;
  --ty-select-search-min-width: 4px;
  --ty-select-tag-height: 22px;
  --ty-select-tag-padding: 0 4px 0 8px;
  --ty-select-tag-padding-max: 0 8px;
  --ty-select-tag-radius: var(--ty-border-radius);
  --ty-select-tag-bg: var(--ty-color-fill-secondary);
  --ty-select-tag-color: var(--ty-color-text);
  --ty-select-tag-font-size: var(--ty-font-size-sm);
  --ty-select-tag-line-height: 20px;
  --ty-select-tag-close-color: var(--ty-color-text-quaternary);
  --ty-select-tag-close-color-hover: var(--ty-color-text);
  --ty-select-tag-close-gap: 4px;
  --ty-select-empty-color: var(--ty-color-text-quaternary);
  --ty-select-feedback-padding: 16px;
  --ty-select-dropdown-bg: #1f1f1f;
  --ty-select-dropdown-shadow: var(--ty-shadow-popup);
  --ty-select-dropdown-padding: 4px 0;
  --ty-select-dropdown-max-height: 300px;
  --ty-select-option-padding: 7px 12px;
  --ty-select-option-font-size: var(--ty-font-size-base);
  --ty-select-option-line-height: 22px;
  --ty-select-option-color: var(--ty-color-text);
  --ty-select-option-check-gap: 8px;
  --ty-select-option-active-bg: #2a2a2a;
  --ty-select-option-selected-bg: #1a1325;
  --ty-select-option-disabled-bg: #1f1f1f;
  --ty-select-option-disabled-color: var(--ty-color-text-quaternary);
  --ty-select-option-disabled-opacity: 0.5;
  --ty-select-group-title-color: var(--ty-color-text-secondary);
  --ty-select-group-option-padding-inline-start: 24px;
}

@media (prefers-color-scheme: dark) {
  [data-tiny-theme='system'] {
  --ty-select-radius: var(--ty-border-radius);
  --ty-select-color: var(--ty-color-text);
  --ty-select-bg: var(--ty-color-bg-container);
  --ty-select-bg-disabled: var(--ty-color-bg-disabled);
  --ty-select-opacity-disabled: 0.6;
  --ty-select-border: var(--ty-color-border);
  --ty-select-shadow: var(--ty-shadow-control);
  --ty-select-border-hover: var(--ty-color-primary);
  --ty-select-border-focus: var(--ty-color-primary);
  --ty-select-shadow-focus: var(--ty-shadow-focus);
  --ty-select-placeholder: var(--ty-color-text-placeholder);
  --ty-select-suffix-color: var(--ty-color-text-quaternary);
  --ty-select-suffix-size: 14px;
  --ty-select-suffix-offset-inline-end: 8px;
  --ty-select-clear-bg: var(--ty-color-bg-container);
  --ty-select-clear-color: var(--ty-color-text-quaternary);
  --ty-select-clear-color-hover: var(--ty-color-text-tertiary);
  --ty-select-font-size-sm: var(--ty-font-size-sm);
  --ty-select-font-size-md: var(--ty-font-size-base);
  --ty-select-font-size-lg: var(--ty-font-size-lg);
  --ty-select-height-sm: var(--ty-height-sm);
  --ty-select-height-md: var(--ty-height-md);
  --ty-select-height-lg: var(--ty-height-lg);
  --ty-select-padding-inline-start-sm: 8px;
  --ty-select-padding-inline-start-md: 10px;
  --ty-select-padding-inline-start-lg: 12px;
  --ty-select-padding-inline-end-sm: 24px;
  --ty-select-padding-inline-end-md: 28px;
  --ty-select-padding-inline-end-lg: 32px;
  --ty-select-multiple-padding-inline-end: 28px;
  --ty-select-multiple-gap: 4px;
  --ty-select-multiple-padding-block: 2px;
  --ty-select-search-min-width: 4px;
  --ty-select-tag-height: 22px;
  --ty-select-tag-padding: 0 4px 0 8px;
  --ty-select-tag-padding-max: 0 8px;
  --ty-select-tag-radius: var(--ty-border-radius);
  --ty-select-tag-bg: var(--ty-color-fill-secondary);
  --ty-select-tag-color: var(--ty-color-text);
  --ty-select-tag-font-size: var(--ty-font-size-sm);
  --ty-select-tag-line-height: 20px;
  --ty-select-tag-close-color: var(--ty-color-text-quaternary);
  --ty-select-tag-close-color-hover: var(--ty-color-text);
  --ty-select-tag-close-gap: 4px;
  --ty-select-empty-color: var(--ty-color-text-quaternary);
  --ty-select-feedback-padding: 16px;
  --ty-select-dropdown-bg: #1f1f1f;
  --ty-select-dropdown-shadow: var(--ty-shadow-popup);
  --ty-select-dropdown-padding: 4px 0;
  --ty-select-dropdown-max-height: 300px;
  --ty-select-option-padding: 7px 12px;
  --ty-select-option-font-size: var(--ty-font-size-base);
  --ty-select-option-line-height: 22px;
  --ty-select-option-color: var(--ty-color-text);
  --ty-select-option-check-gap: 8px;
  --ty-select-option-active-bg: #2a2a2a;
  --ty-select-option-selected-bg: #1a1325;
  --ty-select-option-disabled-bg: #1f1f1f;
  --ty-select-option-disabled-color: var(--ty-color-text-quaternary);
  --ty-select-option-disabled-opacity: 0.5;
  --ty-select-group-title-color: var(--ty-color-text-secondary);
  --ty-select-group-option-padding-inline-start: 24px;
}
}
