Material Design Stock Theme

theme-full

(Sebastian Mühlich) #290

Hello everyone

I have changed this theme for me and thought to myself who wants to have it can also use it.
I hope it’s okay for the author.

https://github.com/muehlich86/material-design-stock-theme-extension

  • Only Desktop
  • Add as Theme Component

#291

Sebastian, just a suggestion, but perhaps you could elaborate? How & why have you changed it?


(Sebastian Mühlich) #292

Why I changed it?

Because it makes me fun and because of my own website. :slightly_smiling_face:

https://talk.muehlich.online


#293

Helps to have an example, thanks, but might be useful if you could summarise your changes, so people know whether to investigate further.


(Sebastian Mühlich) #294

I actually wanted to create a topic with the tag theme-component.
But I have no right to do so.
And in an answer I didn’t want to write anything.


(Joshua Rosenfeld) #296

Permission granted :smiley:.


(Sebastian Mühlich) #301

Thank you very much :slightly_smiling_face:


(Pad Pors) #302

hi, in this theme the position of the sign-up cta relative to the topic-body is a little bit misplaced:

also the cta box doesn’t follow the shadow rules as other boxed elements.

I didn’t know how to fix the position problem with correct css tweaks. may you solve it?


(Sam Saffron) #303

@Johani can you have a look at :arrow_double_up:


(Christoph) #305

I love the theme but I’d like to get the default + New Topic button back (like it is here on meta). Is there an easy way of achieving this?

I guess a more generic version of this question is:

If I want to remove an element that comes with a full theme, my understanding is that I need to create a theme component to achieve this, otherwise my changes get overwritten when the theme updates. So how do I create a theme-component that removes rather than adds something?


(Kris) #306

It’s essentially the same process as adding new styles, but your goal is to override the styles that were added in the theme (or set them back to the defaults)… so for the new topic button that would look like this:

#create-topic.btn-default {
    border-radius: 0;
    position: relative;
    bottom: unset;
    right: unset;
    padding: 6px 12px;
    color: white;
    white-space: normal;
    text-indent: unset;
    width: unset;
    height: unset;
    &:hover {
      text-indent: unset;
      width: unset;
    }
}


#307

A buggette? The Theme seems to force white for topic-lists? (and topics)

STR: go into Admin - > Customise -> Themes - > MDT … select an off-white colour scheme as base … navigate to topic list and … voila!

Perhaps this was intentional?


(Merlls Rizzini) #308

00

Topic button is missing + icon since last Discourse upgrade with FontAwsome5.


(Joe) #309

Should be fixed via

Thanks for reporting the issue @Merlls_Rizzini :+1:


(Merlls Rizzini) #310

:grin:

Italic is also showing as bold on editor. (or its a normal behavior?)

27


(Joe) #311

I can’t reproduce that on this theme

Does the same happen in posts or is it only that way in the editor?


(Merlls Rizzini) #312

Same for both, right now using Material Theme here in Discourse. I’m on Safari browser right now.


(Joe) #313

I tried on both MacOs and iOS and I still cannot reproduce the issue here on Meta. Can you let me know what version of Safari you’re using?


(Merlls Rizzini) #314

I’m using 11.1.2.

Italic is working on Google Chrome here.


(Joe) #315

I still cannot reproduce the issue even when I tried Safari 11 on MacOS.