@tryghost/shade 0.1.0-alpha.50 → 0.1.0-alpha.51
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/README.md +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ These steps are for a standalone surface: an app that owns its page, rather
|
|
|
9
9
|
than one bundled into Ghost Admin.
|
|
10
10
|
|
|
11
11
|
Building a Ghost app, which runs framed inside Admin? Follow
|
|
12
|
-
[Using Shade in a Ghost app](https://github.com/TryGhost/Ghost/blob/main/
|
|
12
|
+
[Using Shade in a Ghost app](https://github.com/TryGhost/Ghost/blob/main/clients/shade/src/docs/ghost-apps.mdx)
|
|
13
13
|
instead: it also covers fonts, Admin's theme and the page frame.
|
|
14
14
|
|
|
15
15
|
Shade requires React 18 and Tailwind CSS 4.1+. The app compiles Shade's
|
|
@@ -87,8 +87,8 @@ Import from the layer subpaths, such as `@tryghost/shade/components` and
|
|
|
87
87
|
## Inside Ghost Admin
|
|
88
88
|
|
|
89
89
|
Shade is already set up. Ghost Admin provides Shade's CSS and the `ShadeApp`
|
|
90
|
-
wrapper centrally, so embedded Admin apps, including `
|
|
91
|
-
`
|
|
90
|
+
wrapper centrally, so embedded Admin apps, including `clients/admin` and
|
|
91
|
+
`clients/activitypub`, must not import `@tryghost/shade/styles.css` or add another
|
|
92
92
|
`ShadeApp`. They only import components:
|
|
93
93
|
|
|
94
94
|
```tsx
|
|
@@ -104,11 +104,11 @@ export function Example() {
|
|
|
104
104
|
Shade's docs are its Storybook: how to use tokens, primitives, components,
|
|
105
105
|
patterns and page templates, with live examples. Browse it at
|
|
106
106
|
[shade.ghost.org](https://shade.ghost.org), read the sources in
|
|
107
|
-
[`src/docs/`](https://github.com/TryGhost/Ghost/tree/main/
|
|
107
|
+
[`src/docs/`](https://github.com/TryGhost/Ghost/tree/main/clients/shade/src/docs)
|
|
108
108
|
on GitHub, or run it from a Ghost checkout with `pnpm storybook` in
|
|
109
|
-
`
|
|
109
|
+
`clients/shade`.
|
|
110
110
|
|
|
111
111
|
## Working on Shade?
|
|
112
112
|
|
|
113
|
-
See [CONTRIBUTING.md](https://github.com/TryGhost/Ghost/blob/main/
|
|
113
|
+
See [CONTRIBUTING.md](https://github.com/TryGhost/Ghost/blob/main/clients/shade/CONTRIBUTING.md)
|
|
114
114
|
for development, layers, conventions, tests and publishing.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/shade",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.51",
|
|
4
4
|
"description": "Ghost design system for React apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/TryGhost/Ghost.git",
|
|
10
|
-
"directory": "
|
|
10
|
+
"directory": "clients/shade"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"es",
|