Define the last three custom properties the css read but nothing set (#2929)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-09-01 23:31:51 +02:00
1 parent 2662dcd0ee
commit fc16b6a526
5 files changed
+16 -14

No files matched your search

-9
View File
@@ -58,12 +58,3 @@
--tblr-font-weight-black --tblr-font-weight-black
--tblr-gray-dark-lt --tblr-gray-dark-lt
--tblr-gray-lt --tblr-gray-lt
# `body { text-align }` - bootstrap leaves the token unset by default, so the
# declaration never applies.
--tblr-body-text-align
# `.nav-link` font size and the active nav link color (#2287): both drop, so a
# nav link takes the body font size and keeps the inherited color when active.
--tblr-nav-link-active-color
--tblr-nav-link-font-size
+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Defined `--tblr-body-text-align`, `--tblr-nav-link-font-size` and `--tblr-nav-link-active-color`, which the css already read.
+6 -2
View File
@@ -363,7 +363,10 @@ $negative-spacers: null !default;
// Body // Body
$body-text-align: null !default; // `start`, the property's own initial value, rather than null: `_reboot.scss`
// reads `--body-text-align` unconditionally, so a null left the declaration
// invalid.
$body-text-align: start !default;
$body-color: $gray-500 !default; $body-color: $gray-500 !default;
$body-bg: $white !default; $body-bg: $white !default;
@@ -1519,9 +1522,10 @@ $modal-status-size: $border-width-wide !default;
// scss-docs-start nav-variables // scss-docs-start nav-variables
$nav-link-padding-y: 0.5rem !default; $nav-link-padding-y: 0.5rem !default;
$nav-link-padding-x: 0.75rem !default; $nav-link-padding-x: 0.75rem !default;
$nav-link-font-size: null !default; $nav-link-font-size: var(--body-font-size) !default;
$nav-link-font-weight: null !default; $nav-link-font-weight: null !default;
$nav-link-color: var(--gray-500) !default; $nav-link-color: var(--gray-500) !default;
$nav-link-active-color: var(--body-color) !default;
$nav-link-hover-color: var(--link-hover-color) !default; $nav-link-hover-color: var(--link-hover-color) !default;
$nav-link-transition: $nav-link-transition:
color 0.15s ease-in-out, color 0.15s ease-in-out,
+1 -3
View File
@@ -75,9 +75,7 @@
@include rfs($font-size-base, --body-font-size); @include rfs($font-size-base, --body-font-size);
--body-font-weight: #{$font-weight-base}; --body-font-weight: #{$font-weight-base};
--body-line-height: #{$line-height-base}; --body-line-height: #{$line-height-base};
@if $body-text-align != null { --body-text-align: #{$body-text-align};
--body-text-align: #{$body-text-align};
}
--body-color: light-dark(#{$body-color}, #{$body-color-dark}); --body-color: light-dark(#{$body-color}, #{$body-color-dark});
--body-color-rgb: #{to-rgb($body-color)}; --body-color-rgb: #{to-rgb($body-color)};
+4
View File
@@ -2,6 +2,10 @@
.nav { .nav {
--nav-link-hover-bg: #{color-transparent(var(--nav-link-color), 0.04)}; --nav-link-hover-bg: #{color-transparent(var(--nav-link-color), 0.04)};
// Read by `.nav-vertical .nav-link.active` below; without it that rule's
// color declaration was invalid and the active link fell back to the
// inherited color.
--nav-link-active-color: #{$nav-link-active-color};
--nav-vertical-nested-margin-start: #{$nav-vertical-nested-margin-start}; --nav-vertical-nested-margin-start: #{$nav-vertical-nested-margin-start};
--nav-vertical-nested-padding-start: #{$nav-vertical-nested-padding-start}; --nav-vertical-nested-padding-start: #{$nav-vertical-nested-padding-start};
--nav-link-toggle-padding-x: #{$nav-link-toggle-padding-x}; --nav-link-toggle-padding-x: #{$nav-link-toggle-padding-x};