Skip to main content

Module theme

Module theme 

Source
Expand description

The editor’s egui theme: a flat dark palette with a single accent color, the Inter font and compact spacing so debug windows leave most of the screen to the game.

Installed on the egui context by the EditorPlugin. Panels can use the palette to stay consistent with it, and an app can still replace it with ctx.set_style / ctx.set_fonts at startup.

Modules§

fonts
layout
palette

Functions§

body_font
heading_font
install
Installs the fonts and style on the context.
menu_style
Style of the menu bar and its menus: frameless buttons that only light up when hovered.
style