Tema Minima

:discourse2: Riepilogo Minima - L’obiettivo di questo tema è ridurre l’interfaccia utente e concentrarsi sul testo.
:eyeglasses: Anteprima Anteprima su Discourse Theme Creator
:hammer_and_wrench: Link al repository https://github.com/discourse/minima
:open_book: Nuovo a Discourse Themes? Guida per principianti all’uso di Discourse Themes

Installa questo tema

Funzionalità

Ho revisionato tutto, ingrandito il testo e rimosso quasi tutto ciò che era ridondante (e tutto ciò che non uso regolarmente). Ad esempio, so che gli argomenti suggeriti sono argomenti suggeriti, quindi ho rimosso l’intestazione. Ho usato la selezione multipla nell’elenco degli argomenti forse due volte in assoluto, quindi l’ho eliminata. Le visualizzazioni nell’elenco degli argomenti? Eliminate. Le categorie nel menu hamburger? Eliminate.

Hai capito il concetto, ecco il tema.

Per un minimalismo ancora maggiore, ti consiglio di utilizzare il layout Solo categorie per la pagina delle categorie.


:discourse2: Ospitato da noi? I temi sono disponibili per l’uso nei nostri piani Standard, Business e Enterprise.

39 Mi Piace

Glorious serifs! I love it.

The desktop :hamburger: menu listing all the other themes seems odd to me, though.

5 Mi Piace

I’m LOVING this theme, especially the topic list, amazing work :heart:


A couple of tiny issues in PM’s, a missing icon:

and I feel like the small size of the assigned text makes it hard to read, because the text has been made larger for just about everything else (Header, Suggested messages etc.)

Screenshot%20from%202019-02-08%2013-14-13

11 Mi Piace

I love it, although losing the theme switcher from the nav on mobile did cause a brief moment of panic!

4 Mi Piace

One of my users is reporting the Minima theme (which I love very much) does not show the “Dismiss” button when there are unread messages. He verified that Dismiss wasn’t just disappearing because there were no unreads - he said he switched to Minima and back from another theme while showing unreads and the button did not show up.

Is there a setting I might be missing on this, or anything else I should check? Thanks!

I managed to finally reproduce it:

Screenshots

Default board theme

Minima

5 Mi Piace

I’ve added the dismiss button back, you’ll just need to update the theme.

10 Mi Piace

Thanks so much! I will check it out!

1 Mi Piace

Where can I find the Minima Dark theme?

1 Mi Piace

Mínima Dark is a copy of Minima but using the color scheme from Material Dark.

7 Mi Piace

Hi, wondering if it’s possible to show the name in the topic list instead of username, when the option Prioritizing full name vs username in the UX is active.

2 Mi Piace

It would be wonderful if we could separate the list of categories as per the white lines I added to demonstrate

2 Mi Piace

I am following the guide on creating Themes (Developer’s guide to Discourse Themes) and it says that to change the templates (like removing the avatars in the listing), you need to touch the .hbr files in Discourse core.

Did you have to do this to remove the avatars? I am a bit confused as to how this theme works and how to use it.

As an example, in the Minima theme, how would I change the look and feel of the Profile page of each user?

Sorry if this is off-topic.

3 Mi Piace

It depends on what you’d like to change. If you want to remove or restyle content, it’s likely you can do it with some additional CSS. If you’d like to add information or change the layout dramatically, then you’d need to edit template files.

In the Minima theme, I did edit the template for the topic list to reposition/remove some avatars. You can see that here: https://github.com/discourse/minima/blob/master/desktop/header.html

If you’d like to use the Minima theme and add additional customizations, I’d recommend installing Minima and adding your customizations to it by creating a new theme component. This way you can still get updates to Minima without worrying about your changes being overridden.

3 Mi Piace

Thanks, @awesomerobot - I will give this a try.

I have a follow-up on the same topic. When Discourse is updated and I need to update the software (assuming I am self-hosting), will this cause problems with themes where the templates have been modified? Or are they not dependent?

Have you experienced anything like this in the past?

1 Mi Piace

Utilizzando il tema minima non riesco ad archiviare i messaggi diretti (la casella di controllo è scomparsa).

3 Mi Piace

Ho appena aggiornato il tema per ripristinare quella funzionalità. Grazie per averlo segnalato!

5 Mi Piace

Sto usando Minima come base per il mio tema e mi sto grattando la testa su una cosa: da dove proviene questo codice?

<div class="byline">
    <a href="" data-user-card="joffreyjaffeux"><img alt="" width="20" height="20" src="https://sjc5.discourse-cdn.com/themecreator/user_avatar/theme-creator.discourse.org/joffreyjaffeux/40/2250_2.png" class="avatar" title="joffreyjaffeux" aria-label="joffreyjaffeux">joffreyjaffeux</a>
  </div>

Scompare quando cambio sul tema Light. Minima non ha alcun JavaScript che potrebbe manipolare l’HTML. Sono così confuso!

2 Mi Piace

Credo che questo sia l’avatar in cima al titolo dell’argomento

2 Mi Piace

Sì, lo capisco. Ho trovato il codice che ho citato ispezionando l’avatar. Quello che mi confonde è da dove provenga quel codice. È presente in Minima, ma inesistente (non solo nascosto nel CSS) nel tema Light, per esempio. Chi genera l’HTML?

1 Mi Piace

Oh, ok, ora ho capito meglio.

Proviene dal file di intestazione: https://github.com/discourse/minima/blob/master/desktop/header.html

Riscrive il modello dell’elenco degli argomenti.

Modello originale: https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbr

5 Mi Piace