Documentation
¶
Overview ¶
Package theme builds ZPad's light and dark palettes for the native UI.
Index ¶
- func ActiveTab(t *ui.Theme) ui.Color
- func Dark() *ui.Theme
- func EditorTheme(t *ui.Theme) *editor.Theme
- func FileTree(t *ui.Theme) *ui.Theme
- func For(dark bool) *ui.Theme
- func Inverse(t *ui.Theme) (fill, text ui.Color)
- func Light() *ui.Theme
- func Sidebar(t *ui.Theme) ui.Color
- func TabBar(t *ui.Theme) ui.Color
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditorTheme ¶
EditorTheme colors the code editor to match t.
func FileTree ¶
FileTree returns the palette of the sidebar's tree: the chosen row is a faint, full-width wash rather than a filled accent, as VS Code's and Zed's file trees, and its text keeps the normal color.
Types ¶
This section is empty.