matcha-theme 1.0.25 → 18.0.27

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