Amy Blankenship
Nov 26, 2022

--

What I've found is there's either some kind of hook somewhere they let you add, or you can find one by digging around in dev tools, which will allow you to get close to the address of the element you're interested in. Once you're there, you can dig in through things like .the-hook > div > a:first-child. Not ideal, but it's what we're left with due to the popularity of CSS in JS. I recently read this, which at least offers a window into why these systems use that kind of approach https://www.joshwcomeau.com/css/designing-shadows/#fitting-into-a-design-system

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)