Modern, upgrade-safe theme with light/dark palettes, oversized iconography, and polished layout tweaks for core webtrees screens.
- Light & Dark palettes (
resources/css/k-theme.light.css,k-theme.dark.css) driven by CSS variables; toggled via the built-in palette selector or the header toggle. - Icon-forward navigation (
k-theme.icons.css+resources/js/k-theme.js) injects Font Awesome 6/7 solid icons for top-level menu items and block headers; per-menu glyphs sized to 30px for better legibility. - Refined layout & components (
k-theme.base.css): header/search bar, pill navigation, cards, buttons, forms, dropdowns, and block titles tuned to the theme surfaces and borders. - DataTables theming: table headers, stripes, and borders now match theme surfaces in both palettes.
- Login experience: dedicated styling in
k-theme.login.css. - Upgrade-safe: lives entirely in
modules_v4/k-themewith no core overrides.
- Copy the
k-themefolder intowebtrees/modules_v4/on your server. - In webtrees Control Panel → Modules → Themes, enable K-Theme.
- Set it as the default theme for your tree (or per tree as desired).
- Choose Light or Dark palette from the module wrench or the theme selector.
- Nav icons: adjust glyphs/sizes in
resources/css/k-theme.icons.css; JS mapping for labels → icons lives inresources/js/k-theme.js. - Block icons: automatic injection is in
k-theme.js; fallback CSS icons are defined ink-theme.base.css. - Palettes: tweak color tokens in the light/dark CSS files; base styles pull everything from the
--k-*variables.
- webtrees 2.x
No build step is required. CSS/JS are plain assets loaded directly by the module. If you edit assets, clear your browser cache to see changes.