Воздушная тема

|:discourse2: | Сводка | Air Theme — это чистая и современная тема, включающая несколько компонентов для улучшения вашего форума!|
| :eyeglasses: | Предпросмотр | Предпросмотр в конструкторе тем Discourse|
|:hammer_and_wrench: | Ссылка на репозиторий | https://github.com/discourse/discourse-air|
|:open_book: |Новичок в темах Discourse? | Руководство для начинающих по использованию тем Discourse|

Установить эту тему

Возможности

Светлая тема

Тёмная тема

Страница категорий

Эта тема также включает несколько компонентов для улучшения вашего форума.

  • Кликабельные темы
  • Современные блоки категорий и групп

:exclamation: Пожалуйста, ознакомьтесь с этими советами при установке, так как для корректного отображения этой темы необходимо ВКЛЮЧИТЬ несколько настроек.


Советы

Переключатель светлой и тёмной темы

Для корректной работы необходимо включить как минимум два варианта цветовой схемы в разделе https://discourse.jordanvidrine.com/admin/customize/colors. Как минимум у двух цветов должна быть включена опция «Пользователи могут выбирать цветовую схему».

После этого пользователи смогут выбирать между двумя цветовыми схемами как свои предпочтения «светлая» и «тёмная» в меню настроек профиля.


Приветственный баннер

Перейдите на страницу Администрирование > Приветственный баннер (/admin/config/welcome-banner).

  • В выпадающем списке Включено для тем… выберите Air Theme
  • В выпадающем списке Расположение выберите Под заголовком сайта

Современные блоки категорий и групп

Этот компонент темы требует, чтобы ваши категории использовали настройку БЛОКИ КАТЕГОРИЙ С ПОДКАТЕГОРИЯМИ в разделе /admin/site_settings/category/all_results?filter=categories.

Этот компонент темы также позволяет администратору форума организовать страницу категорий с заголовками и выбрать, какие категории отображаются под каждым заголовком. Чтобы сохранить простоту, я разрешил использовать не более 5 заголовков. Если не выбраны настройки категорий и заголовков, все категории будут отображаться так, как показано выше — это вариант отображения по умолчанию.

:discourse2: Размещено у нас? Темы доступны для использования в наших тарифах Standard, Business и Enterprise.

139 лайков

That is just amazing Jordan! :heart_eyes: I love it!

17 лайков

It will be helpful if the welcome message can be hide when left locale field empty :+1:

7 лайков

Oh wow, this looks really nice! Thank you for the share. :slight_smile:

10 лайков

This theme gives discourse the modern look it deserves. Very well done @jordan.vidrine

14 лайков

Theme looks amazing. Awesome work :heart_eyes:

5 лайков

This theme looks so amazing. Hope we can get this category page design as a separate component as well. It is looking way better this way. :heart:

8 лайков

Thanks it is nice…

First time I install a new theme. I really like this one!!

9 лайков

Hi @jordan-vidrine regarding the # of views column, what kind of code shall i add in the component to override that column being hidden ?

3 лайка

I believe this should work:

.full-width .contents .topic-list thead th.posts {
width: 10%;
}

.full-width .contents .topic-list thead th.activity {
width: 10%;
order: 4;
}

th.num.views {
width: 10%;
order: 3;
display: block;
}

.full-width .contents .topic-list tbody tr:not(.topic-list-item-separator) td.posts {
width: 10%;
order: 2;
}

.topic-list .views {
width: 10%;
order: 3;
}

.full-width .contents .topic-list tbody tr:not(.topic-list-item-separator) td.age {
width: 10%;
order: 4;
}
6 лайков

Refreshingly beautiful. Great work @jordan.vidrine!

4 лайка

Is there any possibility to change the header text “Welcome to the forum”

4 лайка

Yes, this can be edited in the Discourse Search Banner component :+1:

3 лайка

A while back I posted an issue with not seeing the categories on a mobile view (☁️ Discourse Air Theme - #172 by Jerdeman). I messaged a bit with @jordan.vidrine, but we were unable to get to the root of the issue. Hopefully someone else has some ideas.

For the details
Using a clean install of Discourse 2.7.11 on kubernetes with the help of a helm chart from Bitnami, and the latest version of the theme installed and configured as mentioned in the opening post, we do not see any categories on a mobile view and styling is off on the latest page.

What we tried
Besides using a clean install, we attempted to use some older versions of the theme as well. The problem however remained, but we did not exhaustively tried all versions.
We also compared the html on our instance with that of discourse.jordanvidrine.com , and noticed that it is significantly different.

Gut feeling
As we cannot use a ‘beta’ version, my gut feeling tells me this is a compatibility issue between the theme or one of its plugins and Discourse 2.7. I’d love to know if someone has this theme working on 2.7, and if so with which versions of the theme and relevant plugins.

Question
Has somebody got this theme working with 2.7 and/or are there any clues on what we could do to get this working?

2 лайка

Hi. first, Thank you for this great theme :smile:

I want to change font-family, How can I do that.

I try this :point_down:

  • download this Theme Google Fonts theme component , and change Font setting on SITE SETTING → Not work

  • add @import{web font link ~~~ } code in Desktop.css, mobile.css → Not work

Which file should I modify to modify the font??? :sob:

3 лайка

I believe you should be able to set a customized font without a component here: admin/site_settings/category/all_results?filter=font

If you want more customization, I believe the google fonts theme component you linked would work. Though, the theme uses theme-settings and not a site setting I believe.

Have you brought this issue up in the topic for that font component?

4 лайка

Hello everyone, can anyone help me change the sizing and “fixed nature” of the background color on mobile?

The css for mobile is transparent on my end. And I just need a little guidance on changing the fixed background for the background colors.

If I’m not mistaken there’s a header background and a page background correct?

3 лайка

This is because the theme and its included components are fairly picky about how the site is set up.

In the OP I shared that:

6 лайков

is there any way to make the background an image? i’d rather have an image than colors. using

body {
    background-image: url("image url here");
    background-color: #cccccc;
}

makes the top of the color thing the image, but not the bottom.

4 лайка

What you did is fine to add the image, but you will also want to remove the clipping path that is created to give that overlay affect.

html .background-container {
clip-path: unset;
}
5 лайков