source: Application/ocrent/wwwroot/lib/bootstrap/scss/_maps.scss

Last change on this file was f5f7c24, checked in by 192011 <mk.snicker@…>, 17 months ago

Initial commit

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[f5f7c24]1// Re-assigned maps
2//
3// Placed here so that others can override the default Sass maps and see automatic updates to utilities and more.
4
5// scss-docs-start theme-colors-rgb
6$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
7// scss-docs-end theme-colors-rgb
8
9// Utilities maps
10//
11// Extends the default `$theme-colors` maps to help create our utilities.
12
13// Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
14// scss-docs-start utilities-colors
15$utilities-colors: $theme-colors-rgb !default;
16// scss-docs-end utilities-colors
17
18// scss-docs-start utilities-text-colors
19$utilities-text: map-merge(
20 $utilities-colors,
21 (
22 "black": to-rgb($black),
23 "white": to-rgb($white),
24 "body": to-rgb($body-color)
25 )
26) !default;
27$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
28// scss-docs-end utilities-text-colors
29
30// scss-docs-start utilities-bg-colors
31$utilities-bg: map-merge(
32 $utilities-colors,
33 (
34 "black": to-rgb($black),
35 "white": to-rgb($white),
36 "body": to-rgb($body-bg)
37 )
38) !default;
39$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
40// scss-docs-end utilities-bg-colors
41
42// scss-docs-start utilities-border-colors
43$utilities-border: map-merge(
44 $utilities-colors,
45 (
46 "white": to-rgb($white)
47 )
48) !default;
49$utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
50// scss-docs-end utilities-border-colors
51
52$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
53
54$gutters: $spacers !default;
Note: See TracBrowser for help on using the repository browser.