Skip to content

Commit f68684e

Browse files
committed
More docs Sass modules
1 parent 721abb7 commit f68684e

19 files changed

+69
-539
lines changed

scss/_colors.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,5 +278,7 @@ $all-colors: (
278278
"yellows": $yellows,
279279
"greens": $greens,
280280
"teals": $teals,
281-
"cyans": $cyans
281+
"cyans": $cyans,
282+
"black": $black,
283+
"white": $white
282284
) !default;

scss/_root.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
:root,
1313
[data-bs-theme="light"] {
1414
@each $color-group-name, $color-group in $all-colors {
15-
@each $color-name, $color-value in $color-group {
16-
--#{$prefix}#{$color-name}: #{$color-value};
15+
@if type-of($color-group) == "map" {
16+
@each $color-name, $color-value in $color-group {
17+
--#{$prefix}#{$color-name}: #{$color-value};
18+
}
19+
} @else {
20+
--#{$prefix}#{$color-group-name}: #{$color-group};
1721
}
1822
}
1923

site/data/sidebar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
- title: Tables
5454
- title: Figures
5555
- title: Content body
56+
5657
- title: Forms
5758
icon: ui-radios
5859
icon_color: blue

site/src/content/docs/layout/grid.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: CSS Grid
33
description: Learn how to enable, use, and customize our alternate layout system built on CSS Grid with examples and code snippets.
44
toc: true
5-
added: "5.1"
65
---
76

87
Bootstrap's default grid system represents the culmination of over a decade of CSS layout techniques, tried and tested by millions of people. But, it was also created without many of the modern CSS features and techniques we're seeing in browsers like the new CSS Grid.

0 commit comments

Comments
 (0)