@frontiersusa/press-css
v6.0.1
Published
Press is a collection of utility styles for Frontiers properties.
Maintainers
Readme
PRESS CSS
Styles for Frontiers properties.
Using in other projects
cdinto your project directory andnpm install @frontiersusa/press-css.- Copy
tailwind.config.jsto your project's root or reference it in your project - Add web fonts:
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
CSS Support
- Official support for >1% and last 3 of browsers.
- Basic support for IE 10 & 11.
- IE 9 and earlier are not supported.
Maintaining this repository
This section is for maintainers only.
Local Setup
- Run
git clone https://github.com/frontiersusa/press-css.gitto clone locally. cdinto the cloned directory andnpm install.npm run startto serve and watch
Building
Run npm run build to build locally, though this will be done automatically done during deployment.
Editing
This project uses Tailwindcss to generate all styles. Please read Tailwind's documentation carefully before making edits.
Deployment
Press CSS uses a simple script (deploy.sh) to deploy to this repository. It does the following:
- Bumps the current version using release-it.
- Deploys to the repository and creates a new release (also with release-it).
- Deploys
/docsdirectory to branchgh-pages.
