mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Set pre font size to 13px (#3125)
This commit is contained in:
1 parent
9e2cee71fc
commit
8cb19fb67a
4 files changed
+9
No files matched your search
@@ -747,6 +747,7 @@ $code-color: light-dark(var(--gray-600), var(--gray-400)) !default;
|
||||
$code-bg: light-dark(var(--gray-100), var(--gray-900)) !default;
|
||||
$code-font-size: $font-size-reative-sm !default;
|
||||
|
||||
$pre-font-size: 0.92857143em !default;
|
||||
$pre-padding: 1rem !default;
|
||||
$pre-bg: var(--bg-surface-dark) !default;
|
||||
$pre-color: var(--light) !default;
|
||||
@@ -2289,6 +2290,7 @@ $markdown-blockquote-margin-y: 1.5rem !default;
|
||||
$markdown-blockquote-padding-y: 0.5rem !default;
|
||||
$markdown-blockquote-padding-x: 1.5rem !default;
|
||||
$markdown-pre-max-height: 20rem !default;
|
||||
$markdown-pre-font-size: 0.8125em !default;
|
||||
|
||||
// Calendar
|
||||
$calendar-padding-y: 0.5rem !default;
|
||||
|
||||
@@ -72,5 +72,6 @@ Prose (formerly markdown)
|
||||
|
||||
pre {
|
||||
max-height: var(--markdown-pre-max-height);
|
||||
font-size: $markdown-pre-font-size;
|
||||
}
|
||||
}
|
||||
@@ -129,6 +129,7 @@ dl {
|
||||
pre {
|
||||
--scrollbar-color: #{$pre-color};
|
||||
padding: $pre-padding;
|
||||
font-size: $pre-font-size;
|
||||
line-height: $line-height-base;
|
||||
color: $pre-color;
|
||||
background: $pre-bg;
|
||||
|
||||
Reference in new issue
Block a user