matcha-theme 1.0.27 → 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 (66) 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 -851
  8. package/abstracts/_elevation.scss +0 -102
  9. package/abstracts/_functions.scss +0 -424
  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 -2181
  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 -170
  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/css/matcha-style.css +0 -76772
  31. package/fonts/CircularStd-Black.eot +0 -0
  32. package/fonts/CircularStd-Black.svg +0 -3426
  33. package/fonts/CircularStd-Black.ttf +0 -0
  34. package/fonts/CircularStd-Black.woff +0 -0
  35. package/fonts/CircularStd-Black.woff2 +0 -0
  36. package/fonts/CircularStd-Bold.eot +0 -0
  37. package/fonts/CircularStd-Bold.otf +0 -0
  38. package/fonts/CircularStd-Bold.svg +0 -13532
  39. package/fonts/CircularStd-Bold.ttf +0 -0
  40. package/fonts/CircularStd-Bold.woff +0 -0
  41. package/fonts/CircularStd-Bold.woff2 +0 -0
  42. package/fonts/CircularStd-Medium.eot +0 -0
  43. package/fonts/CircularStd-Medium.otf +0 -0
  44. package/fonts/CircularStd-Medium.svg +0 -13511
  45. package/fonts/CircularStd-Medium.ttf +0 -0
  46. package/fonts/CircularStd-Medium.woff +0 -0
  47. package/fonts/CircularStd-Medium.woff2 +0 -0
  48. package/fonts/CircularStd-Regular.eot +0 -0
  49. package/fonts/CircularStd-Regular.otf +0 -0
  50. package/fonts/CircularStd-Regular.svg +0 -2378
  51. package/fonts/CircularStd-Regular.ttf +0 -0
  52. package/fonts/CircularStd-Regular.woff +0 -0
  53. package/fonts/CircularStd-Regular.woff2 +0 -0
  54. package/main.scss +0 -133
  55. package/tokens/_animations.scss +0 -37
  56. package/tokens/_breakpoints.scss +0 -38
  57. package/tokens/_color-tokens.scss +0 -1216
  58. package/tokens/_elevation-tokens.scss +0 -14
  59. package/tokens/_spacing-tokens.scss +0 -96
  60. package/tokens/_typography-tokens.scss +0 -25
  61. package/vendors/angular-editor.scss +0 -56
  62. package/vendors/angular-material-fixes.scss +0 -261
  63. package/vendors/calendar.scss +0 -2880
  64. package/vendors/charts.scss +0 -92
  65. package/vendors/ng5-slider.scss +0 -56
  66. package/vendors/ngx-material-timepicker.scss +0 -50
