ioeri-presetcss
v1.0.1
Published
Preset css compose integrated - for ioeri - any UI - tailwind - *postcss required
Downloads
18
Maintainers
Readme
ioeri-presetcss
Preset css compose integrated - for ioeri - any UI - tailwind.
Required
*React library
*postcss
ioeri-presetcss repository
Installation ioeri-presetcss:
using npm
npm install postcss ioeri-presetcss
using yarn
yarn add postcss ioeri-presetcss
Usage
Add ioeri-presetcss
to your postcss.config.js
config:
module.exports = {
plugins: {
'ioeri-presetcss': {
colorSchemeAttr: 'custom-color-scheme', // Replace with the attribute name you want
},
},
};
Now you have access to styling component in to theme.
Sample:
css classes
.class {
color: light-dark(rgb(26 27 30), white);
}
tailwind classes
<span className="text-[light-dark(#1a1b1e,_#fff)]">...</span>
🚨
In practice, some of our syntax/code approach may be incompatible with the library and version you are using.
🏗️
You can join for testing or take part in providing updates.
Contributors
License
MIT License