IIIF-Commons / thumbnail-panel

https://thumbnail-panel.netlify.app
MIT License
3 stars 1 forks source link

Demonstrate overriding styles #23

Open glenrobson opened 1 year ago

glenrobson commented 1 year ago

We have very basic styles (layout) we need to override these by targeting the attribute.

We should also document how this is done. Cite other projects that do it this way (radix).

glenrobson commented 1 year ago

Step 1: tidy up the existing styles. Step 2: dependant on #20 and #21

glenrobson commented 1 year ago

Demo worked on in the meeting:

https://codesandbox.io/s/stupefied-wu-j018dr?file=/src/App.js

Ed is going to style it so it looks more like the UV thumbnail panel and then show a demonstration of overriding.

glenrobson commented 1 year ago

Looking into the default styles using: https://github.com/sindresorhus/modern-normalize