From 8e3e420523751e109b58ca8c62092945348eb321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 21 Feb 2023 09:48:50 +0100 Subject: [PATCH] Format documents with Prettier to fix lint (#12) --- site-new/components/Ads.astro | 4 +- site-new/components/header/Navigation.astro | 2 +- site-new/components/home/CSSVariables.astro | 21 ++++- .../components/home/ComponentUtilities.astro | 83 ++++++++++++++++--- site-new/components/home/Customize.astro | 4 +- site-new/components/home/GetStarted.astro | 60 ++++++++++++-- site-new/components/home/Icons.astro | 11 ++- site-new/components/home/Plugins.astro | 26 ++++-- site-new/components/home/Themes.astro | 11 ++- site-new/pages/index.astro | 26 ++++-- 10 files changed, 207 insertions(+), 41 deletions(-) diff --git a/site-new/components/Ads.astro b/site-new/components/Ads.astro index dc6b052e73ff..debf4396bb03 100644 --- a/site-new/components/Ads.astro +++ b/site-new/components/Ads.astro @@ -1,3 +1,5 @@ --- --- - \ No newline at end of file + + diff --git a/site-new/components/header/Navigation.astro b/site-new/components/header/Navigation.astro index 4c71936bf181..9de2f74811c5 100644 --- a/site-new/components/header/Navigation.astro +++ b/site-new/components/header/Navigation.astro @@ -84,7 +84,7 @@ const { layout, title } = Astro.props href={getVersionedDocsPath('getting-started/introduction/')} text="Docs" /> - + diff --git a/site-new/components/home/CSSVariables.astro b/site-new/components/home/CSSVariables.astro index 86b6e6d129f7..d7d245327fc7 100644 --- a/site-new/components/home/CSSVariables.astro +++ b/site-new/components/home/CSSVariables.astro @@ -1,6 +1,7 @@ --- import { getVersionedDocsPath } from '../../libs/config' --- +
@@ -8,7 +9,11 @@ import { getVersionedDocsPath } from '../../libs/config'

Build and extend in real-time with CSS variables

- Bootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual components, and even utilities. We provide dozens of variables for colors, font styles, and more at a :root level for use anywhere. On components and utilities, CSS variables are scoped to the relevant class and can easily be modified. + Bootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual + components, and even utilities. We provide dozens of variables for colors, font styles, and more at a :root level for use anywhere. On components and utilities, CSS variables are scoped to the relevant class and can easily + be modified.

@@ -20,12 +25,17 @@ import { getVersionedDocsPath } from '../../libs/config'

Using CSS variables

-

Use any of our global :root variables to write new styles. CSS variables use the var(--bs-variableName) syntax and can be inherited by children elements.

+

+ Use any of our global :root variables to write new styles. CSS variables use the var(--bs-variableName) syntax and can be inherited by children + elements. +

-

- Read our installation docs for more info and additional package managers. + Read our installation docs for more info and additional + package managers.

Include via CDN

- When you only need to include Bootstrap’s compiled CSS or JS, you can use jsDelivr. See it in action with our simple quick start, or browse the examples to jumpstart your next project. You can also choose to include Popper and our JS separately. + When you only need to include Bootstrap’s compiled CSS or JS, you can use jsDelivr. See it in action with our simple quick start, or browse the examples to jumpstart your next project. You can also + choose to include Popper and our JS separately.

-

Learn more about our JavaScript as modules and using the programmatic API.

+

+ Learn more about our JavaScript as modules and using the programmatic API. +

Comprehensive set of plugins

-

Bootstrap features a dozen plugins that you can drop into any project. Drop them in all at once, or choose just the ones you need.

-
+

+ Bootstrap features a dozen plugins that you can drop into any project. Drop them in all at once, or choose just + the ones you need. +

+
- + Read the docs @@ -43,7 +57,9 @@ import { getConfig, getVersionedDocsPath } from '../libs/config' · Download · - v4.6.x docs + v4.6.x docs · All releases