mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
🔧 Make the @bluelib
element fill all available space
This commit is contained in:
parent
db2eecb26a
commit
885b9ffd71
5 changed files with 12 additions and 3 deletions
7
src/rules/skeleton.less
vendored
7
src/rules/skeleton.less
vendored
|
@ -301,6 +301,8 @@
|
|||
|
||||
}
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
/// ===== Root =====
|
||||
/// The root element has some rules itself.
|
||||
|
||||
|
@ -309,6 +311,10 @@
|
|||
// Set the background defined in the palette
|
||||
background-color: @rgb-background;
|
||||
|
||||
// Make the element fill all available space
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
// Set the base color to the foreground defined in the palette
|
||||
.map-var-rgb(bluelib-color; bluelib-foreground);
|
||||
|
||||
|
@ -317,7 +323,6 @@
|
|||
|
||||
//</editor-fold>
|
||||
|
||||
//</editor-fold>
|
||||
|
||||
/// ===== Layouts =====
|
||||
/// Layouts arrange the content displayed inside the root.
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
--bluelib-code-family: monospace;
|
||||
--bluelib-code-weight: normal;
|
||||
background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
--bluelib-color-r: var(--bluelib-foreground-r);
|
||||
--bluelib-color-g: var(--bluelib-foreground-g);
|
||||
--bluelib-color-b: var(--bluelib-foreground-b);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -54,6 +54,8 @@ body,
|
|||
--bluelib-code-family: monospace;
|
||||
--bluelib-code-weight: normal;
|
||||
background-color: rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
--bluelib-color-r: var(--bluelib-foreground-r);
|
||||
--bluelib-color-g: var(--bluelib-foreground-g);
|
||||
--bluelib-color-b: var(--bluelib-foreground-b);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue