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

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