Make the marketing hero, browser and shapes read tokens that exist (#2928)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-09-01 23:51:25 +02:00
1 parent a883531302
commit 9d04e14ab1
5 files changed
+16 -15

No files matched your search

+2 -11
View File
@@ -4,14 +4,5 @@
# also on a listed name that no longer dangles, so fixing one means deleting # also on a listed name that no longer dangles, so fixing one means deleting
# its line. # its line.
# #
# Everything below is a real bug waiting to be fixed, not an accepted exception. # The list is empty: every var() in the css resolves. An entry added here is a
# bug waiting to be fixed, not an accepted exception.
# tabler-marketing.css: `.shape-*` backgrounds, borders and headings reach for
# tokens that only ever existed in the marketing prototype.
--tblr-black-lt
--tblr-border-color-dark
--tblr-border-color-light
--tblr-border-radius-circle
--tblr-font-weight-black
--tblr-gray-dark-lt
--tblr-gray-lt
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fixed the marketing hero, browser and shape components reading custom properties nothing defined.
+5
View File
@@ -28,6 +28,11 @@
--white: #{$white}; --white: #{$white};
--white-lt: color-mix(in oklab, var(--white) 10%, transparent); --white-lt: color-mix(in oklab, var(--white) 10%, transparent);
--black: #{$black}; --black: #{$black};
// `.shape-*` runs over `$colors`, which carries these three on top of the
// theme colors; the `-lt` tint below is generated for the theme colors only.
--black-lt: color-mix(in oklab, var(--black) 10%, transparent);
--gray-lt: color-mix(in oklab, var(--gray) 10%, transparent);
--gray-dark-lt: color-mix(in oklab, var(--gray-dark) 10%, transparent);
--dark: #{$dark}; --dark: #{$dark};
--light: #{$light}; --light: #{$light};
+3 -3
View File
@@ -12,7 +12,7 @@
.browser-header { .browser-header {
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
background: var(--border-color-light) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.03)); background: var(--bg-surface-tertiary) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.03));
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
@include border-radius(calc(var(--border-radius-lg) - 1px) calc(var(--border-radius-lg) - 1px) 0 0); @include border-radius(calc(var(--border-radius-lg) - 1px) calc(var(--border-radius-lg) - 1px) 0 0);
} }
@@ -44,8 +44,8 @@
height: 0.75rem; height: 0.75rem;
margin-inline-end: 0.5rem; margin-inline-end: 0.5rem;
background: var(--border-color); background: var(--border-color);
border: 1px solid var(--border-color-dark); border: 1px solid var(--border-active-color);
@include border-radius(var(--border-radius-circle)); @include border-radius(var(--border-radius-pill));
} }
.browser-input { .browser-input {
+1 -1
View File
@@ -10,7 +10,7 @@
.hero-title { .hero-title {
font-size: 3rem; font-size: 3rem;
font-weight: var(--font-weight-black); font-weight: var(--font-weight-bold);
line-height: $headings-line-height; line-height: $headings-line-height;
letter-spacing: $spacing-tight; letter-spacing: $spacing-tight;