You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
I do have a few questions about the Chakra UI Vue Next code.
In packages/c-color-mode/src/color-mode.utils.ts, we have as ColorMode['value']. Why does this have to be an array notation? Could a dot notation be used here?
In packages/core/src/index.ts, is the default color mode now dark?
Inside the playground at packages/core/src/index.ts, the colors are set, does this mean there is no default light and dark color scheme set in the default Chakra Theme?
How does the responsive styled props work with components? I don't really understand which type the props need to be. Because I've set the props in CFlex to ArrayOrStringProp (example: align?: ArrayOrStringProp<CSS.Properties['alignItems']>) but now it doesn't seem to work with the responsive object notation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I do have a few questions about the Chakra UI Vue Next code.
In packages/c-color-mode/src/color-mode.utils.ts, we have
as ColorMode['value']
. Why does this have to be an array notation? Could a dot notation be used here?In packages/core/src/index.ts, is the default color mode now dark?
Inside the playground at packages/core/src/index.ts, the colors are set, does this mean there is no default
light
anddark
color scheme set in the default Chakra Theme?How does the responsive styled props work with components? I don't really understand which
type
the props need to be. Because I've set the props inCFlex
toArrayOrStringProp
(example:align?: ArrayOrStringProp<CSS.Properties['alignItems']>
) but now it doesn't seem to work with the responsive object notation.Thanks a lot,
Beta Was this translation helpful? Give feedback.
All reactions