# Mint Theme

**URL:** <https://meta.discourse.org/t/mint-theme/202822>\
**Category:** Theme\
**Tags:** official, mint-theme\
**Created:** [September 7, 2021, 12:06pm UTC](https://meta.discourse.org/t/mint-theme/202822 "2021-09-07T12:06:24Z")\
**Posts on this page:** 1\
**Showing post:** 68

<div class="post-metadata">

**Author:** ![hel\_Sinki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hel_sinki/32/525916_2.png) [@hel\_Sinki](https://meta.discourse.org/u/hel_Sinki)\
**Post date:** [December 6, 2025, 3:50am UTC](https://meta.discourse.org/t/mint-theme/202822/68 "2025-12-06T03:50:44Z")

</div>

Hi there,

I ran into an issue when updating the Mint theme from the official Git repo.

**Environment**

- Discourse version: `3.6.0.beta3-latest` (tests-passed)
- Theme source: [GitHub - discourse/discourse-mint-theme: A modern theme with a hint of mint · GitHub](https://github.com/discourse/discourse-mint-theme) (default branch)
- Installed via `/admin/customize/themes` → “Install” → “From a git repository URL”

**Issue**

When I click **“Update to latest”** for the Mint theme in the admin UI (`/admin/customize/themes`), the update fails with this error dialog:

> The theme screenshots must be in one of the following formats: .jpg, .jpeg, .gif, .png. The screenshot light.webp has an invalid format.

In `about.json`, the theme currently references:

```json
"screenshots": [
  "screenshots/light.webp",
  "screenshots/dark.webp"
]

```

However, according to the Discourse theme docs, theme screenshots are only allowed to be jpg, jpeg, gif, or png, so .webp gets rejected by the core validation.

**Steps to reproduce**

1. Install the Mint theme from the official Git repo in /admin/customize/themes.
2. Go to the Mint theme entry.
3. Click **“Update to latest”**.
4. Observe the error dialog about light.webp having an invalid format.

**Proposed fix**

I opened a PR that converts the screenshots to PNG and updates about.json accordingly:

- screenshots/light.webp → screenshots/light.png
- screenshots/dark.webp → screenshots/dark.png
- about.json updated to:

```plaintext
"screenshots": [
  "screenshots/light.png",
  "screenshots/dark.png"
]

```

PR: [Use PNG screenshots for Discourse compatibility by ieduer · Pull Request #64 · discourse/discourse-mint-theme · GitHub](https://github.com/discourse/discourse-mint-theme/pull/64)

With this change, the theme updates cleanly in the admin UI and the screenshots display correctly.

Happy to adjust the PR if there is a preferred way to handle screenshots (or if .webp is meant to be supported by core in the future).

---

_[View the full topic](https://meta.discourse.org/t/mint-theme/202822)._
