TANGENT for SMF 2.1  -  version 1.0.0
=====================================

A BoredSkull theme that breaks the usual SMF layout. Built almost
entirely in CSS on top of SMF's own templates.

  - a floating dock at the bottom of the screen instead of a menu bar
  - a command palette: press Ctrl+K (Cmd+K on a Mac) or "/" anywhere to
    jump to any menu item, board or link on the page, switch light/dark
    mode, or search the forum
  - the board index shows statistics tiles, then each category as a lane
    of board cards; the lanes sit side by side and scroll sideways (or
    stack them - see Theme Settings)
  - topics read as a single timeline column, each post with a compact
    author bar
  - five accent colours (theme variants): Iris, Ocean, Jade, Coral, Mono -
    each with a light and a dark mode
  - dark mode follows the visitor's device; the mode button or the
    palette switches it, and the choice is remembered in their browser

INSTALL
  Admin > Themes and Layout > Install a new theme > upload Tangent.zip
  (theme_info.xml sits at the zip root, so SMF installs it as "Tangent").

ACCENT COLOURS
  - pick the forum default in Admin > Themes and Layout > Theme Settings
  - leave "Disable user variant selection" unticked there to let members
    choose their own
  Each accent is css/index_{accent}.css and sets one colour (--tg-accent);
  every tint is worked out from it, so a new accent is a four-line file
  plus one entry in $settings['theme_variants'] in index.template.php.

THEME SETTINGS
  Default colour mode      Follow the visitor's device / Light / Dark
  Stack categories         one category under another, boards as a grid
                           of cards, instead of side-by-side lanes
  Hide statistics tiles    removes the tiles at the top of the board index
  The usual SMF options (logo image URL, slogan, news line) still work.

THE COMMAND PALETTE
  It lists the main menu (with sub-menus), the member menu, the boards
  and the links on the current page. Boards are remembered in the
  visitor's browser each time they open the board index, so they can be
  reached from every page afterwards. Without JavaScript the dock's
  search button is a normal link to the search page, and the usual search
  form shows in the top bar.

FILES
  index.template.php        layout (top bar, dock, hero, palette, footer)
  BoardIndex.template.php   statistics tiles, lane counts, card details
  Settings.template.php     default settings + Tangent options
  css/tangent.css           the theme, loaded right after index.css
  css/index_*.css           the five accent colours
  css/tangent_responsive.css  tablet and phone layouts
  scripts/tangent.js        light/dark mode and the command palette
  scripts/                  also the output folder for SMF's minified JS
  languages/ThemeStrings.english.php  theme strings (copy to translate)
  languages/Settings.english.php      description + accent names
  Every other template, CSS file, script and image falls back to the
  default theme automatically.

BROWSER SUPPORT
  Uses light-dark(), color-mix(), :has() and <dialog> - supported by every
  current browser (Chrome/Edge 123+, Firefox 121+, Safari 17.5+).

NOTES
  The post editor's writing area keeps SMF's own (light) look in dark mode.
  Animations are switched off for visitors who ask their device for
  reduced motion.

LICENSE
  ISC (see LICENSE.txt). The templates are adapted from Simple Machines
  Forum and are distributed under its BSD licence (see SMF-LICENSE.txt).
