@polyxd/ds-sketch 0.3.0 → 0.4.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/NOTICE +32 -0
- package/README.md +4 -0
- package/logo.svg +8 -0
- package/manifest.json +5 -0
- package/package.json +2 -1
package/NOTICE
CHANGED
|
@@ -135,6 +135,38 @@ Upstream: https://github.com/adobe/spectrum-tokens
|
|
|
135
135
|
|
|
136
136
|
Vendored under `packages/ds-spectrum/scripts/sources/`, with the upstream licence file beside it.
|
|
137
137
|
|
|
138
|
+
## Logos
|
|
139
|
+
|
|
140
|
+
Twelve packs ship their design system's official logo, unaltered, as `logo.svg`
|
|
141
|
+
(Bootstrap and Radix also ship the owner's white version as `logo-white.svg`),
|
|
142
|
+
downloaded from the owner's own site, repository or brand page. Where a design
|
|
143
|
+
system has no mark of its own (Polaris, Spectrum, Primer), the pack ships its
|
|
144
|
+
company's logo. Each is used only to identify the design system a pack is
|
|
145
|
+
modelled on, beside its name. The logos are trademarks of their owners, not
|
|
146
|
+
Polyxd's, and are not covered by Polyxd's licence:
|
|
147
|
+
|
|
148
|
+
- Material 3 (`@polyxd/ds-material3`) — Google LLC
|
|
149
|
+
- Carbon (`@polyxd/ds-carbon`) — IBM Corp.
|
|
150
|
+
- Fluent 2 (`@polyxd/ds-fluent`) — Microsoft Corporation
|
|
151
|
+
- Polaris (`@polyxd/ds-polaris`) — the Shopify logo, Shopify Inc.
|
|
152
|
+
- Spectrum 2 (`@polyxd/ds-spectrum`) — the Adobe logo, Adobe Inc.
|
|
153
|
+
- Primer (`@polyxd/ds-primer`) — the GitHub logo, GitHub, Inc.
|
|
154
|
+
- shadcn/ui (`@polyxd/ds-shadcn`) — shadcn
|
|
155
|
+
- Ant Design (`@polyxd/ds-antd`) — Ant Group
|
|
156
|
+
- Bootstrap (`@polyxd/ds-bootstrap`) — the Bootstrap team
|
|
157
|
+
- Chakra UI (`@polyxd/ds-chakra`) — Chakra Systems Inc.
|
|
158
|
+
- Mantine (`@polyxd/ds-mantine`) — Vitaly Rtishchev
|
|
159
|
+
- Radix UI (`@polyxd/ds-radix`) — WorkOS
|
|
160
|
+
|
|
161
|
+
Google, IBM, Microsoft, Shopify, Adobe and GitHub restrict the use of their
|
|
162
|
+
logos without permission; each pack's manifest (`logo`) and README record the
|
|
163
|
+
source and the owner's guidelines. GOV.UK's crown and logotype are protected and
|
|
164
|
+
may not be used by a service that is not on GOV.UK, so `@polyxd/ds-govuk` ships
|
|
165
|
+
no logo and is named in words only.
|
|
166
|
+
|
|
167
|
+
The twelve template packs' `logo.svg` files are Polyxd's own marks, drawn from
|
|
168
|
+
each template's tokens.
|
|
169
|
+
|
|
138
170
|
## Template packs
|
|
139
171
|
|
|
140
172
|
Twelve packs are original Polyxd templates, not readings of any design system:
|
package/README.md
CHANGED
|
@@ -50,3 +50,7 @@ Tokens can't draw. `tokens/extras.css` is a small stylesheet the theme compiler
|
|
|
50
50
|
| `tokens/semantic.json` | The Polyxd contract, aliasing `sketch.*` |
|
|
51
51
|
| `tokens/extras.css` | The scoped CSS the compiler appends |
|
|
52
52
|
Licence Apache-2.0, like the rest of Polyxd. Provenance in the manifest: original template by Polyxd.
|
|
53
|
+
|
|
54
|
+
## Logo
|
|
55
|
+
|
|
56
|
+
`logo.svg` is Polyxd's own mark for this template, not anyone's logo: a small card drawn only from the template's tokens in its default mode (the ground, strong border and radius, the text and muted text, the primary action and one accent). `packages/ds-kit/scripts/pack-logos.ts` draws it, so it follows the tokens: change them and run `node packages/ds-kit/scripts/pack-logos.ts` to redraw it. A test fails if it goes stale.
|
package/logo.svg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" role="img" aria-label="Sketch, a Polyxd template">
|
|
2
|
+
<title>Sketch, a Polyxd template</title>
|
|
3
|
+
<rect x="1" y="1" width="30" height="30" rx="4" fill="#fbf7ee" stroke="#6b675f" stroke-width="2"/>
|
|
4
|
+
<rect x="7" y="8" width="12" height="3" rx="1" fill="#2b2a26"/>
|
|
5
|
+
<rect x="7" y="13.5" width="16" height="2" rx="1" fill="#5c584f"/>
|
|
6
|
+
<rect x="7" y="19" width="12" height="6" rx="3" fill="#2b2a26"/>
|
|
7
|
+
<circle cx="23" cy="22" r="2.75" fill="#c2410c"/>
|
|
8
|
+
</svg>
|
package/manifest.json
CHANGED
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"defaultMode": "light",
|
|
21
21
|
"template": true,
|
|
22
22
|
"extras": "tokens/extras.css",
|
|
23
|
+
"logo": {
|
|
24
|
+
"file": "logo.svg",
|
|
25
|
+
"source": "Polyxd",
|
|
26
|
+
"note": "A Polyxd-made mark drawn from this template's own tokens by packages/ds-kit/scripts/pack-logos.ts. It is not the logo of any design system."
|
|
27
|
+
},
|
|
23
28
|
"provenance": [
|
|
24
29
|
{
|
|
25
30
|
"source": "Polyxd",
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyxd/ds-sketch",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Sketch template pack for Polyxd (DTCG 2025.10 tokens): an original design to start from and make your own",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"manifest.json",
|
|
9
9
|
"tokens",
|
|
10
|
+
"logo.svg",
|
|
10
11
|
"README.md",
|
|
11
12
|
"LICENSE",
|
|
12
13
|
"NOTICE"
|