Introductie van kernthema's

We’re excited to announce the launch of core themes - a new approach to theming that’s now built directly into Discourse!

:white_question_mark: What are core themes?

Core themes are built-in, non-editable themes that ship with Discourse. They provide a reliable foundation for your site’s appearance and are maintained and updated with each Discourse release. You can’t directly edit or customise a core theme, which means they’ll always work as intended and stay up-to-date.

:waving_hand: Meet Horizon and Foundation

Our initial core themes are:

  • Horizon: A modern, vibrant look for your community. Read more in the recent announcement.
  • Foundation: Similar to what we previously called “Default.” We’ve renamed this to “Foundation” to avoid confusion, as your site’s default can now be any theme you choose. Like all core themes, Foundation is not directly editable.

Both of these themes are available in all new and existing Discourse sites from today, and will appear in your admin theme library.

:information_source: If you had already customised the “Default” theme in your site, then you will still see it in your dashboard alongside Foundation and Horizon.

:artist_palette: Customising your site

There are two ways of customising your site when using a core theme:

Use theme components

As always, you can continue to use theme components to add customisations and changes to your theme without editing the theme itself. This allows you to provide a consistent experience for your members and maintain granular control over each customisation.

Create a new theme

Simply click Install > Create New in the theme section of your admin. This will generate an editable theme that you can customise to your heart’s content, without affecting the core themes.


Core themes are here to make setup easier and keep your community looking sharp, while still giving you all the flexibility you need for advanced customisation.

:eyes: Try out Horizon or Foundation today, and let us know what you think!

23 likes

Gaan we automatisch over naar “Foundation” wanneer we de volgende keer herbouwen, en zullen bestaande themacomponenten blijven werken? Bedankt.

3 likes

The Horizon and Foundation themes will be added to your site, but your currently selected theme (and theme components) will remain your Default theme.

As an example, I just upgraded a personal site which only had a single theme installed, and this is the resulting theme page:

My components are all still in place, enabled and working as before the upgrade.

8 likes

Wow! I just updated my personal site and the process was very seamless. I deleted my original Default theme, and I now only see the Horizon and Foundation themes in the list. Love it! :clap:

Because I personally sometimes still prefer Foundation, I’ve set them both to be user selectable, and they now appear in the theme switcher in the bottom left corner.

I also set all the new horizon color palettes to be selectable by users. They were not selectable already. Now they all also appear in the color switcher in the bottom left corner, on Horizon. Has anyone figured out yet to have the color switcher for Foundation or any other theme besides Horizon?

This change is definitely worth calling out. While the Foundation theme cannot be edited you can effectively create your own theme with the same starting point and then edit it to you heart’s content.

6 likes

There is Sidebar Color Palette Toggle

2 likes

Ah ja, bedankt daarvoor. Ik heb het geprobeerd, maar het ondersteunt geen lichte/donkere modus zoals de horizon palette chooser dat wel doet. Ik merkte ook dat ik een ander palet kan kiezen wanneer ik op horizon ben en wanneer ik overschakel naar foundation, blijft mijn gekozen palet behouden.

1 like

Niet een direct antwoord op je vraag @tobiaseigen maar:

We werken er actief aan om kleurenpaletten native licht/donker modus te laten ondersteunen, en we doen nog een aantal gerelateerde verbeteringen om het gemakkelijker te maken een kleurenpalet te configureren voor deze ingebouwde thema’s.

We streven ernaar om een deel van die zaken in de komende weken te implementeren.

Als we dat gedaan hebben, is het een goed moment om te bekijken wat we verder nog prioriteit moeten geven met betrekking tot kleurenpaletten.

3 likes