Skip to content

Commit 1719f3a

Browse files
author
Yuriy Kurant
authored
DEV: remove deprecated discourse-search-banner (#63)
This updates the description of the theme. Also, * transitions to a more light-weight `.webp` file type (~61% size reduction for `.png`, and ~35% for `.jpg`) * enhances description to be more specific and fine-grained As the part of the deprecation work of Advanced Search Banner theme component: https://meta.discourse.org/t/379322.
1 parent 001961f commit 1719f3a

21 files changed

+35
-20
lines changed

.github/images/advanced-search.jpg

-127 KB
Binary file not shown.

.github/images/categories.jpg

-79.2 KB
Binary file not shown.

.github/images/main.jpg

-49.1 KB
Binary file not shown.

.github/images/topic-list.jpg

-55 KB
Binary file not shown.

.github/images/topic.jpg

-120 KB
Binary file not shown.

README.md

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,54 @@
22

33
A modern theme for Discourse with a hint of mint.
44

5-
## ⚙️ Configuration
5+
## ⚙️ Theme configuration
66

7-
### Discourse Settings
7+
Change the following settings for this theme to render properly.
88

9-
Following setting changes are required for this theme to render properly:
9+
### Edit Theme
1010

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

14-
### Discourse Search Banner
13+
- in **Dark color palette** dropdown select `mint-dark`
1514

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

18-
- `show-on` options needs to be set to **homepage**
19-
- ~~`plugin-outlet` options needs to be set to **below-site-header**~~
20-
> As of Oct. 4th, 2022: The outlet will be auto-set by the Mint theme
21-
- `background image` can be set as per your requirement
17+
### Interface & layout
18+
19+
Go to **Admin > Interface & layout** (`/admin/config/interface`) page.
20+
21+
- **Top menu** needs to be set to `categories, latest, new, unread, top`
22+
- **Desktop category page style** needs to be set to `Boxes with Subcategories`
23+
24+
![interface and layout](images/interface-and-layout.webp)
25+
26+
### Welcome Banner
27+
28+
Go to **Admin > Welcome banner** (`/admin/config/welcome-banner`) page.
29+
30+
- in **Enabled on themes...** dropdown select `Mint Theme`
31+
32+
![welcome banner themes](images/welcome-banner-enable.webp)
33+
34+
- in **Page visibility** dropdown select `Homepage only`
35+
- in **Location** dropdown select `Below site header`
36+
37+
![welcome banner settings](images/welcome-banner-settings.webp)
2238

2339
## 🖼️ Screenshots
2440

2541
### Homepage (categories)
2642

27-
![main](.github/images/main.jpg)
28-
![categories](.github/images/categories.jpg)
43+
![main](images/main.webp)
44+
![categories](images/categories.webp)
2945

3046
### Latest
3147

32-
![main](.github/images/topic-list.jpg)
48+
![topic list](images/topic-list.webp)
3349

3450
### Topic
3551

36-
![main](.github/images/topic.jpg)
37-
52+
![topic](images/topic.webp)
3853
### Advanced Search
3954

40-
![main](.github/images/advanced-search.jpg)
55+
![advanced search](images/advanced-search.webp)

about.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "Mint Theme",
3+
"authors": "Discourse",
34
"about_url": "https://meta.discourse.org/t/mint-a-modern-theme-for-discourse/202822",
45
"license_url": "https://github.com/discourse/discourse-mint-theme/blob/main/LICENSE",
56
"color_schemes": {
@@ -23,6 +24,5 @@
2324
"hover": "1c302b"
2425
}
2526
},
26-
"components": ["https://github.com/discourse/discourse-search-banner.git"],
27-
"screenshots": ["screenshots/light.png", "screenshots/dark.png"]
27+
"screenshots": ["screenshots/light.webp", "screenshots/dark.webp"]
2828
}

images/advanced-search.webp

86.4 KB
Loading

images/categories.webp

53.1 KB
Loading

images/interface-and-layout.webp

20.5 KB
Loading

0 commit comments

Comments
 (0)