feat: reactive font size for ace editor + i18n support for font size settings strings
This commit is contained in:
@@ -368,10 +368,19 @@ input[type="checkbox"] {
|
||||
line-height: var(--body-line-height);
|
||||
|
||||
.action {
|
||||
@apply bg-gray-500;
|
||||
@apply px-4;
|
||||
@apply bg-opacity-10;
|
||||
@apply ml-auto;
|
||||
@apply sm:ml-8;
|
||||
@apply transition;
|
||||
@apply text-current;
|
||||
@apply hover:(opacity-75 no-underline);
|
||||
@apply normal-case;
|
||||
@apply hover:(bg-opacity-20 no-underline);
|
||||
@apply font-medium;
|
||||
|
||||
font-size: var(--body-font-size);
|
||||
line-height: var(--body-line-height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -361,14 +361,14 @@
|
||||
--sidebar-secondary-sticky-fold: 5rem;
|
||||
}
|
||||
|
||||
:root[data-font-size="xs"] {
|
||||
:root[data-font-size="small"] {
|
||||
@include fontSmall;
|
||||
}
|
||||
|
||||
:root[data-font-size="sm"] {
|
||||
:root[data-font-size="medium"] {
|
||||
@include fontMedium;
|
||||
}
|
||||
|
||||
:root[data-font-size="base"] {
|
||||
:root[data-font-size="large"] {
|
||||
@include fontLarge;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user