Skip to content

Commit 80f3518

Browse files
[OUDS] fix(docs): missing changes in the previous branches (#2851)
1 parent 637986a commit 80f3518

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

site/content/docs/0.0/content/typography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OUDS Web sets basic global display, typography<!--, and link styles-->. When mor
1717
- Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `:root` children.
1818
- Use `max-width` on all font references for readability reasons. If you want to get rid of the `max-width`, please make sure to use our `.mw-none` [width utility]({{< docsref "/utilities/sizing" >}}).
1919
<!-- - Set the global link color via `$link-color`. -->
20-
- Use `$body-bg` to set a `background-color` on the `:root` children (`#fff` by default).
20+
- Use `--bs-color-bg-primary` to set a `background-color` on the `:root` children (`#fff` by default).
2121

2222
These styles can be found within `_reboot.scss`, and the global variables are defined in `_variables.scss`. Make sure to set `$font-size-base` in `rem`.
2323

site/content/docs/0.0/getting-started/accessibility.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Because OUDS Web's components are purposely designed to be fairly generic, autho
2828

2929
Some combinations of colors that currently make up OUDS Web's default palette—used throughout the framework<!-- for things such as button variations, alert variations, form validation indicators—-->may lead to *insufficient* color contrast (below the recommended [WCAG 2.2 text color contrast ratio of 4.5:1](https://www.w3.org/TR/WCAG/#contrast-minimum) and the [WCAG 2.2 non-text color contrast ratio of 3:1](https://www.w3.org/TR/WCAG21/#non-text-contrast)), particularly when used against a light background.
3030

31-
OUDS Web **contrasts aren't locked, please make sure they meet [WCAG 2.2 accessibility standards for color contrast](https://www.w3.org/TR/WCAG21/#contrast-minimum)** when using [`.text-*`]({{< docsref "/utilities/colors" >}}) and [`.bg-*` utilities]({{< docsref "/utilities/background" >}}), by defining `color` and `background-color`.<!-- Please refer to [our theme colors]({{< docsref "/customize/color-palette" >}}) to have a full preview of OUDS Web color palette’s reached WCAG level.-->
31+
OUDS Web **contrasts aren't locked, please make sure they meet [WCAG 2.2 accessibility standards for color contrast](https://www.w3.org/TR/WCAG21/#contrast-minimum)** when using [`.text-*`]({{< docsref "/utilities/colors" >}}) and [`.bg-*` utilities]({{< docsref "/utilities/background" >}}), by defining `color` and `background-color`. Please refer to [our theme colors]({{< docsref "/customize/color-palette" >}}) to have a full preview of OUDS Web color palette’s reached WCAG level.
3232

3333
### Visually hidden content
3434

@@ -91,9 +91,7 @@ OUDS Web provides `target-size()` mixin to ensure a minimum target size, adding
9191

9292
### Maximum line length
9393

94-
When writing a paragraph, it is commonly admitted that a line should have 80 characters as a maximum. This phenomenon is carefully explained in the [C20 technique: Using relative measurements to set column widths](https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/C20).
95-
96-
<!--For more information, please [read text utilities]({{< docsref "/utilities/text#line-length" >}}).-->
94+
When writing a paragraph, it is commonly admitted that a line should have 80 characters as a maximum. This phenomenon is carefully explained in the [C20 technique: Using relative measurements to set column widths](https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/C20). We apply it by default on all our elements.
9795

9896
## Additional resources
9997

site/content/docs/0.0/getting-started/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ OUDS Web includes a handful of options for including some or all of our compiled
8787
| `ouds-web-bootstrap.css`<br> `ouds-web-bootstrap.min.css`<br> `ouds-web-bootstrap.rtl.css`<br> `ouds-web-bootstrap.rtl.min.css` | Included | Included | Included | Included with Bootstrap utilities |
8888
| `ouds-web-grid.css`<br> `ouds-web-grid.rtl.css`<br> `ouds-web-grid.min.css`<br> `ouds-web-grid.rtl.min.css` | [Only grid system]({{< docsref "/layout/grid" >}}) ||| [Only flex utilities]({{< docsref "/utilities/flex" >}}) |
8989
| `ouds-web-utilities.css`<br> `ouds-web-utilities.rtl.css`<br> `ouds-web-utilities.min.css`<br> `ouds-web-utilities.rtl.min.css` |||| Included |
90-
| `ouds-web-reboot.css`<br> `ouds-web-reboot.rtl.css`<br> `ouds-web-reboot.min.css`<br> `ouds-web-reboot.rtl.min.css` || <!--[Only Reboot]({{< docsref "/content/reboot" >}})--> |||
90+
| `ouds-web-reboot.css`<br> `ouds-web-reboot.rtl.css`<br> `ouds-web-reboot.min.css`<br> `ouds-web-reboot.rtl.min.css` || [Only Reboot]({{< docsref "/content/reboot" >}}) |||
9191
{{< /bs-table >}}
9292

9393
### JS files

site/content/docs/0.0/getting-started/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ It should be used for critical resources only.
193193

194194
### Reboot
195195

196-
For improved cross-browser rendering, we <!--use [Reboot]({{< docsref "/content/reboot" >}}) to -->correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.
196+
For improved cross-browser rendering, we use [Reboot]({{< docsref "/content/reboot" >}}) to correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.
197197

198198
## OUDS Web community
199199

site/content/docs/0.0/helpers/ratio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Use the ratio helper to manage the aspect ratios of external content like `<ifra
1515
Aspect ratios are declared in a Sass map and included in each class via CSS variable, which also allows [custom aspect ratios](#custom-ratios).
1616

1717
{{< callout info >}}
18-
**Pro-Tip!** You don't need `frameborder="0"` on your `<iframe>`s as we override that for you<!-- in [Reboot]({{< docsref "/content/reboot" >}})-->.
18+
**Pro-Tip!** You don't need `frameborder="0"` on your `<iframe>`s as we override that for you in [Reboot]({{< docsref "/content/reboot" >}}).
1919
{{< /callout >}}
2020

2121
## Example

site/content/docs/0.0/layout/columns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ In addition to column clearing at responsive breakpoints, you may need to reset
305305
</div>
306306
{{< /example >}}
307307

308-
<!-- #### Margin utilities
308+
#### Margin utilities
309309

310310
With flexbox grids, you can use margin utilities like `.me-auto` to force sibling columns away from one another.
311311

@@ -324,7 +324,7 @@ With flexbox grids, you can use margin utilities like `.me-auto` to force siblin
324324
<div class="col-auto">.col-auto</div>
325325
</div>
326326
</div>
327-
{{< /example >}} -->
327+
{{< /example >}}
328328

329329
## Standalone column classes
330330

site/content/docs/0.0/utilities/api.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Output:
8585

8686
Use the `values` key to specify which values for the specified `property` should be used in the generated class names and rules. Can be a list or map (set in the utilities or in a Sass variable).
8787

88-
As a list<!--, like with [`text-decoration` utilities]({{< docsref "/utilities/text#text-decoration" >}})-->:
88+
As a list, like with [`text-decoration` utilities]({{< docsref "/utilities/text#text-decoration" >}}):
8989

9090
```scss
9191
values: none underline line-through
@@ -165,8 +165,7 @@ Output:
165165

166166
Set the `css-var` boolean option to `true` and the API will generate local CSS variables for the given selector instead of the usual `property: value` rules. Add an optional `css-variable-name` to set a different CSS variable name than the class name.
167167

168-
<!--
169-
Consider our `.text-opacity-*` utilities. If we add the `css-variable-name` option, we'll get a custom output.
168+
Consider a `.text-opacity-*` utilities. If we add the `css-variable-name` option, we'll get a custom output.
170169

171170
```scss
172171
$utilities: (
@@ -192,7 +191,6 @@ Output:
192191
.text-opacity-75 { -bs-text-alpha: .75; } // TODO: reinsert hyphens
193192
.text-opacity-100 { -bs-text-alpha: 1; } // TODO: reinsert hyphens
194193
```
195-
-->
196194

197195
### Local CSS variables
198196

0 commit comments

Comments
 (0)