geneontology / wc-gocam-viz

Web component to visualize GO-CAMs
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Consider strategy for better customization of styling #17

Closed pkalita-lbl closed 8 months ago

pkalita-lbl commented 1 year ago

We're currently working with version 0.0.48 of the widget in AmiGO because that version doesn't include Bootstrap 5. Using that version we were able to get the widget to "look more at home" within AmiGO using a combination of CSS variables and style overrides on various CSS classes. Comparing that to what's in version 0.0.51 it seems like the widget has taken a bit of a step backwards in terms of style customization (CSS variables not used anymore, less specific CSS classes in some components).

Taking a look at Stencil's documentation, they seem to recommend using CSS variables and CSS parts to enable customized styling.