@polyxd/ds-bootstrap 0.3.0 → 0.4.1
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 +34 -0
- package/README.md +6 -0
- package/logo-white.svg +1 -0
- package/logo.svg +1 -0
- package/manifest.json +13 -0
- package/package.json +3 -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:
|
|
@@ -167,6 +199,8 @@ Apache-2.0: playwright
|
|
|
167
199
|
MIT: react, react-dom, radix-ui, ajv, ajv-formats, vite, @vitejs/plugin-react,
|
|
168
200
|
marked, lenis, @types/react, @types/react-dom
|
|
169
201
|
MIT OR Apache-2.0: wrangler, @cloudflare/workers-types
|
|
202
|
+
Apache-2.0 AND MIT: posthog-js (the analytics on polyxd.com and in Studio, only
|
|
203
|
+
when a PostHog key is set; the site's build copies it out of node_modules)
|
|
170
204
|
|
|
171
205
|
Two need a word.
|
|
172
206
|
|
package/README.md
CHANGED
|
@@ -29,3 +29,9 @@ Bootstrap's bright hues can't carry a 3:1 accent in light mode — cyan `#0dcaf0
|
|
|
29
29
|
| `color.data.categorical.1–6` | `--bs-blue`, `teal`, `indigo`, `orange`, `pink`, `cyan` | 1.96–2.57:1 | the six `*-text-emphasis` hues |
|
|
30
30
|
| `color.border.strong` | `--bs-border-color` | 1.3:1 | `--bs-secondary-color` |
|
|
31
31
|
| `opacity.state.disabled` | `.disabled` is 0.65 | above the contract's 0.6 cap | 0.6 |
|
|
32
|
+
|
|
33
|
+
## Logo
|
|
34
|
+
|
|
35
|
+
`logo.svg` (colour) and `logo-white.svg` (white, for dark grounds) are Bootstrap's own files from its [brand page](https://getbootstrap.com/docs/5.3/about/brand/), byte for byte as in the [v5.3.8 repository](https://github.com/twbs/bootstrap/tree/v5.3.8/site/static/docs/%5Bversion%5D/assets/brand). The brand page asks that the mark be used unmodified, in colour, black or white, when referring to Bootstrap, and that the name be written *Bootstrap*.
|
|
36
|
+
|
|
37
|
+
Bootstrap and its logo are trademarks of the Bootstrap team, used here to identify the design system this pack is modelled on. Polyxd is not affiliated with the Bootstrap team.
|
package/logo-white.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="408" fill="#fff"><path d="M106.342 0c-29.214 0-50.827 25.58-49.86 53.32.927 26.647-.278 61.165-8.966 89.31C38.802 170.862 24.07 188.707 0 191v26c24.069 2.293 38.802 20.138 47.516 48.37 8.688 28.145 9.893 62.663 8.965 89.311C55.515 382.42 77.128 408 106.342 408h299.353c29.214 0 50.827-25.58 49.861-53.319-.928-26.648.277-61.166 8.964-89.311 8.715-28.232 23.411-46.077 47.48-48.37v-26c-24.069-2.293-38.765-20.138-47.48-48.37-8.687-28.145-9.892-62.663-8.964-89.31C456.522 25.58 434.909 0 405.695 0H106.342zm236.559 251.102c0 38.197-28.501 61.355-75.798 61.355h-87.202a2 2 0 01-2-2v-213a2 2 0 012-2h86.74c39.439 0 65.322 21.354 65.322 54.138 0 23.008-17.409 43.61-39.594 47.219v1.203c30.196 3.309 50.532 24.212 50.532 53.085zm-84.58-128.125h-45.91v64.814h38.669c29.888 0 46.373-12.03 46.373-33.535 0-20.151-14.174-31.279-39.132-31.279zm-45.91 90.53v71.431h47.605c31.12 0 47.605-12.482 47.605-35.941 0-23.46-16.947-35.49-49.608-35.49h-45.602z"/></svg>
|
package/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="408"><defs><linearGradient id="bs-logo-a" x1="76.079" x2="523.48" y1="10.798" y2="365.945" gradientUnits="userSpaceOnUse"><stop stop-color="#9013fe"/><stop offset="1" stop-color="#6610f2"/></linearGradient><linearGradient id="bs-logo-b" x1="193.508" x2="293.514" y1="109.74" y2="278.872" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#f1e5fc"/></linearGradient><filter xmlns="http://www.w3.org/2000/svg" id="bs-logo-c" width="197" height="249" x="161.901" y="83.457" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="8"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape"/></filter></defs><path fill="url(#bs-logo-a)" d="M56.481 53.32C55.515 25.58 77.128 0 106.342 0h299.353c29.214 0 50.827 25.58 49.861 53.32-.928 26.647.277 61.165 8.964 89.31 8.715 28.232 23.411 46.077 47.48 48.37v26c-24.069 2.293-38.765 20.138-47.48 48.37-8.687 28.145-9.892 62.663-8.964 89.311.966 27.739-20.647 53.319-49.861 53.319H106.342c-29.214 0-50.827-25.58-49.86-53.319.927-26.648-.278-61.166-8.966-89.311C38.802 237.138 24.07 219.293 0 217v-26c24.069-2.293 38.802-20.138 47.516-48.37 8.688-28.145 9.893-62.663 8.965-89.31z"/><path fill="url(#bs-logo-b)" filter="url(#bs-logo-c)" stroke="#fff" d="M267.103 312.457c47.297 0 75.798-23.158 75.798-61.355 0-28.873-20.336-49.776-50.532-53.085v-1.203c22.185-3.609 39.594-24.211 39.594-47.219 0-32.783-25.882-54.138-65.322-54.138h-88.74v217h89.202zm-54.692-189.48h45.911c24.958 0 39.131 11.128 39.131 31.279 0 21.505-16.484 33.535-46.372 33.535h-38.67v-64.814zm0 161.961v-71.431h45.602c32.661 0 49.608 12.03 49.608 35.49 0 23.459-16.484 35.941-47.605 35.941h-47.605z"/></svg>
|
package/manifest.json
CHANGED
|
@@ -10,6 +10,19 @@
|
|
|
10
10
|
"dark": ["tokens/system.dark.json", "tokens/semantic.json"]
|
|
11
11
|
},
|
|
12
12
|
"defaultMode": "light",
|
|
13
|
+
"logo": {
|
|
14
|
+
"file": "logo.svg",
|
|
15
|
+
"dark": "logo-white.svg",
|
|
16
|
+
"source": "https://raw.githubusercontent.com/twbs/bootstrap/v5.3.8/site/static/docs/%5Bversion%5D/assets/brand/bootstrap-logo.svg",
|
|
17
|
+
"guidelines": "https://getbootstrap.com/docs/5.3/about/brand/",
|
|
18
|
+
"colours": [
|
|
19
|
+
"#9013fe",
|
|
20
|
+
"#6610f2",
|
|
21
|
+
"#ffffff",
|
|
22
|
+
"#f1e5fc"
|
|
23
|
+
],
|
|
24
|
+
"note": "The colour mark and the white one from Bootstrap's brand page (getbootstrap.com/docs/5.3/assets/brand/), byte for byte as in the v5.3.8 repository. The brand page asks that the mark be used unmodified, in colour, black or white, when referring to Bootstrap. The colour file has width and height but no viewBox, as Bootstrap serves it."
|
|
25
|
+
},
|
|
13
26
|
"provenance": [
|
|
14
27
|
{
|
|
15
28
|
"source": "npm:bootstrap dist/css/bootstrap.css (https://github.com/twbs/bootstrap)",
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyxd/ds-bootstrap",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Bootstrap 5 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",
|
|
11
|
+
"logo-white.svg",
|
|
10
12
|
"README.md",
|
|
11
13
|
"LICENSE",
|
|
12
14
|
"NOTICE",
|