mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
9f13ad0716
ref DES-797 A lot of visual details of the Admin is outdated and inconsistent with newer UI components such as settings. This PR improves several of these inconsistencies and refreshes the visual design of the Admin outside settings. In details the following components have been updated: - Input fields and dropdowns use grey background color in Post settings menu when not in-focus - Got rid of the grey background for sections in Member details and Tag details - Updated typography details esp. as font-weights and sizes - Updated modal corners, shadows - Added a way to close the main navigation - Updated main navigation styles - Added flat background color for list items on hover - Updated subscription cards in Member details - Further smaller visual design changes |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.cjs | ||
.yarnrc | ||
index.html | ||
node-shim.cjs | ||
package.json | ||
playwright.config.mjs | ||
postcss.config.cjs | ||
README.md | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.mjs |
Admin X Settings
Ghost Admin Settings in React
Development
Pre-requisites
- Run
yarn
in Ghost monorepo root
Running the development version
Run yarn dev
to start the development server to test/develop the settings standalone. This will generate a demo site from the index.html
file which renders the app and makes it available on http://localhost:5173
Running inside Admin
Run yarn dev
(like you would run Ghost dev normally) from the top-level repo. AdminX will automatically rebuild when you make changes.
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test:acceptance
runs acceptance testsyarn test:unit
runs unit testsyarn test:acceptance path/to/test
runs a specific testyarn test:acceptance:slowmo
runs acceptance tests in slow motion and headed mode, useful for debugging and developing tests