Skip to content

Commit 075843a

Browse files
committed
feat: new Dark Phoenix theme
1 parent 92f517b commit 075843a

8 files changed

Lines changed: 46 additions & 37 deletions

File tree

src/extensionsIntegrated/Phoenix-live-preview/live-preview.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@
160160
overflow: hidden;
161161
white-space: nowrap;
162162
cursor: pointer;
163-
background: #3C3F41;
163+
background: transparent;
164164
box-shadow: none;
165-
border: 1px solid #3C3F41;
165+
border: 1px solid transparent;
166166
box-sizing: border-box;
167167
color: #a0a0a0;
168168
font-size: 14px;

src/styles/Extn-AIChatPanel.less

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
flex: 1;
3737
min-height: 0;
3838
overflow: hidden;
39-
background-color: @bc-sidebar-bg;
39+
background-color: @bc-ai-sidebar-bg;
4040
color: @project-panel-text-1;
4141
font-size: @sidebar-content-font-size;
4242
container-type: inline-size;
@@ -263,6 +263,7 @@
263263
-webkit-user-select: text;
264264
user-select: text;
265265
cursor: default;
266+
background-color: @bc-ai-sidebar-bg;
266267
}
267268

268269
/* ── Individual messages ────────────────────────────────────────────── */
@@ -1695,14 +1696,15 @@
16951696
.ai-chat-input-wrap {
16961697
display: flex;
16971698
align-items: flex-end;
1698-
background-color: rgba(255, 255, 255, 0.05);
1699-
border: 1px solid rgba(255, 255, 255, 0.08);
1699+
background-color: @bc-ai-input-bg;
1700+
border: 1px solid @bc-ai-input-border;
17001701
border-radius: 8px;
17011702
transition: border-color 0.15s ease;
17021703
overflow: hidden;
17031704

17041705
&:focus-within {
1705-
border-color: @bc-btn-border-focused;
1706+
background-color: @bc-ai-input-bg-focused;
1707+
border-color: @bc-ai-input-border-focus;
17061708
}
17071709

17081710
&.disabled {
@@ -1947,7 +1949,7 @@
19471949
.ai-chat-textarea {
19481950
flex: 1;
19491951
min-width: 0;
1950-
background: none;
1952+
background: transparent !important;
19511953
border: none !important;
19521954
color: @project-panel-text-1;
19531955
font-size: @sidebar-content-font-size;

src/styles/Extn-SidebarTabs.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#navTabBar {
2424
display: none;
2525
align-items: center;
26-
background-color: @bc-sidebar-bg;
26+
background-color: @bc-ai-sidebar-bg;
2727
height: 2rem;
2828
overflow: hidden;
2929
user-select: none;

src/styles/brackets.less

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ a, img {
268268
left: @sidebar-width; // changed dynamically via Resizer
269269
right: @main-toolbar-width;
270270
z-index: @z-index-brackets-main-content;
271+
border-left: 2px solid rgba(255, 255, 255, 0.10);
272+
border-right: 2px solid rgba(255, 255, 255, 0.10);
271273
}
272274

273275
.force-right-zero {
@@ -1198,7 +1200,7 @@ a, img {
11981200
/* Project panel */
11991201

12001202
#working-set-list-container {
1201-
background: @bc-sidebar-bg;
1203+
background: @bc-working-set-bg;
12021204
display: block;
12031205

12041206
> div:last-child ul {
@@ -1214,19 +1216,19 @@ a, img {
12141216
position: relative;
12151217
height: 19px;
12161218
padding: 10px 0 9px 12px;
1217-
background: @bc-sidebar-bg;
1219+
background: @bc-working-set-bg;
12181220
color: @project-panel-text-2;
12191221
text-shadow: none;
12201222
overflow: hidden;
12211223

12221224
> span {
1223-
background: @bc-sidebar-bg;
1225+
background: @bc-working-set-bg;
12241226
position: relative;
12251227
z-index: 9;
12261228
}
12271229

12281230
> div {
1229-
background-color: @dark-bc-sidebar-bg;
1231+
background-color: @bc-working-set-bg;
12301232
opacity: 1;
12311233
}
12321234
}
@@ -1385,15 +1387,16 @@ a, img {
13851387
#project-files-header {
13861388
display: flex;
13871389
align-items: center;
1388-
border-top: 1px solid rgba(255, 255, 255, 0.05);
1390+
border-top: none;
13891391
padding: 6px 0 6px 12px;
13901392
font-size: 15px;
13911393
color: @project-panel-text-2;
1394+
background-color: @bc-project-files-bg;
13921395
overflow: hidden;
13931396
gap: .5em;
13941397

13951398
.btn-alt-quiet {
1396-
background-color: #47484b;
1399+
background-color: transparent;
13971400

13981401
// relative positioning plus z-index make sure that the splitview button flows under the left aligned buttons in the project pane when there are no working set files
13991402
position: relative;
@@ -1466,8 +1469,8 @@ a, img {
14661469

14671470
.sidebar-selection, .filetree-selection {
14681471
background: @bc-sidebar-selection;
1469-
border-top: 1px solid @bc-shadow-small;
1470-
border-bottom: 1px solid @bc-highlight;
1472+
border-top: none;
1473+
border-bottom: none;
14711474
box-sizing: border-box;
14721475
height: 23px;
14731476
width: 100%;
@@ -1476,8 +1479,8 @@ a, img {
14761479

14771480
.sidebar-selection-extension, .filetree-selection-extension {
14781481
background: @bc-sidebar-selection;
1479-
border-top: 1px solid @bc-shadow-small;
1480-
border-bottom: 1px solid @bc-highlight;
1482+
border-top: none;
1483+
border-bottom: none;
14811484
box-sizing: border-box;
14821485
height: 23px;
14831486
width: 9px; /* quiet scrollbar width */
@@ -1511,6 +1514,7 @@ a, img {
15111514

15121515
#project-files-container {
15131516
.box-flex(1);
1517+
background-color: @bc-project-files-bg;
15141518

15151519
div > ul {
15161520
padding-bottom: 24px;
@@ -1521,20 +1525,20 @@ a, img {
15211525
.scroller-shadow {
15221526
background-size: 100%;
15231527
background-repeat: no-repeat;
1524-
height: 5px;
1528+
height: 8px;
15251529
position: fixed;
15261530
z-index: @z-index-brackets-scroller-shadow;
15271531
pointer-events: none; // serves as a "click through", so clicks go to the file tree behind (see #12684)
15281532

15291533
&.top {
1530-
#gradient > .vertical(rgba(0,0,0,0.1), rgba(0,0,0,0));
1531-
background-position: 0 -5px;
1534+
#gradient > .vertical(rgba(0,0,0,0.18), rgba(0,0,0,0));
1535+
background-position: 0 -8px;
15321536
background-color: transparent; /* override background-color: @endColor from #gradient.vertical */
15331537
}
15341538

15351539
&.bottom {
1536-
#gradient > .vertical(rgba(0,0,0,0), rgba(0,0,0,0.1));
1537-
background-position: 0 5px;
1540+
#gradient > .vertical(rgba(0,0,0,0), rgba(0,0,0,0.12));
1541+
background-position: 0 8px;
15381542
background-color: transparent; /* override background-color: @endColor from #gradient.vertical */
15391543
}
15401544
}

src/styles/brackets_core_ui_variables.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@
149149

150150

151151
// Sidebar
152-
@bc-sidebar-bg: #3C3F41;
153-
@bc-sidebar-selection: #2D2E30;
152+
@bc-sidebar-bg: #252525;
153+
@bc-sidebar-selection: #404448;
154154

155155
// images
156156
@button-icon: "images/find-replace-sprites.svg";
@@ -262,11 +262,11 @@
262262
@dark-bc-secondary-btn-border: #202020;
263263

264264
// Sidebar
265-
@dark-bc-sidebar-bg: #3C3F41;
266-
@dark-bc-sidebar-selection: #2D2E30;
265+
@dark-bc-sidebar-bg: #252525;
266+
@dark-bc-sidebar-selection: #404448;
267267

268268
// Plugin panel
269-
@plugin-panel-bg: #3C3F41;
269+
@plugin-panel-bg: #252525;
270270

271271
// images
272272
@dark-button-icon: "images/find-replace-sprites-dark.svg";

src/styles/brackets_patterns_override.less

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ a:focus {
259259
}
260260

261261
.selected-button{
262-
background-color: @plugin-panel-bg !important;
262+
background-color: rgba(255, 255, 255, 0.12) !important;
263263
margin-left: 3px !important;
264264
margin-right: 0 !important;
265265
}
@@ -280,11 +280,7 @@ a:focus {
280280
}
281281

282282
> a:hover {
283-
background-color: @bc-shadow !important;
284-
285-
.dark & {
286-
background-color: @dark-bc-shadow !important;
287-
}
283+
background-color: rgba(255, 255, 255, 0.08) !important;
288284
}
289285

290286
> a:active {

src/styles/brackets_scrollbars.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#project-files-container:hover,
2727
.ai-chat-messages:hover,
2828
.ai-session-history-dropdown:hover {
29-
background-color: rgba(128, 128, 128, 0);
29+
background-color: inherit;
3030
}
3131

3232
/* Temporary implementation of unobtrusive scrollbars.

src/styles/brackets_theme_default.less

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,17 @@
8686
@matching-bracket: #cfead6;
8787

8888
/* sidebar/toolbar colors */
89-
@project-panel-base-color: #47484B;
89+
@bc-ai-sidebar-bg: #252525;
90+
@bc-ai-input-bg: #2a2a2a;
91+
@bc-ai-input-bg-focused: #2d2d2d;
92+
@bc-ai-input-border: rgba(255, 255, 255, 0.08);
93+
@bc-ai-input-border-focus: rgba(255, 255, 255, 0.2);
94+
@project-panel-base-color: @bc-project-files-bg;
95+
@bc-working-set-bg: #2f2f2f;
96+
@bc-project-files-bg: #252525;
9097
@project-panel-text-1: #ffffff;
9198
@project-panel-text-2: #adb9bd;
92-
@main-toolbar-background-color: #5D5F60;
99+
@main-toolbar-background-color: #252525;
93100

94101
/* open working file highlight */
95102
@open-working-file-name-highlight: #8fddff;

0 commit comments

Comments
 (0)