|
3 | 3 | // Variables should follow the `$component-state-property-size` formula for
|
4 | 4 | // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
5 | 5 |
|
6 |
| -// Color system |
7 |
| - |
8 |
| -$white: #fff !default; |
9 |
| -$gray-100: #f8f9fa !default; |
10 |
| -$gray-200: #e9ecef !default; |
11 |
| -$gray-300: #dee2e6 !default; |
12 |
| -$gray-400: #ced4da !default; |
13 |
| -$gray-500: #adb5bd !default; |
14 |
| -$gray-600: #6c757d !default; |
15 |
| -$gray-700: #495057 !default; |
16 |
| -$gray-800: #343a40 !default; |
17 |
| -$gray-900: #212529 !default; |
18 |
| -$black: #000 !default; |
19 |
| - |
20 |
| -$grays: () !default; |
21 |
| -// stylelint-disable-next-line scss/dollar-variable-default |
22 |
| -$grays: map-merge( |
23 |
| - ( |
24 |
| - "100": $gray-100, |
25 |
| - "200": $gray-200, |
26 |
| - "300": $gray-300, |
27 |
| - "400": $gray-400, |
28 |
| - "500": $gray-500, |
29 |
| - "600": $gray-600, |
30 |
| - "700": $gray-700, |
31 |
| - "800": $gray-800, |
32 |
| - "900": $gray-900 |
33 |
| - ), |
34 |
| - $grays |
35 |
| -); |
36 |
| - |
37 |
| -$blue: #007bff !default; |
38 |
| -$indigo: #6610f2 !default; |
39 |
| -$purple: #6f42c1 !default; |
40 |
| -$pink: #e83e8c !default; |
41 |
| -$red: #dc3545 !default; |
42 |
| -$orange: #fd7e14 !default; |
43 |
| -$yellow: #ffc107 !default; |
44 |
| -$green: #28a745 !default; |
45 |
| -$teal: #20c997 !default; |
46 |
| -$cyan: #17a2b8 !default; |
47 |
| - |
48 |
| -$colors: () !default; |
49 |
| -// stylelint-disable-next-line scss/dollar-variable-default |
50 |
| -$colors: map-merge( |
51 |
| - ( |
52 |
| - "blue": $blue, |
53 |
| - "indigo": $indigo, |
54 |
| - "purple": $purple, |
55 |
| - "pink": $pink, |
56 |
| - "red": $red, |
57 |
| - "orange": $orange, |
58 |
| - "yellow": $yellow, |
59 |
| - "green": $green, |
60 |
| - "teal": $teal, |
61 |
| - "cyan": $cyan, |
62 |
| - "white": $white, |
63 |
| - "gray": $gray-600, |
64 |
| - "gray-dark": $gray-800 |
65 |
| - ), |
66 |
| - $colors |
67 |
| -); |
68 |
| - |
69 |
| -$primary: $blue !default; |
70 |
| -$secondary: $gray-600 !default; |
71 |
| -$success: $green !default; |
72 |
| -$info: $cyan !default; |
73 |
| -$warning: $yellow !default; |
74 |
| -$danger: $red !default; |
75 |
| -$light: $gray-100 !default; |
76 |
| -$dark: $gray-800 !default; |
77 |
| - |
78 |
| -$theme-colors: () !default; |
79 |
| -// stylelint-disable-next-line scss/dollar-variable-default |
80 |
| -$theme-colors: map-merge( |
81 |
| - ( |
82 |
| - "primary": $primary, |
83 |
| - "secondary": $secondary, |
84 |
| - "success": $success, |
85 |
| - "info": $info, |
86 |
| - "warning": $warning, |
87 |
| - "danger": $danger, |
88 |
| - "light": $light, |
89 |
| - "dark": $dark |
90 |
| - ), |
91 |
| - $theme-colors |
92 |
| -); |
93 |
| - |
94 |
| -// Set a specific jump point for requesting color jumps |
95 |
| -$theme-color-interval: 8% !default; |
96 |
| - |
97 |
| -// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255. |
98 |
| -$yiq-contrasted-threshold: 150 !default; |
99 |
| - |
100 |
| -// Customize the light and dark text colors for use in our YIQ color contrast function. |
101 |
| -$yiq-text-dark: $gray-900 !default; |
102 |
| -$yiq-text-light: $white !default; |
103 |
| - |
104 |
| -// Characters which are escaped by the escape-svg function |
105 |
| -$escaped-characters: ( |
106 |
| - ("<","%3c"), |
107 |
| - (">","%3e"), |
108 |
| - ("#","%23"), |
109 |
| -) !default; |
110 |
| - |
111 |
| -// Options |
112 |
| -// |
113 |
| -// Quickly modify global styling by enabling or disabling optional features. |
114 |
| - |
115 |
| -$enable-caret: true !default; |
116 |
| -$enable-rounded: true !default; |
117 |
| -$enable-shadows: false !default; |
118 |
| -$enable-gradients: false !default; |
119 |
| -$enable-transitions: true !default; |
120 |
| -$enable-prefers-reduced-motion-media-query: true !default; |
121 |
| -$enable-grid-classes: true !default; |
122 |
| -$enable-pointer-cursor-for-buttons: true !default; |
123 |
| -$enable-responsive-font-sizes: false !default; |
124 |
| -$enable-validation-icons: true !default; |
125 |
| -$enable-deprecation-messages: true !default; |
126 | 6 |
|
127 | 7 |
|
128 | 8 | // Spacing
|
|
0 commit comments