Skip to content

Adding Custom CSS Support for all component in Paste #3116

Answered by nkrantz
deepak-thomas-t asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @deepak-thomas-t,

We recommend that Flex customers building custom UIs with Paste use the CustomizationProvider to customize their components.

Using the CustomizationProvider, you can provide an elements prop that allows you to provide specific style overrides to each component type or instance. Here's an example CodeSandbox using the CustomizationProvider to target components. You'll notice that the Alert and Badge components are given specific style overrides across the board, but you can also target specific instances of an element using the element prop on the component, as I'm doing in the CodeSandbox with Inline Code. For certain components, you'll have to target a subcomponent i…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@deepak-thomas-t
Comment options

@SiTaggart
Comment options

@serifluous
Comment options

Answer selected by serifluous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants