Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize recipes? #320

Open
adaboese opened this issue Oct 29, 2023 · 2 comments
Open

How to customize recipes? #320

adaboese opened this issue Oct 29, 2023 · 2 comments

Comments

@adaboese
Copy link

adaboese commented Oct 29, 2023

For instance, I want to remove minHeight from textarea recipe. How do I do that?

Tasks

No tasks being tracked yet.
@ossmate
Copy link

ossmate commented Nov 13, 2023

I have similar question, how to add our own variants?

@stvncode
Copy link

If your goal is to have no minimum height restriction on the textArea, one idea to try would probably be :

import { styled } from '@shadow-panda/styled-system/jsx'
import { TextArea } from '~/components/ui/textarea'

export const CustomTextArea = styled(TextArea, {
    base: {
        minHeight: 0 or '0 !important' if not working, 
    },
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants