A Google Analytics inspired theme for Matomo, in light and dark mode.
A Google Analytics inspired theme for Matomo, in light and dark mode.
Theme.configureThemeVariables event as [light, dark] pairs, so core and third party plugins pick them up.>=5.10.0,<6.0.0-b1)There are no settings. To customize the colors, override the --theme-color-* CSS variables from your own plugin, or fork the theme. See docs/index.md.
Openmost is an official Matomo Implementation Partner. We also build custom Matomo themes in your own brand colours and fonts, on the official theme API, in light and dark mode.
Google Theme is a Matomo theme plugin that re-skins the standard interface to look and feel like Google Analytics. It is purely visual: no HTML, behavior, or reporting logic is modified.
The theme hooks into Matomo's Theme.configureThemeVariables event to override the values of Matomo's built-in theme variables, colors, surfaces, borders, typography, focus rings, and so on. Because Matomo natively supports two color schemes, every variable is provided as a [light, dark] pair, which means dark mode is supported out of the box and follows whatever scheme the user picks in their settings.
On top of the variable mapping, a small set of LESS stylesheets refine specific components for a more cohesive Google-Analytics-style rendering.
GoogleTheme/
├── GoogleTheme.php # Plugin class, maps Matomo theme variables to Google's palette
├── plugin.json # Plugin metadata (version, Matomo compatibility, stylesheet entry)
├── stylesheets/
│ ├── theme.less # Entry point, imports everything below
│ ├── _fonts.less # Google Sans (Product Sans) @font-face declarations
│ ├── layout/
│ │ ├── _root.less # CSS custom properties / root-level rules
│ │ └── _main.less # Page-level layout adjustments
│ └── components/
│ ├── _admin_users_list.less
│ ├── _alert.less
│ ├── _button.less
│ ├── _card.less
│ ├── _header.less
│ ├── _menu.less
│ ├── _search.less
│ ├── _sparkline.less
│ ├── _visitor_log.less
│ └── _widget.less
├── fonts/ # Bundled Product Sans font files (no external requests)
├── docs/
└── screenshots/
Component-level overrides live in stylesheets/components/:
GoogleTheme.php defines:
#1a73e8) with a lighter variant for dark mode.#ffffff, #f8f9fa, #f1f3f4, #e8eaed.#202124, #292a2d, #3c4043, #17181b."Google Sans", Arial, Helvetica, sans-serif. The Product Sans family ships with the theme under fonts/.If you want to fork or customize the palette, those values are the place to start.
The theme is deliberately split into small, focused LESS files. If you contribute, please:
theme.less).Issues and pull requests: https://github.com/openmost/GoogleTheme.
Google Theme is published on the official Matomo Marketplace and installs the same way as any plugin:
You can also install manually by copying the GoogleTheme folder into the plugins/ directory of your Matomo installation and activating it from the admin panel.
Matomo 5.10.0 and later, up to but not including Matomo 6.x. The exact requirement is declared in plugin.json and enforced by Matomo at install time.
Yes. Matomo themes are instance-wide: once activated, every user sees the new look. Individual users cannot opt out, but they can still toggle between Matomo's light and dark color schemes from their personal settings, the theme supports both.
Yes. Every color variable is mapped to both Matomo color schemes, so the interface follows whichever mode the user has selected without any additional configuration.
No. The theme is purely visual, it overrides CSS variables and a small set of component styles via LESS. It does not modify HTML, JavaScript, or any reporting logic, so it should not conflict with other plugins. If you ever uninstall it, Matomo immediately falls back to the default theme.
No. The Product Sans font family is bundled with the theme under fonts/ and served from your own Matomo instance. There are no requests to Google or any third party.
Absolutely. Color values and the font family are centralized in GoogleTheme.php, and component styles live as small LESS files under stylesheets/. Edit those, recompile via Matomo's normal asset pipeline, and you have your own variant. The theme is GPL v3+, so feel free to fork it.
Bug reports with screenshots (light and dark mode if relevant) and the affected Matomo version are especially helpful.
It is actively maintained by Openmost and used in production on several Matomo instances, so fixes for visible regressions usually land quickly. Compatibility updates follow each new Matomo major release.
View and download this plugin for a specific Matomo version: