Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .github/images/advanced-search.jpg
Binary file not shown.
Binary file removed .github/images/categories.jpg
Binary file not shown.
Binary file removed .github/images/main.jpg
Binary file not shown.
Binary file removed .github/images/topic-list.jpg
Binary file not shown.
Binary file removed .github/images/topic.jpg
Binary file not shown.
49 changes: 32 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,54 @@

A modern theme for Discourse with a hint of mint.

## ⚙️ Configuration
## ⚙️ Theme configuration

### Discourse Settings
Change the following settings for this theme to render properly.

Following setting changes are required for this theme to render properly:
### Edit Theme

- `top menu` needs to be set to **category, latest, new, unread, top**
- `desktop category page style` needs to be set to **Boxes with Subcategories**
Go to **Admin > Themes & components** (`/admin/config/customize/themes`) page to edit Mint theme.

### Discourse Search Banner
- in **Dark color palette** dropdown select `mint-dark`

In the options for the `discourse-search-banner` theme component, following changes are required for this theme to render properly:
![theme dark color palette](/images/theme-dark-color-palette.webp)

- `show-on` options needs to be set to **homepage**
- ~~`plugin-outlet` options needs to be set to **below-site-header**~~
> As of Oct. 4th, 2022: The outlet will be auto-set by the Mint theme
- `background image` can be set as per your requirement
### Interface & layout

Go to **Admin > Interface & layout** (`/admin/config/interface`) page.

- **Top menu** needs to be set to `categories, latest, new, unread, top`
- **Desktop category page style** needs to be set to `Boxes with Subcategories`

![interface and layout](images/interface-and-layout.webp)

### Welcome Banner

Go to **Admin > Welcome banner** (`/admin/config/welcome-banner`) page.

- in **Enabled on themes...** dropdown select `Mint Theme`

![welcome banner themes](images/welcome-banner-enable.webp)

- in **Page visibility** dropdown select `Homepage only`
- in **Location** dropdown select `Below site header`

![welcome banner settings](images/welcome-banner-settings.webp)

## 🖼️ Screenshots

### Homepage (categories)

![main](.github/images/main.jpg)
![categories](.github/images/categories.jpg)
![main](images/main.webp)
![categories](images/categories.webp)

### Latest

![main](.github/images/topic-list.jpg)
![topic list](images/topic-list.webp)

### Topic

![main](.github/images/topic.jpg)

![topic](images/topic.webp)
### Advanced Search

![main](.github/images/advanced-search.jpg)
![advanced search](images/advanced-search.webp)
4 changes: 2 additions & 2 deletions about.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "Mint Theme",
"authors": "Discourse",
"about_url": "https://meta.discourse.org/t/mint-a-modern-theme-for-discourse/202822",
"license_url": "https://github.com/discourse/discourse-mint-theme/blob/main/LICENSE",
"color_schemes": {
Expand All @@ -23,6 +24,5 @@
"hover": "1c302b"
}
},
"components": ["https://github.com/discourse/discourse-search-banner.git"],
"screenshots": ["screenshots/light.png", "screenshots/dark.png"]
"screenshots": ["screenshots/light.webp", "screenshots/dark.webp"]
}
Binary file added images/advanced-search.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/categories.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/interface-and-layout.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/main.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/theme-dark-color-palette.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/topic-list.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/topic.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/welcome-banner-enable.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/welcome-banner-settings.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
en:
theme_metadata:
description: "A minty colored theme with featured homepage categories and a search banner"
description: "A minty colored theme with featured homepage categories and a search banner."
Binary file removed screenshots/dark.png
Binary file not shown.
Binary file added screenshots/dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/light.png
Binary file not shown.
Binary file added screenshots/light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.