.db-bg-warning-transparent-full, .db-bg-warning-transparent-semi, .db-bg-warning, .db-bg-warning-interactive {
  --db-current-base-color: var(--db-warning-text-enabled);
  --db-current-color: var(--db-warning-on-bg-enabled);
  --db-current-bg-color: color-mix(
  	in srgb,
  	transparent var(--db-bg-transparent, 0%),
  	var(--db-warning-bg-enabled)
  );
  --db-current-element-color: var(--db-warning-element-enabled);
  --db-current-border-color: var(--db-warning-border-enabled);
  --db-current-border-weak-color: var(
  	--db-warning-border-weak-enabled
  );
  --db-focus-box-shadow-bg-color: color-mix(
  	in srgb,
  	transparent var(--db-bg-transparent, 0%),
  	var(--db-warning-bg-enabled)
  );
}

.db-bg-warning, .db-bg-warning-interactive {
  background-color: var(--db-current-bg-color);
  color: var(--db-current-color);
}
.db-bg-warning-transparent-full, .db-bg-warning-transparent-semi {
  color: var(--db-warning-on-bg-enabled);
  background-color: color-mix(in srgb, transparent var(--db-bg-transparent, 100%), var(--db-current-base-color));
}
.db-bg-warning-transparent-semi {
  background-color: color-mix(in srgb, transparent var(--db-bg-transparent, 92%), var(--db-current-base-color));
}
.db-bg-warning-interactive:enabled:hover {
  --db-bg-transparent: 84%;
}
.db-bg-warning-interactive:enabled:active {
  --db-bg-transparent: 68%;
}
[data-emphasis=weak].db-bg-warning, [data-emphasis=weak].db-bg-warning-interactive {
  --db-current-color: var(--db-warning-on-bg-weak-enabled);
  color: var(--db-current-color);
}
.db-bg-warning-strong {
  --db-current-bg-color: color-mix(
  	in srgb,
  	transparent var(--db-bg-transparent, 0%),
  	var(--db-warning-bg-strong-enabled)
  );
}