package/base/_reset.scss DELETED
@@ -1,9 +0,0 @@
1
- @mixin base-body-reset-theme($theme) {
2
- $background: map-get($theme, background);
3
- $foreground: map-get($theme, foreground);
4
-
5
- & {
6
- color: map-get($foreground, text);
7
- background: map-get($background, background);
8
- }
9
- }
@@ -1,244 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-typography.scss';
4
- @include base-typography-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Typography [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin base-typography-theme($theme) {
10
- $is-dark: map-get($theme, is-dark);
11
- $accent: map-get($theme, accent);
12
- $warn: map-get($theme, warn);
13
- $primary: map-get($theme, primary);
14
- $background: map-get($theme, background);
15
- $foreground: map-get($theme, foreground);
16
-
17
- a {
18
- color: map-get($accent, default);
19
- }
20
-
21
- code {
22
- &:not(.highlight) {
23
- background-color: map-get($background, card);
24
- }
25
- }
26
-
27
- .changelog {
28
- .entry {
29
- background-color: map-get($background, card);
30
- }
31
- }
32
-
33
- .text-boxed {
34
- @if ($is-dark) {
35
- background-color: rgba(255, 255, 255, 0.12);
36
- color: rgba(255, 255, 255, 0.54);
37
- } @else {
38
- background-color: rgba(0, 0, 0, 0.12);
39
- color: rgba(0, 0, 0, 0.54);
40
- }
41
- }
42
-
43
- .text-primary {
44
- color: map-get($primary, default) !important;
45
- }
46
-
47
- .text-warn {
48
- color: map-get($warn, default) !important;
49
- }
50
-
51
- .text-label {
52
- color: map-get($foreground, label) !important;
53
- }
54
-
55
- .text-placeholder {
56
- color: map-get($foreground, placeholder) !important;
57
- }
58
-
59
- .text-basic {
60
- color: map-get($foreground, text) !important;
61
- }
62
-
63
- // Changelog
64
- .changelog {
65
- .entry {
66
- .groups {
67
- .breaking-changes {
68
- .title {
69
- background: map-get($background, red);
70
- }
71
- }
72
-
73
- .new {
74
- .title {
75
- background: map-get($background, green);
76
- }
77
- }
78
-
79
- .improved {
80
- .title {
81
- background: map-get($background, purple);
82
- }
83
- }
84
-
85
- .fixed {
86
- .title {
87
- background: map-get($background, blue);
88
- }
89
- }
90
- }
91
- }
92
- }
93
-
94
- // Code
95
- code {
96
- &:not(.highlight) {
97
- color: map-get($background, blue);
98
- }
99
- }
100
-
101
- // Mark
102
- mark {
103
- background: map-get($background, yellow);
104
- }
105
-
106
- // Message boxes
107
- .matcha-message-box,
108
- .matcha-msg-box,
109
- .message-box {
110
- background-color: rgba(map-get($primary, default), 0.2);
111
- border-left-color: map-get($primary, default);
112
- color: map-get($foreground, text);
113
-
114
- &.error,
115
- &.warning,
116
- &.success,
117
- &.info,
118
- &--error,
119
- &--warning,
120
- &--success,
121
- &--info {
122
- color: map-get($foreground, text);
123
- }
124
-
125
- &--error,
126
- &.error {
127
- background-color: map-get($background, red-alpha);
128
- border-left-color: map-get($background, red);
129
- }
130
-
131
- &--warning,
132
- &.warning {
133
- background-color: map-get($background, yellow-alpha);
134
- border-left-color: map-get($background, yellow);
135
- }
136
-
137
- &--success,
138
- &.success {
139
- background-color: map-get($background, green-alpha);
140
- border-left-color: map-get($background, green);
141
- }
142
-
143
- &--info,
144
- &.info {
145
- background-color: map-get($background, blue-alpha);
146
- border-left-color: map-get($background, blue);
147
- }
148
- }
149
- }
150
-
151
- // -----------------------------------------------------------------------------------------------------
152
- // Typography [Style]
153
- // -----------------------------------------------------------------------------------------------------
154
- // Paragraph
155
- .par-xs {
156
- font-size: 12px !important;
157
- }
158
-
159
- .par-sm,
160
- .par-p {
161
- font-size: 14px !important;
162
- }
163
-
164
- .par-md,
165
- .par-m {
166
- font-size: 16px !important;
167
- }
168
-
169
- .par-lg {
170
- font-size: 20px !important;
171
- }
172
-
173
- .par-xl {
174
- font-size: 24px !important;
175
- }
176
- .text-medium,
177
- .text-semibold {
178
- font-weight: 500;
179
- }
180
-
181
- .text-regular,
182
- .text-book {
183
- font-weight: 400;
184
- }
185
-
186
- .text-bold {
187
- font-weight: 700;
188
- }
189
-
190
- .text-black {
191
- font-weight: 900;
192
- }
193
-
194
- .matcha-message-box,
195
- .matcha-msg-box,
196
- .message-box {
197
- padding: 16px;
198
- border-left: 6px solid;
199
-
200
- &.error,
201
- &.warning,
202
- &.success,
203
- &.info,
204
- &--error,
205
- &--warning,
206
- &--success,
207
- &--info {
208
- padding: 16px;
209
- border-left: 6px solid;
210
- }
211
- }
212
-
213
- .title {
214
- line-height: 24px;
215
- margin: 0 0 16px 0;
216
- display: flex;
217
- align-items: center;
218
-
219
- .title-bullet {
220
- margin: 0px 8px 0 0;
221
- display: inline-block;
222
- position: relative;
223
- border-radius: 10px;
224
- }
225
-
226
- .title-content {
227
- line-height: 20px;
228
- display: -webkit-box;
229
- -webkit-line-clamp: 2;
230
- overflow: hidden;
231
- text-overflow: ellipsis;
232
- word-break: break-word;
233
- white-space: initial;
234
- -webkit-box-orient: vertical;
235
- text-transform: capitalize;
236
- }
237
- }
238
-
239
- .title-sm {
240
- display: block;
241
- overflow: hidden;
242
- text-overflow: ellipsis;
243
- white-space: nowrap;
244
- }
@@ -1,37 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-audio-player.scss';
4
- @include matcha-audio-player-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Audio Player [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin matcha-audio-player-theme($theme) {
10
- $accent: map-get($theme, accent);
11
- $warn: map-get($theme, warn);
12
- $primary: map-get($theme, primary);
13
- $background: map-get($theme, background);
14
- $foreground: map-get($theme, foreground);
15
-
16
- .matcha-audio-player {
17
- .audio-player {
18
- audio {
19
- // display:none
20
- }
21
-
22
- .audio & {
23
- a {
24
- display: none;
25
- }
26
-
27
- audio {
28
- display: inline-block;
29
- }
30
- }
31
- }
32
-
33
- .is-selected {
34
- box-shadow: 0px 0px 0px 2px inset map-get($accent, default);
35
- }
36
- }
37
- }
@@ -1,170 +0,0 @@
1
- @mixin matcha-button-theme($theme) {
2
- $primary: map-get($theme, primary);
3
- $accent: map-get($theme, accent);
4
- $warn: map-get($theme, warn);
5
- $background: map-get($theme, background);
6
- $foreground: map-get($theme, foreground);
7
-
8
- .matcha-button {
9
- border: 0px solid currentColor;
10
- transition: all 50ms linear;
11
- overflow: hidden;
12
- position: relative;
13
- font-size: 16px;
14
- font-weight: 700;
15
- height: 56px;
16
- appearance: auto;
17
- text-rendering: auto;
18
- letter-spacing: normal;
19
- word-spacing: normal;
20
- line-height: normal;
21
- text-transform: none;
22
- text-indent: 0px;
23
- text-shadow: none;
24
- display: inline-block;
25
- text-align: center;
26
- align-items: flex-start;
27
- cursor: default;
28
- box-sizing: border-box;
29
- *{
30
- pointer-events: none;
31
- }
32
- &-xs {
33
- padding: 0 px-to-rem(32px);
34
- border-radius: px-to-rem(8px);
35
- line-height: px-to-rem(32px);
36
- max-height: px-to-rem(32px);
37
- }
38
-
39
- &-sm {
40
- padding: 0 px-to-rem(32px);
41
- border-radius: px-to-rem(8px);
42
- line-height: px-to-rem(40px);
43
- max-height: px-to-rem(40px);
44
- }
45
-
46
- &-md {
47
- padding: 0 px-to-rem(32px);
48
- border-radius: px-to-rem(8px);
49
- line-height: px-to-rem(48px);
50
- max-height: px-to-rem(48px);
51
- }
52
-
53
- &-lg {
54
- padding: 0 px-to-rem(32px);
55
- border-radius: px-to-rem(8px);
56
- line-height: px-to-rem(56px);
57
- max-height: px-to-rem(56px);
58
- }
59
-
60
- &-xl {
61
- padding: 0 px-to-rem(32px);
62
- border-radius: px-to-rem(8px);
63
- line-height: px-to-rem(56px);
64
- max-height: px-to-rem(56px);
65
- }
66
-
67
- &-main {
68
- background: map-get($background, background);
69
- line-height: px-to-rem(32px);
70
- padding: 0 px-to-rem(16px);
71
- }
72
-
73
- &-xs,
74
- &-sm,
75
- &-md,
76
- &-lg,
77
- &-xl {
78
- min-width: 24px;
79
-
80
- &.stroked {
81
- box-shadow: 0px 0px 0px 2px inset;
82
-
83
- &.color-label {
84
- box-shadow: 0px 0px 0px 2px inset map-get($foreground, label);
85
- color: map-get($foreground, label);
86
- }
87
-
88
- &.color-placeholder {
89
- box-shadow: 0px 0px 0px 2px inset map-get($foreground, placeholder);
90
- color: map-get($foreground, placeholder);
91
- }
92
- }
93
- }
94
- &:hover{
95
- // filter: brightness(1.1);
96
- }
97
-
98
- &:active{
99
- // filter: brightness(0.9);
100
- }
101
-
102
- &:disabled {
103
- background-color: map-get($background, disabled);
104
- color: map-get($foreground, disabled);
105
- border-color: map-get($foreground, disabled);
106
- }
107
-
108
- &-basic {
109
- border: 0px solid currentColor;
110
- box-shadow: 0px 0px 0px 0px inset;
111
- background: transparent !important;
112
- }
113
-
114
- &-outline {
115
- border: 0px solid currentColor;
116
- box-shadow: 0px 0px 0px 2px inset;
117
- background: transparent !important;
118
- }
119
-
120
- &-pill {
121
- border-radius: $border-radius-wider;
122
- }
123
-
124
- &-link {
125
- background-color: transparent;
126
- color: map-get($foreground, label);
127
- text-transform: initial;
128
- letter-spacing: 0;
129
- text-decoration: underline;
130
- padding: 0;
131
- }
132
-
133
- &-icon {
134
- aspect-ratio: 1;
135
- padding: 0 !important;
136
- display: flex;
137
- align-items: center;
138
- justify-content: center;
139
- }
140
-
141
- &.color-unset{
142
- .ripple {
143
- background: rgba(0,0,0,.15);
144
- }
145
- }
146
- .ripple {
147
- position: absolute;
148
- border-radius: 999px;
149
- transform: scale(0);
150
- pointer-events: none;
151
- }
152
- .ripple.show {
153
- animation: ripple 400ms ease-out;
154
- }
155
-
156
- @keyframes ripple {
157
- 0% {
158
- opacity: 0;
159
- transform: scale(0);
160
- }
161
- 25% {
162
- opacity: 1;
163
- }
164
- 100% {
165
- opacity: 0;
166
- transform: scale(2);
167
- }
168
- }
169
- }
170
- }
@@ -1,93 +0,0 @@
1
- @mixin matcha-cards-theme($theme) {
2
- $primary: map-get($theme, primary);
3
- $accent: map-get($theme, accent);
4
- $warn: map-get($theme, warn);
5
- $background: map-get($theme, background);
6
- $foreground: map-get($theme, foreground);
7
-
8
- .matcha-card,
9
- .matcha-card-flat {
10
- // background: map-get($background, card);
11
- }
12
- }
13
-
14
- // -----------------------------------------------------------------------------------------------------
15
- // @ Cards
16
- // -----------------------------------------------------------------------------------------------------
17
- .matcha-card,
18
- .matcha-card-flat {
19
- padding: 16px;
20
- border-radius: 8px;
21
-
22
- &-border,
23
- &-border-left {
24
- border-left: 8px solid;
25
- }
26
-
27
- &-border-right {
28
- border-right: 8px solid;
29
- }
30
-
31
- &.disabled {
32
- transition: opacity 100ms linear;
33
- opacity: 0.5;
34
- pointer-events: none;
35
- }
36
-
37
- &.enabled {
38
- transition: opacity 100ms linear;
39
- opacity: 1;
40
- }
41
-
42
- &.variable-width {
43
- min-width: 0;
44
- }
45
-
46
- &.auto-width {
47
- min-width: 0;
48
- max-width: none;
49
- }
50
-
51
- &.fixed-width {
52
- min-width: 264px;
53
- max-width: 264px;
54
- width: 264px;
55
- }
56
-
57
- // Buttons
58
- .mat-button {
59
- min-width: 0 !important;
60
- padding: 0 8px !important;
61
- }
62
-
63
- // Button Toggle Group
64
- .mat-button-toggle-group,
65
- .mat-button-toggle-standalone {
66
- box-shadow: none !important;
67
- }
68
-
69
- .mat-tab-label {
70
- min-width: 0 !important;
71
- }
72
-
73
- // Divider
74
- .card-divider {
75
- margin: 16px;
76
-
77
- &.full-width {
78
- margin: 0;
79
- }
80
- }
81
-
82
- // Expand Area
83
- .card-expand-area {
84
- overflow: hidden;
85
-
86
- .card-expanded-content {
87
- padding: 8px 16px 16px 16px;
88
- line-height: 1.75;
89
- }
90
- }
91
-
92
- }
93
-
@@ -1,32 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-color-pick.scss';
4
- @include matcha-color-pick-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Color Pick [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin matcha-color-pick-theme($theme) {
10
- $accent: map-get($theme, accent);
11
- $warn: map-get($theme, warn);
12
- $primary: map-get($theme, primary);
13
- $background: map-get($theme, background);
14
- $foreground: map-get($theme, foreground);
15
-
16
- .matcha-color-pick {
17
- .mat-radio-group {
18
- .mat-radio-button {
19
- .mat-radio-label {
20
- .mat-radio-label-content {
21
- width: 100%;
22
- }
23
- }
24
- }
25
- }
26
-
27
- .is-selected {
28
- border-radius: 8px;
29
- box-shadow: 0px 0px 0px 2px map-get($background, card);
30
- }
31
- }
32
- }
@@ -1,25 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-draggable.scss';
4
- @include matcha-draggable-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Draggable [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin matcha-draggable-theme($theme) {
10
- $accent: map-get($theme, accent);
11
- $warn: map-get($theme, warn);
12
- $primary: map-get($theme, primary);
13
- $background: map-get($theme, background);
14
- $foreground: map-get($theme, foreground);
15
-
16
- .matcha-draggable {
17
- .check-with-label:checked+.label-for-check {
18
- box-shadow: 0px 0px 0px 8px map-get($background, card), 0px 0px 0px 10px map-get($foreground, placeholder);
19
- }
20
-
21
- .is-selected {
22
- box-shadow: 0px 0px 0px 8px map-get($background, card), 0px 0px 0px 10px map-get($foreground, placeholder);
23
- }
24
- }
25
- }