UI: Dark theme
This commit is contained in:
parent
5eac22449c
commit
2f863bc458
4 changed files with 42 additions and 2 deletions
|
|
@ -21,6 +21,7 @@ set(EDITOR_RESOURCES
|
||||||
Fonts/sfizz-misc-icons.ttf
|
Fonts/sfizz-misc-icons.ttf
|
||||||
Fonts/Roboto-Regular.ttf
|
Fonts/Roboto-Regular.ttf
|
||||||
Themes/Default/theme.xml
|
Themes/Default/theme.xml
|
||||||
|
Themes/Dark/theme.xml
|
||||||
PARENT_SCOPE)
|
PARENT_SCOPE)
|
||||||
|
|
||||||
function(copy_editor_resources TARGET SOURCE_DIR DESTINATION_DIR)
|
function(copy_editor_resources TARGET SOURCE_DIR DESTINATION_DIR)
|
||||||
|
|
|
||||||
|
|
@ -362,7 +362,7 @@ widget_class mainView {open
|
||||||
}
|
}
|
||||||
Fl_Group {} {
|
Fl_Group {} {
|
||||||
label Theme open
|
label Theme open
|
||||||
xywh {40 270 105 100} box ROUNDED_BOX labelsize 12 align 17 hide
|
xywh {40 270 105 100} box ROUNDED_BOX labelsize 12 align 17
|
||||||
class TitleGroup
|
class TitleGroup
|
||||||
} {
|
} {
|
||||||
Fl_Spinner themeMenu_ {
|
Fl_Spinner themeMenu_ {
|
||||||
|
|
|
||||||
40
plugins/editor/resources/Themes/Dark/theme.xml
Normal file
40
plugins/editor/resources/Themes/Dark/theme.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<sfizz-theme author="Andrea Zanellato" version="1.0.0">
|
||||||
|
<color name="frameBackground">#121212</color>
|
||||||
|
<palette name="normal">
|
||||||
|
<color name="boxBackground">#1d1d1d</color>
|
||||||
|
<color name="text">#e3e3e3</color>
|
||||||
|
<color name="inactiveText">#a2a2a2</color>
|
||||||
|
<color name="highlightedText">#e9e9e9</color>
|
||||||
|
<color name="titleBoxText">#e3e3e3</color>
|
||||||
|
<color name="titleBoxBackground">#2d2d2d</color>
|
||||||
|
<color name="valueText">#e3e3e3</color>
|
||||||
|
<color name="valueBackground">#121212</color>
|
||||||
|
<color name="icon">#e3e3e3</color>
|
||||||
|
<color name="iconHighlight">#ff6000</color>
|
||||||
|
<color name="knobActiveTrack">#006b0b</color>
|
||||||
|
<color name="knobInactiveTrack">#6f6f6f</color>
|
||||||
|
<color name="knobLineIndicator">#ffffff</color>
|
||||||
|
<color name="knobText">#ffffff</color>
|
||||||
|
<color name="knobLabelText">#ffffff</color>
|
||||||
|
<color name="knobLabelBackground">#006b0b</color>
|
||||||
|
</palette>
|
||||||
|
<palette name="inverted">
|
||||||
|
<color name="boxBackground">#2d2d2d</color>
|
||||||
|
<color name="text">#9e9e9e</color>
|
||||||
|
<color name="inactiveText">#a2a2a2</color>
|
||||||
|
<color name="highlightedText">#e9e9e9</color>
|
||||||
|
<color name="titleBoxText">#9e9e9e</color>
|
||||||
|
<color name="titleBoxBackground">#2d2d2d</color>
|
||||||
|
<color name="valueText">#9e9e9e</color>
|
||||||
|
<color name="valueBackground">#121212</color>
|
||||||
|
<color name="icon">#9e9e9e</color>
|
||||||
|
<color name="iconHighlight">#ff6000</color>
|
||||||
|
<color name="knobActiveTrack">#006b0b</color>
|
||||||
|
<color name="knobInactiveTrack">#6f6f6f</color>
|
||||||
|
<color name="knobLineIndicator">#ffffff</color>
|
||||||
|
<color name="knobText">#ffffff</color>
|
||||||
|
<color name="knobLabelText">#ffffff</color>
|
||||||
|
<color name="knobLabelBackground">#006b0b</color>
|
||||||
|
</palette>
|
||||||
|
</sfizz-theme>
|
||||||
|
|
@ -190,7 +190,6 @@ oscillatorQualitySlider_ = view__71;
|
||||||
view__67->addView(view__71);
|
view__67->addView(view__71);
|
||||||
auto* const view__72 = createTitleGroup(CRect(35, 161, 140, 261), -1, "Theme", kCenterText, 12);
|
auto* const view__72 = createTitleGroup(CRect(35, 161, 140, 261), -1, "Theme", kCenterText, 12);
|
||||||
view__47->addView(view__72);
|
view__47->addView(view__72);
|
||||||
view__72->setVisible(false);
|
|
||||||
auto* const view__73 = createOptionMenu(CRect(20, 60, 85, 85), kTagThemeMenu, "", kCenterText, 12);
|
auto* const view__73 = createOptionMenu(CRect(20, 60, 85, 85), kTagThemeMenu, "", kCenterText, 12);
|
||||||
themeMenu_ = view__73;
|
themeMenu_ = view__73;
|
||||||
view__72->addView(view__73);
|
view__72->addView(view__73);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue