@whatsaaaa/design-system 0.2.0 → 0.3.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 +5 -5
- package/README.md +9 -9
- package/assets/manifest.json +6 -0
- package/assets/whatsaaaa/profile-banner.png +0 -0
- package/docs/usage.md +1 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -6,11 +6,11 @@ the docs theme among them, are provided under the MIT License that follows.
|
|
|
6
6
|
The Whatsaaaa identity artwork is excluded from the MIT License. It is
|
|
7
7
|
Copyright (c) 2026 Whatsaaaa, all rights reserved. It is the ghost, the
|
|
8
8
|
wordmark, the lockups and marks, the sprite and mark of each project, the README
|
|
9
|
-
headers, the social cards and the favicons, as the generated
|
|
10
|
-
as the drawings encoded in `src/identity/` and `identity/`,
|
|
11
|
-
drawings compiled into the package in `dist/identity/` and
|
|
12
|
-
code that turns those drawings into files and markup is
|
|
13
|
-
the drawings are not.
|
|
9
|
+
headers, the social cards, the profile banner and the favicons, as the generated
|
|
10
|
+
files in `assets/`, as the drawings encoded in `src/identity/` and `identity/`,
|
|
11
|
+
and as those drawings compiled into the package in `dist/identity/` and
|
|
12
|
+
`dist/ghost/`. The code that turns those drawings into files and markup is
|
|
13
|
+
under the MIT License; the drawings are not.
|
|
14
14
|
|
|
15
15
|
The artwork may be redistributed unmodified as part of this package and of
|
|
16
16
|
builds made with it, as the <ws-ghost> element and the docs theme carry it. It
|
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@ The package is [`@whatsaaaa/design-system`](https://www.npmjs.com/package/@whats
|
|
|
8
8
|
|
|
9
9
|
## What is in it
|
|
10
10
|
|
|
11
|
-
| Part | What it is
|
|
12
|
-
| ----------------------- |
|
|
13
|
-
| Identity | The ghost in every cut, the wordmark, six poses, a sprite per project, favicons, README headers and
|
|
14
|
-
| Tokens | Rosé Pine main for dark and Dawn for light, mapped to roles, with type, space, radii and motion
|
|
15
|
-
| Styles | Prose, code blocks, tables, lists, callouts, and the terminal frame: tab bar, prompts, status line
|
|
16
|
-
| The ghost as an element | `<ws-ghost>`, with the easter egg
|
|
17
|
-
| Docs theme | A VitePress theme on top of VitePress's default theme
|
|
18
|
-
| Style guide | A site that shows all of it with real content, in dark and light, and offers the assets for download
|
|
11
|
+
| Part | What it is | Source |
|
|
12
|
+
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
13
|
+
| Identity | The ghost in every cut, the wordmark, six poses, a sprite per project, favicons, README headers, social cards and a profile banner. All generated | `src/identity/ghost.ts`, `identity/` |
|
|
14
|
+
| Tokens | Rosé Pine main for dark and Dawn for light, mapped to roles, with type, space, radii and motion | `tokens/` |
|
|
15
|
+
| Styles | Prose, code blocks, tables, lists, callouts, and the terminal frame: tab bar, prompts, status line | `src/css/` |
|
|
16
|
+
| The ghost as an element | `<ws-ghost>`, with the easter egg | `src/ghost/` |
|
|
17
|
+
| Docs theme | A VitePress theme on top of VitePress's default theme | `src/vitepress/`, `src/vitepress-config/` |
|
|
18
|
+
| Style guide | A site that shows all of it with real content, in dark and light, and offers the assets for download | `styleguide/` |
|
|
19
19
|
|
|
20
20
|
To use it in another project, install it with `pnpm add @whatsaaaa/design-system` and read [docs/usage.md](./docs/usage.md). It is written for coding agents and is short.
|
|
21
21
|
|
|
@@ -123,7 +123,7 @@ The licenses are in [`licenses/`](./licenses/).
|
|
|
123
123
|
|
|
124
124
|
The code and the styles are [MIT](./LICENSE): the tokens, the stylesheets, the scripts, `<ws-ghost>`, the theme, shortcut and code-theme modules and the docs theme.
|
|
125
125
|
|
|
126
|
-
The Whatsaaaa identity is not: the ghost, the wordmark, the lockups and marks, the sprite and mark of each project, the README headers, the social cards and the favicons, in `assets/`, as drawn in `src/identity/` and `identity/`, and as compiled into `dist/identity/` and `dist/ghost/`, are all rights reserved. [LICENSE](./LICENSE) says which is which.
|
|
126
|
+
The Whatsaaaa identity is not: the ghost, the wordmark, the lockups and marks, the sprite and mark of each project, the README headers, the social cards, the profile banner and the favicons, in `assets/`, as drawn in `src/identity/` and `identity/`, and as compiled into `dist/identity/` and `dist/ghost/`, are all rights reserved. [LICENSE](./LICENSE) says which is which.
|
|
127
127
|
|
|
128
128
|
The artwork may be redistributed unmodified as part of this package and of builds made with it. It may not be shown, used as a logo or mark, or used to identify anything other than Whatsaaaa and its projects. That covers the ghost that `<ws-ghost>` and the docs theme draw: the MIT License covers their code, not the ghost. A site that is not Whatsaaaa's own makes sure the ghost is not shown on it. It puts neither `<ws-ghost>` nor the output of `ghostSvg` or `ghostMarkup` on its pages, and with the docs theme it replaces the theme's `NavGhost.vue` and `NotFound.vue`, the way VitePress [overrides an internal component](https://vitepress.dev/guide/extending-default-theme#overriding-internal-components):
|
|
129
129
|
|
package/assets/manifest.json
CHANGED
|
@@ -187,6 +187,12 @@
|
|
|
187
187
|
"width": 1280,
|
|
188
188
|
"height": 640,
|
|
189
189
|
"use": "Social card as an image, the size link previews ask for."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"file": "profile-banner.png",
|
|
193
|
+
"width": 1280,
|
|
194
|
+
"height": 288,
|
|
195
|
+
"use": "The profile banner as an image, at twice its size. Upload this one to Gravatar."
|
|
190
196
|
}
|
|
191
197
|
],
|
|
192
198
|
"building-blocks": [
|
|
Binary file
|
package/docs/usage.md
CHANGED
|
@@ -225,6 +225,7 @@ Generated files are in `assets/<name>/`, for `whatsaaaa` and for each project. `
|
|
|
225
225
|
| Logo with name | `lockup-dark.svg`, `lockup-light.svg` |
|
|
226
226
|
| Top of a README | `readme-header.svg` |
|
|
227
227
|
| Link preview | `social-card.png` |
|
|
228
|
+
| Gravatar header | `profile-banner.png` (handle only). Profile colors: dark `bg`, `surface`, `interactive` |
|
|
228
229
|
|
|
229
230
|
Copy the files you need into the project. Show a mark at 16, 32, 48 or 64 px, where its pixels are sharp.
|
|
230
231
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whatsaaaa/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Whatsaaaa's design system: brand identity, design tokens, typography, docs theme and asset kit",
|
|
5
5
|
"homepage": "https://github.com/whatsaaaa/design-system#readme",
|
|
6
6
|
"bugs": "https://github.com/whatsaaaa/design-system/issues",
|