Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/site-demo/content/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
- Size
- Spacing
- Brand
- Partners
- Partners:
- Extensions:
- Design Documentation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@
background-color: $lumx-color-dark-L5;
}

& > ul {
& > ul,
& > ol {
margin-left: $lumx-spacing-unit-huge * 2;
li p {margin-block-end: 1em;}
}

& > h2,
& > h3,
& > h4 {
Expand All @@ -69,6 +70,7 @@
& > h4,
& > p,
& > ul,
& > ol,
& > div,
& > pre,
& > img,
Expand Down
29 changes: 29 additions & 0 deletions packages/site-demo/src/style/components/_custom-doc-styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.highlighted-block {
display: flex;
flex-direction: column;
padding: $lumx-spacing-unit * 1.5 $lumx-spacing-unit * 2;
background: lumx-color-variant('green', 'L5');
color: lumx-color-variant('green', 'N');
}

.example-block {
display: flex;
flex-direction: column;
background: lumx-color-variant('blue', 'L5');
color: lumx-color-variant('blue', 'N');

&__inner {
display: flex;
flex-direction: column;
padding: $lumx-spacing-unit * 1.5 $lumx-spacing-unit * 2;

& > ul,
& > ol {
margin-left: $lumx-spacing-unit-huge * 2;
}
}

&__image {
margin: 8px;
}
}
1 change: 1 addition & 0 deletions packages/site-demo/src/style/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** DEMO THEME - LUMAPPS */
@import "@lumx/core/src/scss/lumx";
@import "./components/custom-doc-styles";

/* ==========================================================================
Base
Expand Down