docs: remove rules
This commit is contained in:
parent
b90d73663b
commit
c7b4a306df
@ -4,14 +4,6 @@ Shared UI Component Repository.
|
||||
|
||||
My goal is to create **fully typesafe**, **highly customizable** component with **minimum complexity**.
|
||||
|
||||
## Rules of PSW-UI Development
|
||||
|
||||
- **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.
|
||||
- **Keep component isolated.** Leave them alone. Don't make one dependent to others.
|
||||
|
||||
## Milestones
|
||||
|
||||
- Component Implementation
|
||||
|
Loading…
x
Reference in New Issue
Block a user