konstaui / konstaui.com

Konsta UI website
https://konstaui.com
30 stars 13 forks source link

[Vue] Default theme of the Kitchen Sink demo and component examples #9

Closed DAnn2012 closed 1 year ago

DAnn2012 commented 1 year ago

Hello @nolimits4web

Please note that in the Vue pages, the Kitchen Sink demo and the component examples open by default with the Material Theme.

Thanks.

Kitchen Sink demo: Schermata 2022-09-15 alle 16 23 39

For example, the Action Sheet component: Schermata 2022-09-15 alle 16 24 06

DAnn2012 commented 1 year ago

Hello @nolimits4web

in this commit (https://github.com/konstaui/konsta/commit/8173f87f018e8f428f1eaa8638d06ea2d95fe5c5#diff-2a0b941e760af84c1c1ab6b105ce1fe59d868776cb1bc4b84f791ef286cd13be) the default KS theme has been changed from 'ios' to 'material', but only in the Vue version.

Why?

DAnn2012 commented 1 year ago

In the file src/vue/components/App.vue at this commit (https://github.com/konstaui/konsta/commit/e6437dcfa9dd831a5f6a2cc8825f8d0ba5a359cb#diff-6efc842a18caab654796bd80fe644afb3bc24a9af9c1b931c2f4dede38cca3f7) 'material' is set as the default theme.

But even in these src/react/components/App.jsx and src/svelte/components/App.svelte files 'material' is set as the default theme, but in the examples pages for React and Svelte the 'ios' theme is then displayed on first loading.