@Felli @gurjyot
Here is simple modification to allow for dark themes.
//CSS FOR MAX WIDTH 1100px
@media (min-width: 1100px){
.IndexPage .container {
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2)
}
.PostStream-item{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
padding: 0px 5px 0px 10px;
margin-bottom: 5px;
}
.PostsUserPage-list>li{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
padding: 0px 5px 0px 10px;
margin-bottom: 5px;
}
.DiscussionListItem{
border-bottom:1px solid #e9e9e9;
}
}
//CSS FOR MAX WIDTH 1099px
@media (max-width: 1099px) and (min-width: 676px){
.IndexPage .container{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2)
}
.PostStream-item{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
padding: 0px 5px 0px 10px;
margin-bottom: 5px;
}
.PostsUserPage-list>li{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
padding: 0px 5px 0px 10px;
margin-bottom: 5px;
}
.DiscussionListItem{
border-bottom:1px solid #e9e9e9;
}
}
//CSS FOR MAX WIDTH 675px
@media (max-width: 675px){
.IndexPage .container{
background: #ffffff;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
margin-left: 5px;
margin-right: 5px;
}
.PostStream-item{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
margin: 0px 5px 5px 5px !important;
}
.PostsUserPage-list>li{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
padding: 0px 5px 0px 10px;
margin-bottom: 5px;
}
.DiscussionListItem{
border-bottom:1px solid #e9e9e9;
}
}
//CSS for Buttons
.Button{
border-radius: 2px;
}
//CSS for Primary Button
.Button.Button--primary{
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}
.DiscussionHero .TagsLabel .TagLabel{
border-radius: 2px !important;
}
.TagsLabel .TagLabel:first-child:last-child{
border-radius: 2px;
}
All I did is remove all lines containing:
background: #ffffff;
# Before:
# After:
I didn't notice any issues when set to display Tags.
Ill update post to include custom background variables so all the user needs to do is copy paste their color hex one time to match the background to their flarum theme.
Nice work BTW! ?