Skip to content

Commit 8cfa9f3

Browse files
committed
refactor(themes): update dock manager color props
1 parent f891a29 commit 8cfa9f3

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

projects/igniteui-angular/src/lib/core/styles/components/dock-manager/_dock-manager-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/// @param {Color} $pane-header-text [null] - Sets the text color for pane headers.
3232
/// @param {Color} $pinned-header-background [null] - Sets the background colors of pinned headers.
3333
/// @param {Color} $pinned-header-text [null] - Sets the text colors of pinned headers.
34-
/// @param {Color} $primary-color [null] - Sets the base dock manager color as well as the pane headers and tabs background colors.
34+
/// @param {Color} $background-color [null] - Sets the base dock manager color as well as the pane headers and tabs background colors.
3535
/// @param {Color} $splitter-background [null] - Sets the background color for the splitters.
3636
/// @param {Color} $splitter-handle [null] - Sets the background color for the splitter handles.
3737
/// @param {Color} $tab-background [null] - Sets the background color for tabs.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/// @prop {Color} joystick-border-color [#424242] - Sets the border color of the joystick.
1818
/// @prop {Color} joystick-icon-color-active [#fff] - Sets the color of the active joystick icons.
1919
/// @prop {Color} pane-content-background [#212121] - Sets the background color of the content panes.
20-
/// @prop {Color} primary-color [#111] - Sets the base dock manager color as well as the pane headers and tabs background colors.
20+
/// @prop {Color} background-color [#111] - Sets the base dock manager color as well as the pane headers and tabs background colors.
2121
/// @prop {Color} splitter-background [#000] - Sets the background color for the splitters.
2222
/// @prop {Color} tab-background-active [#212121] - Sets the background color for active tabs.
2323
/// @prop {Color} text-color [rgba(255, 255, 255, .7)] - Sets the text color for most elements in the dock manager. Used as the default joystick icon color.
@@ -28,7 +28,7 @@ $_dark-dock-manager: extend(
2828
igx-color: (grays, 400),
2929
hexrgba: #000,
3030
),
31-
primary-color: (
31+
background-color: (
3232
igx-color: (grays, 200),
3333
hexrgba: #000,
3434
),
@@ -86,7 +86,7 @@ $_dark-fluent-dock-manager: extend(
8686
rgba: .5,
8787
hexrgba: #000,
8888
),
89-
primary-color: (
89+
background-color: (
9090
igx-color: surface,
9191
rgba: .85,
9292
hexrgba: #000,
@@ -171,7 +171,7 @@ $_dark-bootstrap-dock-manager: extend(
171171
rgba: .33,
172172
hexrgba: #000,
173173
),
174-
primary-color: (
174+
background-color: (
175175
igx-color: surface,
176176
rgba: .33,
177177
hexrgba: #000,

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/// Generates a light dock-manager schema.
88
/// @type {Map}
99
/// @prop {Color} accent-color [#fff] - Sets the pinned header background color, the joystick background and border colors, as well as the context menu background color.
10+
/// @prop {Color} active-color [igx-color: 'primary'] - Sets the active text and border colors for tabs, panes, and menus.
1011
/// @prop {Color} border-color [#F3F5F7] - Sets the global border color in the dock manager. Also sets the pane content background and the context menu active background colors.
1112
/// @prop {Color} button-text [rgba(0, 0, 0, .72)] - Sets the button text color.
1213
/// @prop {Color} context-menu-background [null] - Sets the background color for context menus.
@@ -28,7 +29,7 @@
2829
/// @prop {Color} pane-header-text [null] - Sets the text color for pane headers.
2930
/// @prop {Color} pinned-header-background [null] - Sets the background colors of pinned headers.
3031
/// @prop {Color} pinned-header-text [null] - Sets the text colors of pinned headers.
31-
/// @prop {Color} primary-color [#E5E7E9] - Sets the base dock manager color as well as the pane headers and tabs background colors.
32+
/// @prop {Color} background-color [#E5E7E9] - Sets the base dock manager color as well as the pane headers and tabs background colors.
3233
/// @prop {Color} splitter-background [#d3d6d9] - Sets the background color for the splitters.
3334
/// @prop {Color} splitter-handle [null] - Sets the background color for the splitter handles.
3435
/// @prop {Color} tab-background [null] - Sets the background color for tabs.
@@ -43,7 +44,7 @@ $_light-dock-manager: (
4344
active-color: (
4445
igx-color: primary,
4546
),
46-
primary-color: null,
47+
background-color: null,
4748
border-color: (
4849
igx-color: (primary, 100),
4950
rgba: .1,
@@ -110,7 +111,7 @@ $_light-dock-manager: (
110111
/// @requires $_light-dock-manager
111112
$_fluent-dock-manager: extend(
112113
$_light-dock-manager, (
113-
primary-color: (
114+
background-color: (
114115
igx-color: (grays, 50),
115116
hexrgba: (),
116117
),
@@ -203,7 +204,7 @@ $_fluent-dock-manager: extend(
203204
/// @requires $_bootstrap-shape-dock-manager
204205
$_bootstrap-dock-manager: extend(
205206
$_light-dock-manager, (
206-
primary-color: (
207+
background-color: (
207208
igx-color: (grays, 100),
208209
hexrgba: (),
209210
),

0 commit comments

Comments
 (0)