Skip to content

Commit d0090f4

Browse files
author
Stefan Ivanov
committed
Optimizing sass for dark themes
1 parent 3c0b330 commit d0090f4

File tree

2 files changed

+7
-39
lines changed

2 files changed

+7
-39
lines changed

projects/igniteui-angular/src/lib/core/styles/themes/schemas/dark/_dock-manager.scss

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@
2424
/// @requires $_light-dock-manager
2525
$_dark-dock-manager: extend(
2626
$_light-dock-manager, (
27-
accent-color: #424242,
27+
accent-color: (
28+
igx-color: (grays, 400),
29+
),
2830
border-color: #212121,
2931
button-text: #fff,
3032
context-menu-color-active: #fff,
3133
floating-pane-border-color: rgba(0, 0, 0, .26),
3234
flyout-shadow-color: rgba(0, 0, 0, .38),
33-
joystick-border-color: #424242,
35+
joystick-border-color: (
36+
igx-color: (grays, 400),
37+
),
3438
joystick-icon-color-active: #fff,
3539
pane-content-background: #212121,
3640
primary-color: #111,
@@ -46,11 +50,7 @@ $_dark-dock-manager: extend(
4650
/// @requires $_fluent-dock-manager
4751
$_dark-fluent-dock-manager: extend(
4852
$_fluent-dock-manager, (
49-
active-color: (
50-
igx-color: primary,
51-
),
5253
background-color: #2a2a2a,
53-
border-color: #222,
5454
button-text: #fff,
5555
context-menu-background-active: #111,
5656
context-menu-color-active: #fff,
@@ -63,18 +63,10 @@ $_dark-fluent-dock-manager: extend(
6363
joystick-border-color: transparent,
6464
joystick-icon-color: #fff,
6565
joystick-icon-color-active: #fff,
66-
pane-content-background: #222,
6766
pane-header-backround: #2a2a2a,
6867
pinned-header-background: #2a2a2a,
6968
splitter-background: #151515,
7069
splitter-handle: #000,
71-
tab-background-active: #222,
72-
tab-background: #222,
73-
tab-border-color-active: #222,
74-
tab-border-color: #222,
75-
tab-text-active: (
76-
igx-color: primary,
77-
),
7870
tab-text: #fff,
7971
text-color: #fff,
8072
)
@@ -86,31 +78,14 @@ $_dark-fluent-dock-manager: extend(
8678
/// @requires $_bootstrap-dock-manager
8779
$_dark-bootstrap-dock-manager: extend(
8880
$_bootstrap-dock-manager, (
89-
border-color: #242939,
90-
button-text: #007bff,
91-
context-menu-background-active: #007bff,
92-
context-menu-color-active: #fff,
9381
context-menu-background: #222,
94-
context-menu-color: #007bff,
9582
dock-background: #111,
96-
floating-pane-border-color: rgba(255, 255, 255, .12),
97-
joystick-background-active: #007bff,
9883
joystick-background: #222,
99-
joystick-border-color: rgba(255, 255, 255, .12),
100-
joystick-icon-color: #007bff,
101-
joystick-icon-color-active: #fff,
102-
pane-content-background: #242939,
10384
pane-header-background: #111,
10485
pinned-header-background: #111,
10586
primary-color: #111,
10687
splitter-background: #1a1e29,
10788
splitter-handle: #000,
108-
tab-background-active: #242939,
109-
tab-background: #242939,
110-
tab-border-color-active: rgba(255, 255, 255, .12),
111-
tab-border-color: #242939,
112-
tab-text-active: rgba(255, 255, 255, .74),
113-
tab-text: #007bff,
11489
text-color: #fff,
11590
)
11691
);

projects/igniteui-angular/src/lib/core/styles/themes/schemas/light/_dock-manager.scss

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ $_light-dock-manager: (
8686
/// @requires $_light-dock-manager
8787
$_fluent-dock-manager: extend(
8888
$_light-dock-manager, (
89-
active-color: (
90-
igx-color: primary,
91-
),
9289
background-color: (
9390
igx-color: surface,
9491
),
@@ -180,23 +177,19 @@ $_bootstrap-dock-manager: extend(
180177
context-menu-background-active: (
181178
igx-color: primary,
182179
),
183-
context-menu-color-active: (
184-
igx-color: surface
185-
),
180+
context-menu-color-active: #fff,
186181
context-menu-color: (
187182
igx-color: primary,
188183
),
189184
dock-background: #f8f9fa,
190185
floating-pane-border-color: (
191186
igx-color: (grays, 300),
192-
hexrgba: (),
193187
),
194188
joystick-background-active: (
195189
igx-color: primary,
196190
),
197191
joystick-border-color: (
198192
igx-color: (grays, 300),
199-
hexrgba: (),
200193
),
201194
joystick-icon-color: (
202195
igx-color: primary,

0 commit comments

Comments
 (0)