mobile bluesky app made with flutter lazurite.stormlightlabs.org/
mobile bluesky flutter
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

at ft/monetization 92 lines 2.6 kB view raw view rendered
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: `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| Oxocarbon | `#161616` | `#ffffff` | `#78a9ff` | 75| Catppuccin | `#1e1e2e` | `#eff1f5` | `#b4befe` | 76| Nord | `#2e3440` | `#eceff4` | `#88c0d0` | 77| Rosé Pine | `#191724` | `#faf4ed` | `#ebbcba` | 78 79## Technical Details 80 81- **Logo**: Uses the Lazurite SVG logo from `../assets/logo.svg` 82- **Font**: Falls back to system serif font (Crimson Pro recommended) 83- **Canvas**: Uses `node-canvas` for rendering 84- **SVG Processing**: Uses `sharp` for SVG to PNG conversion 85 86## Requirements 87 88[Bun](https://bun.sh/) runtime 89 90## License 91 92See [LICENSE](../LICENSE).