/* Variants for adaptive components like input, select, notification, ... */
/* Palette colors */
/* Note: In general you don't need this file. Use this only if you really know what you do! */
/* Palette for additional colors */
/* Note: In general you don't need this file. Use this only if you really know what you do! */
[data-color=violet-contrast-high],
.db-violet-contrast-high, [data-color=violet-contrast-high-interactive],
.db-violet-contrast-high-interactive {
  --db-current-color-border: var(
  	--db-violet-contrast-high-enabled
  );
  background-color: var(--db-violet-contrast-high-enabled);
  color: var(--db-violet-on-contrast-enabled);
}
[data-color=violet-contrast-high]::before,
.db-violet-contrast-high::before, [data-color=violet-contrast-high-interactive]::before,
.db-violet-contrast-high-interactive::before, [data-color=violet-contrast-high]::after,
.db-violet-contrast-high::after, [data-color=violet-contrast-high-interactive]::after,
.db-violet-contrast-high-interactive::after {
  --db-icon-color: $on;
}

[data-color=violet-contrast-high-interactive],
.db-violet-contrast-high-interactive {
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
}
[data-color=violet-contrast-high-interactive]:is(:hover, :focus),
.db-violet-contrast-high-interactive:is(:hover, :focus) {
  background: var(--db-violet-contrast-high-hover);
}
[data-color=violet-contrast-high-interactive]:active,
.db-violet-contrast-high-interactive:active {
  background: var(--db-violet-contrast-high-pressed);
}

[data-color=violet-contrast-low],
.db-violet-contrast-low, [data-color=violet-contrast-low-interactive],
.db-violet-contrast-low-interactive {
  --db-current-color-border: var(
  	--db-violet-contrast-low-enabled
  );
  background-color: var(--db-violet-contrast-low-enabled);
  color: var(--db-violet-on-contrast-enabled);
}
[data-color=violet-contrast-low]::before,
.db-violet-contrast-low::before, [data-color=violet-contrast-low-interactive]::before,
.db-violet-contrast-low-interactive::before, [data-color=violet-contrast-low]::after,
.db-violet-contrast-low::after, [data-color=violet-contrast-low-interactive]::after,
.db-violet-contrast-low-interactive::after {
  --db-icon-color: $on;
}

[data-color=violet-contrast-low-interactive],
.db-violet-contrast-low-interactive {
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
}
[data-color=violet-contrast-low-interactive]:is(:hover, :focus),
.db-violet-contrast-low-interactive:is(:hover, :focus) {
  background: var(--db-violet-contrast-low-hover);
}
[data-color=violet-contrast-low-interactive]:active,
.db-violet-contrast-low-interactive:active {
  background: var(--db-violet-contrast-low-pressed);
}

