liip/kanbasu

Version 3 roadmap

Closed this issue · 1 comments

Here is a list of current problems I see with Kanbasu 2 that I would like to fix in the next major version:

  • It provides components or variants that are rarely used in project, or too much customized, so providing a default doesn't really make sense; for exemple: box, btn--small, btn--large, field--small, field--large.
  • The configuration is either incomplete or too complex. For example the field style goes probably too far whereas it's not possible to change headings default font-sizes.
  • There are multiple classes that apply the same properties and bloat the CSS, for example grid--middle == media--middle == pusher--middle, and could be achieved with a single utility class.
  • Settings "ranges" like colors, font sizes, spacings, breakpoints, widths, … should all be Sass maps and utility classes should loop on them to generate classes. We should encourage the usage of PurgeCSS to remove unused classes.
  • There should be more "spacings" values by default using a range that scales easily, for example 0, 1, 2, 3, 4, 5, 6, … instead of tight, tiny, small, large, huge.
  • All utility classes and component variants should be possible to be applied per-breakpoint
  • Breakpoint-specific classes should be refactored to all use the same naming convention.
  • Lists inline should be refactored to not add unexpected spaces on the sides when it wraps on multiple lines