From 9dc949b62c6b5e3c8872211f71b11714d9d22b22 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 20 Jan 2023 11:05:15 +0000 Subject: native dark theme initial checkin --- .../site/layouts/partials/home/css-variables.html | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/layouts/partials/home/css-variables.html (limited to 'vendor/twbs/bootstrap/site/layouts/partials/home/css-variables.html') diff --git a/vendor/twbs/bootstrap/site/layouts/partials/home/css-variables.html b/vendor/twbs/bootstrap/site/layouts/partials/home/css-variables.html new file mode 100644 index 000000000..300694749 --- /dev/null +++ b/vendor/twbs/bootstrap/site/layouts/partials/home/css-variables.html @@ -0,0 +1,48 @@ +
+
+
+ +
+

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. +

+

+ + Learn more about CSS variables + + +

+
+
+
+

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.

+ {{ highlight (printf `.component { + color: var(--bs-gray-800); + background-color: var(--bs-gray-100); + border: 1px solid var(--bs-gray-200); + border-radius: .25rem; +} + +.component-header { + color: var(--bs-purple); +}`) "scss" "" }} +
+
+

Customizing via CSS variables

+

Override global, component, or utility class variables to customize Bootstrap just how you like. No need to redeclare each rule, just a new variable value.

+ {{ highlight (printf `body { + --bs-body-font-family: var(--bs-font-monospace); + --bs-body-line-height: 1.4; + --bs-body-bg: var(--bs-gray-100); +} + +.table { + --bs-table-color: var(--bs-gray-600); + --bs-table-bg: var(--bs-gray-100); + --bs-table-border-color: transparent; +}`) "scss" "" }} +
+
+
-- cgit v1.2.3