github-actions
released this
19 Oct 02:11
·
3 commits
to main
since this release
Minor Changes
-
5e683ee: Add support for cursor token types. Useful for tokenizing cursor types for interactive components.
Here's an example of how to define a cursor token in your
panda.config.ts
file:// panda.config.ts export default defineConfig({ theme: { extend: { tokens: { cursor: { button: { value: 'pointer' }, checkbox: { value: 'default' }, }, }, }, }, })
Then you can use the cursor token in your styles or recipes.
<button className={css({ cursor: 'button' })}>Click me</button>
This makes it easy to manage cursor styles across your application.