Skip to content

UI, Themes and Icons ​

QuestionFlag
Use Inglorious UI?--ui / --no-ui
Which theme?--theme=inglorious|material-ui|material-3|bootstrap|ios-18|ios-26
Which icon packs?--icons=material,fontawesome,lucide / --no-icons

--ui adds Inglorious UI: its base styles, the chosen theme's stylesheet, an app bar and toasts. Any code can show a toast:

js
api.notify("#toast:show", { message: "Saved", color: "success" })

It also calls watchKeyboard, which keeps the focused input above the on-screen keyboard.

Themes ​

ThemeLooks like
ingloriousNeon, videogame-inspired
material-uiMaterial UI
material-3Material Design 3
bootstrapBootstrap
ios-18Flat iOS
ios-26Liquid Glass

Every theme has a light and a dark mode that follow the system. Themes are CSS: switching later means changing the theme import in src/main and the iw-theme-* class on <body> in index.html.

Mobile layout ​

With --mobile, the app gets an app shell: the app bar and the tab bar stay put while only the page scrolls. The tabs replace the links in the app bar; from 48rem wide, a drawer beside the page lists the same pages instead (.app-drawer in src/app/style.css). Spacing keeps clear of the notch and the home indicator. See Native Features for swipe back, the back button, system bars and haptics.

Icons ​

Icons come from Iconify sets, drawn by Inglorious UI's Icon, and only the icons you import end up in the build:

PackFlag value
Material Symbolsmaterial
Font Awesomefontawesome
Lucidelucide

The navigation uses the first pack you pick. Icons need --ui.

Released under the MIT License.