Repository navigation
Commit f637ee9
committed
flutter_tray_icon_example: draw with DazzUI, follow the Omarchy theme
The example is now built on package:dazzui over WidgetsApp instead of its
own palette and hand-drawn chips: Toggle and Button for the option and
action chips, SegmentedControl for the tabs, OptionCard for the gallery
tiles, Card for the preview, Badge for the click counters and checklist
status, and a Dialog with a TextField for free-text values. The theme is
Studio Light or Dark by platform brightness.
On Omarchy the window wears the desktop instead: omarchy_theme.dart resolves
~/.local/state/omarchy/current/theme/colors.toml through omarchy-theme-color,
maps the palette onto the design system's colour roles (ramps generated from
the accent and the ANSI hues), takes every corner radius from Hyprland's
decoration:rounding the way Omarchy's shell does, and watches the state
directory so omarchy-theme-set switches the running app live.
Toggle sizes itself to the whole line inside a Wrap, so each chip is wrapped
in IntrinsicWidth until dazzui shrink-wraps it.1 parent f3627fb commit f637ee9
11 files changed
Lines changed: 734 additions & 573 deletions
File tree
- examples/flutter_tray_icon_example
- lib
- tabs
- widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
62 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
| |||
0 commit comments