Skip to content

FIX: default.css > Default css/rgb var not dynamic#7356

Merged
donker merged 2 commits into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/rgb-var-not-dynamic
Jul 4, 2026
Merged

FIX: default.css > Default css/rgb var not dynamic#7356
donker merged 2 commits into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/rgb-var-not-dynamic

Conversation

@Timo-Breumelhof

Copy link
Copy Markdown
Contributor

Minor issue, not issue created

Summary

Two of three color channels hardcoded in an otherwise-variable rgba()
File: modules/_tables.scss:56-61 (same rule as 1.3)
background: rgba(
var(--dnn-color-info-r, 2),
139,
255,
0.15);
The red channel comes from --dnn-color-info-r, but green/blue are hardcoded
literals (139, 255) instead of --dnn-color-info-g/-b. Even once 1.3 is
fixed, a theme changing --dnn-color-info can only shift one of the three
channels of this hover tint.

Solution: see 1.3 above - use var(--dnn-color-info-g, 139) and
var(--dnn-color-info-b, 255) so all three channels track the theme's
--dnn-color-info the same way -r already does.

@Timo-Breumelhof Timo-Breumelhof changed the title Default css/rgb var not dynamic FIX: default.css > Default css/rgb var not dynamic Jul 3, 2026
@mitchelsellers

Copy link
Copy Markdown
Contributor

This appears to be a better and more complete fix for #7355 am I correct?

@Timo-Breumelhof

Copy link
Copy Markdown
Contributor Author

@mitchelsellers hmm I think I accidentally have one commit in two PRs, sorry about that

@Timo-Breumelhof

Copy link
Copy Markdown
Contributor Author

@mitchelsellers I guess as this is all minor the easiest is to just drop the other one?

@donker
donker enabled auto-merge July 3, 2026 15:50
@donker
donker added this pull request to the merge queue Jul 4, 2026
Merged via the queue into dnnsoftware:develop with commit b98c3a7 Jul 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants