@rosteroni/brand 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +11 -0
- package/README.md +69 -2
- package/TRADEMARK.md +26 -0
- package/package.json +46 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Copyright (c) 2026 Benjamin Becker
|
|
2
|
+
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
The Rosteroni name, logo, mascot, wordmark, and all brand assets in this
|
|
6
|
+
repository are proprietary. No permission is granted to copy, modify,
|
|
7
|
+
redistribute, or use them except as expressly allowed by TRADEMARK.md.
|
|
8
|
+
|
|
9
|
+
Published artifacts (the @rosteroni/brand package and release assets) may be
|
|
10
|
+
installed and used by downstream Rosteroni projects and by third parties
|
|
11
|
+
solely to refer to the Rosteroni project, subject to TRADEMARK.md.
|
package/README.md
CHANGED
|
@@ -1,3 +1,70 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Rosteroni brand
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Source of truth for Rosteroni's brand assets and design tokens. Nothing in
|
|
4
|
+
`rosteroni.com`, `docs`, the application, or the mobile apps should originate
|
|
5
|
+
brand art — they consume this repository's published artifacts.
|
|
6
|
+
|
|
7
|
+
## Layout
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
src/svg/ SVG masters (light/dark logo, mark, favicon, OG template)
|
|
11
|
+
src/tokens/ tokens.json in W3C design-token (DTCG) format
|
|
12
|
+
scripts/ validate, build, verify
|
|
13
|
+
dist/ generated: web/, ios/, android/, raster/, manifest.json
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Develop
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install
|
|
20
|
+
npm run build # validate + emit every platform derivative
|
|
21
|
+
npm run verify # re-hash dist/ and compare against manifest.json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Every emitted file is recorded with a SHA-256 in `dist/manifest.json`.
|
|
25
|
+
|
|
26
|
+
## Release
|
|
27
|
+
|
|
28
|
+
Tag `brand-vX.Y.Z` on `main`. CI validates, builds, publishes the npm package
|
|
29
|
+
with OIDC provenance, and attaches the zip + manifest to a GitHub Release.
|
|
30
|
+
|
|
31
|
+
Version policy:
|
|
32
|
+
|
|
33
|
+
- **major** — visual identity change (new logo/mascot/palette)
|
|
34
|
+
- **minor** — new asset or token added
|
|
35
|
+
- **patch** — correction to an existing asset
|
|
36
|
+
|
|
37
|
+
Published versions are immutable. Never reuse a version number.
|
|
38
|
+
|
|
39
|
+
## Consuming
|
|
40
|
+
|
|
41
|
+
**Astro (sites, docs)**
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm i @rosteroni/brand@0.1.0
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import '@rosteroni/brand/tokens.css';
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**React Native**
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
import { tokens, assets } from '@rosteroni/brand';
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**iOS (Swift Package Manager)** — the repository is a valid SPM package at the
|
|
58
|
+
release tag; see `dist/ios/`.
|
|
59
|
+
|
|
60
|
+
**Android** — download the release zip for the pinned version and merge
|
|
61
|
+
`dist/android/res/` into your module's resources.
|
|
62
|
+
|
|
63
|
+
**Anything else** — fetch `brand-X.Y.Z.zip` from the GitHub Release; it is
|
|
64
|
+
public and requires no authentication.
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
All rights reserved — see [LICENSE](LICENSE) and [TRADEMARK.md](TRADEMARK.md).
|
|
69
|
+
The assets are published for use by Rosteroni and to refer to Rosteroni; they
|
|
70
|
+
are not open source.
|
package/TRADEMARK.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Rosteroni trademark and brand usage
|
|
2
|
+
|
|
3
|
+
The name "Rosteroni", the Rosteroni logo, wordmark, and mascot are trademarks
|
|
4
|
+
of Benjamin Becker. This repository's license grants rights to use the code
|
|
5
|
+
that builds these assets, not to the brand itself.
|
|
6
|
+
|
|
7
|
+
## You may
|
|
8
|
+
|
|
9
|
+
- Display the unmodified Rosteroni logo or wordmark to refer to the Rosteroni
|
|
10
|
+
project, its documentation, or your own deployment of it.
|
|
11
|
+
- Use the assets inside an unmodified or modified build of Rosteroni software
|
|
12
|
+
(the AGPL grants you that right to the software; this grants you the
|
|
13
|
+
accompanying brand usage).
|
|
14
|
+
- Use screenshots of the software in articles, talks, and reviews.
|
|
15
|
+
|
|
16
|
+
## You may not
|
|
17
|
+
|
|
18
|
+
- Modify, recolor, distort, or recompose the logo or mascot.
|
|
19
|
+
- Use the marks in the name of a fork, product, company, or domain in a way
|
|
20
|
+
that implies endorsement or affiliation.
|
|
21
|
+
- Use the marks in a way that suggests your hosted offering is the official
|
|
22
|
+
Rosteroni hosted service.
|
|
23
|
+
- Register the marks, or confusingly similar marks, as trademarks or domains.
|
|
24
|
+
|
|
25
|
+
Forks must be renamed. If you fork Rosteroni and operate it as a service,
|
|
26
|
+
replace the brand assets with your own.
|
package/package.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rosteroni/brand",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Rosteroni brand assets and design tokens (SVG masters, platform derivatives, tokens)",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"homepage": "https://rosteroni.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/rosteroni/brand.git"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"registry": "https://registry.npmjs.org"
|
|
15
|
+
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=22.14.0"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"TRADEMARK.md",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/web/index.d.ts",
|
|
28
|
+
"default": "./dist/web/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./tokens.css": "./dist/web/tokens.css",
|
|
31
|
+
"./tokens.json": "./dist/web/tokens.json",
|
|
32
|
+
"./tokens.js": "./dist/web/tokens.js",
|
|
33
|
+
"./svg/*": "./dist/web/svg/*",
|
|
34
|
+
"./raster/*": "./dist/raster/*",
|
|
35
|
+
"./ios/*": "./dist/ios/*",
|
|
36
|
+
"./android/*": "./dist/android/*",
|
|
37
|
+
"./manifest.json": "./dist/manifest.json"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"validate": "node scripts/validate.mjs",
|
|
41
|
+
"build": "npm run validate && node scripts/build.mjs",
|
|
42
|
+
"verify": "node scripts/verify.mjs"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"style-dictionary": "^5.8.0",
|
|
46
|
+
"@resvg/resvg-js": "^2.6.2"
|
|
47
|
+
}
|
|
48
|
+
}
|