# luxtools-plugin
Dokuwiki template specifically designed for luxtools plugins.

This is a fork of the original default dokuwiki template.

## Changes from the original template
- Default font changed to "Perfect DOS VGA 437 Win"
- Enhanced header search with DokuWiki quicksearch suggestions, keyboard navigation, and disabled browser autofill

## Icon theming (light/dark)
- Header tool icons (user tools and site tools) are rendered as inline SVG.
- The pagetools footer is intentionally text-only (no icons).
- Icon color is controlled through `@ini_icons` (placeholder `__icons__`) in [replacements] inside `style.ini`.
- Hover/active icon color follows `@ini_link` to match link interaction color.

## Edit toolbar icons
- The edit page toolbar (`?do=edit`) is generated by DokuWiki core and uses PNG toolbar images.
- This template converts those toolbar `<img>` icons to CSS mask icons at runtime, then applies `@ini_icons`.
- Hover/active/focus color follows `@ini_link`.
- This keeps DokuWiki core files untouched while still allowing light/dark icon theming.

### About coloring SVG icons from the outside
- Recommended: inline SVG + CSS (`fill`, `stroke`, or `currentColor`).
- Limited: external SVG via `<img>` or `background-image` cannot reliably be recolored with plain CSS.
- Workarounds for external SVG exist (`mask-image`, CSS `filter`), but they are less maintainable and less precise.