matcha-theme 18.0.27 → 18.1.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.
Files changed (67) hide show
  1. package/README.md +304 -0
  2. package/abstracts/_breakpoints.scss +33 -0
  3. package/abstracts/_colors.scss +833 -0
  4. package/abstracts/_elevation.scss +102 -0
  5. package/abstracts/_functions.scss +424 -0
  6. package/abstracts/_grid.scss +163 -0
  7. package/abstracts/_order.scss +46 -0
  8. package/abstracts/_position.scss +51 -0
  9. package/abstracts/_sizes.scss +95 -0
  10. package/abstracts/_spacings.scss +216 -0
  11. package/abstracts/_typography.scss +124 -0
  12. package/base/_helpers.scss +171 -0
  13. package/base/_reset.scss +9 -0
  14. package/base/_typography.scss +244 -0
  15. package/components/matcha-audio-player.scss +37 -0
  16. package/components/matcha-buttons.scss +165 -0
  17. package/components/matcha-cards.scss +93 -0
  18. package/components/matcha-color-pick.scss +32 -0
  19. package/components/matcha-draggable.scss +25 -0
  20. package/components/matcha-header.scss +327 -0
  21. package/components/matcha-horizontal-tree.scss +277 -0
  22. package/components/matcha-menu.scss +71 -0
  23. package/components/matcha-progress-bar.scss +107 -0
  24. package/components/matcha-scrollbar.scss +36 -0
  25. package/components/matcha-scrollbox-shadow.scss +127 -0
  26. package/components/matcha-table.scss +279 -0
  27. package/css/matcha-style.css +76772 -0
  28. package/fonts/CircularStd-Black.eot +0 -0
  29. package/fonts/CircularStd-Black.svg +3426 -0
  30. package/fonts/CircularStd-Black.ttf +0 -0
  31. package/fonts/CircularStd-Black.woff +0 -0
  32. package/fonts/CircularStd-Black.woff2 +0 -0
  33. package/fonts/CircularStd-Bold.eot +0 -0
  34. package/fonts/CircularStd-Bold.otf +0 -0
  35. package/fonts/CircularStd-Bold.svg +13532 -0
  36. package/fonts/CircularStd-Bold.ttf +0 -0
  37. package/fonts/CircularStd-Bold.woff +0 -0
  38. package/fonts/CircularStd-Bold.woff2 +0 -0
  39. package/fonts/CircularStd-Medium.eot +0 -0
  40. package/fonts/CircularStd-Medium.otf +0 -0
  41. package/fonts/CircularStd-Medium.svg +13511 -0
  42. package/fonts/CircularStd-Medium.ttf +0 -0
  43. package/fonts/CircularStd-Medium.woff +0 -0
  44. package/fonts/CircularStd-Medium.woff2 +0 -0
  45. package/fonts/CircularStd-Regular.eot +0 -0
  46. package/fonts/CircularStd-Regular.otf +0 -0
  47. package/fonts/CircularStd-Regular.svg +2378 -0
  48. package/fonts/CircularStd-Regular.ttf +0 -0
  49. package/fonts/CircularStd-Regular.woff +0 -0
  50. package/fonts/CircularStd-Regular.woff2 +0 -0
  51. package/main.scss +139 -0
  52. package/package.json +2 -2
  53. package/tokens/_animations.scss +37 -0
  54. package/tokens/_breakpoints.scss +38 -0
  55. package/tokens/_color-tokens.scss +1216 -0
  56. package/tokens/_elevation-tokens.scss +14 -0
  57. package/tokens/_spacing-tokens.scss +96 -0
  58. package/tokens/_typography-tokens.scss +25 -0
  59. package/vendors/angular-editor.scss +56 -0
  60. package/vendors/angular-material-fixes.scss +261 -0
  61. package/vendors/calendar.scss +2880 -0
  62. package/vendors/charts.scss +92 -0
  63. package/vendors/ng5-slider.scss +56 -0
  64. package/vendors/ngx-material-timepicker.scss +50 -0
  65. package/core.scss +0 -1210
  66. package/matcha-core.css +0 -62385
  67. package/matcha-core.min.css +0 -1
