igniteui-theming 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass/themes/charts/_category-chart-theme.scss +319 -0
- package/sass/themes/charts/_data-chart-theme.scss +142 -0
- package/sass/themes/charts/_doughnut-chart-theme.scss +81 -0
- package/sass/themes/charts/_financial-chart-theme.scss +325 -0
- package/sass/themes/charts/_funnel-chart-theme.scss +98 -0
- package/sass/themes/charts/_gauge-theme.scss +167 -0
- package/sass/themes/charts/_geo-map-theme.scss +53 -0
- package/sass/themes/charts/_graph-theme.scss +133 -0
- package/sass/themes/charts/_index.scss +11 -0
- package/sass/themes/charts/_pie-chart-theme.scss +108 -0
- package/sass/themes/charts/_shape-chart-theme.scss +271 -0
- package/sass/themes/charts/_sparkline-theme.scss +114 -0
- package/sass/themes/charts/_theme.scss +27 -0
- package/sass/themes/schemas/_index.scss +35 -0
- package/sass/themes/schemas/charts/_index.scss +2 -0
- package/sass/themes/schemas/charts/dark/_category-chart.scss +33 -0
- package/sass/themes/schemas/charts/dark/_data-chart.scss +27 -0
- package/sass/themes/schemas/charts/dark/_doughnut-chart.scss +28 -0
- package/sass/themes/schemas/charts/dark/_financial-chart.scss +28 -0
- package/sass/themes/schemas/charts/dark/_funnel-chart.scss +28 -0
- package/sass/themes/schemas/charts/dark/_gauge.scss +47 -0
- package/sass/themes/schemas/charts/dark/_geo-map.scss +31 -0
- package/sass/themes/schemas/charts/dark/_graph.scss +27 -0
- package/sass/themes/schemas/charts/dark/_index.scss +68 -0
- package/sass/themes/schemas/charts/dark/_pie-chart.scss +31 -0
- package/sass/themes/schemas/charts/dark/_shape-chart.scss +28 -0
- package/sass/themes/schemas/charts/dark/_sparkline.scss +28 -0
- package/sass/themes/schemas/charts/light/_category-chart.scss +178 -0
- package/sass/themes/schemas/charts/light/_data-chart.scss +60 -0
- package/sass/themes/schemas/charts/light/_doughnut-chart.scss +50 -0
- package/sass/themes/schemas/charts/light/_financial-chart.scss +140 -0
- package/sass/themes/schemas/charts/light/_funnel-chart.scss +48 -0
- package/sass/themes/schemas/charts/light/_gauge.scss +132 -0
- package/sass/themes/schemas/charts/light/_geo-map.scss +35 -0
- package/sass/themes/schemas/charts/light/_graph.scss +86 -0
- package/sass/themes/schemas/charts/light/_index.scss +68 -0
- package/sass/themes/schemas/charts/light/_pie-chart.scss +51 -0
- package/sass/themes/schemas/charts/light/_shape-chart.scss +115 -0
- package/sass/themes/schemas/charts/light/_sparkline.scss +71 -0
- package/sass/typography/_mixins.scss +26 -0
- package/sass/typography/charts/_index.scss +19 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
////
|
|
3
|
+
/// @group schemas
|
|
4
|
+
/// @access public
|
|
5
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
6
|
+
////
|
|
7
|
+
|
|
8
|
+
/// Generates a material base data chart schema.
|
|
9
|
+
/// @type {Map}
|
|
10
|
+
/// @property {List} margin [null] - Sets the margin (top, right, bottom, left) of the chart content.
|
|
11
|
+
/// @property {Color} title-text-color [color: ('gray', 900)] - Sets the color of the chart title.
|
|
12
|
+
/// @property {List} title-margin [null] - Sets the margin (top, right, bottom, left) of the chart title.
|
|
13
|
+
/// @property {Color} subtitle-text-color [color: ('gray', 600)] - Sets the color of the chart subtitle.
|
|
14
|
+
/// @property {List} subtitle-margin [null] - Sets the margins (top, right, bottom, left) of the chart subtitle.
|
|
15
|
+
/// @property {List} brushes [series] - Defines the palette from which automatically assigned series colors are selected.
|
|
16
|
+
/// @property {List} marker-brushes [series] - Defines the palette from which automatically assigned marker brushes are selected.
|
|
17
|
+
/// @property {List} outlines [series] - Defines the palette from which automatically assigned series outline colors are selected.
|
|
18
|
+
/// @property {List} marker-outlines [series] - Defines the palette from which automatically assigned marker outlines are selected.
|
|
19
|
+
/// @property {Color} plot-area-background [color: ('surface', 500)] - Sets the brush used as the background for the current Chart object's plot area.
|
|
20
|
+
/// @property {String} title-horizontal-alignment [null] - The horizontal alignment to use for the title.
|
|
21
|
+
/// @property {String} subtitle-horizontal-alignment [null] - The horizontal alignment to use for the subtitle.
|
|
22
|
+
/// @see $default-palette
|
|
23
|
+
$material-data-chart: (
|
|
24
|
+
'margin': null,
|
|
25
|
+
'title-text-color': (
|
|
26
|
+
color: ('gray', 900)
|
|
27
|
+
),
|
|
28
|
+
'title-margin': null,
|
|
29
|
+
'subtitle-text-color': (
|
|
30
|
+
color: ('gray', 600)
|
|
31
|
+
),
|
|
32
|
+
'subtitle-margin': null,
|
|
33
|
+
'brushes': series,
|
|
34
|
+
'marker-brushes': series,
|
|
35
|
+
'outlines': series,
|
|
36
|
+
'marker-outlines': series,
|
|
37
|
+
'plot-area-background': (
|
|
38
|
+
color: ('surface', 500)
|
|
39
|
+
),
|
|
40
|
+
'title-horizontal-alignment': null,
|
|
41
|
+
'subtitle-horizontal-alignment': null,
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
/// Generates a fluent data-chart schema.
|
|
45
|
+
/// @type {Map}
|
|
46
|
+
/// @requires {function} extend
|
|
47
|
+
/// @requires {Map} $material-data-chart
|
|
48
|
+
$fluent-data-chart: $material-data-chart;
|
|
49
|
+
|
|
50
|
+
/// Generates a bootstrap data-chart schema.
|
|
51
|
+
/// @type {Map}
|
|
52
|
+
/// @requires {function} extend
|
|
53
|
+
/// @requires {Map} $material-data-chart
|
|
54
|
+
$bootstrap-data-chart: $material-data-chart;
|
|
55
|
+
|
|
56
|
+
/// Generates an indigo data-chart schema.
|
|
57
|
+
/// @type {Map}
|
|
58
|
+
/// @requires {function} extend
|
|
59
|
+
/// @requires {Map} $material-data-chart
|
|
60
|
+
$indigo-data-chart: $material-data-chart;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
////
|
|
3
|
+
/// @group schemas
|
|
4
|
+
/// @access public
|
|
5
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
6
|
+
////
|
|
7
|
+
|
|
8
|
+
/// Generates a material base doughnut chart schema.
|
|
9
|
+
/// @type {Map}
|
|
10
|
+
/// @property {List} brushes [series] - Defines the palette from which automatically assigned series colors are selected.
|
|
11
|
+
/// @property {List} outlines [series] - Defines the palette from which automatically assigned series outline colors are selected.
|
|
12
|
+
/// @property {Color} others-category-fill [null] - Sets the fill color for others category.
|
|
13
|
+
/// @property {Number} others-category-opacity [null] - Sets the opacity for others category.
|
|
14
|
+
/// @property {Color} others-category-stroke [null] - Sets the others category stroke color.
|
|
15
|
+
/// @property {Number} others-category-stroke-thickness [null] - Sets the others category stroke thickness.
|
|
16
|
+
/// @property {Color} selected-slice-fill [null] - Sets the fill color of the selected slice.
|
|
17
|
+
/// @property {Number} selected-slice-opacity [null] - Sets the opacity of the selected slice.
|
|
18
|
+
/// @property {Color} selected-slice-stroke [null] - Sets the stroke color of the selected slice.
|
|
19
|
+
/// @property {Number} selected-slice-stroke-thickness [null] - Sets the stroke thickness of the selected slice.
|
|
20
|
+
/// @see $default-palette
|
|
21
|
+
$material-doughnut-chart: (
|
|
22
|
+
'brushes': series,
|
|
23
|
+
'outlines': series,
|
|
24
|
+
'others-category-fill': null,
|
|
25
|
+
'others-category-opacity': null,
|
|
26
|
+
'others-category-stroke': null,
|
|
27
|
+
'others-category-stroke-thickness': null,
|
|
28
|
+
'selected-slice-fill': null,
|
|
29
|
+
'selected-slice-opacity': null,
|
|
30
|
+
'selected-slice-stroke': null,
|
|
31
|
+
'selected-slice-stroke-thickness': null,
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/// Generates a fluent doughnut-chart schema.
|
|
35
|
+
/// @type {Map}
|
|
36
|
+
/// @requires {function} extend
|
|
37
|
+
/// @requires {Map} $material-doughnut-chart
|
|
38
|
+
$fluent-doughnut-chart: $material-doughnut-chart;
|
|
39
|
+
|
|
40
|
+
/// Generates a bootstrap doughnut-chart schema.
|
|
41
|
+
/// @type {Map}
|
|
42
|
+
/// @requires {function} extend
|
|
43
|
+
/// @requires {Map} $material-doughnut-chart
|
|
44
|
+
$bootstrap-doughnut-chart: $material-doughnut-chart;
|
|
45
|
+
|
|
46
|
+
/// Generates an indigo doughnut-chart schema.
|
|
47
|
+
/// @type {Map}
|
|
48
|
+
/// @requires {function} extend
|
|
49
|
+
/// @requires {Map} $material-doughnut-chart
|
|
50
|
+
$indigo-doughnut-chart: $material-doughnut-chart;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
////
|
|
3
|
+
/// @group schemas
|
|
4
|
+
/// @access public
|
|
5
|
+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
|
|
6
|
+
////
|
|
7
|
+
|
|
8
|
+
/// Generates a material base chart schema.
|
|
9
|
+
/// @type {Map}
|
|
10
|
+
/// @prop {List} margin [null] - Sets the margin (top, right, bottom, left) of the chart content.
|
|
11
|
+
/// @prop {String} title-alignment [null] - The horizontal alignment to use for the title.
|
|
12
|
+
/// @prop {Color} title-text-color [null] - Sets the color of the chart title.
|
|
13
|
+
/// @prop {List} title-margin [null] - Sets the margin (top, right, bottom, left) of the chart title.
|
|
14
|
+
/// @prop {Color} subtitle-text-color [null] - Sets the color of the chart subtitle.
|
|
15
|
+
/// @prop {List} subtitle-margin [null] - Sets the margins (top, right, bottom, left) of the chart subtitle.
|
|
16
|
+
/// @prop {String} subtitle-alignment [null] - Gets or sets horizontal alignment which determines the subtitle position, relative to the left and right edges of the control.
|
|
17
|
+
/// @prop {List} brushes [series] - Defines the palette from which automatically assigned series brushes colors are selected.
|
|
18
|
+
/// @prop {List} marker-brushes [series]- Defines the palette from which automatically assigned series marker brushes colors are selected.
|
|
19
|
+
/// @prop {List} negative-brushes [series] - Defines the palette used for coloring negative items in a chart type with contextual coloring, such as Waterfall.
|
|
20
|
+
/// @prop {List} outlines [series] - Defines the palette from which automatically assigned series outline colors are selected.
|
|
21
|
+
/// @prop {List} marker-outlines [series] - Defines the palette from which automatically assigned series marker outline colors are selected.
|
|
22
|
+
/// @prop {List} negative-outlines [series] - Defines the brushes used for drawing negative elements in a chart type with contextual coloring, such as Waterfall.
|
|
23
|
+
/// @prop {List} indicator-brushes [series] - Defines the brushes used for financial indicators.
|
|
24
|
+
/// @prop {List} indicator-negative-brushes [series] - Defines the brushes used for negative elements in financial indicators.
|
|
25
|
+
/// @prop {Number} indicator-thickness [null]- Defines the palette from which automatically assigned series marker brushes colors are selected.
|
|
26
|
+
/// @prop {Color} plot-area-background [null]- Gets or sets the brush used as the background for the current Chart object's plot area.
|
|
27
|
+
/// @prop {Number} thickness [null] - Sets the thickness for all series in a chart.
|
|
28
|
+
/// @prop {Number} toolbar-height [null] - Sets the height of the tooolbar.
|
|
29
|
+
/// @prop {List} trend-line-brushes [series] - Defines the palette of brushes used for coloring trend lines in a chart.
|
|
30
|
+
/// @prop {Number} trend-line-thickness [null] - Sets the thickness of the trend lines in a chart of type point, line, spline or bubble.
|
|
31
|
+
/// @prop {List} volume-brushes [series]- Defines the brushes to use for filling volume series in the volume pane.
|
|
32
|
+
/// @prop {List} volume-outlines [series] - Defines the brushes to use for outlining volume series in the volume pane.
|
|
33
|
+
/// @prop {Number} volume-thickness [null]- Defines the outline thickness of volume series in the volume pane.
|
|
34
|
+
/// @prop {List} x-axis-label-margin [null] - Sets the margin (top, right, bottom, left) of labels on the X-axis.
|
|
35
|
+
/// @prop {Color} x-axis-label-text-color [null] - Sets the color of labels on the X-axis.
|
|
36
|
+
/// @prop {String} x-axis-label-vertical-alignment [null] - Sets the vertical alignment of X-axis labels.
|
|
37
|
+
/// @prop {Color} x-axis-major-stroke [null] - Sets the color to apply to major gridlines along the X-axis.
|
|
38
|
+
/// @prop {Number} x-axis-major-stroke-thickness [null] - Sets the thickness to apply to major gridlines along the X-axis.
|
|
39
|
+
/// @prop {Color} x-axis-minor-stroke [null] - Sets the color to apply to minor gridlines along the X-axis.
|
|
40
|
+
/// @prop {Number} x-axis-minor-stroke-thickness [null] - Sets the thickness to apply to minor gridlines along the X-axis.
|
|
41
|
+
/// @prop {Color} x-axis-strip [null] - Sets the color to apply to stripes along the X-axis.
|
|
42
|
+
/// @prop {Color} x-axis-stroke [null] - Sets the color to apply to the X-axis line.
|
|
43
|
+
/// @prop {Number} x-axis-stroke-thickness [null] - Sets the thickness to apply to the X-axis line.
|
|
44
|
+
/// @prop {Number} x-axis-tick-length [null] - Sets the length of tickmarks along the X-axis.
|
|
45
|
+
/// @prop {Color} x-axis-tick-stroke [null] - Sets the color to apply to tickmarks along the X-axis.
|
|
46
|
+
/// @prop {Number} x-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the X-axis.
|
|
47
|
+
/// @prop {String} x-axis-title-alignment [null] - Sets the horizontal alignment of the X-axis title.
|
|
48
|
+
/// @prop {List} x-axis-title-margin [null] - Sets the margin (top, right, bottom, left) of a title on the X-axis.
|
|
49
|
+
/// @prop {Color} x-axis-title-text-color [null] - Sets the color of the title on the X-axis.
|
|
50
|
+
/// @prop {List} y-axis-label-margin [null] - Sets the margin (top, right, bottom, left) of labels on the Y-axis.
|
|
51
|
+
/// @prop {Color} y-axis-label-text-color [null] - Sets the color of labels on the Y-axis.
|
|
52
|
+
/// @prop {String} y-axis-label-vertical-alignment [null] - Sets the vertical alignment of Y-axis labels.
|
|
53
|
+
/// @prop {Color} y-axis-major-stroke [null] - Sets the color to apply to major gridlines along the y-axis.
|
|
54
|
+
/// @prop {Number} y-axis-major-stroke-thickness [null] - Sets the thickness to apply to major gridlines along the Y-axis.
|
|
55
|
+
/// @prop {Color} y-axis-minor-stroke [null] - Sets the color to apply to minor gridlines along the Y-axis.
|
|
56
|
+
/// @prop {Number} y-axis-minor-stroke-thickness [null] - Sets the thickness to apply to minor gridlines along the Y-axis.
|
|
57
|
+
/// @prop {Color} y-axis-strip [null] - Sets the color to apply to stripes along the Y-axis.
|
|
58
|
+
/// @prop {Color} y-axis-stroke [null] - Sets the color to apply to the Y-axis line.
|
|
59
|
+
/// @prop {Number} y-axis-stroke-thickness [null] - Sets the thickness to apply to the Y-axis line.
|
|
60
|
+
/// @prop {String} y-axis-title-alignment [null] - Sets the horizontal alignment of the Y-axis title.
|
|
61
|
+
/// @prop {List} y-axis-title-margin [null] - Sets the margin (top, right, bottom, left) of a title on the Y-axis.
|
|
62
|
+
/// @prop {Color} y-axis-title-text-color [null] - Sets the color of a title on the Y-axis.
|
|
63
|
+
/// @prop {Number} y-axis-tick-length [null] - Sets the length of tickmarks along the Y-axis.
|
|
64
|
+
/// @prop {Color} y-axis-tick-stroke [null] - Sets the color to apply to tickmarks along the Y-axis.
|
|
65
|
+
/// @prop {Number} y-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the Y-axis.
|
|
66
|
+
/// @prop {String} zoom-slider-x-axis-major-stroke [null] - Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane.
|
|
67
|
+
/// @prop {Number} zoom-slider-x-axis-major-stroke-thickness [null] - Gets or sets thickness of major gridlines on x-axis of the zoom slider pane.
|
|
68
|
+
/// @see $default-palette
|
|
69
|
+
$material-financial-chart: (
|
|
70
|
+
'margin': null,
|
|
71
|
+
'title-alignment': null,
|
|
72
|
+
'title-text-color': null,
|
|
73
|
+
'title-margin': null,
|
|
74
|
+
'subtitle-text-color': null,
|
|
75
|
+
'subtitle-margin': null,
|
|
76
|
+
'subtitle-alignment': null,
|
|
77
|
+
'brushes': series,
|
|
78
|
+
'outlines': series,
|
|
79
|
+
'marker-brushes': series,
|
|
80
|
+
'marker-outlines': series,
|
|
81
|
+
'plot-area-background': null,
|
|
82
|
+
'indicator-brushes': series,
|
|
83
|
+
'indicator-negative-brushes': series,
|
|
84
|
+
'indicator-thickness': null,
|
|
85
|
+
'negative-brushes': series,
|
|
86
|
+
'negative-outlines': series,
|
|
87
|
+
'overlay-brushes': series,
|
|
88
|
+
'overlay-outlines': series,
|
|
89
|
+
'overlay-thickness': series,
|
|
90
|
+
'thickness': null,
|
|
91
|
+
'toolbar-height': null,
|
|
92
|
+
'trend-line-brushes': series,
|
|
93
|
+
'trend-line-thickness': null,
|
|
94
|
+
'volume-brushes': series,
|
|
95
|
+
'volume-outlines': series,
|
|
96
|
+
'volume-thickness': null,
|
|
97
|
+
'x-axis-label-margin': null,
|
|
98
|
+
'x-axis-label-text-color': null,
|
|
99
|
+
'x-axis-label-vertical-alignment': null,
|
|
100
|
+
'x-axis-major-stroke': null,
|
|
101
|
+
'x-axis-major-stroke-thickness': null,
|
|
102
|
+
'x-axis-minor-stroke': null,
|
|
103
|
+
'x-axis-minor-stroke-thickness': null,
|
|
104
|
+
'x-axis-strip': null,
|
|
105
|
+
'x-axis-stroke': null,
|
|
106
|
+
'x-axis-stroke-thickness': null,
|
|
107
|
+
'x-axis-title-alignment': null,
|
|
108
|
+
'x-axis-title-margin': null,
|
|
109
|
+
'x-axis-title-text-color': null,
|
|
110
|
+
'y-axis-label-margin': null,
|
|
111
|
+
'y-axis-label-text-color': null,
|
|
112
|
+
'y-axis-label-vertical-alignment': null,
|
|
113
|
+
'y-axis-major-stroke': null,
|
|
114
|
+
'y-axis-major-stroke-thickness': null,
|
|
115
|
+
'y-axis-minor-stroke': null,
|
|
116
|
+
'y-axis-minor-stroke-thickness': null,
|
|
117
|
+
'y-axis-strip': null,
|
|
118
|
+
'y-axis-stroke': null,
|
|
119
|
+
'y-axis-stroke-thickness': null,
|
|
120
|
+
'y-axis-title-alignment': null,
|
|
121
|
+
'y-axis-title-margin': null,
|
|
122
|
+
'y-axis-title-text-color': null,
|
|
123
|
+
'zoom-slider-x-axis-major-stroke': null,
|
|
124
|
+
'zoom-slider-x-axis-major-stroke-thickness': null
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
/// Generates a fluent financial-chart schema.
|
|
128
|
+
/// @type {Map}
|
|
129
|
+
/// @requires {Map} $material-financial-chart
|
|
130
|
+
$fluent-financial-chart: $material-financial-chart;
|
|
131
|
+
|
|
132
|
+
/// Generates a bootstrap financial-chart schema.
|
|
133
|
+
/// @type {Map}
|
|
134
|
+
/// @requires {Map} $material-financial-chart
|
|
135
|
+
$bootstrap-financial-chart: $material-financial-chart;
|
|
136
|
+
|
|
137
|
+
/// Generates an indigo financial-chart schema.
|
|
138
|
+
/// @type {Map}
|
|
139
|
+
/// @requires {Map} $material-financial-chart
|
|
140
|
+
$indigo-financial-chart: $material-financial-chart;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
////
|
|
3
|
+
/// @group schemas
|
|
4
|
+
/// @access public
|
|
5
|
+
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
6
|
+
////
|
|
7
|
+
|
|
8
|
+
/// Generates a material funnel chart schema.
|
|
9
|
+
/// @type {Map}
|
|
10
|
+
/// @property {List} brushes [series] - Defines the palette from which automatically assigned series colors are selected.
|
|
11
|
+
/// @property {List} outlines [series] - Defines the palette from which automatically assigned series outline colors are selected.
|
|
12
|
+
/// @property {String} outer-label-alignment [null] - Sets which side of the chart the outer labels should appear.
|
|
13
|
+
/// @property {Color} outer-label-text-color [null] - Sets the Color used for the outer labels.
|
|
14
|
+
/// @property {String} outer-label-text-style [null] - Sets the text style for outer labels.
|
|
15
|
+
/// @property {Color} outer-label-visibility [null] - Sets whether the outer labels are visible.
|
|
16
|
+
/// @property {Number} outline-thickness [null] - Sets the thickness of outline around slices.
|
|
17
|
+
/// @property {Color} text-color [null] - Sets the Color used for the inner labels.
|
|
18
|
+
/// @property {String} text-style [null] - Sets the text style for inner labels.
|
|
19
|
+
/// @see $default-palette
|
|
20
|
+
$material-funnel-chart: (
|
|
21
|
+
'brushes': series,
|
|
22
|
+
'outlines': series,
|
|
23
|
+
'outer-label-alignment': null,
|
|
24
|
+
'outer-label-text-color': null,
|
|
25
|
+
'outer-label-text-style': null,
|
|
26
|
+
'outer-label-visibility': null,
|
|
27
|
+
'outline-thickness': null,
|
|
28
|
+
'text-color': null,
|
|
29
|
+
'text-style': null,
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
/// Generates a fluent funnel-chart schema.
|
|
33
|
+
/// @type {Map}
|
|
34
|
+
/// @requires {function} extend
|
|
35
|
+
/// @requires {Map} $material-funnel-chart
|
|
36
|
+
$fluent-funnel-chart: $material-funnel-chart;
|
|
37
|
+
|
|
38
|
+
/// Generates a bootstrap funnel-chart schema.
|
|
39
|
+
/// @type {Map}
|
|
40
|
+
/// @requires {function} extend
|
|
41
|
+
/// @requires {Map} $material-funnel-chart
|
|
42
|
+
$bootstrap-funnel-chart: $material-funnel-chart;
|
|
43
|
+
|
|
44
|
+
/// Generates an indigo funnel-chart schema.
|
|
45
|
+
/// @type {Map}
|
|
46
|
+
/// @requires {function} extend
|
|
47
|
+
/// @requires {Map} $material-funnel-chart
|
|
48
|
+
$indigo-funnel-chart: $material-funnel-chart;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
@use '../../../../utils/map' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @group schemas
|
|
6
|
+
/// @access public
|
|
7
|
+
/// @author <a href="https://github.com/SisIvanova" target="_blank">Silvia Ivanova</a>
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates a material gauge schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @property {Color} backing-brush [(color: 'surface', darken: 8%)] - Sets the color to use to fill the backing of the linear gauge.
|
|
13
|
+
/// @property {Color} backing-outline [(color: 'surface', darken: 8%)] - Sets the color to use for the outline of the backing.
|
|
14
|
+
/// @property {Number} backing-stroke-thickness [null] - Sets the stroke thickness of the backing outline.
|
|
15
|
+
/// @property {Color} font-brush [(color: 'surface', rgba: .62)] - Sets the color to use for the label font.
|
|
16
|
+
/// @property {Color} minor-tick-brush [(color: 'surface', rgba: .62)] - Sets the color to use for the major tickmarks.
|
|
17
|
+
/// @property {Number} minor-tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering minor ticks.
|
|
18
|
+
/// @property {Color} needle-brush [(color: 'primary')] - Sets the color to use for the needle element.
|
|
19
|
+
/// @property {Color} needle-outline [(color: 'surface')] - Sets the color to use for the outline of needle element.
|
|
20
|
+
/// @property {Number} needle-stroke-thickness [null] - Sets the stroke thickness to use when rendering single actual value element.
|
|
21
|
+
/// @property {List} range-brushes [series] - Sets a collection of colors to be used as the palette for linear gauge ranges.
|
|
22
|
+
/// @property {List} range-outlines [series] - Sets a collection of colors to be used as the palette for linear gauge outlines.
|
|
23
|
+
/// @property {Color} scale-brush [(color: 'surface', darken: 8%)] - Sets the color to use to fill the scale of the linear gauge.
|
|
24
|
+
/// @property {Color} tick-brush [(color: 'surface', rgba: .62)] - Sets the color to use for the major tickmarks.
|
|
25
|
+
/// @property {Number} tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering ticks.
|
|
26
|
+
/// @see $default-palette
|
|
27
|
+
$material-gauge: (
|
|
28
|
+
'backing-brush': (
|
|
29
|
+
color: 'surface',
|
|
30
|
+
),
|
|
31
|
+
'backing-outline': (
|
|
32
|
+
color: 'surface',
|
|
33
|
+
),
|
|
34
|
+
'backing-stroke-thickness': null,
|
|
35
|
+
'font-brush': (
|
|
36
|
+
contrast-color: ('surface', 500),
|
|
37
|
+
),
|
|
38
|
+
'minor-tick-brush': (
|
|
39
|
+
contrast-color: ('surface', 500),
|
|
40
|
+
),
|
|
41
|
+
'minor-tick-stroke-thickness': null,
|
|
42
|
+
'needle-brush': (
|
|
43
|
+
color: 'primary',
|
|
44
|
+
),
|
|
45
|
+
'needle-outline': (
|
|
46
|
+
color: 'surface',
|
|
47
|
+
),
|
|
48
|
+
'needle-stroke-thickness': null,
|
|
49
|
+
'range-brushes': series,
|
|
50
|
+
'range-outlines': series,
|
|
51
|
+
'scale-brush': (
|
|
52
|
+
color: 'surface',
|
|
53
|
+
),
|
|
54
|
+
'tick-brush': (
|
|
55
|
+
contrast-color: ('surface', 500)
|
|
56
|
+
),
|
|
57
|
+
'tick-stroke-thickness': null
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/// Generates a material linear gauge schema.
|
|
61
|
+
/// @type {Map}
|
|
62
|
+
/// @property {Number} needle-breadth [null] - Sets the needle breadth.
|
|
63
|
+
/// @property {Number} needle-inner-base-width [null] - Sets the width of the needle's inner base.
|
|
64
|
+
/// @property {Number} needle-inner-point-width [null] - Sets the width of the needle's inner point.
|
|
65
|
+
/// @property {Number} needle-outer-base-width [null] - Sets the width of the needle's outer base.
|
|
66
|
+
/// @property {Number} needle-outer-point-width [null] - Sets the width of the needle's outer point.
|
|
67
|
+
/// @property {Color} scale-outline [(color: 'surface', darken: 8%)] - Sets the color to use for the outline of the scale.
|
|
68
|
+
/// @property {Number} scale-stroke-thickness [null] - Sets the stroke thickness of the scale outline.
|
|
69
|
+
/// @requires {function} extend
|
|
70
|
+
/// @requires {Map} $material-gauge
|
|
71
|
+
$material-linear-gauge: extend(
|
|
72
|
+
$material-gauge,
|
|
73
|
+
(
|
|
74
|
+
needle-breadth: null,
|
|
75
|
+
needle-inner-base-width: null,
|
|
76
|
+
needle-inner-point-width: null,
|
|
77
|
+
needle-outer-base-width: null,
|
|
78
|
+
needle-outer-point-width: null,
|
|
79
|
+
scale-outline: (
|
|
80
|
+
color: 'surface',
|
|
81
|
+
),
|
|
82
|
+
scale-stroke-thickness: null,
|
|
83
|
+
)
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
/// Generates a material radial gauge schema.
|
|
87
|
+
/// @type {Map}
|
|
88
|
+
/// @property {Color} needle-pivot-brush [color: 'primary'] - Sets the color of the needle pivot point.
|
|
89
|
+
/// @property {Color} needle-pivot-outline [color: 'surface'] - Sets the outline color of the needle pivot point.
|
|
90
|
+
/// @requires {function} extend
|
|
91
|
+
/// @requires {Map} $material-gauge
|
|
92
|
+
$material-radial-gauge: extend(
|
|
93
|
+
$material-gauge,
|
|
94
|
+
(
|
|
95
|
+
needle-pivot-brush: (
|
|
96
|
+
color: 'primary',
|
|
97
|
+
),
|
|
98
|
+
needle-pivot-outline: (
|
|
99
|
+
color: 'surface',
|
|
100
|
+
)
|
|
101
|
+
)
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
/// Generates a material fluent gauge schemas.
|
|
105
|
+
/// @type {Map}
|
|
106
|
+
/// @requires {Map} $material-linear-gauge
|
|
107
|
+
$fluent-linear-gauge: $material-linear-gauge;
|
|
108
|
+
|
|
109
|
+
/// Generates a material fluent gauge schemas.
|
|
110
|
+
/// @type {Map}
|
|
111
|
+
/// @requires {Map} $material-radial-gauge
|
|
112
|
+
$fluent-radial-gauge: $material-radial-gauge;
|
|
113
|
+
|
|
114
|
+
/// Generates a material bootstrap gauge schemas.
|
|
115
|
+
/// @type {Map}
|
|
116
|
+
/// @requires {Map} $material-linear-gauge
|
|
117
|
+
$bootstrap-linear-gauge: $material-linear-gauge;
|
|
118
|
+
|
|
119
|
+
/// Generates a material bootstrap gauge schemas.
|
|
120
|
+
/// @type {Map}
|
|
121
|
+
/// @requires {Map} $material-radial-gauge
|
|
122
|
+
$bootstrap-radial-gauge: $material-radial-gauge;
|
|
123
|
+
|
|
124
|
+
/// Generates a material indigo gauge schemas.
|
|
125
|
+
/// @type {Map}
|
|
126
|
+
/// @requires {Map} $material-linear-gauge
|
|
127
|
+
$indigo-linear-gauge: $material-linear-gauge;
|
|
128
|
+
|
|
129
|
+
/// Generates a material indigo gauge schemas.
|
|
130
|
+
/// @type {Map}
|
|
131
|
+
/// @requires {Map} $material-radial-gauge
|
|
132
|
+
$indigo-radial-gauge: $material-radial-gauge;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
|
|
3
|
+
////
|
|
4
|
+
/// @group schemas
|
|
5
|
+
/// @access public
|
|
6
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
7
|
+
////
|
|
8
|
+
|
|
9
|
+
/// Generates a material geo map schema.
|
|
10
|
+
/// @type {Map}
|
|
11
|
+
/// @prop {String} plot-area-background [null] - Gets or sets the brush used as the background for the current Map object's plot area.
|
|
12
|
+
/// @see $default-palette
|
|
13
|
+
$material-geo-map: (
|
|
14
|
+
'plot-area-background': (
|
|
15
|
+
color: 'surface'
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
/// Generates a fluent geo map schema.
|
|
20
|
+
/// @type {Map}
|
|
21
|
+
/// @requires {function} extend
|
|
22
|
+
/// @requires {Map} $material-geo-map
|
|
23
|
+
$fluent-geo-map: $material-geo-map;
|
|
24
|
+
|
|
25
|
+
/// Generates a bootstrap geo map schema.
|
|
26
|
+
/// @type {Map}
|
|
27
|
+
/// @requires {function} extend
|
|
28
|
+
/// @requires {Map} $material-geo-map
|
|
29
|
+
$bootstrap-geo-map: $material-geo-map;
|
|
30
|
+
|
|
31
|
+
/// Generates an indigo geo map schema.
|
|
32
|
+
/// @type {Map}
|
|
33
|
+
/// @requires {function} extend
|
|
34
|
+
/// @requires {Map} $material-geo-map
|
|
35
|
+
$indigo-geo-map: $material-geo-map;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* stylelint-disable max-line-length */
|
|
2
|
+
|
|
3
|
+
////
|
|
4
|
+
/// @group schemas
|
|
5
|
+
/// @access public
|
|
6
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
7
|
+
////
|
|
8
|
+
|
|
9
|
+
/// Generates a material graph schema.
|
|
10
|
+
/// @type {Map}
|
|
11
|
+
/// @prop {Color} backing-brush [(color: 'surface', darken: 5%)] - Sets the brush to use to fill the backing of the bullet graph.
|
|
12
|
+
/// @prop {Color} backing-outline [(color: 'surface', darken: 8%)] - Sets the brush to use for the outline of the backing.
|
|
13
|
+
/// @prop {Number} backing-stroke-thickness [null] - Sets the stroke thickness of the backing outline.
|
|
14
|
+
/// @prop {Color} font-brush [(contrast-color: 'surface')] - Sets the brush to use for the label font.
|
|
15
|
+
/// @prop {Color} minor-tick-brush [(contrast-color: 'surface')] - Sets the brush to use for the minor tickmarks.
|
|
16
|
+
/// @prop {Number} minor-tick-thickness [null] - Stroke thickness to use when rendering minor ticks.
|
|
17
|
+
/// @prop {List} range-brushes [series] - Sets a collection of brushes to be used as the palette for bullet graph ranges.
|
|
18
|
+
/// @prop {List} range-outlines [series] - Sets a collection of brushes to be used as the palette for bullet graph outlines.
|
|
19
|
+
/// @prop {Color} scale-background-brush [(color: 'primary')] - Sets the background brush for the scale.
|
|
20
|
+
/// @prop {Color} scale-background-outline [(color: 'surface')] - Sets the background outline for the scale.
|
|
21
|
+
/// @prop {Number} scale-background-thickness [null] - Sets the background outline thickness for the scale.
|
|
22
|
+
/// @prop {Number} target-value-breadth [null] - Sets the breadth of the target value element.
|
|
23
|
+
/// @prop {Color} target-value-brush [color('gray', 800)] - Sets the brush to use when rendering the fill of the comparative marker.
|
|
24
|
+
/// @prop {Color} target-value-outline [null] - Sets the brush to use when rendering the outline of the target value.
|
|
25
|
+
/// @prop {Number} target-value-thickness [null] - Sets the stroke thickness of the outline of the target value bar.
|
|
26
|
+
/// @prop {Color} tick-brush [(contrast-color: 'surface')] - Sets the brush to use for the major tickmarks.
|
|
27
|
+
/// @prop {Number} tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering ticks.
|
|
28
|
+
/// @prop {Color} value-brush [(color: ('gray', 800))] - Sets the brush to use for the actual value element.
|
|
29
|
+
/// @prop {Color} value-outline [null] - Sets the brush to use for the outline of actual value element.
|
|
30
|
+
/// @prop {Number} value-stroke-thickness [null] - Sets the stroke thickness to use when rendering single actual value element.
|
|
31
|
+
/// @see $default-palette
|
|
32
|
+
$material-graph: (
|
|
33
|
+
'backing-brush': (
|
|
34
|
+
color: 'surface',
|
|
35
|
+
),
|
|
36
|
+
'backing-outline': (
|
|
37
|
+
color: 'surface',
|
|
38
|
+
),
|
|
39
|
+
'backing-stroke-thickness': null,
|
|
40
|
+
'font-brush': (
|
|
41
|
+
contrast-color: ('surface', 500)
|
|
42
|
+
),
|
|
43
|
+
'minor-tick-brush': (
|
|
44
|
+
contrast-color: ('surface', 500)
|
|
45
|
+
),
|
|
46
|
+
'minor-tick-thickness': null,
|
|
47
|
+
'range-brushes': series,
|
|
48
|
+
'range-outlines': series,
|
|
49
|
+
'scale-background-brush': (
|
|
50
|
+
color: 'primary',
|
|
51
|
+
),
|
|
52
|
+
'scale-background-outline': (
|
|
53
|
+
color: 'surface',
|
|
54
|
+
),
|
|
55
|
+
'scale-background-thickness': null,
|
|
56
|
+
'target-value-breadth': null,
|
|
57
|
+
'target-value-brush': (
|
|
58
|
+
color: ('gray', 800),
|
|
59
|
+
),
|
|
60
|
+
'target-value-outline': null,
|
|
61
|
+
'target-value-thickness': null,
|
|
62
|
+
'tick-brush': (
|
|
63
|
+
contrast-color: ('surface', 500)
|
|
64
|
+
),
|
|
65
|
+
'tick-stroke-thickness': null,
|
|
66
|
+
'value-brush': (
|
|
67
|
+
color: ('gray', 800),
|
|
68
|
+
),
|
|
69
|
+
'value-outline': null,
|
|
70
|
+
'value-stroke-thickness': null,
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
/// Generates a fluent graph schema.
|
|
74
|
+
/// @type {Map}
|
|
75
|
+
/// @requires {Map} $material-graph
|
|
76
|
+
$fluent-graph: $material-graph;
|
|
77
|
+
|
|
78
|
+
/// Generates a bootstrap graph schema.
|
|
79
|
+
/// @type {Map}
|
|
80
|
+
/// @requires {Map} $material-graph
|
|
81
|
+
$bootstrap-graph: $material-graph;
|
|
82
|
+
|
|
83
|
+
/// Generates an indigo graph schema.
|
|
84
|
+
/// @type {Map}
|
|
85
|
+
/// @requires {Map} $material-graph
|
|
86
|
+
$indigo-graph: $material-graph;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@use './category-chart' as *;
|
|
2
|
+
@use './data-chart' as *;
|
|
3
|
+
@use './doughnut-chart' as *;
|
|
4
|
+
@use './financial-chart' as *;
|
|
5
|
+
@use './funnel-chart' as *;
|
|
6
|
+
@use './gauge' as *;
|
|
7
|
+
@use './geo-map' as *;
|
|
8
|
+
@use './graph' as *;
|
|
9
|
+
@use './pie-chart' as *;
|
|
10
|
+
@use './shape-chart' as *;
|
|
11
|
+
@use './sparkline' as *;
|
|
12
|
+
|
|
13
|
+
$light-material-schema: (
|
|
14
|
+
category-chart: $material-category-chart,
|
|
15
|
+
data-chart: $material-data-chart,
|
|
16
|
+
doughnut-chart: $material-doughnut-chart,
|
|
17
|
+
financial-chart: $material-financial-chart,
|
|
18
|
+
funnel-chart: $material-funnel-chart,
|
|
19
|
+
linear-gauge: $material-linear-gauge,
|
|
20
|
+
radial-gauge: $material-radial-gauge,
|
|
21
|
+
geo-map: $material-geo-map,
|
|
22
|
+
bullet-graph: $material-graph,
|
|
23
|
+
pie-chart: $material-pie-chart,
|
|
24
|
+
shape-chart: $material-shape-chart,
|
|
25
|
+
sparkline: $material-sparkline,
|
|
26
|
+
);
|
|
27
|
+
$light-bootstrap-schema: (
|
|
28
|
+
category-chart: $bootstrap-category-chart,
|
|
29
|
+
data-chart: $bootstrap-data-chart,
|
|
30
|
+
doughnut-chart: $bootstrap-doughnut-chart,
|
|
31
|
+
financial-chart: $bootstrap-financial-chart,
|
|
32
|
+
funnel-chart: $bootstrap-funnel-chart,
|
|
33
|
+
linear-gauge: $bootstrap-linear-gauge,
|
|
34
|
+
radial-gauge: $bootstrap-radial-gauge,
|
|
35
|
+
geo-map: $bootstrap-geo-map,
|
|
36
|
+
bullet-graph: $bootstrap-graph,
|
|
37
|
+
pie-chart: $bootstrap-pie-chart,
|
|
38
|
+
shape-chart: $bootstrap-shape-chart,
|
|
39
|
+
sparkline: $bootstrap-sparkline,
|
|
40
|
+
);
|
|
41
|
+
$light-fluent-schema: (
|
|
42
|
+
category-chart: $fluent-category-chart,
|
|
43
|
+
data-chart: $fluent-data-chart,
|
|
44
|
+
doughnut-chart: $fluent-doughnut-chart,
|
|
45
|
+
financial-chart: $fluent-financial-chart,
|
|
46
|
+
funnel-chart: $fluent-funnel-chart,
|
|
47
|
+
linear-gauge: $fluent-linear-gauge,
|
|
48
|
+
radial-gauge: $fluent-radial-gauge,
|
|
49
|
+
geo-map: $fluent-geo-map,
|
|
50
|
+
bullet-graph: $fluent-graph,
|
|
51
|
+
pie-chart: $fluent-pie-chart,
|
|
52
|
+
shape-chart: $fluent-shape-chart,
|
|
53
|
+
sparkline: $fluent-sparkline,
|
|
54
|
+
);
|
|
55
|
+
$light-indigo-schema: (
|
|
56
|
+
category-chart: $indigo-category-chart,
|
|
57
|
+
data-chart: $indigo-data-chart,
|
|
58
|
+
doughnut-chart: $indigo-doughnut-chart,
|
|
59
|
+
financial-chart: $indigo-financial-chart,
|
|
60
|
+
funnel-chart: $indigo-funnel-chart,
|
|
61
|
+
linear-gauge: $indigo-linear-gauge,
|
|
62
|
+
radial-gauge: $indigo-radial-gauge,
|
|
63
|
+
geo-map: $indigo-geo-map,
|
|
64
|
+
bullet-graph: $indigo-graph,
|
|
65
|
+
pie-chart: $indigo-pie-chart,
|
|
66
|
+
shape-chart: $indigo-shape-chart,
|
|
67
|
+
sparkline: $indigo-sparkline,
|
|
68
|
+
);
|