|
| 1 | +@import '../light/dock-manager'; |
| 2 | +//// |
| 3 | +/// @group schemas |
| 4 | +/// @access private |
| 5 | +/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a> |
| 6 | +//// |
| 7 | + |
| 8 | +/// Generates a dark dock-manager schema. |
| 9 | +/// @type {Map} |
| 10 | +/// @requires {function} extend |
| 11 | +/// @prop {Color} accent-color [igx-color: ('grays', 400), hexrgba: #000] - Sets the pinned header background color, the joystick background and border colors, as well as the context menu background color. |
| 12 | +/// @prop {Color} background-color [igx-color: ('grays', 200), hexrgba: #000] - Sets the base dock manager color as well as the pane headers and tabs background colors. |
| 13 | +/// @prop {Color} border-color [igx-color: 'surface'] - Sets the global border color in the dock manager. Also sets the pane content background and the context menu active background colors. |
| 14 | +/// @prop {Color} button-text [igx-contrast-color: 'surface'] - Sets the button text color. |
| 15 | +/// @prop {Color} floating-pane-border-color [igx-color: ('grays', 100), hexrgba: #000] - Sets the border color for floating panes. |
| 16 | +/// @prop {Color} flyout-shadow-color [rgba(0, 0, 0, .38)] - Sets the border color for floating panes. |
| 17 | +/// @prop {Color} joystick-background-active [igx-color: 'surface'] - Sets the background color of the joysticks. |
| 18 | +/// @prop {Color} joystick-border-color [igx-color: ('grays', 400), hexrgba: #000] - Sets the border color of the joystick. |
| 19 | +/// @prop {Color} joystick-icon-color [igx-contrast-color: 'surface'] - Sets the color for the joystick icons. |
| 20 | +/// @prop {Color} pane-content-background [igx-color: 'surface'] - Sets the background color of the content panes. |
| 21 | +/// @prop {Color} splitter-background [igx-clor: ('grays', 100), hexrgba: #000] - Sets the background color for the splitters. |
| 22 | +/// @prop {Color} tab-background-active [igx-color: 'surface'] - Sets the background color for active tabs. |
| 23 | +/// @requires $_light-dock-manager |
| 24 | +$_dark-dock-manager: extend( |
| 25 | + $_light-dock-manager, ( |
| 26 | + accent-color: ( |
| 27 | + igx-color: ('grays', 400), |
| 28 | + hexrgba: #000, |
| 29 | + ), |
| 30 | + background-color: ( |
| 31 | + igx-color: ('grays', 200), |
| 32 | + hexrgba: #000, |
| 33 | + ), |
| 34 | + border-color: ( |
| 35 | + igx-color: 'surface', |
| 36 | + ), |
| 37 | + button-text: ( |
| 38 | + igx-contrast-color: 'surface', |
| 39 | + ), |
| 40 | + floating-pane-border-color: ( |
| 41 | + igx-color: ('grays', 100), |
| 42 | + hexrgba: #000, |
| 43 | + ), |
| 44 | + flyout-shadow-color: rgba(0, 0, 0, .38), |
| 45 | + joystick-background-active: ( |
| 46 | + igx-color: 'surface', |
| 47 | + ), |
| 48 | + joystick-border-color: ( |
| 49 | + igx-color: ('grays', 400), |
| 50 | + hexrgba: #000, |
| 51 | + ), |
| 52 | + joystick-icon-color: ( |
| 53 | + igx-contrast-color: 'surface', |
| 54 | + ), |
| 55 | + pane-content-background: ( |
| 56 | + igx-color: 'surface', |
| 57 | + ), |
| 58 | + splitter-background: ( |
| 59 | + igx-color: ('grays', 100), |
| 60 | + hexrgba: #000, |
| 61 | + ), |
| 62 | + tab-background-active: ( |
| 63 | + igx-color: 'surface', |
| 64 | + ), |
| 65 | + ) |
| 66 | +); |
| 67 | + |
| 68 | +/// Generates a dark fluent dock-manager schema. |
| 69 | +/// @type {Map} |
| 70 | +/// @prop {Color} accent-color [igx-color: 'surface', rgba: .5, hexrgba: #000] - Sets the pinned header background color, the joystick background and border colors, as well as the context menu background color. |
| 71 | +/// @prop {Color} background-color [igx-color: 'surface', rgba: .85, hexrgba: #000] - Sets the base dock manager color as well as the pane headers and tabs background colors. |
| 72 | +/// @prop {Color} button-text [igx-contrast-color: 'surface'] - Sets the button text color. |
| 73 | +/// @prop {Color} context-menu-background-active [igx-color: 'surface', rgba: .5, hexrgba: #000] - Sets the background color for active context menus. |
| 74 | +/// @prop {Color} context-menu-color-active [igx-contrast-color: 'surface'] - Sets the text color for active context menus. |
| 75 | +/// @prop {Color} context-menu-background [igx-color: ('grays', 400), hexrgba: #000] - Sets the background color for context menus. |
| 76 | +/// @prop {Color} context-menu-color [igx-contrast-color: 'surface'] - Sets the text color for context menus. |
| 77 | +/// @prop {Color} dock-background [igx-color: 'surface', rgba: .85, hexrgba: #000] - Sets the background color of the dock manager. |
| 78 | +/// @prop {Color} floating-pane-border-color [transparent] - Sets the border color for floating panes. |
| 79 | +/// @prop {Color} joystick-background-active [igx-color: 'surface', rgba: .5, hexrgba: #000] - Sets the background color of the joysticks. |
| 80 | +/// @prop {Color} joystick-background [igx-color: ('grays', 400), hexrgba: #000] - Sets the background color of the joystick. |
| 81 | +/// @prop {Color} joystick-border-color [transparent] - Sets the border color of the joystick. |
| 82 | +/// @prop {Color} joystick-icon-color [igx-contrast-color: 'surface'] - Sets the color for the joystick icons. |
| 83 | +/// @prop {Color} joystick-icon-color-active [igx-contrast-color: 'surface'] - Sets the color of the active joystick icons. |
| 84 | +/// @prop {Color} pane-header-background [igx-color: 'surface', rgba: .33, hexrgba: #000] - Sets the background color for pane headers. |
| 85 | +/// @prop {Color} pinned-header-background [igx-color: 'surface', rgba: .85, hexrgba: #000] - Sets the background colors of pinned headers. |
| 86 | +/// @prop {Color} splitter-background [igx-color: 'surface', rgba: .7, hexrgba: #000] - Sets the background color for the splitters. |
| 87 | +/// @prop {Color} splitter-handle [igx-color: 'surface', rgba: .2, hexrgba: #000] - Sets the background color for the splitter handles. |
| 88 | +/// @prop {Color} tab-text [igx-contrast-color: 'surface'] - Sets the text color for tabs. |
| 89 | +/// @prop {Color} text-color [igx-contrast-color: 'surface'] - Sets the text color for most elements in the dock manager. Used as the default joystick icon color. |
| 90 | +/// @requires {function} extend |
| 91 | +/// @requires $_fluent-dock-manager |
| 92 | +$_dark-fluent-dock-manager: extend( |
| 93 | + $_fluent-dock-manager, ( |
| 94 | + accent-color: ( |
| 95 | + igx-color: 'surface', |
| 96 | + rgba: .5, |
| 97 | + hexrgba: #000, |
| 98 | + ), |
| 99 | + background-color: ( |
| 100 | + igx-color: 'surface', |
| 101 | + rgba: .85, |
| 102 | + hexrgba: #000, |
| 103 | + ), |
| 104 | + button-text: ( |
| 105 | + igx-contrast-color: 'surface', |
| 106 | + ), |
| 107 | + context-menu-background-active: ( |
| 108 | + igx-color: 'surface', |
| 109 | + rgba: .5, |
| 110 | + hexrgba: #000, |
| 111 | + ), |
| 112 | + context-menu-color-active: ( |
| 113 | + igx-contrast-color: 'surface', |
| 114 | + ), |
| 115 | + context-menu-background: ( |
| 116 | + igx-color: ('grays', 400), |
| 117 | + hexrgba: #000, |
| 118 | + ), |
| 119 | + context-menu-color: ( |
| 120 | + igx-contrast-color: 'surface', |
| 121 | + ), |
| 122 | + dock-background: ( |
| 123 | + igx-color: 'surface', |
| 124 | + rgba: .85, |
| 125 | + hexrgba: #000, |
| 126 | + ), |
| 127 | + floating-pane-border-color: transparent, |
| 128 | + joystick-background-active: ( |
| 129 | + igx-color: 'surface', |
| 130 | + rgba: .5, |
| 131 | + hexrgba: #000, |
| 132 | + ), |
| 133 | + joystick-background: ( |
| 134 | + igx-color: ('grays', 400), |
| 135 | + hexrgba: #000, |
| 136 | + ), |
| 137 | + joystick-border-color: transparent, |
| 138 | + joystick-icon-color: ( |
| 139 | + igx-contrast-color: 'surface', |
| 140 | + ), |
| 141 | + joystick-icon-color-active: ( |
| 142 | + igx-contrast-color: 'surface', |
| 143 | + ), |
| 144 | + pane-header-backround: ( |
| 145 | + igx-color: 'surface', |
| 146 | + rgba: .85, |
| 147 | + hexrgba: #000, |
| 148 | + ), |
| 149 | + pinned-header-background: ( |
| 150 | + igx-color: 'surface', |
| 151 | + rgba: .85, |
| 152 | + hexrgba: #000, |
| 153 | + ), |
| 154 | + splitter-background: ( |
| 155 | + igx-color: 'surface', |
| 156 | + rgba: .7, |
| 157 | + hexrgba: #000, |
| 158 | + ), |
| 159 | + splitter-handle: ( |
| 160 | + igx-color: 'surface', |
| 161 | + rgba: .2, |
| 162 | + hexrgba: #000, |
| 163 | + ), |
| 164 | + tab-text: ( |
| 165 | + igx-contrast-color: 'surface', |
| 166 | + ), |
| 167 | + text-color: ( |
| 168 | + igx-contrast-color: 'surface', |
| 169 | + ), |
| 170 | + ) |
| 171 | +); |
| 172 | + |
| 173 | +/// Generates a dark bootstrap dock-manager schema. |
| 174 | +/// @type {Map} |
| 175 | +/// @prop {Color} accent-color [igx-color: 'surface', rgba: .33, hexrgba: ()] - Sets the pinned header background color, the joystick background and border colors, as well as the context menu background color. |
| 176 | +/// @prop {Color} background-color [igx-color: 'surface', rgba: .33, hexrgba: ()] - Sets the base dock manager color as well as the pane headers and tabs background colors. |
| 177 | +/// @prop {Color} context-menu-background [igx-color: 'surface', rgba: .66, hexrgba: ()] - Sets the background color for context menus. |
| 178 | +/// @prop {Color} context-menu-color-active [igx-context-color: 'surface'] - Sets the text color for active context menus. |
| 179 | +/// @prop {Color} dock-background [igx-color: 'surface', rgba: .33, hexrgba: ()] - Sets the background color of the dock manager. |
| 180 | +/// @prop {Color} joystick-background [igx-color: 'surface', rgba: .66, hexrgba: ()] - Sets the background color of the joystick. |
| 181 | +/// @prop {Color} joystick-icon-color-active [igx-context-color: 'surface'] - Sets the color of the active joystick icons. |
| 182 | +/// @prop {Color} pane-header-background [igx-color: 'surface', rgba: .33, hexrgba: ()] - Sets the background color for pane headers. |
| 183 | +/// @prop {Color} pinned-header-background [igx-color: 'surface', rgba: .33, hexrgba: ()] - Sets the background colors of pinned headers. |
| 184 | +/// @prop {Color} splitter-background [igx-color: ('grays', 300), hexrgba: ()] - Sets the background color for the splitters. |
| 185 | +/// @prop {Color} splitter-handle [igx-color: ('grays', 50), hexrgba: ()] - Sets the background color for the splitter handles. |
| 186 | +/// @prop {Color} text-color [igx-contrast-color: 'surface'] - Sets the text color for most elements in the dock manager. Used as the default joystick icon color. |
| 187 | +/// @requires {function} extend |
| 188 | +/// @requires $_bootstrap-dock-manager |
| 189 | +$_dark-bootstrap-dock-manager: extend( |
| 190 | + $_bootstrap-dock-manager, ( |
| 191 | + accent-color: ( |
| 192 | + igx-color: 'surface', |
| 193 | + rgba: .33, |
| 194 | + hexrgba: #000, |
| 195 | + ), |
| 196 | + background-color: ( |
| 197 | + igx-color: 'surface', |
| 198 | + rgba: .33, |
| 199 | + hexrgba: #000, |
| 200 | + ), |
| 201 | + context-menu-background: ( |
| 202 | + igx-color: 'surface', |
| 203 | + rgba: .66, |
| 204 | + hexrgba: #000, |
| 205 | + ), |
| 206 | + context-menu-color-active: ( |
| 207 | + igx-contrast-color: 'surface', |
| 208 | + ), |
| 209 | + dock-background: ( |
| 210 | + igx-color: 'surface', |
| 211 | + rgba: .33, |
| 212 | + hexrgba: #000, |
| 213 | + ), |
| 214 | + joystick-background: ( |
| 215 | + igx-color: 'surface', |
| 216 | + rgba: .66, |
| 217 | + hexrgba: #000, |
| 218 | + ), |
| 219 | + joystick-icon-color-active: ( |
| 220 | + igx-contrast-color: 'surface', |
| 221 | + ), |
| 222 | + pane-header-background: ( |
| 223 | + igx-color: 'surface', |
| 224 | + rgba: .33, |
| 225 | + hexrgba: #000, |
| 226 | + ), |
| 227 | + pinned-header-background: ( |
| 228 | + igx-color: 'surface', |
| 229 | + rgba: .33, |
| 230 | + hexrgba: #000, |
| 231 | + ), |
| 232 | + splitter-background: ( |
| 233 | + igx-color: ('grays', 300), |
| 234 | + hexrgba: #000, |
| 235 | + ), |
| 236 | + splitter-handle: ( |
| 237 | + igx-color: ('grays', 50), |
| 238 | + hexrgba: #000, |
| 239 | + ), |
| 240 | + text-color: ( |
| 241 | + igx-contrast-color: 'surface', |
| 242 | + ), |
| 243 | + ) |
| 244 | +); |
0 commit comments