
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@felix-health/felix-app-tailwind-design-system
Advanced tools
Tailwind CSS plugin for Felix's design system
A TailwindCSS preset for our base styles and design tokens at Felix
If you don't already have a tailwind.config.js
file in your project root, generate one with npx tailwindcss init
Run npm i @felix-health/felix-app-tailwind-design-system
or yarn add @felix-health/felix-app-tailwind-design-system
to install the preset in your project
Then add the preset to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
// ...
presets: [require('@felix-health/felix-app-tailwind-design-system')],
};
This preset runs the tailwind config in JIT mode. This means that you must make sure to configure your purge
option in your tailwind.config.js
file with all of your template files so that JIT mode can know which files to scan:
module.exports = {
// These paths are just examples, customize them to match your project structure
purge: ['./public/**/*.html', './src/**/*.{js,jsx,ts,tsx,vue}'],
// ...
presets: [require('@felix-health/felix-app-tailwind-design-system')],
};
We also add the prefix of fx-
to every class via the prefix key by default.
You can continue to add other configurations in your tailwind.config.js
file for things like important
, etc...
If you want a visual representation of what classes the preset by itself generates, we use tailwind-config-viewer.
run npm install
and then npm run tailwind-config-viewer
from the root of the project. This uses the sample tailwind.config.js
file to generate the styles from the preset.
package.json
master
branchNote*
To consume your changes in the vue-components
repository: yarn add @felix-health/felix-app-tailwind-design-system@latest
Learn more about TailwindCSS presets here: https://tailwindcss.com/docs/presets
FAQs
Tailwind CSS plugin for Felix's design system
The npm package @felix-health/felix-app-tailwind-design-system receives a total of 205 weekly downloads. As such, @felix-health/felix-app-tailwind-design-system popularity was classified as not popular.
We found that @felix-health/felix-app-tailwind-design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.