@polyxd/ds-shadcn 0.2.2 → 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 +45 -0
- package/README.md +6 -0
- package/logo.svg +5 -0
- package/manifest.json +9 -0
- package/package.json +2 -1
package/NOTICE
CHANGED
|
@@ -135,6 +135,51 @@ 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
|
+
|
|
170
|
+
## Template packs
|
|
171
|
+
|
|
172
|
+
Twelve packs are original Polyxd templates, not readings of any design system:
|
|
173
|
+
`@polyxd/ds-sketch`, `@polyxd/ds-wireframe`, `@polyxd/ds-editorial`,
|
|
174
|
+
`@polyxd/ds-brutalist`, `@polyxd/ds-glass`, `@polyxd/ds-terminal`,
|
|
175
|
+
`@polyxd/ds-pastel`, `@polyxd/ds-civic`, `@polyxd/ds-finance`,
|
|
176
|
+
`@polyxd/ds-health`, `@polyxd/ds-neon` and `@polyxd/ds-mono`. Every value in
|
|
177
|
+
them was chosen for the template, they vendor nothing, and they are Apache-2.0
|
|
178
|
+
like the rest of Polyxd. The typefaces some of them name (Caveat, Patrick Hand,
|
|
179
|
+
Fraunces, Nunito, JetBrains Mono, Space Grotesk) are under the SIL Open Font
|
|
180
|
+
License and are loaded from Google Fonts by the page that uses them, never
|
|
181
|
+
distributed here.
|
|
182
|
+
|
|
138
183
|
## Specification
|
|
139
184
|
|
|
140
185
|
### A2UI
|
package/README.md
CHANGED
|
@@ -39,3 +39,9 @@ Three places where shadcn's default theme doesn't clear the contract's floor, al
|
|
|
39
39
|
| `color.border.focus` | `--ring` | 2.59:1 on `--background` | `zinc-600` |
|
|
40
40
|
|
|
41
41
|
The focus one is worth stating plainly: a focus indicator at 2.59:1 is hard to see, and a generated surface has to be operable by keyboard.
|
|
42
|
+
|
|
43
|
+
## Logo
|
|
44
|
+
|
|
45
|
+
`logo.svg` is the shadcn/ui mark from the project's own site code, [`apps/v4/components/icons.tsx`](https://github.com/shadcn-ui/ui/blob/98a1fe67b439324ddc857f47fbdce056600a4329/apps/v4/components/icons.tsx) (`Icons.logo`), copied into a standalone SVG: the viewBox, the rectangle and both lines verbatim, with the JSX attribute names written the SVG way. It draws in `currentColor`, which is black in an `<img>`. shadcn publishes no logo guidelines; the repository is [MIT](https://github.com/shadcn-ui/ui/blob/main/LICENSE.md).
|
|
46
|
+
|
|
47
|
+
shadcn/ui and its logo are trademarks of shadcn, used here to identify the design system this pack is modelled on. Polyxd is not affiliated with shadcn.
|
package/logo.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
|
|
2
|
+
<rect width="256" height="256" fill="none" />
|
|
3
|
+
<line x1="208" y1="128" x2="128" y2="208" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" />
|
|
4
|
+
<line x1="192" y1="40" x2="40" y2="192" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" />
|
|
5
|
+
</svg>
|
package/manifest.json
CHANGED
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
"dark": ["tokens/system.json", "tokens/system.dark.json", "tokens/semantic.json"]
|
|
11
11
|
},
|
|
12
12
|
"defaultMode": "light",
|
|
13
|
+
"logo": {
|
|
14
|
+
"file": "logo.svg",
|
|
15
|
+
"source": "https://raw.githubusercontent.com/shadcn-ui/ui/98a1fe67b439324ddc857f47fbdce056600a4329/apps/v4/components/icons.tsx",
|
|
16
|
+
"guidelines": "https://github.com/shadcn-ui/ui/blob/main/LICENSE.md",
|
|
17
|
+
"colours": [
|
|
18
|
+
"currentColor"
|
|
19
|
+
],
|
|
20
|
+
"note": "Icons.logo in the shadcn/ui site's own icons.tsx, copied into a standalone SVG: the viewBox, the rect and both lines verbatim, with the JSX attribute names written the SVG way (strokeWidth as stroke-width). It draws in currentColor, black where no colour is set. shadcn publishes no logo guidelines; the repository is MIT."
|
|
21
|
+
},
|
|
13
22
|
"provenance": [
|
|
14
23
|
{
|
|
15
24
|
"source": "shadcn/ui default theme (https://github.com/shadcn-ui/ui, apps/v4/app/globals.css)",
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyxd/ds-shadcn",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "shadcn/ui on Tailwind CSS 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",
|