scala-webapp-template
scala-webapp-template copied to clipboard
Is it possible to change the styles of a NavLinkButton on individual instances or global default?
Hello again!
AppBar.scala has NavLinkButton
s for authenticated and unauthenticated states, and you pass in the path, link text, and onClick.
But I don't see a way to override the default styles in package net.wiringbits.webapp.utils.slinkyUtils.components.core.widgets
NavLinkButton
.
E.g., let's say I wanted to change the color of the links to #0074bf
with .setColor("#0074bf")
.setColor("inherit")
I found this at the NavLinkButton
component, hence, the component will inherit the color from its parent, I'd try setting the color on AppBar.scala
, you could try creating a div with your desired color, hopefully, this will work.