clean up the light and system themes too

cleanup-dark-qss
Adasauce 5 years ago
parent 388dee1d67
commit 5cdc5304ec
Signed by: adasauce
GPG Key ID: B4FD3151235211CB
  1. 1
      resources/styles/nheko-dark.qss
  2. 83
      resources/styles/nheko.qss
  3. 54
      resources/styles/system.qss

@ -74,7 +74,6 @@ UserMentionsWidget > TimelineItem {
qproperty-hoverColor: rgba(45, 49, 57, 120); qproperty-hoverColor: rgba(45, 49, 57, 120);
} }
InfoMessage { InfoMessage {
qproperty-textColor: #caccd1; qproperty-textColor: #caccd1;
qproperty-boxColor: rgba(45, 49, 57, 120); qproperty-boxColor: rgba(45, 49, 57, 120);

@ -3,31 +3,39 @@ QLabel {
color: #333; color: #333;
} }
TimelineItem { QuickSwitcher,
qproperty-backgroundColor: white; ReplyPopup,
} SuggestionsPopup,
UserSettingsPage,
#chatPage, #scroll_widget,
#chatPage > * { #UserSettingScrollWidget {
background-color: white; background-color: white;
} }
#sideBar { #chatPage,
border: none; #chatPage > *,
border-right: 1px solid #dee1f3; CommunitiesList,
border-left: 1px solid #dee1f3; CommunitiesList > *,
} RoomList,
RoomList > *,
TimelineView,
TimelineView > *,
UserMentionsWidget,
UserMentionsWidget > *,
TimelineView, TimelineView,
TimelineView > * { TimelineView > * {
background-color: white; background-color: white;
border: none; border: none;
} }
UserMentionsWidget, TimelineItem {
UserMentionsWidget > * { qproperty-backgroundColor: white;
background-color: white; }
#sideBar {
border: none; border: none;
border-right: 1px solid #dee1f3;
border-left: 1px solid #dee1f3;
} }
UserMentionsWidget > TimelineItem { UserMentionsWidget > TimelineItem {
@ -35,14 +43,6 @@ UserMentionsWidget > TimelineItem {
qproperty-hoverColor: rgba(192, 193, 195, 120); qproperty-hoverColor: rgba(192, 193, 195, 120);
} }
#scroll_widget {
background-color: white;
}
QuickSwitcher {
background-color: white;
}
InfoMessage { InfoMessage {
qproperty-textColor: #333; qproperty-textColor: #333;
qproperty-boxColor: rgba(220, 220, 220, 120); qproperty-boxColor: rgba(220, 220, 220, 120);
@ -53,21 +53,15 @@ TypingDisplay {
qproperty-backgroundColor: white; qproperty-backgroundColor: white;
} }
SuggestionsPopup {
background-color: white;
}
ReplyPopup {
background-color: white;
}
PopupItem { PopupItem {
background-color: white; background-color: white;
qproperty-hoverColor: rgba(192, 193, 195, 120); qproperty-hoverColor: rgba(192, 193, 195, 120);
} }
RoomList, RoomList,
RoomList > * { RoomList > *,
CommunitiesList,
CommunitiesList > * {
background-color: #2e3649; background-color: #2e3649;
border: none; border: none;
} }
@ -76,28 +70,17 @@ RoomList > * {
background-color: #2e3649; background-color: #2e3649;
} }
CommunitiesList,
CommunitiesList > * {
border-style: none;
background-color: #2e3649;
}
FlatButton { FlatButton {
qproperty-foregroundColor: #495057; qproperty-foregroundColor: #495057;
} }
AudioItem,
FileItem { FileItem {
qproperty-textColor: #333; qproperty-textColor: #333;
qproperty-backgroundColor: #f2f2f2; qproperty-backgroundColor: #f2f2f2;
qproperty-iconColor: white; qproperty-iconColor: white;
} }
AudioItem {
qproperty-textColor: #333;
qproperty-backgroundColor: #f2f2f2;
qproperty-iconColor: white;
}
RaisedButton { RaisedButton {
qproperty-foregroundColor: white; qproperty-foregroundColor: white;
} }
@ -105,7 +88,7 @@ RaisedButton {
RoomInfoListItem { RoomInfoListItem {
qproperty-mentionedColor: #a82353; qproperty-mentionedColor: #a82353;
qproperty-highlightedBackgroundColor: #38A3D8; qproperty-highlightedBackgroundColor: #38A3D8;
qproperty-hoverBackgroundColor: rgba(200, 200, 200, 70); qproperty-hoverBackgroundColor: rgba(200, 200, 200, 40);
qproperty-hoverTitleColor: #f2f5f8; qproperty-hoverTitleColor: #f2f5f8;
qproperty-hoverSubtitleColor: white; qproperty-hoverSubtitleColor: white;
qproperty-backgroundColor: #f2f5f8; qproperty-backgroundColor: #f2f5f8;
@ -132,7 +115,7 @@ RoomInfoListItem {
CommunitiesListItem { CommunitiesListItem {
qproperty-highlightedBackgroundColor: #38A3D8; qproperty-highlightedBackgroundColor: #38A3D8;
qproperty-hoverBackgroundColor: rgba(200, 200, 200, 70); qproperty-hoverBackgroundColor: rgba(200, 200, 200, 40);
qproperty-backgroundColor: #f2f5f8; qproperty-backgroundColor: #f2f5f8;
qproperty-avatarBgColor: #eee; qproperty-avatarBgColor: #eee;
@ -157,14 +140,6 @@ UserInfoWidget {
border-bottom: 2px solid #ccc; border-bottom: 2px solid #ccc;
} }
UserSettingsPage {
background-color: white;
}
#UserSettingScrollWidget {
background-color: white;
}
Avatar { Avatar {
qproperty-textColor: black; qproperty-textColor: black;
qproperty-backgroundColor: #eee; qproperty-backgroundColor: #eee;

@ -1,3 +1,16 @@
#chatPage,
#chatPage > *,
CommunitiesList,
CommunitiesList > *,
RoomList,
RoomList > *,
TimelineView,
TimelineView > *,
UserMentionsWidget,
UserMentionsWidget > * {
border: none;
}
TypingDisplay { TypingDisplay {
qproperty-textColor: palette(text); qproperty-textColor: palette(text);
qproperty-backgroundColor: palette(window); qproperty-backgroundColor: palette(window);
@ -7,31 +20,18 @@ TimelineItem {
qproperty-backgroundColor: palette(window); qproperty-backgroundColor: palette(window);
} }
TimelineView,
TimelineView > * {
border: none;
}
UserMentionsWidget,
UserMentionsWidget > * {
border: none;
}
UserMentionsWidget > TimelineItem { UserMentionsWidget > TimelineItem {
qproperty-backgroundColor: palette(window); qproperty-backgroundColor: palette(window);
qproperty-hoverColor: palette(base); qproperty-hoverColor: palette(base);
} }
SideBarActions,
TextInputWidget { TextInputWidget {
border: none; border: none;
border-top: 1px solid palette(mid); border-top: 1px solid palette(mid);
} }
SideBarActions { UserInfoWidget,
border: none;
border-top: 1px solid palette(mid);
}
TopRoomBar { TopRoomBar {
border: none; border: none;
border-bottom: 1px solid palette(mid); border-bottom: 1px solid palette(mid);
@ -43,11 +43,6 @@ RoomList > * {
border: none; border: none;
} }
UserInfoWidget {
border: none;
border-bottom: 1px solid palette(mid);
}
#sideBar { #sideBar {
border: none; border: none;
border-right: 1px solid palette(mid); border-right: 1px solid palette(mid);
@ -67,18 +62,13 @@ FlatButton {
qproperty-foregroundColor: palette(text); qproperty-foregroundColor: palette(text);
} }
AudioItem,
FileItem { FileItem {
qproperty-textColor: palette(text); qproperty-textColor: palette(text);
qproperty-backgroundColor: palette(base); qproperty-backgroundColor: palette(base);
qproperty-iconColor: palette(window); qproperty-iconColor: palette(window);
} }
AudioItem {
qproperty-textColor: palette(text);
qproperty-backgroundColor: palette(base);
qproperty-iconColor: palette(window);
}
RaisedButton { RaisedButton {
qproperty-foregroundColor: palette(buttonText); qproperty-foregroundColor: palette(buttonText);
} }
@ -95,7 +85,8 @@ QListWidget {
background-color: palette(window); background-color: palette(window);
} }
RoomInfoListItem, UserMentionsWidget { RoomInfoListItem,
UserMentionsWidget {
qproperty-mentionedColor: palette(alternate-base); qproperty-mentionedColor: palette(alternate-base);
qproperty-highlightedBackgroundColor: palette(highlight); qproperty-highlightedBackgroundColor: palette(highlight);
qproperty-hoverBackgroundColor: palette(light); qproperty-hoverBackgroundColor: palette(light);
@ -124,11 +115,6 @@ RoomInfoListItem, UserMentionsWidget {
qproperty-bubbleFgColor: palette(text); qproperty-bubbleFgColor: palette(text);
} }
CommunitiesList,
CommunitiesList > * {
border-style: none;
}
CommunitiesListItem { CommunitiesListItem {
qproperty-highlightedBackgroundColor: palette(highlight); qproperty-highlightedBackgroundColor: palette(highlight);
qproperty-hoverBackgroundColor: palette(light); qproperty-hoverBackgroundColor: palette(light);
@ -172,10 +158,6 @@ SnackBar {
qproperty-bgColor: palette(base); qproperty-bgColor: palette(base);
} }
MemberItem {
background-color: palette(window);
}
Toggle { Toggle {
qproperty-activeColor: palette(highlight); qproperty-activeColor: palette(highlight);
qproperty-disabledColor: palette(dark); qproperty-disabledColor: palette(dark);

Loading…
Cancel
Save