matcha-theme 19.58.0 → 19.61.0
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/_colors.scss +2 -2
- package/abstracts/_functions.scss +15 -17
- package/base/_reset.scss +4 -4
- package/components/matcha-cards.scss +10 -10
- package/components/matcha-progress-bar.scss +1 -1
- package/components/matcha-table.scss +1 -1
- package/components/matcha-tooltip.scss +6 -6
- package/package.json +1 -1
- package/tokens/_color-tokens.scss +39 -33
- package/vendors/angular-editor.scss +1 -1
- package/vendors/calendar.scss +6 -6
- package/vendors/charts.scss +1 -1
- package/vendors/ngx-material-timepicker.scss +2 -2
package/abstracts/_colors.scss
CHANGED
|
@@ -169,9 +169,9 @@ $index: 0;
|
|
|
169
169
|
@include colors-classes-static($theme);
|
|
170
170
|
|
|
171
171
|
.color-unset{
|
|
172
|
-
color: map-get($foreground,
|
|
172
|
+
color: map-get($foreground, foreground );
|
|
173
173
|
.ripple {
|
|
174
|
-
background: map-get($foreground,
|
|
174
|
+
background: map-get($foreground, foreground );
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
@each $colorName, $colorFn in $color-functions {
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
}
|
|
116
116
|
@function getBackgroundAlpha($theme){
|
|
117
117
|
$background: map.get($theme, background);
|
|
118
|
-
$background-color: map.get($background, background);
|
|
119
|
-
@return
|
|
118
|
+
$background-color: map.get($background, background-alpha);
|
|
119
|
+
@return $background-color;
|
|
120
120
|
}
|
|
121
121
|
@function getBackgroundInverse($theme){
|
|
122
122
|
$background: map.get($theme, background);
|
|
@@ -125,8 +125,8 @@
|
|
|
125
125
|
}
|
|
126
126
|
@function getBackgroundAlphaInverse($theme){
|
|
127
127
|
$background: map.get($theme, background);
|
|
128
|
-
$background-color: map.get($background, background-inverse);
|
|
129
|
-
@return
|
|
128
|
+
$background-color: map.get($background, background-alpha-inverse);
|
|
129
|
+
@return $background-color;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
// Surface
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
}
|
|
138
138
|
@function getSurfaceAlpha($theme){
|
|
139
139
|
$background: map.get($theme, background);
|
|
140
|
-
$surface-color: map.get($background, card);
|
|
141
|
-
@return
|
|
140
|
+
$surface-color: map.get($background, card-alpha);
|
|
141
|
+
@return $surface-color;
|
|
142
142
|
}
|
|
143
143
|
@function getSurfaceInverse($theme){
|
|
144
144
|
$background: map.get($theme, background);
|
|
@@ -147,36 +147,34 @@
|
|
|
147
147
|
}
|
|
148
148
|
@function getSurfaceAlphaInverse($theme){
|
|
149
149
|
$background: map.get($theme, background);
|
|
150
|
-
$surface-color: map.get($background, card-inverse);
|
|
151
|
-
@return
|
|
150
|
+
$surface-color: map.get($background, card-alpha-inverse);
|
|
151
|
+
@return $surface-color;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
// Foreground
|
|
156
156
|
@function getForeground($theme){
|
|
157
157
|
$foreground: map.get($theme, foreground);
|
|
158
|
-
$foreground: map.get($foreground,
|
|
158
|
+
$foreground: map.get($foreground, foreground);
|
|
159
159
|
@return $foreground;
|
|
160
160
|
}
|
|
161
161
|
@function getForegroundInverse($theme){
|
|
162
162
|
$foreground: map.get($theme, foreground);
|
|
163
|
-
$foreground-inverse: map.get($foreground,
|
|
163
|
+
$foreground-inverse: map.get($foreground, foreground-inverse);
|
|
164
164
|
@return $foreground-inverse;
|
|
165
165
|
}
|
|
166
166
|
@function getForegroundAlpha($theme){
|
|
167
167
|
$foreground: map.get($theme, foreground);
|
|
168
|
-
$foreground-color: map.get($foreground,
|
|
169
|
-
@return
|
|
168
|
+
$foreground-color: map.get($foreground, foreground-alpha);
|
|
169
|
+
@return $foreground-color;
|
|
170
170
|
}
|
|
171
171
|
@function getForegroundAlphaInverse($theme){
|
|
172
172
|
$foreground: map.get($theme, foreground);
|
|
173
|
-
$foreground-color: map.get($foreground,
|
|
174
|
-
@return
|
|
173
|
+
$foreground-color: map.get($foreground, foreground-alpha-inverse);
|
|
174
|
+
@return $foreground-color;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
178
|
// Disabled
|
|
181
179
|
// #D4DDE3
|
|
182
180
|
@function getDisabled($theme){
|
|
@@ -199,7 +197,7 @@
|
|
|
199
197
|
@function getDisabledAlpha($theme) {
|
|
200
198
|
$background: map.get($theme, background);
|
|
201
199
|
$disabled-color: map.get($background, disabled);
|
|
202
|
-
@return
|
|
200
|
+
@return color.change($disabled-color, $alpha: 0.5);
|
|
203
201
|
}
|
|
204
202
|
// rgba(0, 0, 0, 0.13)
|
|
205
203
|
@function getDisabledContrastAlpha($theme){
|
package/base/_reset.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$foreground: map-get($theme, foreground);
|
|
4
4
|
|
|
5
5
|
& {
|
|
6
|
-
color: map-get($foreground,
|
|
6
|
+
color: map-get($foreground, foreground);
|
|
7
7
|
background: map-get($background, background);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -67,7 +67,7 @@ How to use
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.text-basic {
|
|
70
|
-
color: map-get($foreground,
|
|
70
|
+
color: map-get($foreground, foreground) !important;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// Changelog
|
|
@@ -119,7 +119,7 @@ How to use
|
|
|
119
119
|
.message-box {
|
|
120
120
|
background-color: rgba(map-get($primary, default), 0.2);
|
|
121
121
|
border-left-color: map-get($primary, default);
|
|
122
|
-
color: map-get($foreground,
|
|
122
|
+
color: map-get($foreground, foreground);
|
|
123
123
|
|
|
124
124
|
&.error,
|
|
125
125
|
&.warning,
|
|
@@ -129,7 +129,7 @@ How to use
|
|
|
129
129
|
&--warning,
|
|
130
130
|
&--success,
|
|
131
131
|
&--info {
|
|
132
|
-
color: map-get($foreground,
|
|
132
|
+
color: map-get($foreground, foreground);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&--error,
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
// bg
|
|
145
145
|
&[color="bg"][alpha]:not([alpha="false"]){
|
|
146
146
|
background: getBackgroundAlpha($theme);
|
|
147
|
-
color: map-get($foreground,
|
|
147
|
+
color: map-get($foreground, foreground)
|
|
148
148
|
}
|
|
149
149
|
&[color="bg"][tint]:not([tint="false"]){
|
|
150
150
|
background: getBackgroundAlpha($theme);
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
// surface
|
|
164
164
|
&[color="surface"][alpha]:not([alpha="false"]){
|
|
165
165
|
background: getSurfaceAlpha($theme);
|
|
166
|
-
color: map-get($foreground,
|
|
166
|
+
color: map-get($foreground, foreground)
|
|
167
167
|
}
|
|
168
168
|
&[color="surface"][tint]:not([tint="false"]){
|
|
169
169
|
background: getSurfaceAlpha($theme);
|
|
@@ -181,12 +181,12 @@
|
|
|
181
181
|
|
|
182
182
|
// fg
|
|
183
183
|
&[color="fg"][alpha]:not([alpha="false"]){
|
|
184
|
-
background: rgba(map-get($foreground,
|
|
185
|
-
color: map-get($foreground,
|
|
184
|
+
background: rgba(map-get($foreground, foreground), 0.2);
|
|
185
|
+
color: map-get($foreground, foreground)
|
|
186
186
|
}
|
|
187
187
|
&[color="fg"][tint]:not([tint="false"]){
|
|
188
|
-
background: rgba(map-get($foreground,
|
|
189
|
-
color: map-get($foreground,
|
|
188
|
+
background: rgba(map-get($foreground, foreground), 0.2);
|
|
189
|
+
color: map-get($foreground, foreground);
|
|
190
190
|
}
|
|
191
191
|
&[color="fg"][outline]:not([outline="false"]),
|
|
192
192
|
&[color="fg"][link]:not([link="false"]),
|
|
@@ -195,16 +195,16 @@
|
|
|
195
195
|
}
|
|
196
196
|
&[color="fg"]{
|
|
197
197
|
background: getForeground($theme);
|
|
198
|
-
color: map-get($foreground,
|
|
198
|
+
color: map-get($foreground, foreground-inverse);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
//basic
|
|
202
202
|
&[color="basic"][alpha]:not([alpha="false"]){
|
|
203
|
-
background: rgba(map-get($foreground,
|
|
204
|
-
color: map-get($foreground,
|
|
203
|
+
background: rgba(map-get($foreground, foreground), 0.2);
|
|
204
|
+
color: map-get($foreground, foreground)
|
|
205
205
|
}
|
|
206
206
|
&[color="basic"][tint]:not([tint="false"]){
|
|
207
|
-
background: rgba(map-get($foreground,
|
|
207
|
+
background: rgba(map-get($foreground, foreground), 0.2);
|
|
208
208
|
color: getForeground($theme);
|
|
209
209
|
}
|
|
210
210
|
&[color="basic"][outline]:not([outline="false"]),
|
|
@@ -86,22 +86,22 @@
|
|
|
86
86
|
$foreground: map-get($theme, foreground);
|
|
87
87
|
|
|
88
88
|
.matcha-tooltip-content {
|
|
89
|
-
background-color: map-get($foreground,
|
|
90
|
-
color: map-get($foreground,
|
|
89
|
+
background-color: map-get($foreground, foreground);
|
|
90
|
+
color: map-get($foreground, foreground-inverse);
|
|
91
91
|
&:not(.matcha-tooltip-content_below):not(.matcha-tooltip-content_left):not(.matcha-tooltip-content_right)::after {
|
|
92
|
-
border-color: map-get($foreground,
|
|
92
|
+
border-color: map-get($foreground, foreground) transparent transparent transparent;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.matcha-tooltip-content_below::before {
|
|
97
|
-
border-color: transparent transparent map-get($foreground,
|
|
97
|
+
border-color: transparent transparent map-get($foreground, foreground) transparent;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.matcha-tooltip-content_left::after {
|
|
101
|
-
border-color: transparent transparent transparent map-get($foreground,
|
|
101
|
+
border-color: transparent transparent transparent map-get($foreground, foreground);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.matcha-tooltip-content_right::after {
|
|
105
|
-
border-color: transparent map-get($foreground,
|
|
105
|
+
border-color: transparent map-get($foreground, foreground) transparent transparent;
|
|
106
106
|
}
|
|
107
107
|
}
|
package/package.json
CHANGED
|
@@ -1071,45 +1071,58 @@ $dark-grey: $mat-dark-grey;
|
|
|
1071
1071
|
$light-theme-background-palette: (
|
|
1072
1072
|
background: $color-base-light-grey-200,
|
|
1073
1073
|
background-inverse: $color-base-dark-grey-700,
|
|
1074
|
-
|
|
1075
|
-
|
|
1074
|
+
background-alpha: rgba($color-base-light-grey-200, 0.5),
|
|
1075
|
+
background-alpha-inverse: rgba($color-base-dark-grey-700, 0.5),
|
|
1076
1076
|
|
|
1077
1077
|
card: $color-base-light-grey-50,
|
|
1078
1078
|
card-inverse: $color-base-dark-grey-500,
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
card-alpha: rgba($color-base-light-grey-50, 0.5),
|
|
1080
|
+
card-alpha-inverse: rgba($color-base-dark-grey-500, 0.5),
|
|
1081
1081
|
|
|
1082
|
+
disabled: $color-base-blue-grey-100,
|
|
1083
|
+
|
|
1084
|
+
// Precisa Remover
|
|
1082
1085
|
sidebar: $color-base-blue-grey-50,
|
|
1083
1086
|
sidebar-hover: $color-base-blue-grey-100,
|
|
1084
1087
|
table-row-hover: $color-base-blue-grey-400,
|
|
1085
|
-
disabled: $color-base-blue-grey-100,
|
|
1086
1088
|
);
|
|
1087
1089
|
|
|
1088
1090
|
// Background palette for dark themes.
|
|
1089
1091
|
$dark-theme-background-palette: (
|
|
1090
1092
|
background: $color-base-dark-grey-700,
|
|
1091
1093
|
background-inverse: $color-base-blue-grey-50,
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
+
background-alpha: rgba($color-base-dark-grey-700, 0.5),
|
|
1095
|
+
background-alpha-inverse: rgba($color-base-blue-grey-50, 0.5),
|
|
1094
1096
|
|
|
1095
1097
|
card: $color-base-dark-grey-500,
|
|
1096
1098
|
card-inverse: $color-base-blue-grey-50,
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
+
card-alpha: rgba($color-base-dark-grey-500, 0.5),
|
|
1100
|
+
card-alpha-inverse: rgba($color-base-blue-grey-50, 0.5),
|
|
1101
|
+
|
|
1102
|
+
disabled: $color-base-dark-grey-700,
|
|
1099
1103
|
|
|
1104
|
+
// Precisa Remover
|
|
1100
1105
|
sidebar: $color-base-dark-grey-700,
|
|
1101
1106
|
sidebar-hover: $color-base-blue-grey-800,
|
|
1102
1107
|
table-row-hover: $color-base-dark-grey-700,
|
|
1103
|
-
disabled: $color-base-dark-grey-700,
|
|
1104
1108
|
);
|
|
1105
1109
|
|
|
1106
1110
|
// Foreground palette for light themes.
|
|
1107
1111
|
$light-theme-foreground-palette: (
|
|
1108
|
-
|
|
1112
|
+
foreground: $color-base-blue-grey-900,
|
|
1113
|
+
foreground-inverse: $color-base-blue-grey-100,
|
|
1114
|
+
foreground-alpha: rgba($color-base-blue-grey-900, 0.5),
|
|
1115
|
+
foreground-alpha-inverse: rgba($color-base-blue-grey-50, 0.5),
|
|
1116
|
+
|
|
1117
|
+
label: $color-base-blue-grey-500,
|
|
1118
|
+
placeholder: $color-base-blue-grey-400,
|
|
1119
|
+
|
|
1120
|
+
disabled: $color-base-blue-grey-100,
|
|
1121
|
+
disabled-contrast: rgba($color-base-blue-grey-900, 0.5),
|
|
1122
|
+
|
|
1123
|
+
// Precisa Remover
|
|
1109
1124
|
divider: rgba(0, 0, 0, 0.12),
|
|
1110
1125
|
dividers: rgba(0, 0, 0, 0.12),
|
|
1111
|
-
disabled: rgba(0, 0, 0, 0.26),
|
|
1112
|
-
disabled-contrast: #f1f1f1,
|
|
1113
1126
|
// disabled-button: rgba(0, 0, 0, 0.26),
|
|
1114
1127
|
disabled-text: rgba(0, 0, 0, 0.38),
|
|
1115
1128
|
elevation: black,
|
|
@@ -1127,17 +1140,24 @@ $light-theme-foreground-palette: (
|
|
|
1127
1140
|
static-light-text: $color-base-blue-grey-50,
|
|
1128
1141
|
static-dark-text: $color-base-blue-grey-900,
|
|
1129
1142
|
|
|
1130
|
-
placeholder: $color-base-blue-grey-400,
|
|
1131
|
-
label: $color-base-blue-grey-500,
|
|
1132
1143
|
);
|
|
1133
1144
|
|
|
1134
1145
|
// Foreground palette for dark themes.
|
|
1135
1146
|
$dark-theme-foreground-palette: (
|
|
1136
|
-
|
|
1147
|
+
foreground: $color-base-blue-grey-100,
|
|
1148
|
+
foreground-inverse: $color-base-blue-grey-900,
|
|
1149
|
+
foreground-alpha: rgba($color-base-blue-grey-50, 0.5),
|
|
1150
|
+
foreground-alpha-inverse: rgba($color-base-blue-grey-900, 0.5),
|
|
1151
|
+
|
|
1152
|
+
placeholder: $color-base-blue-grey-500,
|
|
1153
|
+
label: $color-base-blue-grey-700,
|
|
1154
|
+
|
|
1155
|
+
disabled: $color-base-blue-grey-900,
|
|
1156
|
+
disabled-contrast: rgba($color-base-blue-grey-100, 0.5),
|
|
1157
|
+
|
|
1158
|
+
// Precisa Remover
|
|
1137
1159
|
divider: rgba(255, 255, 255, 0.12),
|
|
1138
1160
|
dividers: rgba(255, 255, 255, 0.12),
|
|
1139
|
-
disabled: rgba(255, 255, 255, 0.3),
|
|
1140
|
-
disabled-contrast: #888888,
|
|
1141
1161
|
// disabled-button: rgba(white, 0.3),
|
|
1142
1162
|
disabled-text: rgba(255, 255, 255, 0.5),
|
|
1143
1163
|
elevation: black,
|
|
@@ -1154,20 +1174,6 @@ $dark-theme-foreground-palette: (
|
|
|
1154
1174
|
text-inverse: $color-base-blue-grey-900,
|
|
1155
1175
|
static-light-text: $color-base-blue-grey-50,
|
|
1156
1176
|
static-dark-text: $color-base-blue-grey-900,
|
|
1157
|
-
|
|
1158
1177
|
disabled-icon: $color-base-blue-grey-400,
|
|
1159
|
-
placeholder: $color-base-blue-grey-200,
|
|
1160
|
-
label: $color-base-blue-grey-100,
|
|
1161
|
-
);
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
1178
|
|
|
1179
|
+
);
|
package/vendors/calendar.scss
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
&.active {
|
|
18
18
|
.fc-day-number {
|
|
19
19
|
background-color: map-get($accent, default);
|
|
20
|
-
color: map-get($foreground,
|
|
20
|
+
color: map-get($foreground, foreground-inverse);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.fc-day-number {
|
|
26
26
|
&:hover {
|
|
27
27
|
background-color: map-get($primary, default);
|
|
28
|
-
color: map-get($foreground,
|
|
28
|
+
color: map-get($foreground, foreground-inverse);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
background-color: map-get($foreground, placeholder);
|
|
47
47
|
|
|
48
48
|
.fc-icon {
|
|
49
|
-
color: map-get($foreground,
|
|
49
|
+
color: map-get($foreground, foreground);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
.fc-day-top.fc-today {
|
|
101
101
|
.fc-day-number {
|
|
102
102
|
background-color: map-get($foreground, label);
|
|
103
|
-
color: map-get($foreground,
|
|
103
|
+
color: map-get($foreground, foreground-inverse);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -2283,7 +2283,7 @@ Docs & License: https://fullcalendar.io/
|
|
|
2283
2283
|
|
|
2284
2284
|
.cal-day-badge {
|
|
2285
2285
|
background-color: map-get($foreground, graphic-red);
|
|
2286
|
-
color: map-get($foreground,
|
|
2286
|
+
color: map-get($foreground, foreground-inverse);
|
|
2287
2287
|
}
|
|
2288
2288
|
|
|
2289
2289
|
.cal-event {
|
|
@@ -2305,7 +2305,7 @@ Docs & License: https://fullcalendar.io/
|
|
|
2305
2305
|
}
|
|
2306
2306
|
|
|
2307
2307
|
.cal-open-day-events {
|
|
2308
|
-
color: map-get($foreground,
|
|
2308
|
+
color: map-get($foreground, foreground);
|
|
2309
2309
|
background-color: map-get($background, disabled);
|
|
2310
2310
|
-webkit-box-shadow: none;
|
|
2311
2311
|
box-shadow: none;
|
package/vendors/charts.scss
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.timepicker-dial__control {
|
|
17
|
-
color: map-color($foreground,
|
|
17
|
+
color: map-color($foreground, foreground-inverse, 0.5) !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.clock-face__number>span.active,
|
|
21
21
|
.dial__control,
|
|
22
22
|
.timepicker-dial__item_active,
|
|
23
23
|
.timepicker-dial__time {
|
|
24
|
-
color: map-get($foreground,
|
|
24
|
+
color: map-get($foreground, foreground-inverse) !important;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.timepicker-button {
|