Skip to content

CustomizationProvider changing Chat-Composer:focus box shadow #3768

Answered by dosubot bot
bfeldatwilio asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

The CustomizationProvider in Twilio's Paste design system is altering the :focus box shadow of the ChatComposer because it uses the shadow-focus property defined in the design tokens. This property is used to provide a consistent focus state across all interactive elements in the design system.

The shadow-focus property is defined as follows in the provided YAML file:

shadow-focus:
  value: "{!offset-0} {!offset-0} {!offset-0} {!offset-20} {!palette-gray-60}"
  comment: Shadow for focus ring on interactive elements.

This means that when an element is in focus, it will have a box shadow with an offset of 0 in all directions, a blur radius of 20 (as defined by !offset-20), and a color of …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bfeldatwilio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants