create console design token for easier maintenace

This commit is contained in:
Stacy Kvernmo 2023-07-03 12:12:11 -05:00
parent 5790a24dac
commit 387545ad5a
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,7 @@
}
.cm-tooltip-lint {
line-height: 0.875;
line-height: var(--sl-line-height--console);
}
.cm-scroller {
@ -268,7 +268,7 @@
.console-message {
display: grid;
line-height: 0.875;
line-height: var(--sl-line-height--console);
}
$console-type-colors: (

View File

@ -57,5 +57,6 @@ $sl-playground-heading: 2.75rem;
// Component Sizes Custom
// ----------------------
$sl-line-height--console: 0.875;
$sl-width--mac-stadium-icon: 7rem;
$sl-width--twitter-link: 8rem;