Skip to content

Latest commit

 

History

History
88 lines (53 loc) · 2.5 KB

README.md

File metadata and controls

88 lines (53 loc) · 2.5 KB

Gnosis Chain Discourse Theme

Custom theme used in the GnosisDAO Forum.

Installation

Installing the package is quite simple, first of all create a tar.gc package containing the project:

tar --exclude .DS_Store --exclude .github --exclude .git --exclude old_versions -zcvf gc.tar.gz discourse-gnosischain-theme

In your administration panel, go to Customize > Theme > Install, choose the package and click on install.

You can then choose to enable the theme by default for all users or let them choose which one to use.

Components

Setup

In the admin panel go to the settings page and set the following properties.

Fixed category positions (fixed_category_positions)

Must be turned on (URL /admin/site_settings/category/all_results?filter=fixed_category_positions).

Desktop category page style

Must be set to categories and latest topics (URL /admin/site_settings/category/basic?filter=category).

Category style

Must be set to bullet.

Top menu

Must be set to the following:

  • categories
  • latest
  • top
  • unread
  • new

Categories

For Gnosis DAO forum only, go to /categories click on tools and then on "Reorder categories":

  • General 0
  • Governance 1
  • Treasury 2
  • Knowledge Base 3
  • Delegate communication 4
  • Announcements 5
  • Staff 6
  • Internall staff 7
  • Uncategorized 8

Fonts

Lincensed fonts are manually uploaded. Ensure that you have the appropriate font files in either .ttf, .otf, or .woff format.

Upload the Fonts to Discourse:

  • Log in to your Discourse instance as an admin.
  • Navigate to the Admin section by clicking on your avatar and selecting "Admin."
  • Go to Customize > Themes. Choose the theme you wish to modify.
  • Go to the Uploads section and upload your font files by + Add button.

Dark mode

Operating systems and browsers might enforce the dark mode automatically.

In order for Discourse to pick up a color palette of your choice for the dark mode, go to settings > Basic Setup > default dark mode color scheme ID and choose the right value for it.

Resources