Repository navigation
Release v2.15.4
v2.15.4
Changelog
Bootstrap theme, form rows, file inputs, light-only palette tokens and back link fixes
Fixed
- back_link: with
icon_set: nonethe label is printed once. That set renders an icon as its label text, so the
partial printed "Dashboard Dashboard"; it now prints no icon span at all. - Bootstrap form rows: the
form_rowandform_row_checkslots default tomb-3on Bootstrap (bootstrap,
bootstrap5,bootstrap4,tabler), so text rows of the UiKit form theme are spaced like checkbox rows and like
bootstrap_5_layout. A class the row already has (row_attr, FormKit'smb-3fallback) is not added twice, the
form flex gap ofnowo-ui.cssalready gives that rem back, and list filter grid fields drop the margin (the grid gap
spaces them). Tailwind / Foundation / none keep no row class (the form flex gap spaces rows there). - File inputs: the UiKit form theme gives
<input type="file">theinputslot (Bootstrapform-control, plus
input_invalidon errors); it was skipped. - Bootstrap dark mode: the theme boot, the theme toggle and OS colour-scheme changes set
data-bs-themetogether
withdata-theme, so Bootstrap 5.3 components follow the kit theme. It is set on every stack (no other stack reads
it);<html data-nowo-ui-bs-theme="off">leaves it to the host. The toggle peer now also follows OS
prefers-color-schemechanges live while no theme is stored or server-preferred. theme.tokenswithouttokens_dark: host / bundletokensfor a palette token that has a UiKit dark default
(text,surface,border,primary,muted, the status colours, …:Theme::LIGHT_ONLY_TOKENS) are emitted
for light mode only (:root:where(:not([data-theme=dark])), same specificity as:root). Under
data-nowo-ui-host-tokensthe UiKit dark defaults have zero specificity, so a plain:rootvalue also won in dark
mode (dark text on a white surface). Dark mode now keeps the UiKit dark defaults unlesstokens_darksets the token;
other tokens (radii, fonts, metrics, component tokens) still apply in both modes. See
UPGRADING.