Skip to content

Commit

Permalink
Minor docs update (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored Jan 25, 2024
1 parent 3346bf3 commit 95fab69
Show file tree
Hide file tree
Showing 11 changed files with 922 additions and 691 deletions.
9 changes: 1 addition & 8 deletions docs/advanced/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,4 @@ Cobalt was created to support the [Design Tokens Community Group format (DTCG)](

## Why the name “Cobalt?”

The name **Cobalt** has three meanings:

1. Cobalt [the element](https://en.wikipedia.org/wiki/Cobalt) is a nod to design tokens being the “atoms” of your design system.<br />
_Fun fact: the animated token icons on this docs site are a nod to Cobalt’s hexagonal atomic structure_
2. Cobalt [the pigment](https://artsartistsartwork.com/history-of-the-colour-blue-in-art) is a nod to blue being the last missing color in art history, just as design tokens are the last missing piece of design systems.<br />
_Fun fact: Van Gogh once said “Cobalt is a divine colour and there is nothing so beautiful for putting atmosphere around things”_
3. Cobalt the color is a nod to [blueprints](https://en.wikipedia.org/wiki/Blueprint).<br />
_Fun fact: blueprints originally were colored with Prussian Blue (ferrous ferrocyanide), not Cobalt, for cost reasons_
Cobalt is the only element in the Periodic Table that is also a color. Design tokens are the “building blocks” of design much like elements are the building blocks of nature.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"vite": "^5.0.11",
"vitepress": "1.0.0-rc.39"
"vitepress": "1.0.0-rc.40"
}
}
4 changes: 2 additions & 2 deletions examples/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "tailwind build -o tailwind.css"
},
"devDependencies": {
"@cobalt-ui/cli": "workspace:^",
"@cobalt-ui/plugin-tailwind": "workspace:^",
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/plugin-tailwind": "workspace:*",
"tailwindcss": "^3.3.5"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.27.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"del-cli": "^5.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"js-yaml": "^4.1.0",
"prettier": "^3.2.2",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
}
}
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
"@cobalt-ui/utils": "^1.2.2",
"chokidar": "^3.5.3",
"culori": "^3.3.0",
"dotenv": "^16.3.1",
"dotenv": "^16.4.1",
"js-yaml": "^4.1.0",
"piscina": "^3.2.0",
"svgo": "^3.0.4",
"svgo": "^3.2.0",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@types/culori": "^2.0.4",
"@types/node": "^20.9.3",
"@types/node": "^20.11.6",
"execa": "^7.2.0",
"vitest": "^1.2.0"
"vitest": "^1.2.1"
}
}
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"culori": "^3.3.0"
},
"devDependencies": {
"@types/node": "^20.9.3",
"esbuild": "^0.19.7",
"vitest": "^1.2.0"
"@types/node": "^20.11.6",
"esbuild": "^0.19.12",
"vitest": "^1.2.1"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"@types/mime": "^3.0.4",
"culori": "^3.3.0",
"mime": "^3.0.0",
"svgo": "^3.0.4"
"svgo": "^3.2.0"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@types/node": "^20.9.3",
"vitest": "^1.2.0"
"@types/node": "^20.11.6",
"vitest": "^1.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"fast-glob": "^3.3.2",
"vitest": "^1.2.0"
"vitest": "^1.2.1"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"@cobalt-ui/utils": "^1.2.2",
"@types/mime": "^3.0.4",
"mime": "^3.0.0",
"svgo": "^3.0.4"
"svgo": "^3.2.0"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@cobalt-ui/plugin-css": "^1.7.0",
"@types/node": "^20.9.3",
"vitest": "^1.2.0"
"@types/node": "^20.11.6",
"vitest": "^1.2.1"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"tailwindcss": "*"
},
"dependencies": {
"@cobalt-ui/plugin-css": "^1.6.2",
"@cobalt-ui/plugin-css": "^1.7.0",
"@cobalt-ui/utils": "^1.2.2"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@types/node": "^20.9.3",
"@types/node": "^20.11.6",
"js-yaml": "^4.1.0",
"tailwindcss": "^3.3.5",
"vitest": "^1.2.0"
"tailwindcss": "^3.4.1",
"vitest": "^1.2.1"
}
}
Loading

0 comments on commit 95fab69

Please sign in to comment.