@polyxd/ds-primer 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 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
@@ -38,3 +38,9 @@ Primer's semantic pairs are tuned by GitHub and clear the contract as they are;
38
38
  | `tokens/semantic.json` | the Polyxd contract, each token an alias — identical in both themes |
39
39
  | `manifest.json` | modes, contract version, provenance |
40
40
  | `scripts/sources/primer/` | the vendored stylesheets and Primer's licence |
41
+
42
+ ## Logo
43
+
44
+ `logo.svg` is GitHub's Invertocat, since Primer has no mark of its own (primer.style's header uses it beside the name), unaltered, from [brand.github.com/foundations/logo](https://brand.github.com/GitHub_Logos.zip). Polyxd shows it beside the pack's name to identify the design system this pack is modelled on. GitHub's [trademark guidelines](https://brand.github.com/foundations/logo) restrict the use of its logos (Unmodified permitted GitHub logos may be used to link to GitHub, show integration, or in articles about GitHub, placed secondary and never implying affiliation or combined with other words; any other use needs GitHub's prior written permission); Polyxd's maintainer has chosen to show it and is responsible for that choice.
45
+
46
+ GitHub, Primer and the GitHub logo are trademarks of GitHub, Inc., used here to identify the design system this pack is modelled on. Polyxd is not affiliated with GitHub, Inc.
package/logo.svg ADDED
@@ -0,0 +1,10 @@
1
+ <svg width="98" height="96" viewBox="0 0 98 96" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_730_27126)">
3
+ <path d="M41.4395 69.3848C28.8066 67.8535 19.9062 58.7617 19.9062 46.9902C19.9062 42.2051 21.6289 37.0371 24.5 33.5918C23.2559 30.4336 23.4473 23.7344 24.8828 20.959C28.7109 20.4805 33.8789 22.4902 36.9414 25.2656C40.5781 24.1172 44.4062 23.543 49.0957 23.543C53.7852 23.543 57.6133 24.1172 61.0586 25.1699C64.0254 22.4902 69.2891 20.4805 73.1172 20.959C74.457 23.543 74.6484 30.2422 73.4043 33.4961C76.4668 37.1328 78.0937 42.0137 78.0937 46.9902C78.0937 58.7617 69.1934 67.6621 56.3691 69.2891C59.623 71.3945 61.8242 75.9883 61.8242 81.252L61.8242 91.2051C61.8242 94.0762 64.2168 95.7031 67.0879 94.5547C84.4102 87.9512 98 70.6289 98 49.1914C98 22.1074 75.9883 6.69539e-07 48.9043 4.309e-07C21.8203 1.92261e-07 -1.9479e-07 22.1074 -4.3343e-07 49.1914C-6.20631e-07 70.4375 13.4941 88.0469 31.6777 94.6504C34.2617 95.6074 36.75 93.8848 36.75 91.3008L36.75 83.6445C35.4102 84.2188 33.6875 84.6016 32.1562 84.6016C25.8398 84.6016 22.1074 81.1563 19.4277 74.7441C18.375 72.1602 17.2266 70.6289 15.0254 70.3418C13.877 70.2461 13.4941 69.7676 13.4941 69.1934C13.4941 68.0449 15.4082 67.1836 17.3223 67.1836C20.0977 67.1836 22.4902 68.9063 24.9785 72.4473C26.8926 75.2227 28.9023 76.4668 31.2949 76.4668C33.6875 76.4668 35.2187 75.6055 37.4199 73.4043C39.0469 71.7773 40.291 70.3418 41.4395 69.3848Z" fill="black"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_730_27126">
7
+ <rect width="98" height="96" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
package/manifest.json CHANGED
@@ -18,6 +18,15 @@
18
18
  ]
19
19
  },
20
20
  "defaultMode": "light",
21
+ "logo": {
22
+ "file": "logo.svg",
23
+ "source": "https://brand.github.com/GitHub_Logos.zip (entry 'GitHub Logos/SVG/GitHub_Invertocat_Black.svg')",
24
+ "guidelines": "https://brand.github.com/foundations/logo",
25
+ "colours": [
26
+ "#000000"
27
+ ],
28
+ "note": "GitHub's Invertocat, since Primer has no mark of its own (primer.style's header uses it beside the name), unaltered, from https://brand.github.com/foundations/logo. Shown at the request of Polyxd's maintainer to identify the design system this pack is modelled on. GitHub's guidelines: Unmodified permitted GitHub logos may be used to link to GitHub, show integration, or in articles about GitHub, placed secondary and never implying affiliation or combined with other words; any other use needs GitHub's prior written permission."
29
+ },
21
30
  "provenance": [
22
31
  {
23
32
  "source": "npm:@primer/primitives dist/css (https://github.com/primer/primitives)",
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@polyxd/ds-primer",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "GitHub Primer design-system pack for Polyxd (DTCG 2025.10 tokens)",
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",