Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
adhara-theme
Advanced tools
Boilerplate to render [Ant Design](https://ant.design/) components into [Storybook](https://storybook.js.org/), so you can easily edit the theme
Boilerplate to render Ant Design components into Storybook, so you can easily edit the theme
git clone https://github.com/minheq/antd-theme-editor.git
yarn
...and you are ready!
Run the command
yarn storybook
Visit localhost:6006
to view Storybook
There is ready src/antd-theme-override.less
for editing antd default variables
You can also edit css file src/style-override.css
for overriding/editing styles of antd classes
After you are done editing the variables and styles, export via this command
yarn export
The exported files will be found in dist
directory, copy and use in your project
Stories are already created based on the antd repository. You can also update them by importing antd
components via git submodules and running a script to create or update stories.
git submodule update --init --recursive // Adds antd submodule to the project
git submodule update --remote --rebase // Update antd submodule if it is outdated
yarn create-stories // Creates the stories
yarn prettier // Run prettier code formatting on the created stories
The script runs the file scripts/createStoriesFromAntdDemos.js
.
FAQs
Boilerplate to render [Ant Design](https://ant.design/) components into [Storybook](https://storybook.js.org/), so you can easily edit the theme
The npm package adhara-theme receives a total of 2 weekly downloads. As such, adhara-theme popularity was classified as not popular.
We found that adhara-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.