feat!: defaults refresh — deep lagoon palette, dark elevation, 14px type scale#312
Merged
Conversation
…, 14px type scale The type scale steps up from a 12px to a 14px base with looser line-heights. The primary becomes a deeper, richer lagoon teal; neutrals carry a whisper of cool tint; shadows and the overlay are tinted to match. Dark mode gains real elevation (canvas, surface, and popover at three depths) with brighter, AA-contrast semantic fills. Charts anchor on the brand hue. Restore any old value via a Theme or a plain --lt-* override.
Bundle ReportChanges will increase total bundle size by 173 bytes (0.01%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: lattice-workbench-esmAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
P3 of the UI overhaul — the defaults refresh. All previous phases shipped capability with the looks frozen; this PR is the one visual diff: a single edit to the token defaults in
lattice.css(+ the type scale). Anyone attached to the old look can restore any value with aThemeor a plain--lt-*override — that escape hatch is what P0–P2 built.The changes
xs 12 · sm 13 · base 14 · lg 16 · xl 18 · 2xl 22 · 3xl 26 · 4xl 32), with looser line-heights. The old scale was compressed enough to read as timid.oklch(0.48 0.092 182)) becomes a deeper, richer teal-cyan (oklch(0.51 0.12 195)). Commits harder to the teal identity instead of following the indigo-everywhere trend.0.155, cards0.195, popovers0.225(previously all0.145flat black), with brighter AA-checked semantic fills (the old dark danger was nearly invisible).Before / after
(The
p3-screenshotsbranch only hosts these images — delete it after merge.)Verification
composer check(1377 tests incl. browser) andnpm run checkgreen; docs build green. No wire or API changes — this is CSS values only.