useStickyBar
A hook that returns color tokens with appropriate contrast for text and icon based on the background color of the parent StickyBar.
Import
import { useStickyBar } from '@resultadosdigitais/tangram-components'
Returns
resources
resources.backgroundColor
resources.textColorToken
resources.iconColorToken
Feedback
To report a problem, request new icons, request new component use cases, ask questions, share suggestions, or report bugs, get in touch through our Slack channel #tangram-design-system.