1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

First try on color-mix

This commit is contained in:
Louis-Maxime Piton
2024-02-28 18:42:20 +01:00
parent b61117df78
commit 2fee900824
5 changed files with 11 additions and 43 deletions

View File

@@ -17,14 +17,6 @@ $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
$on-theme-colors: map-loop($theme-colors, color-contrast, "$value") !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-colors-rgb
$theme-colors-hover: map-loop($theme-colors, test-modify, "$value", 15%) !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-colors-rgb
$theme-colors-active: map-loop($theme-colors, test-modify, "$value", 20%) !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-text-map
$theme-colors-text: (
"primary": $primary-text-emphasis,
@@ -66,8 +58,6 @@ $theme-colors-border-subtle: (
$theme-colors-dark: null !default;
$on-theme-colors-dark: null !default;
$theme-colors-hover-dark: null !default;
$theme-colors-active-dark: null !default;
$theme-colors-rgb-dark: null !default;
$theme-colors-text-dark: null !default;
$theme-colors-bg-subtle-dark: null !default;
@@ -95,14 +85,6 @@ $theme-colors-border-subtle-dark: null !default;
$on-theme-colors-dark: map-loop($theme-colors-dark, color-contrast, "$value") !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-colors-rgb
$theme-colors-hover-dark: map-loop($theme-colors-dark, test-modify, "$value", 15%) !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-colors-rgb
$theme-colors-active-dark: map-loop($theme-colors-dark, test-modify, "$value", 20%) !default;
// scss-docs-end theme-colors-rgb
// scss-docs-start theme-text-dark-map
$theme-colors-text-dark: (
"primary": $primary-text-emphasis-dark,