matcha-theme 1.0.1
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/abstracts/_breakpoints.scss +33 -0
- package/abstracts/_colors.scss +422 -0
- package/abstracts/_elevation.scss +102 -0
- package/abstracts/_functions.scss +321 -0
- package/abstracts/_grid.scss +130 -0
- package/abstracts/_order.scss +46 -0
- package/abstracts/_position.scss +51 -0
- package/abstracts/_sizes.scss +74 -0
- package/abstracts/_spacings.scss +236 -0
- package/abstracts/_typography.scss +137 -0
- package/base/_helpers.scss +3019 -0
- package/base/_reset.scss +9 -0
- package/base/_typography.scss +242 -0
- package/components/matcha-audio-player.scss +37 -0
- package/components/matcha-buttons.scss +91 -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 +326 -0
- package/components/matcha-horizontal-tree.scss +275 -0
- package/components/matcha-icons.scss +11 -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 +259 -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 +5562 -0
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/main.scss +87 -0
- package/package.json +11 -0
- package/tokens/_animations.scss +37 -0
- package/tokens/_breakpoints.scss +46 -0
- package/tokens/_color-tokens.scss +1419 -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 +21 -0
- package/vendors/calendar.scss +2876 -0
- package/vendors/charts.scss +92 -0
- package/vendors/ng5-slider.scss +56 -0
- package/vendors/ngx-material-timepicker.scss +50 -0
|
Binary file
|
|
Binary file
|
package/main.scss
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
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-icons.scss";
|
|
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
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
51
|
+
// @ CORE - Mixins and Includes
|
|
52
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
53
|
+
@include colors-classes-static($matchaPalettes);
|
|
54
|
+
|
|
55
|
+
@mixin matcha-typography($config: null) {
|
|
56
|
+
@if $config ==null {
|
|
57
|
+
$config: matcha-typography-config();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include matcha-reset-typography($config);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin matcha-components($theme) {
|
|
64
|
+
@include colors-classes-dynamic($theme);
|
|
65
|
+
|
|
66
|
+
@include elevation-theme($theme);
|
|
67
|
+
|
|
68
|
+
@include vendor-angular-editor($theme);
|
|
69
|
+
@include vendor-angular-material-fixes($theme);
|
|
70
|
+
@include vendor-calendar-theme($theme);
|
|
71
|
+
@include vendor-chart($theme);
|
|
72
|
+
@include vendor-ng-5-theme($theme);
|
|
73
|
+
@include vendor-ngx-material-timepicker($theme);
|
|
74
|
+
|
|
75
|
+
@include base-typography-theme($theme);
|
|
76
|
+
@include base-body-reset-theme($theme);
|
|
77
|
+
|
|
78
|
+
@include matcha-cards-theme($theme);
|
|
79
|
+
@include matcha-horizontal-tree($theme);
|
|
80
|
+
@include matcha-scrollbox-shadow($theme);
|
|
81
|
+
@include matcha-scrollbar-theme($theme);
|
|
82
|
+
|
|
83
|
+
@include matcha-table-theme($theme);
|
|
84
|
+
|
|
85
|
+
@include matcha-button-theme($theme);
|
|
86
|
+
@include matcha-header-theme($theme);
|
|
87
|
+
}
|
package/package.json
ADDED
|
@@ -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,46 @@
|
|
|
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
|
+
//old size - 980px
|
|
15
|
+
gt-md: 'screen and (min-width: 1440px)',
|
|
16
|
+
//old size - 1280px
|
|
17
|
+
gt-lg: 'screen and (min-width: 1920px)'
|
|
18
|
+
) !default;
|
|
19
|
+
|
|
20
|
+
// Re-map the breakpoints for the helper classes
|
|
21
|
+
$helper-breakpoints: (
|
|
22
|
+
xs: null,
|
|
23
|
+
sm: 'gt-xs',
|
|
24
|
+
md: 'gt-sm',
|
|
25
|
+
lg: 'gt-md',
|
|
26
|
+
xl: 'gt-lg'
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
// Map the icon sizes for the helper classes
|
|
30
|
+
$helper-i-sizes: (
|
|
31
|
+
xs: 12,
|
|
32
|
+
sm: 16,
|
|
33
|
+
md: 24,
|
|
34
|
+
lg: 32,
|
|
35
|
+
xl: 48,
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
$grid-prefix: 'col';
|
|
39
|
+
$grid-length: 12;
|
|
40
|
+
$grid-sizes: (
|
|
41
|
+
xs 600px,
|
|
42
|
+
sm 1024px,
|
|
43
|
+
md 1440px,
|
|
44
|
+
lg 1920px,
|
|
45
|
+
xl 2560px
|
|
46
|
+
);
|