Skip to content

Commit

Permalink
fix(demo): replace demo-message with c-message
Browse files Browse the repository at this point in the history
Usign @extend is not leriable when it must extend after extending. Example: the irregular linsk were not working.
  • Loading branch information
wesleyboar committed Dec 17, 2022
1 parent 9b432fd commit 1b10fd4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 21 deletions.
2 changes: 1 addition & 1 deletion dist/components/demo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.demo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/elements/demo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 3 additions & 17 deletions src/lib/_imports/components/demo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import url('../components/c-message.css');
@import url('../tools/x-link.css');



/* Grid */

Expand All @@ -10,8 +13,6 @@
margin: unset; /* undo browser & Bootstrap */
}



/* Grid: Boxes */

.demo-grid--boxes > * {
Expand Down Expand Up @@ -42,18 +43,3 @@
grid-row: 1 / 1;
grid-column: 1 / 1;
}





/* Message */

.demo-message {
@extend .c-message--scope-global;

position: sticky;
top: 0;

font-family: var(--global-font-family--sans);
}
2 changes: 1 addition & 1 deletion src/lib/_imports/settings/font/font.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if shouldShowSizeMessage}}
<p class="demo-message">
<p class="c-message c-message--scope-global">
There are currently <em><strong>no</strong> default font sizes <strong>nor</strong> default font families</em>. A client must load <strong>CMS</strong> styles or <strong>Portal</strong> styles or their own custom font sizes.
</p>
{{/if}}
Expand Down

0 comments on commit 1b10fd4

Please sign in to comment.