Thème Ghost

:discourse2: Résumé Ghost est inspiré du genre cyberpunk.
:eyeglasses: Aperçu Aperçu sur le Créateur de thèmes Discourse
:hammer_and_wrench: Lien du dépôt https://github.com/discourse/ghost
:open_book: Nouveau sur les thèmes Discourse ? Guide de démarrage pour utiliser les thèmes Discourse

Installer ce thème

Fonctionnalités

Inspiré du genre cyberpunk, ce thème capture le sentiment de rébellion et le paysage urbain dystopique en introduisant des couleurs néon et des glitches subtils dans l’interface.


Crédits

Créé par @melhosseiny, avec des remerciements à @awesomerobot et à l’équipe Discourse pour avoir soutenu ce travail.


Source : Corporations sur Behance


:discourse2: Hébergé par nous ? Les thèmes sont disponibles pour une utilisation sur nos offres Standard, Business et Entreprise.

63 « J'aime »

I like it! :slight_smile:

3 « J'aime »

How do I make it not change my primary logo color?
It’s currently red, when naturally it’s blue.

2 « J'aime »

If you add this css your logo will remain unchanged.

.d-header .logo-big, .d-header #site-logo {
  filter: unset;
}
6 « J'aime »

Hello,

How do I remove the glow from the buttons, and change to color of the topic editor (from blues).

Thank you in advance!

To remove the glow, you can set box-shadow to none for default, primary and danger buttons on hover

.btn.btn-default, .btn.btn-primary, .btn.btn-danger {
  .discourse-no-touch & {
    &:hover, &.btn-hover {
      box-shadow: none;
    }
  }
}

To also remove it from navigation bars (including the main one)

.nav-pills, .admin-controls .nav-pills {
  >li>a:hover, >li.active>a, >li>a.active {
    box-shadow: none;
  }
}

// On mobile only
.nav-pills > li.navigation-toggle {
  box-shadow: none;
}

To change the background color of the topic editor, I suggest you look at the theme’s source code and search for where the $bios sass variable is used. For example, to change the background color of the composer to a red color

#reply-control {
  background: red;
}

If you do that, you probably also want to change the composer popup’s background as well (it pops up when you start typing and doesn’t show up on mobile)

// On desktop only
#composer-popup {
  background: red;
}
4 « J'aime »

Thank you! I’ll give it a try!

Ghost changes some topic templates and make a bunch of stuff flex, so it will be incompatible with any other plugin or theme that expects the standard Discourse topic template. Getting it to play with other plugins is not planned and out of scope of this theme.

11 « J'aime »

Just dropping in a bug report from one of my users regarding this theme:

I attempted to resize the text via Discourse preferences, (Preferences > Interface) and the change isn’t taking effect. The Larger Font theme is contrary to my needs, so I can’t use it as a workaround.

MacBook 2015
Mojave 10.14
Firefox 63.0.1
Ghost theme
Screenshots:


Set to “largest” font:

And…

Set to “Smaller” font:

Passing this along on behalf of my users!

3 « J'aime »

The font size is hard coded into the theme, so it can’t be overwritten with the text size selector. It would be a fairly small change to update the theme to set the font size based on the classes that get added to Discourse by the text size selector. I’ve tested it out with the font set to 14px, and it seems to me that the theme still looks good with the font at this size. It is possible that it breaks the layout in places that I haven’t looked at though.

6 « J'aime »

Updated the theme to fix the broken avatars in the topic list on mobile due to

8 « J'aime »

Submitted a pull request to fix various issues I’ve been noticing on Meta (category page, user menu, admin/settings pages, alerts and others) :rabbit2:

11 « J'aime »

Advanced search filters appear to not work unless manually typed out.
I can see underscores being added to the beginning of file names before fetching, resulting in a 403/4.

3 « J'aime »

Thanks for reporting this. Ghost restructures the full-page-search template and the original template seems to have diverged since. @Falco @awesomerobot I submitted a pull request to use the original template as it is no longer necessary to override it

6 « J'aime »

love it :heart: ~~~~~~~~~~

2 « J'aime »

This theme is well done and fun on mobile!

Thanks to all who contributed to make it even better!

2 « J'aime »

J’ai reçu ceci de l’un de mes utilisateurs :

Les ancres ne s’affichent pas correctement dans les boîtes de description des catégories (bien qu’elles s’affichent correctement dans le sujet épinglé où se trouve la description)

1 « J'aime »

Super thème !

Cependant, lors de son installation sur mon site, je constate que les liens « articles similaires » et « articles suggérés » en bas de chaque publication se chevauchent. Voir capture d’écran :

J’adore ce thème ! Mon seul reproche est que le composant d’aperçu d’image ne fonctionne pas avec lui. Les images d’aperçu ne s’affichent pour aucune raison.

1 « J'aime »

L’avez-vous signalé dans le composant de thème que vous avez lié ?

Je vois que oui.

Ce Theme component pourrait fonctionner en alternative :