[data-container-color=violet],
.db-container-color-violet, [data-color=violet-bg-transparent-semi],
.db-violet-bg-transparent-semi, [data-color=violet-bg-transparent-full],
.db-violet-bg-transparent-full, [data-color=violet-bg-lvl-3],
.db-violet-bg-lvl-3, [data-color=violet-bg-lvl-2],
.db-violet-bg-lvl-2, [data-color=violet-bg-lvl-1],
.db-violet-bg-lvl-1 {
  /* used for transparent backgrounds */
  --db-current-color-bg-transparent-full-enabled: var(
  	--db-violet-bg-transparent-full-enabled
  );
  --db-current-color-bg-transparent-semi-enabled: var(
  	--db-violet-bg-transparent-semi-enabled
  );
  --db-current-color-bg-transparent-hover: var(
  	--db-violet-bg-transparent-hover
  );
  --db-current-color-bg-transparent-pressed: var(
  	--db-violet-bg-transparent-pressed
  );
  /* used for backgrounds */
  --db-current-color-bg-lvl-1-enabled: var(
  	--db-violet-bg-lvl-1-enabled
  );
  --db-current-color-bg-lvl-2-enabled: var(
  	--db-violet-bg-lvl-2-enabled
  );
  --db-current-color-bg-lvl-3-enabled: var(
  	--db-violet-bg-lvl-3-enabled
  );
  /* used for icons and borders */
  --db-current-color-contrast-low-enabled: var(
  	--db-violet-contrast-low-enabled
  );
  --db-current-color-contrast-low-hover: var(
  	--db-violet-contrast-low-hover
  );
  --db-current-color-contrast-low-pressed: var(
  	--db-violet-contrast-low-pressed
  );
  --db-current-color-border: var(--db-violet-border);
  /* used for adaptive tags (interactive) */
  --db-current-color-bg-lvl-1-hover: var(--db-violet-bg-lvl-1-hover);
  --db-current-color-bg-lvl-1-pressed: var(
  	--db-violet-bg-lvl-1-pressed
  );
  --db-current-color-bg-lvl-2-hover: var(--db-violet-bg-lvl-2-hover);
  --db-current-color-bg-lvl-2-pressed: var(
  	--db-violet-bg-lvl-2-pressed
  );
  --db-current-color-bg-lvl-3-hover: var(--db-violet-bg-lvl-3-hover);
  --db-current-color-bg-lvl-3-pressed: var(
  	--db-violet-bg-lvl-3-pressed
  );
  /* used for adaptive tags (strong & interactive) */
  --db-current-color-on-contrast-enabled: var(
  	--db-violet-on-contrast-enabled
  );
  --db-current-color-contrast-high-enabled: var(
  	--db-violet-contrast-high-enabled
  );
  --db-current-color-contrast-high-hover: var(
  	--db-violet-contrast-high-hover
  );
  --db-current-color-contrast-high-pressed: var(
  	--db-violet-contrast-high-pressed
  );
  /* on-colors */
  --db-current-color-on-bg-enabled: var(--db-violet-on-bg-enabled);
  --db-current-color-on-bg-hover: var(--db-violet-on-bg-hover);
  --db-current-color-on-bg-pressed: var(--db-violet-on-bg-pressed);
  /* weak colors */
  --db-current-color-on-bg-weak-enabled: var(
  	--db-violet-on-bg-weak-enabled
  );
  --db-current-color-on-bg-weak-hover: var(
  	--db-violet-on-bg-weak-hover
  );
  --db-current-color-on-bg-weak-pressed: var(
  	--db-violet-on-bg-weak-pressed
  );
}

[data-color=violet-bg-lvl-1],
.db-violet-bg-lvl-1 {
  background-color: var(--db-violet-bg-lvl-1-enabled);
  color: var(--db-violet-on-bg-enabled);
}
[data-color=violet-bg-lvl-1]::before,
.db-violet-bg-lvl-1::before, [data-color=violet-bg-lvl-1]::after,
.db-violet-bg-lvl-1::after {
  --db-icon-color: $on;
}

[data-color=violet-bg-lvl-2],
.db-violet-bg-lvl-2 {
  background-color: var(--db-violet-bg-lvl-2-enabled);
  color: var(--db-violet-on-bg-enabled);
}
[data-color=violet-bg-lvl-2]::before,
.db-violet-bg-lvl-2::before, [data-color=violet-bg-lvl-2]::after,
.db-violet-bg-lvl-2::after {
  --db-icon-color: $on;
}

[data-color=violet-bg-lvl-3],
.db-violet-bg-lvl-3 {
  background-color: var(--db-violet-bg-lvl-3-enabled);
  color: var(--db-violet-on-bg-enabled);
}
[data-color=violet-bg-lvl-3]::before,
.db-violet-bg-lvl-3::before, [data-color=violet-bg-lvl-3]::after,
.db-violet-bg-lvl-3::after {
  --db-icon-color: $on;
}

[data-color=violet-bg-transparent-full],
.db-violet-bg-transparent-full {
  background-color: var(--db-violet-bg-transparent-full-enabled);
  color: var(--db-violet-on-bg-enabled);
}
[data-color=violet-bg-transparent-full]::before,
.db-violet-bg-transparent-full::before, [data-color=violet-bg-transparent-full]::after,
.db-violet-bg-transparent-full::after {
  --db-icon-color: $on;
}

[data-color=violet-bg-transparent-semi],
.db-violet-bg-transparent-semi {
  background-color: var(--db-violet-bg-transparent-semi-enabled);
  color: var(--db-violet-on-bg-enabled);
}
[data-color=violet-bg-transparent-semi]::before,
.db-violet-bg-transparent-semi::before, [data-color=violet-bg-transparent-semi]::after,
.db-violet-bg-transparent-semi::after {
  --db-icon-color: $on;
}

[data-container-color=violet],
.db-container-color-violet {
  color: var(--db-current-color-on-bg-enabled);
  background-color: var(--db-current-color-bg-lvl-1-enabled);
}
