matcha-theme 18.0.27 → 18.0.28
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/README.md +304 -0
- package/abstracts/_breakpoints.scss +33 -0
- package/abstracts/_colors.scss +833 -0
- package/abstracts/_elevation.scss +102 -0
- package/abstracts/_functions.scss +424 -0
- package/abstracts/_grid.scss +163 -0
- package/abstracts/_order.scss +46 -0
- package/abstracts/_position.scss +51 -0
- package/abstracts/_sizes.scss +95 -0
- package/abstracts/_spacings.scss +216 -0
- package/abstracts/_typography.scss +124 -0
- package/base/_helpers.scss +2181 -0
- package/base/_reset.scss +9 -0
- package/base/_typography.scss +244 -0
- package/components/matcha-audio-player.scss +37 -0
- package/components/matcha-buttons.scss +165 -0
- package/components/matcha-cards.scss +93 -0
- package/components/matcha-color-pick.scss +32 -0
- package/components/matcha-draggable.scss +25 -0
- package/components/matcha-header.scss +327 -0
- package/components/matcha-horizontal-tree.scss +277 -0
- package/components/matcha-menu.scss +71 -0
- package/components/matcha-progress-bar.scss +107 -0
- package/components/matcha-scrollbar.scss +36 -0
- package/components/matcha-scrollbox-shadow.scss +127 -0
- package/components/matcha-table.scss +279 -0
- package/css/matcha-style.css +76772 -0
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +3426 -0
- package/fonts/CircularStd-Black.ttf +0 -0
- package/fonts/CircularStd-Black.woff +0 -0
- package/fonts/CircularStd-Black.woff2 +0 -0
- package/fonts/CircularStd-Bold.eot +0 -0
- package/fonts/CircularStd-Bold.otf +0 -0
- package/fonts/CircularStd-Bold.svg +13532 -0
- package/fonts/CircularStd-Bold.ttf +0 -0
- package/fonts/CircularStd-Bold.woff +0 -0
- package/fonts/CircularStd-Bold.woff2 +0 -0
- package/fonts/CircularStd-Medium.eot +0 -0
- package/fonts/CircularStd-Medium.otf +0 -0
- package/fonts/CircularStd-Medium.svg +13511 -0
- package/fonts/CircularStd-Medium.ttf +0 -0
- package/fonts/CircularStd-Medium.woff +0 -0
- package/fonts/CircularStd-Medium.woff2 +0 -0
- package/fonts/CircularStd-Regular.eot +0 -0
- package/fonts/CircularStd-Regular.otf +0 -0
- package/fonts/CircularStd-Regular.svg +2378 -0
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
- package/main.scss +135 -0
- package/package.json +2 -2
- package/tokens/_animations.scss +37 -0
- package/tokens/_breakpoints.scss +38 -0
- package/tokens/_color-tokens.scss +1216 -0
- package/tokens/_elevation-tokens.scss +14 -0
- package/tokens/_spacing-tokens.scss +96 -0
- package/tokens/_typography-tokens.scss +25 -0
- package/vendors/angular-editor.scss +56 -0
- package/vendors/angular-material-fixes.scss +261 -0
- package/vendors/calendar.scss +2880 -0
- package/vendors/charts.scss +92 -0
- package/vendors/ng5-slider.scss +56 -0
- package/vendors/ngx-material-timepicker.scss +50 -0
- package/core.scss +0 -1210
- package/matcha-core.css +0 -62385
- package/matcha-core.min.css +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/main.scss
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// TOKENS
|
|
2
|
+
@import "./tokens/animations";
|
|
3
|
+
@import "./tokens/breakpoints";
|
|
4
|
+
@import "./tokens/color-tokens";
|
|
5
|
+
@import "./tokens/elevation-tokens";
|
|
6
|
+
@import "./tokens/spacing-tokens";
|
|
7
|
+
@import "./tokens/typography-tokens";
|
|
8
|
+
|
|
9
|
+
// FUNCTIONS
|
|
10
|
+
@import "./abstracts/functions"; // map-contrast() palette() map-color() light-theme() dark-theme() matcha-typography-level() matcha-typography-config() _matcha-get-type-value() matcha-font-size() matcha-line-height() matcha-font-weight() matcha-letter-spacing() matcha-font-family() _get-umbra-map() _get-penumbra-map() _get-ambient-map() elevation-transition-property-value()
|
|
11
|
+
|
|
12
|
+
// MIXINS
|
|
13
|
+
@import "./abstracts/breakpoints"; //media-breakpoint()
|
|
14
|
+
@import "./abstracts/colors"; // colors-classes-static() colors-classes-dynamic()
|
|
15
|
+
@import "./abstracts/elevation"; // elevation() _matcha-theme-elevation() matcha-overridable-elevation() _matcha-theme-overridable-elevation() elevation-transition() elevation-theme()
|
|
16
|
+
@import "./abstracts/grid"; // display-grid() display-flex()
|
|
17
|
+
@import "./abstracts/order";
|
|
18
|
+
@import "./abstracts/position";
|
|
19
|
+
@import "./abstracts/sizes";
|
|
20
|
+
@import "./abstracts/spacings";
|
|
21
|
+
@import "./abstracts/typography"; // matcha-typography-font-shorthand() matcha-typography-level-to-styles() matcha-reset-typography()
|
|
22
|
+
|
|
23
|
+
// BASE
|
|
24
|
+
@import "./base/helpers";
|
|
25
|
+
@import "./base/reset"; // base-body-reset-theme()
|
|
26
|
+
@import "./base/typography"; // base-typography-theme()
|
|
27
|
+
|
|
28
|
+
// COMPONENTS
|
|
29
|
+
@import "./components/matcha-audio-player.scss"; //matcha-audio-player-theme($theme)
|
|
30
|
+
@import "./components/matcha-buttons.scss"; // matcha-button-theme($theme)
|
|
31
|
+
@import "./components/matcha-cards.scss"; // matcha-cards-theme($theme)
|
|
32
|
+
@import "./components/matcha-color-pick.scss"; // matcha-color-pick-theme($theme)
|
|
33
|
+
@import "./components/matcha-draggable.scss"; // matcha-draggable-theme($theme)
|
|
34
|
+
@import "./components/matcha-header.scss"; // matcha-header-theme($theme)
|
|
35
|
+
@import "./components/matcha-horizontal-tree.scss"; // matcha-horizontal-tree-theme($theme)
|
|
36
|
+
@import "./components/matcha-menu.scss"; // matcha-menu-theme($theme)
|
|
37
|
+
@import "./components/matcha-progress-bar.scss"; // matcha-progress-bar-theme($theme)
|
|
38
|
+
@import "./components/matcha-scrollbar.scss"; // matcha-scrollbar-theme($theme)
|
|
39
|
+
@import "./components/matcha-scrollbox-shadow.scss"; // matcha-scrollbox-shadow-theme($theme)
|
|
40
|
+
@import "./components/matcha-table.scss"; // matcha-table-theme($theme)
|
|
41
|
+
|
|
42
|
+
// VENDORS
|
|
43
|
+
@import "./vendors/angular-editor.scss";
|
|
44
|
+
@import "./vendors/angular-material-fixes.scss";
|
|
45
|
+
@import "./vendors/calendar.scss";
|
|
46
|
+
@import "./vendors/charts.scss";
|
|
47
|
+
@import "./vendors/ng5-slider.scss";
|
|
48
|
+
@import "./vendors/ngx-material-timepicker.scss";
|
|
49
|
+
|
|
50
|
+
// DEFAULT FONTS
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: "CircularStd";
|
|
53
|
+
src: url("fonts/CircularStd-Regular.eot");
|
|
54
|
+
src:
|
|
55
|
+
local("☺"),
|
|
56
|
+
url("fonts/CircularStd-Regular.woff") format("woff"),
|
|
57
|
+
url("fonts/CircularStd-Regular.ttf") format("truetype"),
|
|
58
|
+
url("fonts/CircularStd-Regular.svg") format("svg");
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
font-style: normal;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@font-face {
|
|
64
|
+
font-family: "CircularStd";
|
|
65
|
+
src: url("fonts/CircularStd-Medium.eot");
|
|
66
|
+
src:
|
|
67
|
+
local("☺"),
|
|
68
|
+
url("fonts/CircularStd-Medium.woff") format("woff"),
|
|
69
|
+
url("fonts/CircularStd-Medium.ttf") format("truetype"),
|
|
70
|
+
url("fonts/CircularStd-Medium.svg") format("svg");
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
font-style: normal;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@font-face {
|
|
76
|
+
font-family: "CircularStd";
|
|
77
|
+
src: url("fonts/CircularStd-Bold.eot");
|
|
78
|
+
src:
|
|
79
|
+
local("☺"),
|
|
80
|
+
url("fonts/CircularStd-Bold.woff") format("woff"),
|
|
81
|
+
url("fonts/CircularStd-Bold.ttf") format("truetype"),
|
|
82
|
+
url("fonts/CircularStd-Bold.svg") format("svg");
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: "CircularStd";
|
|
89
|
+
src: url("fonts/CircularStd-Black.eot");
|
|
90
|
+
src:
|
|
91
|
+
local("☺"),
|
|
92
|
+
url("fonts/CircularStd-Black.woff") format("woff"),
|
|
93
|
+
url("fonts/CircularStd-Black.ttf") format("truetype"),
|
|
94
|
+
url("fonts/CircularStd-Black.svg") format("svg");
|
|
95
|
+
font-weight: 900;
|
|
96
|
+
font-style: normal;
|
|
97
|
+
}
|
|
98
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
99
|
+
// @ CORE - Mixins and Includes
|
|
100
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
101
|
+
@mixin matcha-typography($config: null) {
|
|
102
|
+
@if $config ==null {
|
|
103
|
+
$config: matcha-typography-config();
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@include matcha-reset-typography($config);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@mixin matcha-components($theme) {
|
|
110
|
+
@include colors-classes-dynamic($theme);
|
|
111
|
+
@include colors-classes-static($theme);
|
|
112
|
+
|
|
113
|
+
@include elevation-theme($theme);
|
|
114
|
+
|
|
115
|
+
@include vendor-angular-editor($theme);
|
|
116
|
+
@include vendor-angular-material-fixes($theme);
|
|
117
|
+
@include vendor-calendar-theme($theme);
|
|
118
|
+
@include vendor-chart($theme);
|
|
119
|
+
@include vendor-ng-5-theme($theme);
|
|
120
|
+
@include vendor-ngx-material-timepicker($theme);
|
|
121
|
+
|
|
122
|
+
@include base-typography-theme($theme);
|
|
123
|
+
@include base-body-reset-theme($theme);
|
|
124
|
+
|
|
125
|
+
@include matcha-cards-theme($theme);
|
|
126
|
+
@include matcha-horizontal-tree($theme);
|
|
127
|
+
@include matcha-scrollbox-shadow($theme);
|
|
128
|
+
@include matcha-scrollbar-theme($theme);
|
|
129
|
+
|
|
130
|
+
@include matcha-table-theme($theme);
|
|
131
|
+
|
|
132
|
+
@include matcha-button-theme($theme);
|
|
133
|
+
@include matcha-header-theme($theme);
|
|
134
|
+
@include matcha-menu-theme($theme);
|
|
135
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matcha-theme",
|
|
3
|
-
"version": "18.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "18.0.28",
|
|
4
|
+
"description": "Themes for matcha-design-system",
|
|
5
5
|
"main": "main.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Easing Curves
|
|
2
|
+
// TODO(jelbourn): all of these need to be revisited
|
|
3
|
+
|
|
4
|
+
// The default animation curves used by material design.
|
|
5
|
+
$time-transition-minimal: 80;
|
|
6
|
+
$time-transition-short: 200;
|
|
7
|
+
$time-transition-base: 400;
|
|
8
|
+
$time-transition-long: 600;
|
|
9
|
+
$time-transition-xl: 1000;
|
|
10
|
+
$time-delay-short: 50;
|
|
11
|
+
$time-delay-base: 100;
|
|
12
|
+
$time-delay-long: 200;
|
|
13
|
+
$time-duration-short: 2000;
|
|
14
|
+
$time-duration-base: 4000;
|
|
15
|
+
$time-duration-long: 6000;
|
|
16
|
+
|
|
17
|
+
$matcha-linear-out-slow-in-timing-function: cubic-bezier(0, 0, 0.2, 0.1) !default;
|
|
18
|
+
$matcha-fast-out-slow-in-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;
|
|
19
|
+
$matcha-fast-out-linear-in-timing-function: cubic-bezier(0.4, 0, 1, 1) !default;
|
|
20
|
+
|
|
21
|
+
$ease-in-out-curve-function: cubic-bezier(0.35, 0, 0.25, 1) !default;
|
|
22
|
+
|
|
23
|
+
$swift-ease-out-duration: #{$time-transition-base}ms !default;
|
|
24
|
+
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
25
|
+
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
|
26
|
+
|
|
27
|
+
$swift-ease-in-duration: #{$time-transition-short}ms !default;
|
|
28
|
+
$swift-ease-in-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2) !default;
|
|
29
|
+
$swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
|
|
30
|
+
|
|
31
|
+
$swift-ease-in-out-duration: #{$time-transition-long}ms !default;
|
|
32
|
+
$swift-ease-in-out-timing-function: $ease-in-out-curve-function !default;
|
|
33
|
+
$swift-ease-in-out: all $swift-ease-in-out-duration $swift-ease-in-out-timing-function !default;
|
|
34
|
+
|
|
35
|
+
$swift-linear-duration: #{$time-transition-minimal}ms !default;
|
|
36
|
+
$swift-linear-timing-function: linear !default;
|
|
37
|
+
$swift-linear: all $swift-linear-duration $swift-linear-timing-function !default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Media step breakpoint mixin based on Angular Material lib
|
|
2
|
+
$breakpoints: (
|
|
3
|
+
xs: "screen and (max-width: 599px)",
|
|
4
|
+
sm: "screen and (min-width: 600px) and (max-width: 1023px)",
|
|
5
|
+
md: "screen and (min-width: 1024px) and (max-width: 1439px)",
|
|
6
|
+
lg: "screen and (min-width: 1440px) and (max-width: 1919px)",
|
|
7
|
+
xl: "screen and (min-width: 1920px) and (max-width: 5000px)",
|
|
8
|
+
lt-sm: "screen and (max-width: 599px)",
|
|
9
|
+
lt-md: "screen and (max-width: 1023px)",
|
|
10
|
+
lt-lg: "screen and (max-width: 1439px)",
|
|
11
|
+
lt-xl: "screen and (max-width: 1919px)",
|
|
12
|
+
gt-xs: "screen and (min-width: 600px)",
|
|
13
|
+
gt-sm: "screen and (min-width: 1024px)",
|
|
14
|
+
gt-md: "screen and (min-width: 1440px)",
|
|
15
|
+
gt-lg: "screen and (min-width: 1920px)"
|
|
16
|
+
) !default;
|
|
17
|
+
|
|
18
|
+
// Re-map the breakpoints for the helper classes
|
|
19
|
+
$helper-breakpoints: (
|
|
20
|
+
xs: null,
|
|
21
|
+
sm: "gt-xs",
|
|
22
|
+
md: "gt-sm",
|
|
23
|
+
lg: "gt-md",
|
|
24
|
+
xl: "gt-lg"
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
// Map the icon sizes for the helper classes
|
|
28
|
+
$helper-i-sizes: (
|
|
29
|
+
xs: 12,
|
|
30
|
+
sm: 16,
|
|
31
|
+
md: 24,
|
|
32
|
+
lg: 32,
|
|
33
|
+
xl: 48
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
$grid-prefix: "col";
|
|
37
|
+
$grid-length: 12;
|
|
38
|
+
$grid-sizes: (sm 600px, md 1024px, lg 1440px, xl 1920px);
|