Files
obs-studio/UI/data/themes/System.qss
Clayton Groeneveld 94b3f80305 UI: Rename Default theme to System
The system theme was named Default even though the default theme is Dark.
This addresses that by renaming Default.qss to System.qss. I've made it
backwards compatible so users already using this theme are not affected.

The theme list now shows up as:
-System
-Dark (Default)
-Acri
-Rachni

I have also made it so that you can specify the default theme in the
UI config file.
2019-04-08 19:56:56 -05:00

164 lines
3.6 KiB
Plaintext

/* Intentionnally left blank */
/* Themes are created using Qt CSS, you can visit */
/* http://doc.qt.io/qt-5/stylesheet-reference.html and */
/* http://doc.qt.io/qt-5/stylesheet-examples.html for examples. */
/* OBS will use the theme filename for the settings. */
/* You can ship images using relative paths in qss. */
/* Dark Theme is a good place to start if you need */
/* a template. */
/* We need to set back the icons, or the preview wont stick. */
* [themeID="addIconSmall"] {
qproperty-icon: url(:/res/images/add.png);
}
* [themeID="removeIconSmall"] {
qproperty-icon: url(:/res/images/list_remove.png);
}
* [themeID="propertiesIconSmall"] {
qproperty-icon: url(:/res/images/properties.png);
}
* [themeID="configIconSmall"] {
qproperty-icon: url(:/res/images/configuration21_16.png);
}
* [themeID="upArrowIconSmall"] {
qproperty-icon: url(:/res/images/up.png);
}
* [themeID="refreshIconSmall"] {
qproperty-icon: url(:/res/images/refresh.png);
}
* [themeID="downArrowIconSmall"] {
qproperty-icon: url(:/res/images/down.png);
}
MuteCheckBox {
outline: none;
}
MuteCheckBox::indicator:checked {
image: url(:/res/images/mute.png);
}
MuteCheckBox::indicator:unchecked {
image: url(:/res/images/unmute.png);
}
SourceTreeSubItemCheckBox {
background: transparent;
outline: none;
}
SourceTreeSubItemCheckBox::indicator {
width: 10px;
height: 10px;
}
SourceTreeSubItemCheckBox::indicator:checked {
image: url(:/res/images/expand.png);
}
SourceTreeSubItemCheckBox::indicator:unchecked {
image: url(:/res/images/collapse.png);
}
OBSHotkeyLabel[hotkeyPairHover=true] {
color: red;
}
/* Volume Control */
VolumeMeter {
qproperty-backgroundNominalColor: rgb(15, 100, 15);
qproperty-backgroundWarningColor: rgb(100, 100, 15);
qproperty-backgroundErrorColor: rgb(100, 15, 15);
qproperty-foregroundNominalColor: rgb(50, 200, 50);
qproperty-foregroundWarningColor: rgb(255, 200, 50);
qproperty-foregroundErrorColor: rgb(200, 50, 50);
qproperty-magnitudeColor: rgb(0, 0, 0);
qproperty-majorTickColor: rgb(0, 0, 0);
qproperty-minorTickColor: rgb(50, 50, 50);
}
/* Label warning/error */
QLabel#warningLabel {
color: rgb(192, 128, 0);
font-weight: bold;
}
QLabel#errorLabel {
color: rgb(192, 0, 0);
font-weight: bold;
}
* [themeID="warning"] {
color: rgb(192, 128, 0);
font-weight: bold;
}
* [themeID="error"] {
color: rgb(192, 0, 0);
font-weight: bold;
}
* [themeID="good"] {
color: rgb(0, 128, 0);
font-weight: bold;
}
/* About dialog */
* [themeID="aboutName"] {
font-size: 36px;
font-weight: bold;
}
* [themeID="aboutVersion"] {
font-size: 16px;
margin-bottom: 20px;
}
* [themeID="aboutInfo"] {
margin-bottom: 20px;
}
* [themeID="aboutHLayout"] {
background-color: #DCD9D7;
}
/* Preview background color */
* [themeID="displayBackgroundColor"] {
qproperty-displayBackgroundColor: rgb(76, 76, 76);
}
/* Preview/Program labels */
* [themeID="previewProgramLabels"] {
font-size: 18px;
font-weight: bold;
color: rgb(122,121,122);
}
/* Settings Icons */
OBSBasicSettings {
qproperty-generalIcon: url(:settings/images/settings/general.svg);
qproperty-streamIcon: url(:settings/images/settings/stream.svg);
qproperty-outputIcon: url(:settings/images/settings/output.svg);
qproperty-audioIcon: url(:settings/images/settings/audio.svg);
qproperty-videoIcon: url(:settings/images/settings/video.svg);
qproperty-hotkeysIcon: url(:settings/images/settings/hotkeys.svg);
qproperty-advancedIcon: url(:settings/images/settings/advanced.svg);
}