chakra-ui / chakra-ui-vue

⚡️ Build scalable and accessible Vue.js applications with ease.

Home Page:https://vue.chakra-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install, extend theme as Provider props not plugin constant

simpletrontdip opened this issue · comments

  • For multiple language apps, switching language also requires updating the theme, e.g. changing flow direction for RTL language.
  • For now, we install theme via plugin constant injection, this is hard to support the theme switching.
  • We need support installing/extending the global theme as Provider props instead
  • This also helps our tests more clear and concise