/* Palette colors */
/* Variants for adaptive components like input, select, alert, ... */
.db-bg-warning-transparent-full, .db-bg-warning-transparent-semi, .db-bg-warning {
  /* used for transparent backgrounds */
  --db-current-bg-transparent-full: var(
  	--db-warning-bg-transparent-full
  );
  --db-current-bg-transparent-semi: var(
  	--db-warning-bg-transparent-semi
  );
  --db-current-bg-transparent-hover: var(
  	--db-warning-bg-transparent-hover
  );
  --db-current-bg-transparent-pressed: var(
  	--db-warning-bg-transparent-pressed
  );
  /* used for text */
  --db-current-color: var(--db-warning-on-bg);
  /* used for checkbox:checked */
  --db-current-color-hover: var(--db-warning-on-bg-hover);
  --db-current-color-pressed: var(--db-warning-on-bg-pressed);
  /* used as normal backgrounds */
  --db-current-bg-color: var(--db-warning-bg-weak);
  /* used for icons and borders */
  --db-current-contrast-low-color: var(--db-warning-contrast-low);
  --db-current-border-color: var(--db-warning-border);
}

.db-bg-warning {
  background-color: var(--db-current-bg-color);
  color: var(--db-current-color);
}
.db-bg-warning-transparent-full {
  background-color: var(--db-current-bg-transparent-full);
}
.db-bg-warning-transparent-semi {
  background-color: var(--db-current-bg-transparent-semi);
}
[data-emphasis=weak].db-bg-warning {
  /* used for text */
  --db-current-color: var(--db-warning-on-bg-weak);
  /* used for checkbox:checked */
  --db-current-color-hover: var(--db-warning-on-bg-weak-hover);
  --db-current-color-pressed: var(
  	--db-warning-on-bg-weak-pressed
  );
  color: var(--db-current-color);
}
.db-bg-warning-strong {
  --db-current-color: var(--db-warning-on-bg);
  --db-current-bg-color: var(--db-warning-bg-strong);
  --db-current-border-color: var(--db-warning-border);
  background-color: var(--db-current-bg-color);
  color: var(--db-current-color);
}
