docs: update README
This commit is contained in:
parent
49641e26ed
commit
cb02f51d01
@ -6,7 +6,7 @@ My goal is to create **fully typesafe**, **highly customizable** component with
|
||||
|
||||
## Rules of PSW-UI Development
|
||||
|
||||
- **Minimum complexity**. Miminum shared utility & runtime dependency.
|
||||
- **Minimum copy & paste**. Minimize shared utility & runtime dependency, keep shared utility used in all component. Any shared utility that is not used in all components should be in each component file.
|
||||
- **Simplicity** over **Versatility**. Make it easy to edit, so user can easily add or patch their own code to the component.
|
||||
- **Hate script.** If you can do that with CSS, just do that with CSS. Why use JS?
|
||||
- **Stick with the defaults.** Just let others do their customization. And, well, TailwindCSS's default theme is pretty cool.
|
||||
|
Loading…
x
Reference in New Issue
Block a user