security-code
security-code copied to clipboard
refactor: do plugin universal css agnostic
hi @lilianjin, i'm suggest do plugin css agnostic:
- [ ] remove tailwind classes from plugin
- [ ] add specific plugin classes like (sc-container, sc-wrapper, sc-input etc...)
- [ ] add styles to
.cssfor vanilla css (compiled with tailwind) and importing if need [1] - [x] add to
package.jsonseparate exports for css files - [ ] add instruction how to use with tailwind and well-now classes with
@applysyntax [2] - [x] rewrite to typescript
[1]
// importing styles if need css
import 'ofcold-security-code/styles.css'
.sc-container {
display:flex;
margin-left: auto;
margin-right: auto;
}
[2]
.sc-container {
@apply flex flex-direction ml-auto mr-auto
}
Thank you for your excellent proposal! I will finish it in some time, and I have other things busy recently.