Binary file
Binary file
Binary file
package/main.scss ADDED
@@ -0,0 +1,139 @@
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
+
17
+ // REMOVER -----------------------------------------------------
18
+ @import "./abstracts/grid"; // display-grid() display-flex()
19
+ @import "./abstracts/order";
20
+ @import "./abstracts/position";
21
+ @import "./abstracts/sizes";
22
+ @import "./abstracts/spacings";
23
+ // REMOVER -----------------------------------------------------
24
+ @import "./abstracts/typography"; // matcha-typography-font-shorthand() matcha-typography-level-to-styles() matcha-reset-typography()
25
+
26
+
27
+ // BASE
28
+ @import "./base/helpers";
29
+ @import "./base/reset"; // base-body-reset-theme()
30
+ @import "./base/typography"; // base-typography-theme()
31
+
32
+ // COMPONENTS
33
+ @import "./components/matcha-audio-player.scss"; //matcha-audio-player-theme($theme)
34
+ @import "./components/matcha-buttons.scss"; // matcha-button-theme($theme)
35
+ @import "./components/matcha-cards.scss"; // matcha-cards-theme($theme)
36
+ @import "./components/matcha-color-pick.scss"; // matcha-color-pick-theme($theme)
37
+ @import "./components/matcha-draggable.scss"; // matcha-draggable-theme($theme)
38
+ @import "./components/matcha-header.scss"; // matcha-header-theme($theme)
39
+ @import "./components/matcha-horizontal-tree.scss"; // matcha-horizontal-tree-theme($theme)
40
+ @import "./components/matcha-menu.scss"; // matcha-menu-theme($theme)
41
+ @import "./components/matcha-progress-bar.scss"; // matcha-progress-bar-theme($theme)
42
+ @import "./components/matcha-scrollbar.scss"; // matcha-scrollbar-theme($theme)
43
+ @import "./components/matcha-scrollbox-shadow.scss"; // matcha-scrollbox-shadow-theme($theme)
44
+ @import "./components/matcha-table.scss"; // matcha-table-theme($theme)
45
+
46
+ // VENDORS
47
+ @import "./vendors/angular-editor.scss";
48
+ @import "./vendors/angular-material-fixes.scss";
49
+ @import "./vendors/calendar.scss";
50
+ @import "./vendors/charts.scss";
51
+ @import "./vendors/ng5-slider.scss";
52
+ @import "./vendors/ngx-material-timepicker.scss";
53
+
54
+ // DEFAULT FONTS
55
+ @font-face {
56
+ font-family: "CircularStd";
57
+ src: url("fonts/CircularStd-Regular.eot");
58
+ src:
59
+ local("☺"),
60
+ url("fonts/CircularStd-Regular.woff") format("woff"),
61
+ url("fonts/CircularStd-Regular.ttf") format("truetype"),
62
+ url("fonts/CircularStd-Regular.svg") format("svg");
63
+ font-weight: 400;
64
+ font-style: normal;
65
+ }
66
+
67
+ @font-face {
68
+ font-family: "CircularStd";
69
+ src: url("fonts/CircularStd-Medium.eot");
70
+ src:
71
+ local("☺"),
72
+ url("fonts/CircularStd-Medium.woff") format("woff"),
73
+ url("fonts/CircularStd-Medium.ttf") format("truetype"),
74
+ url("fonts/CircularStd-Medium.svg") format("svg");
75
+ font-weight: 500;
76
+ font-style: normal;
77
+ }
78
+
79
+ @font-face {
80
+ font-family: "CircularStd";
81
+ src: url("fonts/CircularStd-Bold.eot");
82
+ src:
83
+ local("☺"),
84
+ url("fonts/CircularStd-Bold.woff") format("woff"),
85
+ url("fonts/CircularStd-Bold.ttf") format("truetype"),
86
+ url("fonts/CircularStd-Bold.svg") format("svg");
87
+ font-weight: 700;
88
+ font-style: normal;
89
+ }
90
+
91
+ @font-face {
92
+ font-family: "CircularStd";
93
+ src: url("fonts/CircularStd-Black.eot");
94
+ src:
95
+ local("☺"),
96
+ url("fonts/CircularStd-Black.woff") format("woff"),
97
+ url("fonts/CircularStd-Black.ttf") format("truetype"),
98
+ url("fonts/CircularStd-Black.svg") format("svg");
99
+ font-weight: 900;
100
+ font-style: normal;
101
+ }
102
+ // -------------------------------------------------------------------------------------------------------------------
103
+ // @ CORE - Mixins and Includes
104
+ // -------------------------------------------------------------------------------------------------------------------
105
+ @mixin matcha-typography($config: null) {
106
+ @if $config ==null {
107
+ $config: matcha-typography-config();
108
+ }
109
+
110
+ @include matcha-reset-typography($config);
111
+ }
112
+
113
+ @mixin matcha-components($theme) {
114
+ @include colors-classes-dynamic($theme);
115
+ @include colors-classes-static($theme);
116
+
117
+ @include elevation-theme($theme);
118
+
119
+ @include vendor-angular-editor($theme);
120
+ @include vendor-angular-material-fixes($theme);
121
+ @include vendor-calendar-theme($theme);
122
+ @include vendor-chart($theme);
123
+ @include vendor-ng-5-theme($theme);
124
+ @include vendor-ngx-material-timepicker($theme);
125
+
126
+ @include base-typography-theme($theme);
127
+ @include base-body-reset-theme($theme);
128
+
129
+ @include matcha-cards-theme($theme);
130
+ @include matcha-horizontal-tree($theme);
131
+ @include matcha-scrollbox-shadow($theme);
132
+ @include matcha-scrollbar-theme($theme);
133
+
134
+ @include matcha-table-theme($theme);
135
+
136
+ @include matcha-button-theme($theme);
137
+ @include matcha-header-theme($theme);
138
+ @include matcha-menu-theme($theme);
139
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "18.0.27",
4
- "description": "styles for matcha-design-system",
3
+ "version": "18.1.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);