rm-design
v32.5.0
Published
Import css in App.vue: ```js import 'rm-design/style.css'; ``` ```js import { TextField } from 'rm-design'; ```
Downloads
1,399
Keywords
Readme
Usage
Import css in App.vue:
import 'rm-design/style.css';
import { TextField } from 'rm-design';
Themes
This repo can now utilise the dev.designsystem themes provided. Colours are no longer hard coded and controlled by a prop in the consumer as before. Now the consumer library will import the relevant css file, which will populate the css variables used in the design system. This means that the consumer library will need to be updated to use the new themes. The themes are available in the dev.designsystem repo, and can be imported like so:
import '@/rotamaster/design-system/dist/your-theme.css'
Contributing
Commits
Ensure commits are small, and messages clear and succinct.
PR labels
Ensure PR's are labelled correctly as either:
a) Patch
b) Minor
c) Major (breaking)
Building and publishing
Steps
- Determine the correct new version. We use semver versioning.
- Create a release branch from develop, or the appropriate tag if patching
- In the release branch, increment the version number in package.json.
- Run the following commands:
npm run build-lib
npm publish
- Create a new tag and release in GitHub, tagging from the release branch
- Backfill changes into dev if appropriate (do not update develops version to release branches when patching)