Changing color of alert title and login form title

Hi all,

I recently noticed that my login form title and all alert titles are in bright yellow color. It never used to be like this. Is there a way for me to change the alert (and login) title colors to the primary theme color?

I searched through the css, but couldn’t pinpoint where I might change this.

Regards,
Nico

Out of curiosity what colour were they originally? I thought this was always the case (might be being super unobservant here)

Hi Rick, it was previously the same color as my primary theme color.

It’s now a bright yellow.

Have you got a role argument set for the alert?

No, I’m not using any roles for the alerts.

Hi @Neeeco

We’ve investigated at this end, and it turns out that those styles are coming from a dependency-of-a-dependency of your app. Your app depends on one called Drag Grid, which depends on public_ninja_styles, which includes test-1.css in its Native Libraries. And that CSS file modifies all headers.

This wouldn’t have shown up before, because Anvil failed to inherit styles, assets and Native Libraries from dependencies. Now that we’ve fixed that, you’re seeing the issue. At some point we may consider making asset inheritance optional, but in the meantime just remove that CSS import from Native Libraries, and everything should return to normal.

Sorry for the change in behaviour - we try to make updates as backwards-compatible as possible, and this one slipped through the net, being right on the border between bug fix and enhancement!

6 Likes

How can I “remove that CSS import from Native Libraries”? I don’t have an option to do so, and changing the css in test-1.css doesn’t seem to help either.