jekyll-theme-centos 2.2.1 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +151 -0
- data/_data/base/footer.yml +32 -0
- data/_data/base/identity.yml +20 -0
- data/_data/base/navbar.yml +74 -0
- data/_data/base/navbar_absolute.yml +74 -0
- data/_data/base/navbar_component.yml +60 -0
- data/_data/download/cards.yml +148 -0
- data/_data/download/navbar.yml +48 -0
- data/_data/people/navbar.yml +34 -0
- data/_includes/base/announcements.html +6 -0
- data/_includes/base/breadcrumbs.html +13 -0
- data/_includes/base/footer.html +61 -0
- data/_includes/base/head.html +17 -0
- data/_includes/base/header.html +17 -0
- data/_includes/base/navbar.html +32 -0
- data/_includes/base/script.html +70 -0
- data/_includes/{toc-accordion.html → base/toc-accordion.html} +4 -4
- data/_includes/{toc.html → base/toc.html} +0 -0
- data/_includes/download/cards-body-convert.html +6 -8
- data/_includes/download/cards-body-doc.html +7 -4
- data/_includes/download/cards-body-eol.html +13 -4
- data/_includes/download/cards-body-screenshot.html +26 -0
- data/_includes/download/cards-body.html +6 -5
- data/_includes/download/cards-footer.html +0 -0
- data/_includes/download/cards-header-convert.html +7 -8
- data/_includes/download/cards-header-doc.html +7 -8
- data/_includes/download/cards-header-eol.html +7 -8
- data/_includes/download/cards-header-screenshot.html +8 -0
- data/_includes/download/cards-header.html +12 -10
- data/_includes/download/cards.html +54 -55
- data/_includes/home/header.html +1 -1
- data/_includes/home/planet.html +3 -6
- data/_includes/people/about.html +10 -10
- data/_includes/people/header.html +2 -2
- data/_includes/people/posts.html +10 -13
- data/_includes/people/projects.html +21 -17
- data/_includes/people/pubkeys.html +9 -7
- data/_includes/people/support.html +9 -9
- data/_layouts/base/default.html +31 -0
- data/_layouts/download/cards.html +7 -0
- data/_layouts/home.html +9 -11
- data/_layouts/people/default.html +20 -0
- data/_sass/base/_centos-lists.scss +132 -0
- data/_sass/base/_centos.scss +80 -0
- data/_sass/base/_variables.scss +24 -0
- data/_sass/bootstrap/_accordion.scss +9 -0
- data/_sass/bootstrap/_alert.scss +8 -11
- data/_sass/bootstrap/_button-group.scss +2 -2
- data/_sass/bootstrap/_buttons.scss +3 -3
- data/_sass/bootstrap/_card.scss +5 -0
- data/_sass/bootstrap/_carousel.scss +20 -2
- data/_sass/bootstrap/_close.scss +32 -9
- data/_sass/bootstrap/_dropdown.scss +1 -0
- data/_sass/bootstrap/_functions.scss +1 -1
- data/_sass/bootstrap/_grid.scss +6 -0
- data/_sass/bootstrap/_helpers.scss +2 -0
- data/_sass/bootstrap/_list-group.scss +12 -7
- data/_sass/bootstrap/_maps.scss +120 -0
- data/_sass/bootstrap/_mixins.scss +1 -2
- data/_sass/bootstrap/_nav.scss +40 -3
- data/_sass/bootstrap/_navbar.scss +15 -4
- data/_sass/bootstrap/_offcanvas.scss +4 -2
- data/_sass/bootstrap/_pagination.scss +1 -1
- data/_sass/bootstrap/_progress.scss +10 -1
- data/_sass/bootstrap/_reboot.scss +3 -3
- data/_sass/bootstrap/_root.scss +121 -10
- data/_sass/bootstrap/_tables.scss +18 -11
- data/_sass/bootstrap/_tooltip.scss +4 -5
- data/_sass/bootstrap/_utilities.scss +172 -13
- data/_sass/bootstrap/_variables-dark.scss +85 -0
- data/_sass/bootstrap/_variables.scss +262 -153
- data/_sass/bootstrap/bootstrap-grid.scss +1 -3
- data/_sass/bootstrap/bootstrap-reboot.scss +1 -0
- data/_sass/bootstrap/bootstrap-utilities.scss +1 -0
- data/_sass/bootstrap/bootstrap.scss +1 -0
- data/_sass/bootstrap/forms/_floating-labels.scss +22 -3
- data/_sass/bootstrap/forms/_form-check.scss +24 -11
- data/_sass/bootstrap/forms/_form-control.scss +23 -3
- data/_sass/bootstrap/forms/_form-select.scss +11 -2
- data/_sass/bootstrap/forms/_input-group.scss +1 -1
- data/_sass/bootstrap/helpers/_color-bg.scss +0 -2
- data/_sass/bootstrap/helpers/_colored-links.scss +20 -2
- data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
- data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
- data/_sass/bootstrap/mixins/_alert.scss +4 -1
- data/_sass/bootstrap/mixins/_banner.scss +2 -4
- data/_sass/bootstrap/mixins/_caret.scss +30 -25
- data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
- data/_sass/bootstrap/mixins/_forms.scss +8 -7
- data/_sass/bootstrap/mixins/_list-group.scss +2 -0
- data/_sass/bootstrap/mixins/_utilities.scss +1 -1
- data/_sass/bootstrap/mixins/_visually-hidden.scss +5 -1
- data/_sass/bootstrap/vendor/_rfs.scss +23 -29
- data/assets/css/dataTables.bootstrap5.css +19 -5
- data/assets/css/dataTables.bootstrap5.min.css +2 -2
- data/assets/css/stylesheet.min.scss +3 -17
- data/assets/icons/android-chrome-192.png +0 -0
- data/assets/icons/android-chrome-512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16.png +0 -0
- data/assets/icons/favicon-32.png +0 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/favicon.svg +1 -0
- data/assets/img/anaconda-symbolic.svg +0 -0
- data/assets/img/anaconda.svg +0 -0
- data/assets/img/centos-dynamicmsg-logo.svg +0 -0
- data/assets/img/centos-dynamicmsg-type.svg +0 -0
- data/assets/img/centos-dynamicmsg-whitelogo.svg +0 -0
- data/assets/img/centos-dynamicmsg-whitetype.svg +0 -0
- data/assets/img/centos-gdm-whitelogo.svg +0 -0
- data/assets/img/centos-ipa-whiteheader.svg +0 -0
- data/assets/img/centos-logo-2bits.svg +0 -0
- data/assets/img/centos-logo.svg +0 -0
- data/assets/img/centos-message-logo.svg +0 -0
- data/assets/img/centos-motif.png +0 -0
- data/assets/img/centos-poweredby-logo.svg +0 -0
- data/assets/img/centos-symbol-2bits.svg +0 -0
- data/assets/img/centos-symbol.svg +0 -0
- data/assets/img/centos-type.svg +0 -0
- data/assets/img/centos-vertical-logo.svg +0 -0
- data/assets/img/centos-vertical-message-logo.svg +0 -0
- data/assets/img/centos-whitelogo.svg +0 -0
- data/assets/img/download/centos-linux-7-2009-screenshot-n.png +0 -0
- data/assets/img/download/centos-stream-8-screenshot-n.png +0 -0
- data/assets/img/download/centos-stream-9-screenshot-n.png +0 -0
- data/assets/img/download/distribution-release-screenshot-n.png +0 -0
- data/assets/img/download/distribution-release-screenshot-n.svg +128 -0
- data/assets/img/people/YourUsername.svg +64 -0
- data/assets/img/people/screenshot.svg +135 -0
- data/assets/js/bootstrap.bundle.js +713 -1482
- data/assets/js/bootstrap.bundle.js.map +1 -1
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/bootstrap.esm.js +660 -1423
- data/assets/js/bootstrap.esm.js.map +1 -1
- data/assets/js/bootstrap.esm.min.js +3 -3
- data/assets/js/bootstrap.esm.min.js.map +1 -1
- data/assets/js/bootstrap.js +678 -1441
- data/assets/js/bootstrap.js.map +1 -1
- data/assets/js/bootstrap.min.js +3 -3
- data/assets/js/bootstrap.min.js.map +1 -1
- data/assets/js/dataTables.bootstrap5.min.js +1 -1
- data/assets/js/jquery.dataTables.min.js +4 -0
- data/assets/js/jquery.min.js +2 -2
- data/assets/js/jquery.slim.min.js +2 -2
- data/assets/js/vanilla-back-to-top.min.js +1 -0
- metadata +59 -192
- data/_data/aws-images.csv +0 -81
- data/_data/full-altarchlist.csv +0 -74
- data/_data/full-mirrorlist.csv +0 -609
- data/_includes/blog/header.html +0 -22
- data/_includes/breadcrumbs.html +0 -13
- data/_includes/default/alert-danger.html +0 -4
- data/_includes/default/alert-info.html +0 -4
- data/_includes/default/alert-success.html +0 -4
- data/_includes/default/alert-warning.html +0 -4
- data/_includes/default/figure.html +0 -3
- data/_includes/default/header.html +0 -10
- data/_includes/default/video.html +0 -3
- data/_includes/editbar.html +0 -43
- data/_includes/footer.html +0 -36
- data/_includes/head-datatables.html +0 -8
- data/_includes/head.html +0 -7
- data/_includes/header.html +0 -7
- data/_includes/navbar.html +0 -28
- data/_includes/post/header.html +0 -23
- data/_includes/search.html +0 -81
- data/_includes/top.html +0 -3
- data/_layouts/default-datatables.html +0 -35
- data/_layouts/default.html +0 -34
- data/_layouts/people.html +0 -59
- data/_sass/centos/_headings.scss +0 -17
- data/_sass/centos/_links.scss +0 -11
- data/_sass/centos/_sponsors.scss +0 -112
- data/_sass/centos/_variables.scss +0 -23
- data/_sass/fontawesome-free/_animated.scss +0 -153
- data/_sass/fontawesome-free/_bordered-pulled.scss +0 -20
- data/_sass/fontawesome-free/_core.scss +0 -43
- data/_sass/fontawesome-free/_fixed-width.scss +0 -7
- data/_sass/fontawesome-free/_functions.scss +0 -57
- data/_sass/fontawesome-free/_icons.scss +0 -9
- data/_sass/fontawesome-free/_list.scss +0 -18
- data/_sass/fontawesome-free/_mixins.scss +0 -75
- data/_sass/fontawesome-free/_rotated-flipped.scss +0 -31
- data/_sass/fontawesome-free/_screen-reader.scss +0 -14
- data/_sass/fontawesome-free/_shims.scss +0 -2042
- data/_sass/fontawesome-free/_sizing.scss +0 -16
- data/_sass/fontawesome-free/_stacked.scss +0 -32
- data/_sass/fontawesome-free/_variables.scss +0 -4957
- data/_sass/fontawesome-free/brands.scss +0 -30
- data/_sass/fontawesome-free/fontawesome.scss +0 -21
- data/_sass/fontawesome-free/regular.scss +0 -26
- data/_sass/fontawesome-free/solid.scss +0 -26
- data/_sass/fontawesome-free/v4-shims.scss +0 -11
- data/_sass/montserrat/_montserrat.scss +0 -79
- data/_sass/overpass-mono/_overpass-mono.scss +0 -33
- data/assets/img/people/username.png +0 -0
- data/assets/js/clipboard.js +0 -890
- data/assets/js/dataTables.bootstrap5.js +0 -200
- data/assets/js/dataTables.bootstrap5.min.mjs +0 -4
- data/assets/js/dataTables.bootstrap5.mjs +0 -164
- data/assets/js/jquery.js +0 -10993
- data/assets/js/jquery.min.map +0 -1
- data/assets/js/jquery.slim.js +0 -8894
- data/assets/js/jquery.slim.min.map +0 -1
- data/assets/webfonts/Montserrat-Black.woff +0 -0
- data/assets/webfonts/Montserrat-Black.woff2 +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Bold.woff +0 -0
- data/assets/webfonts/Montserrat-Bold.woff2 +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Italic.woff +0 -0
- data/assets/webfonts/Montserrat-Italic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Light.woff +0 -0
- data/assets/webfonts/Montserrat-Light.woff2 +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Medium.woff +0 -0
- data/assets/webfonts/Montserrat-Medium.woff2 +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Regular.woff +0 -0
- data/assets/webfonts/Montserrat-Regular.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Thin.woff +0 -0
- data/assets/webfonts/Montserrat-Thin.woff2 +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- data/assets/webfonts/overpass-mono-bold.woff +0 -0
- data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
- data/assets/webfonts/overpass-mono-light.woff +0 -0
- data/assets/webfonts/overpass-mono-light.woff2 +0 -0
- data/assets/webfonts/overpass-mono-regular.woff +0 -0
- data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
- data/default.md +0 -165
- data/index.md +0 -9
- data/people.md +0 -63
data/_sass/bootstrap/_close.scss
CHANGED
@@ -4,37 +4,60 @@
|
|
4
4
|
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
5
5
|
|
6
6
|
.btn-close {
|
7
|
+
// scss-docs-start close-css-vars
|
8
|
+
--#{$prefix}btn-close-color: #{$btn-close-color};
|
9
|
+
--#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };
|
10
|
+
--#{$prefix}btn-close-opacity: #{$btn-close-opacity};
|
11
|
+
--#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};
|
12
|
+
--#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};
|
13
|
+
--#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};
|
14
|
+
--#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};
|
15
|
+
--#{$prefix}btn-close-white-filter: #{$btn-close-white-filter};
|
16
|
+
// scss-docs-end close-css-vars
|
17
|
+
|
7
18
|
box-sizing: content-box;
|
8
19
|
width: $btn-close-width;
|
9
20
|
height: $btn-close-height;
|
10
21
|
padding: $btn-close-padding-y $btn-close-padding-x;
|
11
|
-
color: $btn-close-color;
|
12
|
-
background: transparent
|
22
|
+
color: var(--#{$prefix}btn-close-color);
|
23
|
+
background: transparent var(--#{$prefix}btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
|
13
24
|
border: 0; // for button elements
|
14
25
|
@include border-radius();
|
15
|
-
opacity: $btn-close-opacity;
|
26
|
+
opacity: var(--#{$prefix}btn-close-opacity);
|
16
27
|
|
17
28
|
// Override <a>'s hover style
|
18
29
|
&:hover {
|
19
|
-
color: $btn-close-color;
|
30
|
+
color: var(--#{$prefix}btn-close-color);
|
20
31
|
text-decoration: none;
|
21
|
-
opacity: $btn-close-hover-opacity;
|
32
|
+
opacity: var(--#{$prefix}btn-close-hover-opacity);
|
22
33
|
}
|
23
34
|
|
24
35
|
&:focus {
|
25
36
|
outline: 0;
|
26
|
-
box-shadow: $btn-close-focus-shadow;
|
27
|
-
opacity: $btn-close-focus-opacity;
|
37
|
+
box-shadow: var(--#{$prefix}btn-close-focus-shadow);
|
38
|
+
opacity: var(--#{$prefix}btn-close-focus-opacity);
|
28
39
|
}
|
29
40
|
|
30
41
|
&:disabled,
|
31
42
|
&.disabled {
|
32
43
|
pointer-events: none;
|
33
44
|
user-select: none;
|
34
|
-
opacity: $btn-close-disabled-opacity;
|
45
|
+
opacity: var(--#{$prefix}btn-close-disabled-opacity);
|
35
46
|
}
|
36
47
|
}
|
37
48
|
|
49
|
+
@mixin btn-close-white() {
|
50
|
+
filter: var(--#{$prefix}btn-close-white-filter);
|
51
|
+
}
|
52
|
+
|
38
53
|
.btn-close-white {
|
39
|
-
|
54
|
+
@include btn-close-white();
|
55
|
+
}
|
56
|
+
|
57
|
+
@if $enable-dark-mode {
|
58
|
+
@include color-mode(dark) {
|
59
|
+
.btn-close {
|
60
|
+
@include btn-close-white();
|
61
|
+
}
|
62
|
+
}
|
40
63
|
}
|
@@ -184,6 +184,7 @@
|
|
184
184
|
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
185
185
|
background-color: transparent; // For `<button>`s
|
186
186
|
border: 0; // For `<button>`s
|
187
|
+
@include border-radius(var(--#{$prefix}dropdown-item-border-radius, 0));
|
187
188
|
|
188
189
|
&:hover,
|
189
190
|
&:focus {
|
@@ -188,7 +188,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
|
|
188
188
|
);
|
189
189
|
|
190
190
|
@each $name, $value in $rgb {
|
191
|
-
$value: if(divide($value, 255) < .
|
191
|
+
$value: if(divide($value, 255) < .04045, divide(divide($value, 255), 12.92), nth($_luminance-list, $value + 1));
|
192
192
|
$rgb: map-merge($rgb, ($name: $value));
|
193
193
|
}
|
194
194
|
|
data/_sass/bootstrap/_grid.scss
CHANGED
@@ -180,13 +180,18 @@
|
|
180
180
|
// Add modifier classes to change text and background color on individual items.
|
181
181
|
// Organizationally, this must come after the `:hover` states.
|
182
182
|
|
183
|
-
@each $state
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
$list-group-
|
183
|
+
@each $state in map-keys($theme-colors) {
|
184
|
+
.list-group-item-#{$state} {
|
185
|
+
--#{$prefix}list-group-color: var(--#{$prefix}#{$state}-text-emphasis);
|
186
|
+
--#{$prefix}list-group-bg: var(--#{$prefix}#{$state}-bg-subtle);
|
187
|
+
--#{$prefix}list-group-border-color: var(--#{$prefix}#{$state}-border-subtle);
|
188
|
+
--#{$prefix}list-group-action-hover-color: var(--#{$prefix}emphasis-color);
|
189
|
+
--#{$prefix}list-group-action-hover-bg: var(--#{$prefix}#{$state}-border-subtle);
|
190
|
+
--#{$prefix}list-group-action-active-color: var(--#{$prefix}emphasis-color);
|
191
|
+
--#{$prefix}list-group-action-active-bg: var(--#{$prefix}#{$state}-border-subtle);
|
192
|
+
--#{$prefix}list-group-active-color: var(--#{$prefix}#{$state}-bg-subtle);
|
193
|
+
--#{$prefix}list-group-active-bg: var(--#{$prefix}#{$state}-text-emphasis);
|
194
|
+
--#{$prefix}list-group-active-border-color: var(--#{$prefix}#{$state}-text-emphasis);
|
188
195
|
}
|
189
|
-
|
190
|
-
@include list-group-item-variant($state, $list-group-variant-bg, $list-group-variant-color);
|
191
196
|
}
|
192
197
|
// scss-docs-end list-group-modifiers
|
data/_sass/bootstrap/_maps.scss
CHANGED
@@ -6,6 +6,90 @@
|
|
6
6
|
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
|
7
7
|
// scss-docs-end theme-colors-rgb
|
8
8
|
|
9
|
+
// scss-docs-start theme-text-map
|
10
|
+
$theme-colors-text: (
|
11
|
+
"primary": $primary-text-emphasis,
|
12
|
+
"secondary": $secondary-text-emphasis,
|
13
|
+
"success": $success-text-emphasis,
|
14
|
+
"info": $info-text-emphasis,
|
15
|
+
"warning": $warning-text-emphasis,
|
16
|
+
"danger": $danger-text-emphasis,
|
17
|
+
"light": $light-text-emphasis,
|
18
|
+
"dark": $dark-text-emphasis,
|
19
|
+
) !default;
|
20
|
+
// scss-docs-end theme-text-map
|
21
|
+
|
22
|
+
// scss-docs-start theme-bg-subtle-map
|
23
|
+
$theme-colors-bg-subtle: (
|
24
|
+
"primary": $primary-bg-subtle,
|
25
|
+
"secondary": $secondary-bg-subtle,
|
26
|
+
"success": $success-bg-subtle,
|
27
|
+
"info": $info-bg-subtle,
|
28
|
+
"warning": $warning-bg-subtle,
|
29
|
+
"danger": $danger-bg-subtle,
|
30
|
+
"light": $light-bg-subtle,
|
31
|
+
"dark": $dark-bg-subtle,
|
32
|
+
) !default;
|
33
|
+
// scss-docs-end theme-bg-subtle-map
|
34
|
+
|
35
|
+
// scss-docs-start theme-border-subtle-map
|
36
|
+
$theme-colors-border-subtle: (
|
37
|
+
"primary": $primary-border-subtle,
|
38
|
+
"secondary": $secondary-border-subtle,
|
39
|
+
"success": $success-border-subtle,
|
40
|
+
"info": $info-border-subtle,
|
41
|
+
"warning": $warning-border-subtle,
|
42
|
+
"danger": $danger-border-subtle,
|
43
|
+
"light": $light-border-subtle,
|
44
|
+
"dark": $dark-border-subtle,
|
45
|
+
) !default;
|
46
|
+
// scss-docs-end theme-border-subtle-map
|
47
|
+
|
48
|
+
$theme-colors-text-dark: null !default;
|
49
|
+
$theme-colors-bg-subtle-dark: null !default;
|
50
|
+
$theme-colors-border-subtle-dark: null !default;
|
51
|
+
|
52
|
+
@if $enable-dark-mode {
|
53
|
+
// scss-docs-start theme-text-dark-map
|
54
|
+
$theme-colors-text-dark: (
|
55
|
+
"primary": $primary-text-emphasis-dark,
|
56
|
+
"secondary": $secondary-text-emphasis-dark,
|
57
|
+
"success": $success-text-emphasis-dark,
|
58
|
+
"info": $info-text-emphasis-dark,
|
59
|
+
"warning": $warning-text-emphasis-dark,
|
60
|
+
"danger": $danger-text-emphasis-dark,
|
61
|
+
"light": $light-text-emphasis-dark,
|
62
|
+
"dark": $dark-text-emphasis-dark,
|
63
|
+
) !default;
|
64
|
+
// scss-docs-end theme-text-dark-map
|
65
|
+
|
66
|
+
// scss-docs-start theme-bg-subtle-dark-map
|
67
|
+
$theme-colors-bg-subtle-dark: (
|
68
|
+
"primary": $primary-bg-subtle-dark,
|
69
|
+
"secondary": $secondary-bg-subtle-dark,
|
70
|
+
"success": $success-bg-subtle-dark,
|
71
|
+
"info": $info-bg-subtle-dark,
|
72
|
+
"warning": $warning-bg-subtle-dark,
|
73
|
+
"danger": $danger-bg-subtle-dark,
|
74
|
+
"light": $light-bg-subtle-dark,
|
75
|
+
"dark": $dark-bg-subtle-dark,
|
76
|
+
) !default;
|
77
|
+
// scss-docs-end theme-bg-subtle-dark-map
|
78
|
+
|
79
|
+
// scss-docs-start theme-border-subtle-dark-map
|
80
|
+
$theme-colors-border-subtle-dark: (
|
81
|
+
"primary": $primary-border-subtle-dark,
|
82
|
+
"secondary": $secondary-border-subtle-dark,
|
83
|
+
"success": $success-border-subtle-dark,
|
84
|
+
"info": $info-border-subtle-dark,
|
85
|
+
"warning": $warning-border-subtle-dark,
|
86
|
+
"danger": $danger-border-subtle-dark,
|
87
|
+
"light": $light-border-subtle-dark,
|
88
|
+
"dark": $dark-border-subtle-dark,
|
89
|
+
) !default;
|
90
|
+
// scss-docs-end theme-border-subtle-dark-map
|
91
|
+
}
|
92
|
+
|
9
93
|
// Utilities maps
|
10
94
|
//
|
11
95
|
// Extends the default `$theme-colors` maps to help create our utilities.
|
@@ -25,6 +109,17 @@ $utilities-text: map-merge(
|
|
25
109
|
)
|
26
110
|
) !default;
|
27
111
|
$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
|
112
|
+
|
113
|
+
$utilities-text-emphasis-colors: (
|
114
|
+
"primary-emphasis": var(--#{$prefix}primary-text-emphasis),
|
115
|
+
"secondary-emphasis": var(--#{$prefix}secondary-text-emphasis),
|
116
|
+
"success-emphasis": var(--#{$prefix}success-text-emphasis),
|
117
|
+
"info-emphasis": var(--#{$prefix}info-text-emphasis),
|
118
|
+
"warning-emphasis": var(--#{$prefix}warning-text-emphasis),
|
119
|
+
"danger-emphasis": var(--#{$prefix}danger-text-emphasis),
|
120
|
+
"light-emphasis": var(--#{$prefix}light-text-emphasis),
|
121
|
+
"dark-emphasis": var(--#{$prefix}dark-text-emphasis)
|
122
|
+
) !default;
|
28
123
|
// scss-docs-end utilities-text-colors
|
29
124
|
|
30
125
|
// scss-docs-start utilities-bg-colors
|
@@ -37,18 +132,43 @@ $utilities-bg: map-merge(
|
|
37
132
|
)
|
38
133
|
) !default;
|
39
134
|
$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
|
135
|
+
|
136
|
+
$utilities-bg-subtle: (
|
137
|
+
"primary-subtle": var(--#{$prefix}primary-bg-subtle),
|
138
|
+
"secondary-subtle": var(--#{$prefix}secondary-bg-subtle),
|
139
|
+
"success-subtle": var(--#{$prefix}success-bg-subtle),
|
140
|
+
"info-subtle": var(--#{$prefix}info-bg-subtle),
|
141
|
+
"warning-subtle": var(--#{$prefix}warning-bg-subtle),
|
142
|
+
"danger-subtle": var(--#{$prefix}danger-bg-subtle),
|
143
|
+
"light-subtle": var(--#{$prefix}light-bg-subtle),
|
144
|
+
"dark-subtle": var(--#{$prefix}dark-bg-subtle)
|
145
|
+
) !default;
|
40
146
|
// scss-docs-end utilities-bg-colors
|
41
147
|
|
42
148
|
// scss-docs-start utilities-border-colors
|
43
149
|
$utilities-border: map-merge(
|
44
150
|
$utilities-colors,
|
45
151
|
(
|
152
|
+
"black": to-rgb($black),
|
46
153
|
"white": to-rgb($white)
|
47
154
|
)
|
48
155
|
) !default;
|
49
156
|
$utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
|
157
|
+
|
158
|
+
$utilities-border-subtle: (
|
159
|
+
"primary-subtle": var(--#{$prefix}primary-border-subtle),
|
160
|
+
"secondary-subtle": var(--#{$prefix}secondary-border-subtle),
|
161
|
+
"success-subtle": var(--#{$prefix}success-border-subtle),
|
162
|
+
"info-subtle": var(--#{$prefix}info-border-subtle),
|
163
|
+
"warning-subtle": var(--#{$prefix}warning-border-subtle),
|
164
|
+
"danger-subtle": var(--#{$prefix}danger-border-subtle),
|
165
|
+
"light-subtle": var(--#{$prefix}light-border-subtle),
|
166
|
+
"dark-subtle": var(--#{$prefix}dark-border-subtle)
|
167
|
+
) !default;
|
50
168
|
// scss-docs-end utilities-border-colors
|
51
169
|
|
170
|
+
$utilities-links-underline: map-loop($utilities-colors, rgba-css-var, "$key", "link-underline") !default;
|
171
|
+
|
52
172
|
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
53
173
|
|
54
174
|
$gutters: $spacers !default;
|
@@ -10,6 +10,7 @@
|
|
10
10
|
|
11
11
|
// Helpers
|
12
12
|
@import "mixins/breakpoints";
|
13
|
+
@import "mixins/color-mode";
|
13
14
|
@import "mixins/color-scheme";
|
14
15
|
@import "mixins/image";
|
15
16
|
@import "mixins/resize";
|
@@ -21,13 +22,11 @@
|
|
21
22
|
@import "mixins/utilities";
|
22
23
|
|
23
24
|
// Components
|
24
|
-
@import "mixins/alert";
|
25
25
|
@import "mixins/backdrop";
|
26
26
|
@import "mixins/buttons";
|
27
27
|
@import "mixins/caret";
|
28
28
|
@import "mixins/pagination";
|
29
29
|
@import "mixins/lists";
|
30
|
-
@import "mixins/list-group";
|
31
30
|
@import "mixins/forms";
|
32
31
|
@import "mixins/table-variants";
|
33
32
|
|
data/_sass/bootstrap/_nav.scss
CHANGED
@@ -28,6 +28,8 @@
|
|
28
28
|
font-weight: var(--#{$prefix}nav-link-font-weight);
|
29
29
|
color: var(--#{$prefix}nav-link-color);
|
30
30
|
text-decoration: if($link-decoration == none, null, none);
|
31
|
+
background: none;
|
32
|
+
border: 0;
|
31
33
|
@include transition($nav-link-transition);
|
32
34
|
|
33
35
|
&:hover,
|
@@ -36,6 +38,11 @@
|
|
36
38
|
text-decoration: if($link-hover-decoration == underline, none, null);
|
37
39
|
}
|
38
40
|
|
41
|
+
&:focus-visible {
|
42
|
+
outline: 0;
|
43
|
+
box-shadow: $nav-link-focus-box-shadow;
|
44
|
+
}
|
45
|
+
|
39
46
|
// Disabled state lightens text
|
40
47
|
&.disabled {
|
41
48
|
color: var(--#{$prefix}nav-link-disabled-color);
|
@@ -63,7 +70,6 @@
|
|
63
70
|
|
64
71
|
.nav-link {
|
65
72
|
margin-bottom: calc(-1 * var(--#{$prefix}nav-tabs-border-width)); // stylelint-disable-line function-disallowed-list
|
66
|
-
background: none;
|
67
73
|
border: var(--#{$prefix}nav-tabs-border-width) solid transparent;
|
68
74
|
@include border-top-radius(var(--#{$prefix}nav-tabs-border-radius));
|
69
75
|
|
@@ -110,8 +116,6 @@
|
|
110
116
|
// scss-docs-end nav-pills-css-vars
|
111
117
|
|
112
118
|
.nav-link {
|
113
|
-
background: none;
|
114
|
-
border: 0;
|
115
119
|
@include border-radius(var(--#{$prefix}nav-pills-border-radius));
|
116
120
|
|
117
121
|
&:disabled {
|
@@ -129,6 +133,39 @@
|
|
129
133
|
}
|
130
134
|
|
131
135
|
|
136
|
+
//
|
137
|
+
// Underline
|
138
|
+
//
|
139
|
+
|
140
|
+
.nav-underline {
|
141
|
+
// scss-docs-start nav-underline-css-vars
|
142
|
+
--#{$prefix}nav-underline-gap: #{$nav-underline-gap};
|
143
|
+
--#{$prefix}nav-underline-border-width: #{$nav-underline-border-width};
|
144
|
+
--#{$prefix}nav-underline-link-active-color: #{$nav-underline-link-active-color};
|
145
|
+
// scss-docs-end nav-underline-css-vars
|
146
|
+
|
147
|
+
gap: var(--#{$prefix}nav-underline-gap);
|
148
|
+
|
149
|
+
.nav-link {
|
150
|
+
padding-right: 0;
|
151
|
+
padding-left: 0;
|
152
|
+
border-bottom: var(--#{$prefix}nav-underline-border-width) solid transparent;
|
153
|
+
|
154
|
+
&:hover,
|
155
|
+
&:focus {
|
156
|
+
border-bottom-color: currentcolor;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
.nav-link.active,
|
161
|
+
.show > .nav-link {
|
162
|
+
font-weight: $font-weight-bold;
|
163
|
+
color: var(--#{$prefix}nav-underline-link-active-color);
|
164
|
+
border-bottom-color: currentcolor;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
|
132
169
|
//
|
133
170
|
// Justified variants
|
134
171
|
//
|
@@ -100,9 +100,11 @@
|
|
100
100
|
margin-bottom: 0;
|
101
101
|
list-style: none;
|
102
102
|
|
103
|
-
.
|
104
|
-
|
105
|
-
|
103
|
+
.nav-link {
|
104
|
+
&.active,
|
105
|
+
&.show {
|
106
|
+
color: var(--#{$prefix}navbar-active-color);
|
107
|
+
}
|
106
108
|
}
|
107
109
|
|
108
110
|
.dropdown-menu {
|
@@ -264,7 +266,8 @@
|
|
264
266
|
@include deprecate("`.navbar-light`", "v5.2.0", "v6.0.0", true);
|
265
267
|
}
|
266
268
|
|
267
|
-
.navbar-dark
|
269
|
+
.navbar-dark,
|
270
|
+
.navbar[data-bs-theme="dark"] {
|
268
271
|
// scss-docs-start navbar-dark-css-vars
|
269
272
|
--#{$prefix}navbar-color: #{$navbar-dark-color};
|
270
273
|
--#{$prefix}navbar-hover-color: #{$navbar-dark-hover-color};
|
@@ -276,3 +279,11 @@
|
|
276
279
|
--#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-dark-toggler-icon-bg)};
|
277
280
|
// scss-docs-end navbar-dark-css-vars
|
278
281
|
}
|
282
|
+
|
283
|
+
@if $enable-dark-mode {
|
284
|
+
@include color-mode(dark) {
|
285
|
+
.navbar-toggler-icon {
|
286
|
+
--#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-dark-toggler-icon-bg)};
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|
@@ -12,6 +12,8 @@
|
|
12
12
|
--#{$prefix}offcanvas-border-width: #{$offcanvas-border-width};
|
13
13
|
--#{$prefix}offcanvas-border-color: #{$offcanvas-border-color};
|
14
14
|
--#{$prefix}offcanvas-box-shadow: #{$offcanvas-box-shadow};
|
15
|
+
--#{$prefix}offcanvas-transition: #{transform $offcanvas-transition-duration ease-in-out};
|
16
|
+
--#{$prefix}offcanvas-title-line-height: #{$offcanvas-title-line-height};
|
15
17
|
// scss-docs-end offcanvas-css-vars
|
16
18
|
}
|
17
19
|
|
@@ -42,7 +44,7 @@
|
|
42
44
|
background-clip: padding-box;
|
43
45
|
outline: 0;
|
44
46
|
@include box-shadow(var(--#{$prefix}offcanvas-box-shadow));
|
45
|
-
@include transition(
|
47
|
+
@include transition(var(--#{$prefix}offcanvas-transition));
|
46
48
|
|
47
49
|
&.offcanvas-start {
|
48
50
|
top: 0;
|
@@ -134,7 +136,7 @@
|
|
134
136
|
|
135
137
|
.offcanvas-title {
|
136
138
|
margin-bottom: 0;
|
137
|
-
line-height: $offcanvas-title-line-height;
|
139
|
+
line-height: var(--#{$prefix}offcanvas-title-line-height);
|
138
140
|
}
|
139
141
|
|
140
142
|
.offcanvas-body {
|
@@ -75,7 +75,7 @@
|
|
75
75
|
margin-left: $pagination-margin-start;
|
76
76
|
}
|
77
77
|
|
78
|
-
@if $pagination-margin-start == ($pagination-border-width * -1) {
|
78
|
+
@if $pagination-margin-start == calc(#{$pagination-border-width} * -1) {
|
79
79
|
&:first-child {
|
80
80
|
.page-link {
|
81
81
|
@include border-start-radius(var(--#{$prefix}pagination-border-radius));
|
@@ -8,7 +8,8 @@
|
|
8
8
|
}
|
9
9
|
// scss-docs-end progress-keyframes
|
10
10
|
|
11
|
-
.progress
|
11
|
+
.progress,
|
12
|
+
.progress-stacked {
|
12
13
|
// scss-docs-start progress-css-vars
|
13
14
|
--#{$prefix}progress-height: #{$progress-height};
|
14
15
|
@include rfs($progress-font-size, --#{$prefix}progress-font-size);
|
@@ -46,6 +47,14 @@
|
|
46
47
|
background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);
|
47
48
|
}
|
48
49
|
|
50
|
+
.progress-stacked > .progress {
|
51
|
+
overflow: visible;
|
52
|
+
}
|
53
|
+
|
54
|
+
.progress-stacked > .progress > .progress-bar {
|
55
|
+
width: 100%;
|
56
|
+
}
|
57
|
+
|
49
58
|
@if $enable-transitions {
|
50
59
|
.progress-bar-animated {
|
51
60
|
animation: $progress-bar-animation-timing progress-bar-stripes;
|
@@ -87,7 +87,7 @@ hr {
|
|
87
87
|
font-style: $headings-font-style;
|
88
88
|
font-weight: $headings-font-weight;
|
89
89
|
line-height: $headings-line-height;
|
90
|
-
color: $
|
90
|
+
color: var(--#{$prefix}heading-color);
|
91
91
|
}
|
92
92
|
|
93
93
|
h1 {
|
@@ -241,11 +241,11 @@ sup { top: -.5em; }
|
|
241
241
|
// Links
|
242
242
|
|
243
243
|
a {
|
244
|
-
color: var(--#{$prefix}link-color);
|
244
|
+
color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));
|
245
245
|
text-decoration: $link-decoration;
|
246
246
|
|
247
247
|
&:hover {
|
248
|
-
color: var(--#{$prefix}link-hover-color);
|
248
|
+
--#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);
|
249
249
|
text-decoration: $link-hover-decoration;
|
250
250
|
}
|
251
251
|
}
|
data/_sass/bootstrap/_root.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
:root
|
1
|
+
:root,
|
2
|
+
[data-bs-theme="light"] {
|
2
3
|
// Note: Custom variable values only support SassScript inside `#{}`.
|
3
4
|
|
4
5
|
// Colors
|
@@ -21,10 +22,20 @@
|
|
21
22
|
--#{$prefix}#{$color}-rgb: #{$value};
|
22
23
|
}
|
23
24
|
|
25
|
+
@each $color, $value in $theme-colors-text {
|
26
|
+
--#{$prefix}#{$color}-text-emphasis: #{$value};
|
27
|
+
}
|
28
|
+
|
29
|
+
@each $color, $value in $theme-colors-bg-subtle {
|
30
|
+
--#{$prefix}#{$color}-bg-subtle: #{$value};
|
31
|
+
}
|
32
|
+
|
33
|
+
@each $color, $value in $theme-colors-border-subtle {
|
34
|
+
--#{$prefix}#{$color}-border-subtle: #{$value};
|
35
|
+
}
|
36
|
+
|
24
37
|
--#{$prefix}white-rgb: #{to-rgb($white)};
|
25
38
|
--#{$prefix}black-rgb: #{to-rgb($black)};
|
26
|
-
--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
|
27
|
-
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
|
28
39
|
|
29
40
|
// Fonts
|
30
41
|
|
@@ -39,17 +50,49 @@
|
|
39
50
|
@if $font-size-root != null {
|
40
51
|
--#{$prefix}root-font-size: #{$font-size-root};
|
41
52
|
}
|
42
|
-
--#{$prefix}body-font-family: #{$font-family-base};
|
53
|
+
--#{$prefix}body-font-family: #{inspect($font-family-base)};
|
43
54
|
@include rfs($font-size-base, --#{$prefix}body-font-size);
|
44
55
|
--#{$prefix}body-font-weight: #{$font-weight-base};
|
45
56
|
--#{$prefix}body-line-height: #{$line-height-base};
|
46
|
-
--#{$prefix}body-color: #{$body-color};
|
47
57
|
@if $body-text-align != null {
|
48
58
|
--#{$prefix}body-text-align: #{$body-text-align};
|
49
59
|
}
|
60
|
+
|
61
|
+
--#{$prefix}body-color: #{$body-color};
|
62
|
+
--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
|
50
63
|
--#{$prefix}body-bg: #{$body-bg};
|
64
|
+
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
|
65
|
+
|
66
|
+
--#{$prefix}emphasis-color: #{$body-emphasis-color};
|
67
|
+
--#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color)};
|
68
|
+
|
69
|
+
--#{$prefix}secondary-color: #{$body-secondary-color};
|
70
|
+
--#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color)};
|
71
|
+
--#{$prefix}secondary-bg: #{$body-secondary-bg};
|
72
|
+
--#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg)};
|
73
|
+
|
74
|
+
--#{$prefix}tertiary-color: #{$body-tertiary-color};
|
75
|
+
--#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)};
|
76
|
+
--#{$prefix}tertiary-bg: #{$body-tertiary-bg};
|
77
|
+
--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};
|
51
78
|
// scss-docs-end root-body-variables
|
52
79
|
|
80
|
+
--#{$prefix}heading-color: #{$headings-color};
|
81
|
+
|
82
|
+
--#{$prefix}link-color: #{$link-color};
|
83
|
+
--#{$prefix}link-color-rgb: #{to-rgb($link-color)};
|
84
|
+
--#{$prefix}link-decoration: #{$link-decoration};
|
85
|
+
|
86
|
+
--#{$prefix}link-hover-color: #{$link-hover-color};
|
87
|
+
--#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color)};
|
88
|
+
|
89
|
+
@if $link-hover-decoration != null {
|
90
|
+
--#{$prefix}link-hover-decoration: #{$link-hover-decoration};
|
91
|
+
}
|
92
|
+
|
93
|
+
--#{$prefix}code-color: #{$code-color};
|
94
|
+
--#{$prefix}highlight-bg: #{$mark-bg};
|
95
|
+
|
53
96
|
// scss-docs-start root-border-var
|
54
97
|
--#{$prefix}border-width: #{$border-width};
|
55
98
|
--#{$prefix}border-style: #{$border-style};
|
@@ -60,14 +103,82 @@
|
|
60
103
|
--#{$prefix}border-radius-sm: #{$border-radius-sm};
|
61
104
|
--#{$prefix}border-radius-lg: #{$border-radius-lg};
|
62
105
|
--#{$prefix}border-radius-xl: #{$border-radius-xl};
|
63
|
-
--#{$prefix}border-radius-
|
106
|
+
--#{$prefix}border-radius-xxl: #{$border-radius-xxl};
|
107
|
+
--#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency
|
64
108
|
--#{$prefix}border-radius-pill: #{$border-radius-pill};
|
65
109
|
// scss-docs-end root-border-var
|
66
110
|
|
67
|
-
--#{$prefix}
|
68
|
-
--#{$prefix}
|
111
|
+
--#{$prefix}box-shadow: #{$box-shadow};
|
112
|
+
--#{$prefix}box-shadow-sm: #{$box-shadow-sm};
|
113
|
+
--#{$prefix}box-shadow-lg: #{$box-shadow-lg};
|
114
|
+
--#{$prefix}box-shadow-inset: #{$box-shadow-inset};
|
69
115
|
|
70
|
-
|
116
|
+
// Focus styles
|
117
|
+
// scss-docs-start root-focus-variables
|
118
|
+
--#{$prefix}focus-ring-width: #{$focus-ring-width};
|
119
|
+
--#{$prefix}focus-ring-opacity: #{$focus-ring-opacity};
|
120
|
+
--#{$prefix}focus-ring-color: #{$focus-ring-color};
|
121
|
+
// scss-docs-end root-focus-variables
|
71
122
|
|
72
|
-
|
123
|
+
// scss-docs-start root-form-validation-variables
|
124
|
+
--#{$prefix}form-valid-color: #{$form-valid-color};
|
125
|
+
--#{$prefix}form-valid-border-color: #{$form-valid-border-color};
|
126
|
+
--#{$prefix}form-invalid-color: #{$form-invalid-color};
|
127
|
+
--#{$prefix}form-invalid-border-color: #{$form-invalid-border-color};
|
128
|
+
// scss-docs-end root-form-validation-variables
|
129
|
+
}
|
130
|
+
|
131
|
+
@if $enable-dark-mode {
|
132
|
+
@include color-mode(dark, true) {
|
133
|
+
color-scheme: dark;
|
134
|
+
|
135
|
+
// scss-docs-start root-dark-mode-vars
|
136
|
+
--#{$prefix}body-color: #{$body-color-dark};
|
137
|
+
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
|
138
|
+
--#{$prefix}body-bg: #{$body-bg-dark};
|
139
|
+
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg-dark)};
|
140
|
+
|
141
|
+
--#{$prefix}emphasis-color: #{$body-emphasis-color-dark};
|
142
|
+
--#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};
|
143
|
+
|
144
|
+
--#{$prefix}secondary-color: #{$body-secondary-color-dark};
|
145
|
+
--#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color-dark)};
|
146
|
+
--#{$prefix}secondary-bg: #{$body-secondary-bg-dark};
|
147
|
+
--#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg-dark)};
|
148
|
+
|
149
|
+
--#{$prefix}tertiary-color: #{$body-tertiary-color-dark};
|
150
|
+
--#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color-dark)};
|
151
|
+
--#{$prefix}tertiary-bg: #{$body-tertiary-bg-dark};
|
152
|
+
--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};
|
153
|
+
|
154
|
+
@each $color, $value in $theme-colors-text-dark {
|
155
|
+
--#{$prefix}#{$color}-text-emphasis: #{$value};
|
156
|
+
}
|
157
|
+
|
158
|
+
@each $color, $value in $theme-colors-bg-subtle-dark {
|
159
|
+
--#{$prefix}#{$color}-bg-subtle: #{$value};
|
160
|
+
}
|
161
|
+
|
162
|
+
@each $color, $value in $theme-colors-border-subtle-dark {
|
163
|
+
--#{$prefix}#{$color}-border-subtle: #{$value};
|
164
|
+
}
|
165
|
+
|
166
|
+
--#{$prefix}heading-color: #{$headings-color-dark};
|
167
|
+
|
168
|
+
--#{$prefix}link-color: #{$link-color-dark};
|
169
|
+
--#{$prefix}link-hover-color: #{$link-hover-color-dark};
|
170
|
+
--#{$prefix}link-color-rgb: #{to-rgb($link-color-dark)};
|
171
|
+
--#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};
|
172
|
+
|
173
|
+
--#{$prefix}code-color: #{$code-color-dark};
|
174
|
+
|
175
|
+
--#{$prefix}border-color: #{$border-color-dark};
|
176
|
+
--#{$prefix}border-color-translucent: #{$border-color-translucent-dark};
|
177
|
+
|
178
|
+
--#{$prefix}form-valid-color: #{$form-valid-color-dark};
|
179
|
+
--#{$prefix}form-valid-border-color: #{$form-valid-border-color-dark};
|
180
|
+
--#{$prefix}form-invalid-color: #{$form-invalid-color-dark};
|
181
|
+
--#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark};
|
182
|
+
// scss-docs-end root-dark-mode-vars
|
183
|
+
}
|
73
184
|
}
|