brandkit white
Create a white icon on transparent background.
Synopsis
Description
Shortcut for the common workflow of creating a white icon on transparent background. This is equivalent to:
brandkit process <input> -o <output> --color ffffff --remove-background --include-stroke --center --strict
The command performs these steps:
- Removes any solid background
- Converts all colors to white (
#ffffff) - Includes stroke colors in conversion
- Centers the content in the viewBox
- Verifies the result is pure vector
- Scans for security threats (fails by default if threats found)
Flags
| Flag | Description |
|---|---|
-o, --output |
Output file path (required) |
--insecure |
Warn on security threats instead of failing |
-h, --help |
Help for white |
Examples
Create a white icon:
Process a brand icon:
Allow files with security warnings (style blocks, etc.):
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (invalid input, processing failure, security threats detected) |
See Also
- color — Create color icon preserving original colors
- process — Full processing pipeline with all options
- security-scan — Scan for security threats