Skip to content

Colour the treemap evolution with the theme's positive and negative colours - #114

Merged
AltamashShaikh merged 4 commits into
6.x-devfrom
dev-20897
Oct 19, 2026
Merged

AltamashShaikh merged 4 commits into
6.x-devfrom
dev-20897

Conversation

@tzi

@tzi tzi commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

The treemap colours its evolution view with plain red and green. They now use the new @theme-color-negative and @theme-color-positive theme colours added in core, so the treemap matches the evolution badges, sparklines and other trends, and follows the theme.

Companion of the core PR matomo-org/matomo#25499, which adds the colours and points plugins/TreemapVisualization at this branch.

Impact

  • Largest decrease: #ee3024 (the base series red) instead of red.
  • Largest increase: #33B343 instead of green, lighter in dark mode.
  • Not changed: the no-change, label, header and normal node colours.

Step by step tests

  1. Open a report as a treemap, for example Behaviour > Pages, and switch to the evolution view.
    👁️ Pages that grew are green, pages that dropped are red, with the shades in between as before.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

…olours, #dev-20897

The largest decrease and increase used plain red and green. They now use the new
@theme-color-negative and @theme-color-positive tokens (matomo-org/matomo#dev-20897), so they match
the rest of Matomo and follow the theme.
…negative colours, #dev-20897

From matomo-org/matomo CI run 38313484848.
tzi added a commit to matomo-org/matomo that referenced this pull request Oct 12, 2026
…l theme colours, #dev-20897

From CI run 38313484848: evolution badges, sparkline evolutions and min/max dots, the All Websites
KPI cards and sites table, and the Insights report now use the new theme colours. Points
plugins/Bandwidth (matomo-org/plugin-Bandwidth#137) and plugins/TreemapVisualization
(matomo-org/plugin-TreemapVisualization#114) at their screenshot updates. The RowEvolution
screenshots follow once their artifacts are available.
tzi added a commit to matomo-org/matomo that referenced this pull request Oct 13, 2026
…l theme colours, #dev-20897

From CI run 38313484848: evolution badges, sparkline evolutions and min/max dots, the All Websites
KPI cards and sites table, and the Insights report now use the new theme colours. Points
plugins/Bandwidth (matomo-org/plugin-Bandwidth#137) and plugins/TreemapVisualization
(matomo-org/plugin-TreemapVisualization#114) at their screenshot updates. The RowEvolution
screenshots follow once their artifacts are available.
@tzi
tzi requested a review from a team October 19, 2026 08:52
@AltamashShaikh
AltamashShaikh merged commit a140356 into 6.x-dev Oct 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants