Skip to content

Commit 9238794

Browse files
Fix icon
1 parent b613feb commit 9238794

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ All notable changes to this project will be documented in this file. This projec
1717
- Modal backdrop now tinted in addition to the existing blur (foreground at 25% in light mode, background at 60% in dark mode)
1818
- Active navigation items now round on all four corners (`rounded-sm`) rather than the left only
1919
- Panel close button now uses `l-ui-button--primary` instead of `l-ui-button--outline`
20-
- Icons inside `l-ui-button--primary` no longer invert in dark mode, so they remain visible against the inverted-accent background
20+
- Icons inside `l-ui-button--primary` now invert in light mode and stay un-inverted in dark mode, so they always contrast against the accent-coloured button background
2121

2222
## [0.15.0] - 2026-05-11
2323

app/assets/tailwind/layered/ui/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
}
583583

584584
.l-ui-button--primary .l-ui-icon {
585-
@apply dark:invert-0;
585+
@apply invert dark:invert-0;
586586
}
587587

588588
.l-ui-icon--xs {

0 commit comments

Comments
 (0)