...
 
Commits (2)
    https://gitcode.net/dashboards/tabler/-/commit/9014ad33e7981955beab805fc970e2f482d95f3f add page title to variables 2023-05-24T00:57:51+02:00 codecalm codecalm@gmail.com https://gitcode.net/dashboards/tabler/-/commit/4e209b4d9efbc908df70b831a221b0ee6948f09c Merge branch 'dev-typography' of https://github.com/tabler/tabler into dev-ty... 2023-05-24T00:57:59+02:00 codecalm codecalm@gmail.com
......@@ -557,8 +557,8 @@ $card-border-width: var(--#{$prefix}border-width) !default;
$card-border-color: var(--#{$prefix}border-color-translucent) !default;
$card-border-radius: var(--#{$prefix}border-radius) !default;
$card-spacer-x: 1.5rem !default;
$card-spacer-y: 1rem !default;
$card-spacer-x: 1.25rem !default;
$card-spacer-y: 1.25rem !default;
$card-cap-bg: var(--#{$prefix}bg-surface-tertiary) !default;
$card-cap-color: inherit !default;
......@@ -733,6 +733,11 @@ $navbar-active-border-color: var(--#{$prefix}primary) !default;
// Sidebar
$sidebar-width: 15rem !default;
// Page
$page-title-font-size: var(--#{$prefix}font-size-h2) !default;
$page-title-line-height: var(--#{$prefix}line-height-h4) !default;
$page-title-font-weight: var(--#{$prefix}font-weight-headings) !default;
// Popover
$popover-bg: var(--#{$prefix}bg-surface) !default;
$popover-header-bg: transparent !default;
......
......@@ -100,9 +100,9 @@
.page-title {
margin: 0;
font-size: $h2-font-size;
line-height: $h2-line-height;
font-weight: var(--#{$prefix}font-weight-bold);
font-size: $page-title-font-size;
line-height: $page-title-line-height;
font-weight: $page-title-font-weight;
color: inherit;
display: flex;
align-items: center;
......