evilmartians / figma-polychrom

Figma plugin for displaying the contrast level and font size recommendations according to the APCA method
https://www.figma.com/community/plugin/1281280685402026529/polychrom
MIT License
67 stars 5 forks source link

Move lurker to component #8

Closed ai closed 1 year ago

ai commented 1 year ago

Right now CSS of lurkers are inside of main ui/style.css. But it is not good for component-isolation approach.

Main CSS should be for basic things like reset and base styles like * { box-sizing: border-box }

mikhin commented 1 year ago

it is not good for component-isolation approach.

If we have large enterprise application with a large subject area and business logic, then yes, I agree that component isolation becomes an important tool.

In our case it is an insignificant detail