Skip to content

Commit 4911c0e

Browse files
author
Davide Faconti
committed
different splashscreen palette
1 parent 74af911 commit 4911c0e

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

bt_editor/resources/close_x.png

-41 Bytes
Loading

bt_editor/resources/palette.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dark_background: #1c2b36
2+
dark_blueish: #005562
3+
green: #b9f2a1
4+
mint: #10c4b5
5+
6+

bt_editor/resources/svg/logo_splashscreen.svg

Lines changed: 3 additions & 3 deletions
Loading

bt_editor/startup_dialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ void StartupDialog::on_toolButtonReplay_clicked()
9999
void StartupDialog::updateCurrentMode()
100100
{
101101
const QString selected_style( "color:white; "
102-
"border: 2px solid rgb(115, 210, 22); border-radius: 10px;"
103-
"background-color: rgb(50, 150, 0);" );
102+
"border: 2px solid #9cff71; border-radius: 10px;"
103+
"background-color: #2f981a;" );
104104

105105
const QString default_style( "QToolButton {"
106106
"color:white; "
107-
"border: 2px solid rgb(115, 210, 22); border-radius: 10px;"
107+
"border: 2px solid #9cff71; border-radius: 10px;"
108108
"background-color: rgba(0, 0, 0, 0);"
109109
"}\n"
110110
"QToolButton:hover {color:white; background-color: rgb(111, 111, 111);}");

bt_editor/startup_dialog.ui

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<string>Dialog</string>
2121
</property>
2222
<property name="styleSheet">
23-
<string notr="true">background-color: rgb(65, 65, 65);</string>
23+
<string notr="true">background-color: #1c2b36;</string>
2424
</property>
2525
<property name="sizeGripEnabled">
2626
<bool>false</bool>
@@ -151,7 +151,7 @@
151151
</property>
152152
<property name="styleSheet">
153153
<string notr="true">color:white;
154-
border: 2px solid rgb(115, 210, 22);
154+
border: 2px solid #9cff71;
155155
border-radius: 10px;
156156
</string>
157157
</property>
@@ -204,7 +204,7 @@ border-radius: 10px;
204204
</property>
205205
<property name="styleSheet">
206206
<string notr="true">color:white;
207-
border: 2px solid rgb(115, 210, 22);
207+
border: 2px solid #9cff71;
208208
border-radius: 10px;
209209

210210

@@ -259,7 +259,7 @@ border-radius: 10px;
259259
</property>
260260
<property name="styleSheet">
261261
<string notr="true">color:white;
262-
border: 2px solid rgb(115, 210, 22);
262+
border: 2px solid #9cff71;
263263
border-radius: 10px;
264264

265265
</string>
@@ -311,7 +311,7 @@ border-radius: 10px;
311311
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; color:#eeeeec;&quot;&gt;Launch the application&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
312312
</property>
313313
<property name="styleSheet">
314-
<string notr="true">color: rgb(115, 210, 22)</string>
314+
<string notr="true">color: #9cff71</string>
315315
</property>
316316
<property name="text">
317317
<string>START</string>
@@ -377,6 +377,7 @@ border-radius: 10px;
377377
</widget>
378378
<resources>
379379
<include location="resources/icons.qrc"/>
380+
<include location="resources/icons.qrc"/>
380381
</resources>
381382
<connections/>
382383
</ui>

0 commit comments

Comments
 (0)