@advantacode/brander 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 +21 -0
- package/README.md +371 -0
- package/dist/adapters/css.js +39 -0
- package/dist/adapters/figma.js +28 -0
- package/dist/adapters/json.js +10 -0
- package/dist/adapters/scss.js +59 -0
- package/dist/adapters/tailwind.js +18 -0
- package/dist/adapters/typescript.js +13 -0
- package/dist/adapters/variables.js +21 -0
- package/dist/engine/color-parser.js +64 -0
- package/dist/engine/palette.js +46 -0
- package/dist/engine/semantics.js +145 -0
- package/dist/engine/themes.js +25 -0
- package/dist/generate-tokens.js +220 -0
- package/dist/index.js +205 -0
- package/dist/setup.js +153 -0
- package/dist/tailwind-colors.js +288 -0
- package/docs/CONTRIBUTING.md +41 -0
- package/docs/TECH_OVERVIEW.md +780 -0
- package/docs/TRADEMARKS.md +37 -0
- package/package.json +59 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Trademark Policy
|
|
2
|
+
|
|
3
|
+
`AdvantaCode`, `AdvantaCode Brander`, and any associated logos, word marks, product names, package names, and branding elements are trademarks of AdvantaCode.
|
|
4
|
+
|
|
5
|
+
The MIT license for this repository grants rights to the software. It does not grant any right to use AdvantaCode trademarks.
|
|
6
|
+
|
|
7
|
+
## Permitted Use
|
|
8
|
+
|
|
9
|
+
You may use the names `AdvantaCode` and `AdvantaCode Brander` only for accurate, descriptive references to this project, such as:
|
|
10
|
+
|
|
11
|
+
* identifying the unmodified upstream project
|
|
12
|
+
* linking to this repository or package
|
|
13
|
+
* stating factual compatibility or origin without implying endorsement
|
|
14
|
+
|
|
15
|
+
## Prohibited Use
|
|
16
|
+
|
|
17
|
+
Without prior written permission from AdvantaCode, you may not:
|
|
18
|
+
|
|
19
|
+
* use `AdvantaCode`, `AdvantaCode Brander`, or confusingly similar names in a company, product, service, package, repository, domain, or social account name
|
|
20
|
+
* use AdvantaCode logos, visual branding, or trade dress in a fork, derivative work, distribution, or competing offering
|
|
21
|
+
* describe a modified fork or derivative product in a way that suggests it is an official AdvantaCode release
|
|
22
|
+
* imply sponsorship, endorsement, partnership, certification, or affiliation by AdvantaCode
|
|
23
|
+
* use the marks in marketing, advertising, or promotional materials for your own product or service
|
|
24
|
+
|
|
25
|
+
## Forks and Derivatives
|
|
26
|
+
|
|
27
|
+
You may fork and modify the software under the MIT license, but you must remove AdvantaCode branding from modified distributions unless you have prior written permission to keep it.
|
|
28
|
+
|
|
29
|
+
If you distribute a modified version, it should be clearly identified as unofficial and must not use AdvantaCode marks in a way that is likely to cause confusion.
|
|
30
|
+
|
|
31
|
+
## Reservation of Rights
|
|
32
|
+
|
|
33
|
+
All rights in and to the AdvantaCode trademarks and goodwill are reserved by AdvantaCode.
|
|
34
|
+
|
|
35
|
+
## Permission Requests
|
|
36
|
+
|
|
37
|
+
For trademark or branding permission requests, contact AdvantaCode before use.
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@advantacode/brander",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AdvantaCode Design System Brand Generator",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/**/*.js",
|
|
8
|
+
"docs/*.md",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"bin": {
|
|
13
|
+
"advantacode-brander": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
17
|
+
"build": "npm run clean && tsc",
|
|
18
|
+
"cli": "node --import tsx/esm dist/index.js",
|
|
19
|
+
"lint": "eslint --max-warnings=0 src test",
|
|
20
|
+
"pretest": "npm run build",
|
|
21
|
+
"test": "node --import tsx/esm --test",
|
|
22
|
+
"release:check": "npm run lint && npm test && npm pack --dry-run",
|
|
23
|
+
"tokens": "tsx src/generate-tokens.ts",
|
|
24
|
+
"prepack": "npm run build",
|
|
25
|
+
"brand:generate": "advantacode-brander --out src/brander"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": "Anthony Penn",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/advantacode/advantacode-brander.git"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/advantacode/advantacode-brander#readme",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/advantacode/advantacode-brander/issues"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"design-tokens",
|
|
39
|
+
"branding",
|
|
40
|
+
"oklch",
|
|
41
|
+
"tailwind",
|
|
42
|
+
"cli"
|
|
43
|
+
],
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=20.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^25.3.3",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
50
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
51
|
+
"eslint": "^8.0.0",
|
|
52
|
+
"typescript": "^5.3.0"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"culori": "^4.0.2",
|
|
56
|
+
"dotenv": "^17.3.1",
|
|
57
|
+
"tsx": "^4.0.0"
|
|
58
|
+
}
|
|
59
|
+
}
|