@24hr/resursbank-theme 中文文档教程
Resurs Bank Theme
该模块仅导出一个包含样式属性的对象。 这意味着与 emotion-theming
一起使用。
Why a npm module?
自从我们开始开发 Gutenberg 块以来,我们开始发现跟踪必须彼此同步的多个主题文件很麻烦。
Want to contribute?
贡献很容易!
克隆 repo 并从 master 创建一个新分支。
进行更改。
运行
make bump
并选择您的更改是主要还是次要 och 补丁。承诺并推动。
向 master 发出合并请求。 CI 管道会将您的新版本发布到 NPM!
Resurs Bank Theme
This module just exports an object containing styling properties. This is meant to be used together with emotion-theming
.
Why a npm module?
Since we started developing Gutenberg blocks we started to find it cumbersome to keep track of multiple theme files that had to be in sync to each other.
Want to contribute?
It's easy to contribute!
Clone the repo and create a new branch from master.
Make your changes.
Run
make bump
and choose if your changes are major, minor och patch.Commit and push.
Make a merge request to master. The CI pipeline will publish your new version to NPM!