Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.57 KB

next-steps.md

File metadata and controls

61 lines (47 loc) · 1.57 KB
  • publish the docs (beta)
  • show warning if value is not on the scale
  • define new scale unit
  • bug: borderTop doesn't take responsive syntax

Next steps

docs \........ theme \ website ..\ library \........
demos ....

Docs:

  1. *tokens - what are they, example, table, customising syntax
  2. customisting tokens
  3. responsive syntax
  4. utilities
  5. credits
  6. built-in themes
  7. readme

Docs website:

  1. wrap customisation docs in base theme
  2. homepage

Library:

  1. add warnings for pixel values
  2. add css variables for theme tokens
  3. convert px to rem in theme
  4. find ways of making library smaller
  5. components: add data-focus for :focus and pass down data-focus from elements like link which can have focus ³
  6. make controlled switch to avoid leaky abstraction
  7. bug: select caret color doesnt sync with theme
  8. global styles via theme
  9. allow variant key default to refer to a different variant
  10. allow variants to be defined inside the component with a variants prop

Demos:

  1. podcast app
  2. make email app
  3. make airbnb card
  4. make skyscanner card
  5. make twitter card

Later:

  1. Improve light theme
  2. add multiple scales of fontsizes to base theme as options (comments)
  3. write document about using other libraries (react router, reach-ui)
  4. docs: highlight lines

Notes:

¹ rust has great errors - https://github.com/sass/sass-spec/pull/1505/files ² look at less verbose errors by folding - https://mariusschulz.com/blog/advanced-javascript-logging-using-console-group ³ implementation: https://codesandbox.io/s/pseudo-class-sticker-sheet-5nwsu