Skip to content
Advertisement

Tag: tailwind-css

Design system: styles override using TailwindCSS

I am trying to create a Design System using ReactJS and TailwindCSS. I created a default Button component with basic styling as follow: I then use the Button in my page like: This is what is displayed: Some attributes are overridden like the background-color but some aren’t (the rest). The reason is the classes provided by TailwindCSS are written in

Is there a way to remove the arrows from an input type but keeping it scoped to only a specific component?

I want to remove the arrows from my input field but I want to keep it scoped to only the text fields of this component. my text field I’ve tried to use this solution from a somewhat similar problem: https://github.com/vuejs/vue-loader/issues/559#issuecomment-271491472 As well as this one: https://github.com/vuetifyjs/vuetify/issues/6157#issue-399264114 But they don’t really seem to function. Answer scoped styles are designed to affect

Advertisement