0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/apps/admin-x-design-system
Sodbileg Gansukh e337c266bb
Added dark mode class to the root element of the Admin (#22239)
ref AP-755

- this adds `dark` class to the root <html> element, so it acts as the
source of truth for the apps embedded in the admin
- this also gets rid of the `dark` class from the current design system
and Shade, so the apps wrapped within the corresponding providers don't
output nested `dark` classes
2025-02-20 10:25:49 +08:00
..
.storybook Admin X Design System docs (#19120) 2023-11-23 16:18:59 +01:00
src Added dark mode class to the root element of the Admin (#22239) 2025-02-20 10:25:49 +08:00
test 🐛 Fixed navigations links for Ghost sites hosted on a subdirectory (#21071) 2024-09-23 18:37:05 +02:00
.eslintrc.cjs
.gitignore
package.json Update dependency react-hot-toast to v2.5.2 (#22196) 2025-02-17 01:12:47 +00:00
postcss.config.cjs Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00
preflight.css Admin X demo app content (#19079) 2023-11-22 13:44:39 +01:00
README.md
styles.css Added dark mode class to the root element of the Admin (#22239) 2025-02-20 10:25:49 +08:00
tailwind.cjs
tailwind.config.cjs 🎨 Admin visual design updates (#21987) 2025-01-13 17:23:43 +01:00
tsconfig.declaration.json
tsconfig.json
tsconfig.node.json
vite.config.ts Hidden "info" Vite output unless in CI 2023-11-15 10:11:22 +01:00

Admin X Design

Components, design guidelines and documentation for building apps in Ghost Admin

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests