# FOSSBilling Branding Logo and icon assets for FOSSBilling, based on the original artwork by [@anatolinicolae](https://github.com/anatolinicolae). ## Preview ![FOSSBilling logos and icons on light, dark, and black backgrounds](https://branding.fossbilling.org/preview.png) ## Choose an Asset Individual assets are available at [https://branding.fossbilling.org](https://branding.fossbilling.org/). See the [manifest](https://branding.fossbilling.org/manifest.json) for available files, or [download the ZIP](https://branding.fossbilling.org/fossbilling-branding.zip). Choose the variant for the **background behind the artwork**. Both variants have transparent backgrounds; the folder name describes where to use them. | Background | Full Logo | Icon | Treatment | | --- | --- | --- | --- | | Light | [SVG](assets/light-background/fossbilling-logo.svg) | [SVG](assets/light-background/fossbilling-icon.svg) | Black wordmark and wallet | | Dark or black | [SVG](assets/dark-background/fossbilling-logo.svg) | [SVG](assets/dark-background/fossbilling-icon.svg) | White wordmark and muted wallet outline | Use the SVGs when possible. Their lettering is converted to paths, so they render without an installed font. Use the PNG exports when a vector format is not supported. Scale proportionally and leave clear space around the artwork. ## Editing Edit [the wallet icon](source/fossbilling-icon.svg) in Inkscape or Adobe Illustrator. Both logos use this drawing. Keep the grey outline's SVG ID as `wallet-outline` so the exporter can omit it from the light-background artwork. For typography changes, install the included [Manrope variable font](source/fonts/Manrope/Manrope-VariableFont_wght.ttf) and edit [the live-text wordmark](source/fossbilling-wordmark-text.svg) in software with variable-font support. Use one start-aligned line of upright text per text element. The build uses the bundled font to convert the text to paths. The wordmark page sets the logo dimensions. Its left margin leaves room for the wallet, which the exporter scales to the page height. Run `npm run generate` and commit the source changes and regenerated `assets/` SVGs. ## Colours and Typography | Element | Colour | | --- | --- | | Wallet and light-background wordmark | `#000000` | | Card | `#0785BC` | | Chip | `#FAC965` | | Chip divisions | `#94712D` | | Card lettering, clasp separator, and dark-background wordmark | `#FFFFFF` | | Dark-background wallet outline | `#83909E` | The card lettering in the wallet icon is outlined. The wordmark uses [Manrope](https://github.com/google/fonts/tree/main/ofl/manrope), with FOSS at weight 700 and Billing at weight 450, with default letter spacing. Manrope is distributed under the [SIL Open Font License](source/fonts/Manrope/OFL.txt). The font license applies to the font, not the FOSSBilling branding. ## Generating Assets Requires Node.js 26 or newer. The TypeScript scripts run directly in Node.js, without a build step. ```sh npm ci npm run generate ``` The complete bundle goes in `dist/` and includes optimised SVGs, transparent PNGs, SVG favicons, and Apple touch icons for both background variants. Each path in `dist/manifest.json` is relative to `dist/`. The manifest records the UTC export time as `exportedAt`. The main SVGs are also mirrored in `assets/`. The bundle includes `preview.png`, a reference sheet showing the logos and icons on light and dark backgrounds, including header and favicon sizes. Set source paths and the required `iconSizes` and `logoWidths` lists in `export.config.json`. Generation removes obsolete exports for sizes or variants removed from the configuration. Run `npm run typecheck` to check the scripts and tests, and `npm test` to run the export tests. ## Publishing Exports The [build and publish workflow](.github/workflows/build-and-publish-assets.yml) generates a downloadable `fossbilling-branding` artifact on pull requests, pushes to any branch, and manual runs. The artifact contains the generated assets, `manifest.json`, and `fossbilling-branding.zip`. Only pushes to `main` publish these files and `fossbilling-branding.zip` to Cloudflare R2; pushes to other branches run the build and checks only. To publish the selected branch from a manual run, set `publish` to `true`. ## What You Can Do * :heavy_check_mark: Use the logo when writing about or linking to FOSSBilling, when truthful and not misleading. * :heavy_check_mark: Use the logo in the original form and color. ## Limitations * :x: You may not use the name "FOSSBilling" as a product/service title, account or company name. * :x: Don't modify the logo in any way. * :x: Don't publish, distribute, sublicense, and/or sell it as your own. * :x: Don't use FOSSBilling's branding in the name of your business, product, service, app, domain name, social media account, other offering, or business indicator unless you have explicit permission from FOSSBilling. * :x: Don't change the capitalization or punctuation. Always refer to the brand name as "FOSSBilling", with no spaces and with the letters "FOSSB" being capitalized. * :x: Don't place FOSSBilling's logo over a background that is too busy or does not provide enough contrast. ## Licensing The code and scripts in this repository are licensed under the GNU Affero General Public License v3.0 or later. See [LICENSE](./LICENSE). That license does **NOT** cover the FOSSBilling name, logos, wordmarks, trademarks, or other brand assets in `assets/`, `source/`, and `dist/`, which are copyright of FOSSBilling. Using the name or logo (with or without the name), or derivatives, as your own, for your own services or company is not allowed without explicit permission.