You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is great, but it encourages developers to use any color to control the plus icons.
Ideally, there is a list of exported color options similar to the Testimonial component where we have common color names ('green', 'blue', 'purple', etc) that we can pass as a prop to the FAQ component and it would automatically add the color to the plus icon.
Currently, we would need to maintain a map in Dotcom to support this feature and ideally this collection of values would live at the PB level.
Also, we don't need granular control of each plus icon, just for the whole collection of frequently asked questions.
Thank you for your help! Let me know if more context is needed. ❤
The text was updated successfully, but these errors were encountered:
Howdy Primer Brand!
The SWP team is looking to add controls in Contentful so that content editors can control the color of the FAQ plus icon.
Currently, the FAQ component supports color customization by leveraging css variables: https://primer.style/brand/components/FAQ/react#color-customization
This is great, but it encourages developers to use any color to control the plus icons.
Ideally, there is a list of exported color options similar to the Testimonial component where we have common color names ('green', 'blue', 'purple', etc) that we can pass as a prop to the FAQ component and it would automatically add the color to the plus icon.
Currently, we would need to maintain a map in Dotcom to support this feature and ideally this collection of values would live at the PB level.
Also, we don't need granular control of each plus icon, just for the whole collection of frequently asked questions.
Thank you for your help! Let me know if more context is needed. ❤
The text was updated successfully, but these errors were encountered: