mobile bluesky app made with flutter
lazurite.stormlightlabs.org/
mobile
bluesky
flutter
1# Lazurite Splash Screen Generator
2
3CLI tool to generate PNG splash screen images (for Android and iOS) for Lazurite, styled with different color themes.
4
5## Usage
6
7Run without arguments to use the interactive theme selector:
8
9```bash
10bun run index.ts
11```
12
13### Args
14
15```bash
16bun run index.ts [options]
17```
18
19#### Options
20
21| Option | Short | Description | Default |
22| ----------- | ----- | --------------------------------------------------------------------- | ----------- |
23| `--theme` | `-t` | Theme name: `lazurite`, `oxocarbon`, `catppuccin`, `nord`, `rosePine` | Interactive |
24| `--variant` | `-v` | Theme variant: `light` or `dark` | Interactive |
25| `--output` | `-o` | Output directory for generated images | `./output` |
26| `--all` | `-a` | Generate splash screens for all themes | `false` |
27| `--help` | `-h` | Show help message | - |
28
29### Examples
30
31Generate splash screens for a specific theme:
32
33```bash
34bun run index.ts -t oxocarbon -v dark
35```
36
37Generate all themes at once:
38
39```bash
40bun run index.ts --all
41```
42
43Specify custom output directory:
44
45```bash
46bun run index.ts -t nord -v light -o ./assets/splash
47```
48
49## Output Structure
50
51```sh
52./dist/
53├── oxocarbon/
54│ ├── android/
55│ │ ├── splash_mdpi.png
56│ │ ├── splash_hdpi.png
57│ │ ├── splash_xhdpi.png
58│ │ ├── splash_xxhdpi.png
59│ │ └── splash_xxxhdpi.png
60│ └── ios/
61│ ├── Default.png
62│ ├── Default@2x.png
63│ ├── Default-568h@2x.png
64│ └── ... (more sizes)
65├── catppuccin/
66│ └── ...
67└── ...
68```
69
70## Available Themes
71
72| Theme | Dark Background | Light Background | Primary Color |
73| ---------- | --------------- | ---------------- | ------------------- |
74| Lazurite | `#0e0e0e` | `#ffffff` | `#7dafff`/`#0b63d1` |
75| Oxocarbon | `#161616` | `#ffffff` | `#78a9ff` |
76| Catppuccin | `#1e1e2e` | `#eff1f5` | `#b4befe` |
77| Nord | `#2e3440` | `#eceff4` | `#88c0d0` |
78| Rosé Pine | `#191724` | `#faf4ed` | `#ebbcba` |
79
80## Native Splash Assets for Flutter
81
82Generate PNG assets consumed by `flutter_native_splash` (including Android 12+ logo images):
83
84```bash
85bun run generate-native-splash-assets
86```
87
88Generated files are written to `../assets/splash/`.
89
90## Technical Details
91
92- **Logo**: Uses the Lazurite SVG logo from `../assets/logo.svg`
93- **Font**: Falls back to system serif font (Crimson Pro recommended)
94- **Canvas**: Uses `node-canvas` for rendering
95- **SVG Processing**: Uses `sharp` for SVG to PNG conversion
96
97## Requirements
98
99[Bun](https://bun.sh/) runtime
100
101## License
102
103See [LICENSE](../LICENSE).