-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy path_variables-dark.scss
More file actions
171 lines (143 loc) · 9.78 KB
/
_variables-dark.scss
File metadata and controls
171 lines (143 loc) · 9.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
// Dark color mode variables
//
// Custom variables for the `[data-bs-theme="dark"]` theme. Use this as a starting point for your own custom color modes by creating a new theme-specific file like `_variables-dark.scss` and adding the variables you need.
//
// Global colors
//
// Boosted mod
// scss-docs-start brand-colors-dark
$functional-green-dark: $ods-forest-100 !default;
$functional-blue-dark: $ods-water-100 !default;
$functional-yellow-dark: $functional-yellow !default;
$functional-red-dark: $ods-fire-100 !default;
// scss-docs-end brand-colors-dark
// scss-docs-start sass-dark-mode-vars
// scss-docs-start theme-color-dark-variables
$primary-dark: $supporting-orange !default;
$secondary-dark: $white !default;
$success-dark: $functional-green-dark !default;
$info-dark: $functional-blue-dark !default;
$warning-dark: $functional-yellow-dark !default;
$danger-dark: $functional-red-dark !default;
$light-dark: $gray-500 !default;
$dark-dark: $black !default;
// scss-docs-end theme-color-dark-variables
// scss-docs-start theme-colors-dark-map
$theme-colors-dark: (
"primary": $primary-dark,
"secondary": $secondary-dark,
"success": $success-dark,
"info": $info-dark,
"warning": $warning-dark,
"danger": $danger-dark,
"light": $light-dark,
"dark": $dark-dark,
) !default;
// scss-docs-end theme-colors-dark-map
// End mod
// scss-docs-start theme-text-dark-variables
$primary-text-emphasis-dark: $primary-dark !default; // Boosted mod: instead of `tint-color($primary, 40%)`
$secondary-text-emphasis-dark: $secondary-dark !default; // Boosted mod: instead of `tint-color($secondary, 40%)`
$success-text-emphasis-dark: $success-dark !default; // Boosted mod: instead of `tint-color($success, 40%)`
$info-text-emphasis-dark: $info-dark !default; // Boosted mod: instead of `tint-color($info, 40%)`
$warning-text-emphasis-dark: $warning-dark !default; // Boosted mod: instead of `tint-color($warning, 40%)`
$danger-text-emphasis-dark: $danger-dark !default; // Boosted mod: instead of `tint-color($danger, 40%)`
$light-text-emphasis-dark: $light-dark !default; // Boosted mod: instead of `$gray-100`
$dark-text-emphasis-dark: $dark-dark !default; // Boosted mod: instead of `$gray-300`
// scss-docs-end theme-text-dark-variables
// scss-docs-start theme-bg-subtle-dark-variables
$primary-bg-subtle-dark: $primary-dark !default; // Boosted mod: instead of `shade-color($primary, 80%)`
$secondary-bg-subtle-dark: $secondary-dark !default; // Boosted mod: instead of `shade-color($secondary, 80%)`
$success-bg-subtle-dark: $success-dark !default; // Boosted mod: instead of `shade-color($success, 80%)`
$info-bg-subtle-dark: $info-dark !default; // Boosted mod: instead of `shade-color($info, 80%)`
$warning-bg-subtle-dark: $warning-dark !default; // Boosted mod: instead of `shade-color($warning, 80%)`
$danger-bg-subtle-dark: $danger-dark !default; // Boosted mod: instead of `shade-color($danger, 80%)`
$light-bg-subtle-dark: $light-dark !default; // Boosted mod: instead of `$gray-800`
$dark-bg-subtle-dark: $dark-dark !default; // Boosted mod: instead of `mix($gray-800, $black)`
// scss-docs-end theme-bg-subtle-dark-variables
// scss-docs-start theme-border-subtle-dark-variables
$primary-border-subtle-dark: $primary-dark !default; // Boosted mod: instead of `shade-color($primary, 40%)`
$secondary-border-subtle-dark: $secondary-dark !default; // Boosted mod: instead of `shade-color($secondary, 40%)`
$success-border-subtle-dark: $success-dark !default; // Boosted mod: instead of `shade-color($success, 40%)`
$info-border-subtle-dark: $info-dark !default; // Boosted mod: instead of `shade-color($info, 40%)`
$warning-border-subtle-dark: $warning-dark !default; // Boosted mod: instead of `shade-color($warning, 40%)`
$danger-border-subtle-dark: $danger-dark !default; // Boosted mod: instead of `shade-color($danger, 40%)`
$light-border-subtle-dark: $light-dark !default; // Boosted mod: instead of `$gray-700`
$dark-border-subtle-dark: $dark-dark !default; // Boosted mod: instead of `$gray-800`
// scss-docs-end theme-border-subtle-dark-variables
$body-color-dark: $white !default; // Boosted mod: instead of `$gray-300`
$body-bg-dark: $gray-950 !default; // Boosted mod: instead of `$gray-900`
$body-secondary-color-dark: $gray-600 !default; // Boosted mod: instead of `rgba($body-color-dark, .75)`
$body-secondary-bg-dark: $gray-900 !default; // Boosted mod: instead of `$gray-800`
$body-tertiary-color-dark: $gray-700 !default; // Boosted mod: instead of `rgba($body-color-dark, .5)`
$body-tertiary-bg-dark: $black !default; // Boosted mod: instead of `mix($gray-800, $gray-900, 50%)`
$body-emphasis-color-dark: $white !default; // Boosted mod: instead of `$gray-100`
$disabled-color-dark: var(--#{$prefix}tertiary-color) !default; // Boosted mod
$tertiary-active-bg-dark: $gray-700 !default; // Boosted mod
$border-color-dark: $white !default; // Boosted mod: instead of `$gray-700`
$border-color-subtle-dark: $gray-700 !default; // Boosted mod
$border-color-translucent-dark: rgba($white, .15) !default;
$headings-color-dark: inherit !default;
$link-color-dark: $white !default; // Boosted mod: instead of `tint-color($primary, 40%)`
$link-hover-color-dark: $supporting-orange !default; // Boosted mod: instead of `shift-color($link-color-dark, -$link-shade-percentage)`
$code-color-dark: $gray-600 !default; // Boosted mod: instead of `tint-color($code-color, 40%)`
$mark-color-dark: $black !default; // Boosted mod: instead of `$body-color-dark`
$mark-bg-dark: $white !default; // Boosted mod: instead of `$yellow-800`
$focus-ring-color-dark: rgba($supporting-orange, $focus-ring-opacity) !default; // Boosted mod
$focus-visible-inner-color-dark: $black !default; // Boosted mod
$focus-visible-outer-color-dark: $white !default; // Boosted mod
$success-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 125 125'><path fill='#{$functional-green-dark}' d='M62.5 0a62.5 62.5 0 1 0 0 125 62.5 62.5 0 0 0 0-125zm28 29.4c3.3 0 6 2.6 6 5.9a5.9 5.9 0 0 1-1.3 3.7L57.7 86a5.8 5.8 0 0 1-9.1 0L29.8 62.5c-.8-1-1.2-2.3-1.2-3.7a5.9 5.9 0 0 1 1.7-4.1l2.3-2.4a5.8 5.8 0 0 1 4.2-1.7 5.8 5.8 0 0 1 3.8 1.4L52 64.7 86.6 31a5.8 5.8 0 0 1 4-1.6z'/></svg>") !default; // Boosted mod
$danger-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 125'><path fill='#{$functional-red-dark}' d='M70.3 0c-5.8 0-10.8 3.1-13.5 7.8L2.3 101.3l-.2.2A15.6 15.6 0 0 0 15.6 125H125a15.6 15.6 0 0 0 13.5-23.5L83.8 7.8A15.6 15.6 0 0 0 70.3 0zm19.2 50a6.4 6.4 0 0 1 4.4 1.9 6.4 6.4 0 0 1 0 9L79.4 75.6l15 15a6.4 6.4 0 0 1 0 9.2 6.4 6.4 0 0 1-4.5 1.9 6.4 6.4 0 0 1-4.6-2l-15-15-15 15a6.4 6.4 0 0 1-4.6 2 6.4 6.4 0 0 1-4.6-2 6.4 6.4 0 0 1 0-9l15-15L46.8 61a6.4 6.4 0 1 1 9-9.1l14.6 14.5L84.8 52a6.4 6.4 0 0 1 4.7-1.9z'/></svg>") !default; // Boosted mod
// Boosted mod
$svg-as-custom-props-dark: (
"success": $success-icon-dark,
"error": $danger-icon-dark
) !default;
// End mod
//
// Forms
//
$form-check-filter-dark: none !default; // Boosted mod
$form-check-input-disabled-color-dark: $gray-700 !default; // Boosted mod
$form-color-disabled-filter-dark: brightness(0) invert(1) brightness(.4) !default; // Boosted mod
$form-switch-square-bg-dark: $gray-950 !default; // Boosted mod
// Boosted mod: no $form-select-indicator-color-dark
$form-select-indicator-dark: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 7'><path fill='#{$white}' d='M7 7 0 0h14L7 7z'/></svg>")) !default; // Boosted mod: instead of Bootstrap svg
$form-select-disabled-indicator-dark: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 7'><path fill='#{$gray-600}' d='M7 7 0 0h14L7 7z'/></svg>")) !default; // Boosted mod
// Boosted mod: no $form-switch-color-dark
// Boosted mod: no $form-switch-bg-image-dark
// scss-docs-start form-validation-colors-dark
$form-valid-color-dark: var(--#{$prefix}success-text-emphasis) !default; // Boosted mod: instead of `$green-300`
$form-valid-border-color-dark: var(--#{$prefix}success) !default; // Boosted mod: instead of `$green-300`
$form-invalid-color-dark: var(--#{$prefix}danger-text-emphasis) !default; // Boosted mod: instead of `$red-300`
$form-invalid-border-color-dark: var(--#{$prefix}danger) !default; // Boosted mod: instead of `$red-300`
$form-switch-unchecked-invalid-border-color-dark: $form-invalid-border-color-dark !default; // Boosted mod
// scss-docs-end form-validation-colors-dark
//
// Accordion
//
// Boosted mod: no $accordion-icon-color-dark
// Boosted mod: no $accordion-icon-active-color-dark
// Boosted mod: no $accordion-button-icon-dark
// Boosted mod: no $accordion-button-active-icon-dark
//
// Carousel
//
// Boosted mod: no $carousel-indicator-active-bg-dark
// Boosted mod: no $carousel-caption-color-dark
// Boosted mod: no $carousel-control-icon-filter-dark
//
// Close button
//
// Boosted mod: no $btn-close-filter-dark
//
// Breadcrumb
//
$breadcrumb-divider-filter-dark: $invert-filter !default; // Boosted mod
//
// Tables
//
$table-striped-bg-factor-dark: 1 !default; // Boosted mod
$table-active-bg-factor-dark: .35 !default; // Boosted mod
$table-hover-bg-factor-dark: .135 !default; // Boosted mod
// scss-docs-end sass-dark-mode-vars