@opengeoweb/theme 4.16.0 → 4.18.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/index.d.ts +4 -0
- package/index.esm.js +1193 -1068
- package/index.umd.js +1135 -1021
- package/lib/components/Theme/ThemeContext.d.ts +1 -1
- package/lib/components/Theme/index.d.ts +0 -4
- package/lib/stories/Table.stories.d.ts +7 -0
- package/lib/{components/Theme/types.d.ts → types.d.ts} +5 -3
- package/lib/{components/Theme → utils}/buttonStyles.d.ts +1 -1
- package/lib/utils/createTheme.d.ts +16 -0
- package/lib/utils/themes/darkTheme.d.ts +3 -0
- package/lib/utils/themes/index.d.ts +5 -0
- package/lib/utils/themes/lightTheme.d.ts +3 -0
- package/lib/utils/utils.d.ts +5 -0
- package/lib/utils/utils.spec.d.ts +1 -0
- package/package.json +1 -1
- package/lib/components/Theme/darkTheme.d.ts +0 -3
- package/lib/components/Theme/lightTheme.d.ts +0 -3
- package/lib/components/Theme/utils.d.ts +0 -14
- /package/lib/{components/Theme → utils}/buttonStyles.test.d.ts +0 -0
- /package/lib/{components/Theme/utils.spec.d.ts → utils/createTheme.spec.d.ts} +0 -0
- /package/lib/{components/Theme → utils/themes}/gwTheme.d.ts +0 -0
package/index.esm.js
CHANGED
|
@@ -904,7 +904,8 @@ var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
|
904
904
|
// hover styling
|
|
905
905
|
'&:hover': {
|
|
906
906
|
backgroundColor: button.mouseOver.fill,
|
|
907
|
-
borderColor: button.mouseOver.borderColor
|
|
907
|
+
borderColor: button.mouseOver.borderColor,
|
|
908
|
+
color: button.mouseOver.color
|
|
908
909
|
},
|
|
909
910
|
// active styling
|
|
910
911
|
'&.Mui-selected': {
|
|
@@ -920,6 +921,14 @@ var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
|
920
921
|
backgroundColor: button.disabled.fill,
|
|
921
922
|
color: button.disabled.color,
|
|
922
923
|
borderColor: button.disabled.borderColor
|
|
924
|
+
},
|
|
925
|
+
// focus styling
|
|
926
|
+
'&.Mui-focusVisible': {
|
|
927
|
+
outline: button.focus.outline,
|
|
928
|
+
'&:not(.Mui-selected)': {
|
|
929
|
+
borderColor: 'transparent',
|
|
930
|
+
backgroundColor: button.mouseOver.fill
|
|
931
|
+
}
|
|
923
932
|
}
|
|
924
933
|
};
|
|
925
934
|
};
|
|
@@ -965,6 +974,22 @@ var buttonVariants = function buttonVariants(buttons) {
|
|
|
965
974
|
});
|
|
966
975
|
};
|
|
967
976
|
|
|
977
|
+
/* *
|
|
978
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
979
|
+
* you may not use this file except in compliance with the License.
|
|
980
|
+
* You may obtain a copy of the License at
|
|
981
|
+
*
|
|
982
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
983
|
+
*
|
|
984
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
985
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
986
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
987
|
+
* See the License for the specific language governing permissions and
|
|
988
|
+
* limitations under the License.
|
|
989
|
+
*
|
|
990
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
991
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
992
|
+
* */
|
|
968
993
|
var hex2rgba = function hex2rgba(hex) {
|
|
969
994
|
var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
970
995
|
|
|
@@ -1013,681 +1038,196 @@ var createShadows = function createShadows(elevations) {
|
|
|
1013
1038
|
return value;
|
|
1014
1039
|
});
|
|
1015
1040
|
};
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1041
|
+
|
|
1042
|
+
/* *
|
|
1043
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1044
|
+
* you may not use this file except in compliance with the License.
|
|
1045
|
+
* You may obtain a copy of the License at
|
|
1046
|
+
*
|
|
1047
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1048
|
+
*
|
|
1049
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1050
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1051
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1052
|
+
* See the License for the specific language governing permissions and
|
|
1053
|
+
* limitations under the License.
|
|
1054
|
+
*
|
|
1055
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1056
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1057
|
+
* */
|
|
1058
|
+
var focusButtonStyle$1 = {
|
|
1059
|
+
outline: 'solid 2px #419cfe'
|
|
1060
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1061
|
+
|
|
1062
|
+
var colors$1 = {
|
|
1063
|
+
background: {
|
|
1064
|
+
surface: '#FFFFFF',
|
|
1065
|
+
surfaceApp: '#F5F5F5',
|
|
1066
|
+
surfaceBrowser: '#CFCFCF'
|
|
1067
|
+
},
|
|
1068
|
+
brand: {
|
|
1069
|
+
brand: '#FFFFFF'
|
|
1070
|
+
},
|
|
1071
|
+
buttons: {
|
|
1072
|
+
primary: {
|
|
1073
|
+
"default": {
|
|
1074
|
+
fill: '#186DFF',
|
|
1075
|
+
color: '#FFFFFF',
|
|
1076
|
+
borderColor: 'transparent'
|
|
1038
1077
|
},
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1078
|
+
mouseOver: {
|
|
1079
|
+
fill: '#1047B0',
|
|
1080
|
+
color: '#FFFFFF',
|
|
1081
|
+
borderColor: '#71A6FF'
|
|
1042
1082
|
},
|
|
1043
|
-
|
|
1044
|
-
|
|
1083
|
+
active: {
|
|
1084
|
+
fill: '#186DFF',
|
|
1085
|
+
color: '#FFFFFF',
|
|
1086
|
+
borderColor: 'transparent'
|
|
1045
1087
|
},
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
1088
|
+
activeMouseOver: {},
|
|
1089
|
+
disabled: {
|
|
1090
|
+
fill: 'transparent',
|
|
1091
|
+
color: '#626262',
|
|
1092
|
+
borderColor: 'transparent'
|
|
1093
|
+
},
|
|
1094
|
+
focus: focusButtonStyle$1
|
|
1054
1095
|
},
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1096
|
+
secondary: {
|
|
1097
|
+
"default": {
|
|
1098
|
+
fill: '#374061',
|
|
1099
|
+
color: '#FFFFFF',
|
|
1100
|
+
borderColor: 'transparent'
|
|
1059
1101
|
},
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1102
|
+
mouseOver: {
|
|
1103
|
+
fill: '#1047B0',
|
|
1104
|
+
color: '#FFFFFF',
|
|
1105
|
+
borderColor: 'transparent'
|
|
1064
1106
|
},
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
}
|
|
1107
|
+
active: {
|
|
1108
|
+
fill: '#186DFF',
|
|
1109
|
+
color: '#FFFFFF',
|
|
1110
|
+
borderColor: 'transparent'
|
|
1070
1111
|
},
|
|
1071
|
-
|
|
1072
|
-
|
|
1112
|
+
activeMouseOver: {},
|
|
1113
|
+
disabled: {
|
|
1114
|
+
fill: 'transparent',
|
|
1115
|
+
color: '#626262',
|
|
1116
|
+
borderColor: 'transparent'
|
|
1073
1117
|
},
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1082
|
-
},
|
|
1083
|
-
li: {
|
|
1084
|
-
'&:hover': {
|
|
1085
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
'&.Mui-selected': {
|
|
1089
|
-
background: 'none',
|
|
1090
|
-
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1118
|
+
focus: focusButtonStyle$1
|
|
1119
|
+
},
|
|
1120
|
+
tertiary: {
|
|
1121
|
+
"default": {
|
|
1122
|
+
fill: 'transparent',
|
|
1123
|
+
color: '#374061',
|
|
1124
|
+
borderColor: '#374061'
|
|
1094
1125
|
},
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
'&.MuiRadio-root.Mui-disabled': {
|
|
1100
|
-
color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
|
|
1101
|
-
},
|
|
1102
|
-
'&.Mui-checked': {
|
|
1103
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1126
|
+
mouseOver: {
|
|
1127
|
+
fill: '#E0E8F5',
|
|
1128
|
+
color: '#374061',
|
|
1129
|
+
borderColor: '#374061'
|
|
1107
1130
|
},
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1113
|
-
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1114
|
-
},
|
|
1115
|
-
'&.Mui-checked': {
|
|
1116
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1131
|
+
active: {
|
|
1132
|
+
fill: 'transparent',
|
|
1133
|
+
color: '#186DFF',
|
|
1134
|
+
borderColor: '#186DFF'
|
|
1120
1135
|
},
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
},
|
|
1126
|
-
outlined: {
|
|
1127
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1136
|
+
activeMouseOver: {
|
|
1137
|
+
fill: '#E0E8F5',
|
|
1138
|
+
color: '#186DFF',
|
|
1139
|
+
borderColor: '#186DFF'
|
|
1130
1140
|
},
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1141
|
+
disabled: {
|
|
1142
|
+
fill: 'transparent',
|
|
1143
|
+
color: '#626262',
|
|
1144
|
+
borderColor: 'transparent'
|
|
1137
1145
|
},
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1146
|
+
focus: focusButtonStyle$1
|
|
1147
|
+
},
|
|
1148
|
+
flat: {
|
|
1149
|
+
"default": {
|
|
1150
|
+
fill: 'transparent',
|
|
1151
|
+
color: '#374061',
|
|
1152
|
+
borderColor: 'transparent'
|
|
1144
1153
|
},
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
borderCollapse: 'separate'
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1154
|
+
mouseOver: {
|
|
1155
|
+
fill: '#E0E8F5',
|
|
1156
|
+
color: '#374061',
|
|
1157
|
+
borderColor: 'transparent'
|
|
1152
1158
|
},
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
boxShadow: shadows[0]
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
root: {
|
|
1161
|
-
transition: 'box-shadow 100ms ease-out',
|
|
1162
|
-
boxShadow: shadows[0],
|
|
1163
|
-
borderRadius: BORDER_RADIUS,
|
|
1164
|
-
'&:hover': {
|
|
1165
|
-
boxShadow: shadows[1]
|
|
1166
|
-
},
|
|
1167
|
-
position: 'relative'
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1159
|
+
active: {
|
|
1160
|
+
fill: 'transparent',
|
|
1161
|
+
color: '#186DFF',
|
|
1162
|
+
borderColor: 'transparent'
|
|
1170
1163
|
},
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
fontSize: '0.875rem',
|
|
1176
|
-
fontWeight: 400
|
|
1177
|
-
},
|
|
1178
|
-
body: {
|
|
1179
|
-
padding: 12,
|
|
1180
|
-
fontWeight: 500,
|
|
1181
|
-
backgroundColor: geowebColors.background.surface,
|
|
1182
|
-
borderStyle: 'solid',
|
|
1183
|
-
borderColor: 'transparent',
|
|
1184
|
-
borderWidth: 1,
|
|
1185
|
-
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1186
|
-
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1187
|
-
'&:first-child': {
|
|
1188
|
-
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1189
|
-
borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
|
|
1190
|
-
},
|
|
1191
|
-
'&:last-child': {
|
|
1192
|
-
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1193
|
-
borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1164
|
+
activeMouseOver: {
|
|
1165
|
+
fill: '#E0E8F5',
|
|
1166
|
+
color: '#186DFF',
|
|
1167
|
+
borderColor: 'transparent'
|
|
1197
1168
|
},
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
'&:after': {
|
|
1203
|
-
content: '""',
|
|
1204
|
-
position: 'absolute',
|
|
1205
|
-
bottom: 0,
|
|
1206
|
-
height: 1,
|
|
1207
|
-
width: '100%',
|
|
1208
|
-
zIndex: 0,
|
|
1209
|
-
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
indicator: {
|
|
1213
|
-
zIndex: 1,
|
|
1214
|
-
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1169
|
+
disabled: {
|
|
1170
|
+
fill: 'transparent',
|
|
1171
|
+
color: '#626262',
|
|
1172
|
+
borderColor: 'transparent'
|
|
1217
1173
|
},
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
'&:hover': {
|
|
1226
|
-
opacity: 1,
|
|
1227
|
-
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1228
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1174
|
+
focus: focusButtonStyle$1
|
|
1175
|
+
},
|
|
1176
|
+
tool: {
|
|
1177
|
+
"default": {
|
|
1178
|
+
fill: '#ECEDEE',
|
|
1179
|
+
color: '#374061',
|
|
1180
|
+
borderColor: 'transparent'
|
|
1232
1181
|
},
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
fontSize: '14px',
|
|
1238
|
-
minHeight: '36px'
|
|
1239
|
-
},
|
|
1240
|
-
divider: {
|
|
1241
|
-
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1242
|
-
}
|
|
1243
|
-
}
|
|
1182
|
+
mouseOver: {
|
|
1183
|
+
fill: '#E0E8F5',
|
|
1184
|
+
color: '#374061',
|
|
1185
|
+
borderColor: 'transparent'
|
|
1244
1186
|
},
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
width: '24px',
|
|
1250
|
-
height: '24px'
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1187
|
+
active: {
|
|
1188
|
+
fill: '#186DFF',
|
|
1189
|
+
color: '#FFFFFF',
|
|
1190
|
+
borderColor: 'transparent'
|
|
1253
1191
|
},
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1192
|
+
activeMouseOver: {
|
|
1193
|
+
fill: '#1047B0',
|
|
1194
|
+
color: '#FFFFFF',
|
|
1195
|
+
borderColor: 'transparent'
|
|
1260
1196
|
},
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
color: geowebColors.tooltips.tooltipText.color,
|
|
1266
|
-
padding: '8px 12px',
|
|
1267
|
-
fontSize: 16,
|
|
1268
|
-
fontWeight: 400,
|
|
1269
|
-
fontStretch: 'normal',
|
|
1270
|
-
fontStyle: 'normal',
|
|
1271
|
-
letterSpacing: 0.44,
|
|
1272
|
-
lineHeight: 1.56
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1197
|
+
disabled: {
|
|
1198
|
+
fill: 'transparent',
|
|
1199
|
+
color: '#626262',
|
|
1200
|
+
borderColor: 'transparent'
|
|
1275
1201
|
},
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1202
|
+
focus: focusButtonStyle$1
|
|
1203
|
+
},
|
|
1204
|
+
boxed: {
|
|
1205
|
+
"default": {
|
|
1206
|
+
fill: 'transparent',
|
|
1207
|
+
color: '#374061',
|
|
1208
|
+
borderColor: '#374061'
|
|
1287
1209
|
},
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
borderRadius: '0px',
|
|
1293
|
-
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1294
|
-
'& .MuiAlert-icon': {
|
|
1295
|
-
color: geowebColors.functional.error,
|
|
1296
|
-
opacity: 1
|
|
1297
|
-
}
|
|
1298
|
-
},
|
|
1299
|
-
standardWarning: {
|
|
1300
|
-
border: geowebColors.functional.warningOutline.border,
|
|
1301
|
-
borderRadius: '0px',
|
|
1302
|
-
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1303
|
-
'& .MuiAlert-icon': {
|
|
1304
|
-
color: geowebColors.functional.warning,
|
|
1305
|
-
opacity: 1
|
|
1306
|
-
}
|
|
1307
|
-
},
|
|
1308
|
-
standardInfo: {
|
|
1309
|
-
border: geowebColors.functional.notificationOutline.border,
|
|
1310
|
-
borderRadius: '0px',
|
|
1311
|
-
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1312
|
-
'& .MuiAlert-icon': {
|
|
1313
|
-
color: geowebColors.functional.notification,
|
|
1314
|
-
opacity: 1
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
standardSuccess: {
|
|
1318
|
-
border: geowebColors.functional.successOutline.border,
|
|
1319
|
-
borderRadius: '0px',
|
|
1320
|
-
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1321
|
-
'& .MuiAlert-icon': {
|
|
1322
|
-
color: geowebColors.functional.success,
|
|
1323
|
-
opacity: 1
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
action: {
|
|
1327
|
-
color: geowebColors.buttons.tertiary["default"].color
|
|
1328
|
-
},
|
|
1329
|
-
message: {
|
|
1330
|
-
fontSize: '14px',
|
|
1331
|
-
lineHeight: 1.43,
|
|
1332
|
-
letterSpacing: '0.25px',
|
|
1333
|
-
color: geowebColors.typographyAndIcons.text
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1210
|
+
mouseOver: {
|
|
1211
|
+
fill: '#E0E8F5',
|
|
1212
|
+
color: '#374061',
|
|
1213
|
+
borderColor: '#374061'
|
|
1336
1214
|
},
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1215
|
+
active: {
|
|
1216
|
+
fill: '#186DFF',
|
|
1217
|
+
color: '#FFFFFF',
|
|
1218
|
+
borderColor: 'transparent'
|
|
1341
1219
|
},
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
'&.Mui-focused': {
|
|
1347
|
-
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
1348
|
-
'&:after': {
|
|
1349
|
-
borderColor: 'transparent'
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
'&.Mui-disabled': {
|
|
1353
|
-
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
1354
|
-
},
|
|
1355
|
-
'&.Mui-error': {
|
|
1356
|
-
'&:after': {
|
|
1357
|
-
borderColor: geowebColors.captions.captionError.color
|
|
1358
|
-
}
|
|
1359
|
-
},
|
|
1360
|
-
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
1361
|
-
'&.MuiInputBase-readOnly': {
|
|
1362
|
-
background: 'transparent',
|
|
1363
|
-
color: geowebColors.typographyAndIcons.text,
|
|
1364
|
-
' .MuiInputBase-readOnly': {
|
|
1365
|
-
WebkitTextFillColor: 'inherit'
|
|
1366
|
-
},
|
|
1367
|
-
'&:before': {
|
|
1368
|
-
border: 'transparent'
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
|
-
underline: {
|
|
1373
|
-
'&:after': {
|
|
1374
|
-
borderWidth: '1px'
|
|
1375
|
-
},
|
|
1376
|
-
'&.Mui-disabled:before': {
|
|
1377
|
-
borderBottomStyle: 'solid'
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1220
|
+
activeMouseOver: {
|
|
1221
|
+
fill: '#1047B0',
|
|
1222
|
+
color: '#FFFFFF',
|
|
1223
|
+
borderColor: 'transparent'
|
|
1381
1224
|
},
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1387
|
-
'&.Mui-focused': {
|
|
1388
|
-
color: geowebColors.captions.captionInformation.color,
|
|
1389
|
-
opacity: geowebColors.captions.captionInformation.opacity
|
|
1390
|
-
},
|
|
1391
|
-
'&.Mui-error': {
|
|
1392
|
-
color: geowebColors.captions.captionError.color,
|
|
1393
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1394
|
-
},
|
|
1395
|
-
'&.Mui-disabled': {
|
|
1396
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1397
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1225
|
+
disabled: {
|
|
1226
|
+
fill: 'transparent',
|
|
1227
|
+
color: '#626262',
|
|
1228
|
+
borderColor: 'transparent'
|
|
1401
1229
|
},
|
|
1402
|
-
|
|
1403
|
-
styleOverrides: {
|
|
1404
|
-
root: {
|
|
1405
|
-
color: geowebColors.captions.captionStatus.color,
|
|
1406
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1407
|
-
'&.Mui-error': {
|
|
1408
|
-
color: geowebColors.captions.captionError.color,
|
|
1409
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1410
|
-
},
|
|
1411
|
-
'&.Mui-disabled': {
|
|
1412
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1413
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
},
|
|
1418
|
-
MuiSwitch: {
|
|
1419
|
-
styleOverrides: {
|
|
1420
|
-
switchBase: {
|
|
1421
|
-
color: geowebColors.customSwitch.thumb,
|
|
1422
|
-
'&.Mui-checked': {
|
|
1423
|
-
color: geowebColors.customSwitch.thumb
|
|
1424
|
-
},
|
|
1425
|
-
'&.Mui-disabled': {
|
|
1426
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1427
|
-
},
|
|
1428
|
-
'&.Mui-checked.Mui-disabled': {
|
|
1429
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1430
|
-
},
|
|
1431
|
-
'&.Mui-checked+.MuiSwitch-track': {
|
|
1432
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1433
|
-
},
|
|
1434
|
-
'&.Mui-disabled+.MuiSwitch-track': {
|
|
1435
|
-
backgroundColor: geowebColors.customSwitch.track
|
|
1436
|
-
},
|
|
1437
|
-
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
1438
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1441
|
-
track: {
|
|
1442
|
-
backgroundColor: geowebColors.customSwitch.track,
|
|
1443
|
-
opacity: '1 !important'
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
},
|
|
1447
|
-
MuiSnackbarContent: {
|
|
1448
|
-
styleOverrides: {
|
|
1449
|
-
root: {
|
|
1450
|
-
backgroundColor: geowebColors.snackbar.background,
|
|
1451
|
-
color: geowebColors.snackbar.text,
|
|
1452
|
-
fontSize: '16px',
|
|
1453
|
-
letterSpacing: '0.44px',
|
|
1454
|
-
borderRadius: '2px',
|
|
1455
|
-
boxShadow: shadows[8]
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
},
|
|
1459
|
-
MuiAvatar: {
|
|
1460
|
-
styleOverrides: {
|
|
1461
|
-
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
1462
|
-
fontWeight: 500,
|
|
1463
|
-
'&:hover': {
|
|
1464
|
-
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
1465
|
-
},
|
|
1466
|
-
height: 32,
|
|
1467
|
-
width: 32,
|
|
1468
|
-
fontSize: 16,
|
|
1469
|
-
borderRadius: '50%'
|
|
1470
|
-
})
|
|
1471
|
-
}
|
|
1472
|
-
},
|
|
1473
|
-
MuiAccordion: {
|
|
1474
|
-
styleOverrides: {
|
|
1475
|
-
root: {
|
|
1476
|
-
backgroundColor: geowebColors.cards.cardContainer,
|
|
1477
|
-
borderRadius: '3px',
|
|
1478
|
-
border: 'solid 1px',
|
|
1479
|
-
borderColor: geowebColors.cards.cardContainerBorder,
|
|
1480
|
-
color: geowebColors.buttons.flat["default"].color,
|
|
1481
|
-
padding: '0px',
|
|
1482
|
-
margin: '0px 12px 4px 12px',
|
|
1483
|
-
fontSize: '12px',
|
|
1484
|
-
'&:before': {
|
|
1485
|
-
display: 'none'
|
|
1486
|
-
},
|
|
1487
|
-
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
1488
|
-
borderBottom: 'solid 1px',
|
|
1489
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1490
|
-
},
|
|
1491
|
-
'& .MuiAccordionSummary-content': {
|
|
1492
|
-
margin: '2px',
|
|
1493
|
-
padding: '4px 4px 4px 10px'
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
MuiAccordionSummary: {
|
|
1499
|
-
styleOverrides: {
|
|
1500
|
-
root: {
|
|
1501
|
-
minHeight: '32px',
|
|
1502
|
-
padding: '0px',
|
|
1503
|
-
paddingRight: '5px'
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
});
|
|
1509
|
-
};
|
|
1510
|
-
|
|
1511
|
-
/* *
|
|
1512
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1513
|
-
* you may not use this file except in compliance with the License.
|
|
1514
|
-
* You may obtain a copy of the License at
|
|
1515
|
-
*
|
|
1516
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1517
|
-
*
|
|
1518
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1519
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1520
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1521
|
-
* See the License for the specific language governing permissions and
|
|
1522
|
-
* limitations under the License.
|
|
1523
|
-
*
|
|
1524
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1525
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
1526
|
-
* */
|
|
1527
|
-
|
|
1528
|
-
var colors$1 = {
|
|
1529
|
-
background: {
|
|
1530
|
-
surface: '#FFFFFF',
|
|
1531
|
-
surfaceApp: '#F5F5F5',
|
|
1532
|
-
surfaceBrowser: '#CFCFCF'
|
|
1533
|
-
},
|
|
1534
|
-
brand: {
|
|
1535
|
-
brand: '#FFFFFF'
|
|
1536
|
-
},
|
|
1537
|
-
buttons: {
|
|
1538
|
-
primary: {
|
|
1539
|
-
"default": {
|
|
1540
|
-
fill: '#186DFF',
|
|
1541
|
-
color: '#FFFFFF',
|
|
1542
|
-
borderColor: 'transparent'
|
|
1543
|
-
},
|
|
1544
|
-
mouseOver: {
|
|
1545
|
-
fill: '#1047B0',
|
|
1546
|
-
color: '#FFFFFF',
|
|
1547
|
-
borderColor: '#71A6FF'
|
|
1548
|
-
},
|
|
1549
|
-
active: {
|
|
1550
|
-
fill: '#186DFF',
|
|
1551
|
-
color: '#FFFFFF',
|
|
1552
|
-
borderColor: 'transparent'
|
|
1553
|
-
},
|
|
1554
|
-
activeMouseOver: {},
|
|
1555
|
-
disabled: {
|
|
1556
|
-
fill: 'transparent',
|
|
1557
|
-
color: '#707070',
|
|
1558
|
-
borderColor: 'transparent'
|
|
1559
|
-
}
|
|
1560
|
-
},
|
|
1561
|
-
secondary: {
|
|
1562
|
-
"default": {
|
|
1563
|
-
fill: '#0876b6',
|
|
1564
|
-
color: '#FFFFFF',
|
|
1565
|
-
borderColor: 'transparent'
|
|
1566
|
-
},
|
|
1567
|
-
mouseOver: {
|
|
1568
|
-
fill: '#064c84',
|
|
1569
|
-
color: '#FFFFFF',
|
|
1570
|
-
borderColor: '#3DA6FF'
|
|
1571
|
-
},
|
|
1572
|
-
active: {
|
|
1573
|
-
fill: '#0876b6',
|
|
1574
|
-
color: '#FFFFFF',
|
|
1575
|
-
borderColor: 'transparent'
|
|
1576
|
-
},
|
|
1577
|
-
activeMouseOver: {},
|
|
1578
|
-
disabled: {
|
|
1579
|
-
fill: 'transparent',
|
|
1580
|
-
color: '#707070',
|
|
1581
|
-
borderColor: 'transparent'
|
|
1582
|
-
}
|
|
1583
|
-
},
|
|
1584
|
-
tertiary: {
|
|
1585
|
-
"default": {
|
|
1586
|
-
fill: 'transparent',
|
|
1587
|
-
color: '#575F7A',
|
|
1588
|
-
borderColor: '#575F7A'
|
|
1589
|
-
},
|
|
1590
|
-
mouseOver: {
|
|
1591
|
-
fill: '#E3E4E7',
|
|
1592
|
-
color: '#575F7A',
|
|
1593
|
-
borderColor: '#575F7A'
|
|
1594
|
-
},
|
|
1595
|
-
active: {
|
|
1596
|
-
fill: 'transparent',
|
|
1597
|
-
color: '#186DFF',
|
|
1598
|
-
borderColor: '#186DFF'
|
|
1599
|
-
},
|
|
1600
|
-
activeMouseOver: {
|
|
1601
|
-
fill: 'rgba(24, 109, 255, 0.1)',
|
|
1602
|
-
color: '#186DFF',
|
|
1603
|
-
borderColor: '#186DFF'
|
|
1604
|
-
},
|
|
1605
|
-
disabled: {
|
|
1606
|
-
fill: 'transparent',
|
|
1607
|
-
color: '#707070',
|
|
1608
|
-
borderColor: 'transparent'
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
flat: {
|
|
1612
|
-
"default": {
|
|
1613
|
-
fill: 'transparent',
|
|
1614
|
-
color: '#575F7A',
|
|
1615
|
-
borderColor: 'transparent'
|
|
1616
|
-
},
|
|
1617
|
-
mouseOver: {
|
|
1618
|
-
fill: '#E3E4E7',
|
|
1619
|
-
color: '#575F7A',
|
|
1620
|
-
borderColor: 'transparent'
|
|
1621
|
-
},
|
|
1622
|
-
active: {
|
|
1623
|
-
fill: 'transparent',
|
|
1624
|
-
color: '#186DFF',
|
|
1625
|
-
borderColor: 'transparent'
|
|
1626
|
-
},
|
|
1627
|
-
activeMouseOver: {
|
|
1628
|
-
fill: 'rgba(24, 109, 255, 0.1)',
|
|
1629
|
-
color: '#186DFF',
|
|
1630
|
-
borderColor: 'transparent'
|
|
1631
|
-
},
|
|
1632
|
-
disabled: {
|
|
1633
|
-
fill: 'transparent',
|
|
1634
|
-
color: '#707070',
|
|
1635
|
-
borderColor: 'transparent'
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
tool: {
|
|
1639
|
-
"default": {
|
|
1640
|
-
fill: '#ECEDEE',
|
|
1641
|
-
color: '#575F7A',
|
|
1642
|
-
borderColor: 'transparent'
|
|
1643
|
-
},
|
|
1644
|
-
mouseOver: {
|
|
1645
|
-
fill: '#E3E4E7',
|
|
1646
|
-
color: '#575F7A',
|
|
1647
|
-
borderColor: 'transparent'
|
|
1648
|
-
},
|
|
1649
|
-
active: {
|
|
1650
|
-
fill: '#186DFF',
|
|
1651
|
-
color: '#FFFFFF',
|
|
1652
|
-
borderColor: 'transparent'
|
|
1653
|
-
},
|
|
1654
|
-
activeMouseOver: {
|
|
1655
|
-
fill: '#1047B0',
|
|
1656
|
-
color: '#FFFFFF',
|
|
1657
|
-
borderColor: 'transparent'
|
|
1658
|
-
},
|
|
1659
|
-
disabled: {
|
|
1660
|
-
fill: 'transparent',
|
|
1661
|
-
color: '#707070',
|
|
1662
|
-
borderColor: 'transparent'
|
|
1663
|
-
}
|
|
1664
|
-
},
|
|
1665
|
-
boxed: {
|
|
1666
|
-
"default": {
|
|
1667
|
-
fill: 'transparent',
|
|
1668
|
-
color: '#575F7A',
|
|
1669
|
-
borderColor: '#575f7a'
|
|
1670
|
-
},
|
|
1671
|
-
mouseOver: {
|
|
1672
|
-
fill: '#E3E4E7',
|
|
1673
|
-
color: '#575F7A',
|
|
1674
|
-
borderColor: '#575f7a'
|
|
1675
|
-
},
|
|
1676
|
-
active: {
|
|
1677
|
-
fill: '#186DFF',
|
|
1678
|
-
color: '#FFFFFF',
|
|
1679
|
-
borderColor: 'transparent'
|
|
1680
|
-
},
|
|
1681
|
-
activeMouseOver: {
|
|
1682
|
-
fill: '#1047B0',
|
|
1683
|
-
color: '#FFFFFF',
|
|
1684
|
-
borderColor: 'transparent'
|
|
1685
|
-
},
|
|
1686
|
-
disabled: {
|
|
1687
|
-
fill: 'transparent',
|
|
1688
|
-
color: '#707070',
|
|
1689
|
-
borderColor: 'transparent'
|
|
1690
|
-
}
|
|
1230
|
+
focus: focusButtonStyle$1
|
|
1691
1231
|
},
|
|
1692
1232
|
icon: {
|
|
1693
1233
|
"default": {
|
|
@@ -1696,7 +1236,7 @@ var colors$1 = {
|
|
|
1696
1236
|
borderColor: 'transparent'
|
|
1697
1237
|
},
|
|
1698
1238
|
mouseOver: {
|
|
1699
|
-
fill: '#
|
|
1239
|
+
fill: '#E0E8F5',
|
|
1700
1240
|
color: '#374061',
|
|
1701
1241
|
borderColor: 'transparent'
|
|
1702
1242
|
},
|
|
@@ -1706,19 +1246,18 @@ var colors$1 = {
|
|
|
1706
1246
|
borderColor: 'transparent'
|
|
1707
1247
|
},
|
|
1708
1248
|
activeMouseOver: {
|
|
1709
|
-
fill: '
|
|
1249
|
+
fill: '#E0E8F5',
|
|
1710
1250
|
color: '#186DFF',
|
|
1711
1251
|
borderColor: 'transparent'
|
|
1712
1252
|
},
|
|
1713
1253
|
disabled: {
|
|
1714
1254
|
fill: 'transparent',
|
|
1715
|
-
color: '#
|
|
1255
|
+
color: '#626262',
|
|
1716
1256
|
borderColor: 'transparent'
|
|
1717
|
-
}
|
|
1257
|
+
},
|
|
1258
|
+
focus: focusButtonStyle$1
|
|
1718
1259
|
},
|
|
1719
|
-
focusDefault:
|
|
1720
|
-
outline: 'solid 2px #419cfe'
|
|
1721
|
-
}
|
|
1260
|
+
focusDefault: focusButtonStyle$1
|
|
1722
1261
|
},
|
|
1723
1262
|
typographyAndIcons: {
|
|
1724
1263
|
text: '#051039',
|
|
@@ -1728,7 +1267,7 @@ var colors$1 = {
|
|
|
1728
1267
|
iconLinkDisabled: '#CCCCCC',
|
|
1729
1268
|
textLinkActive: '#186DFF',
|
|
1730
1269
|
buttonIconTertiaryFlat: '#575F7A',
|
|
1731
|
-
inactiveText: '#
|
|
1270
|
+
inactiveText: '#626262'
|
|
1732
1271
|
},
|
|
1733
1272
|
textInputField: {
|
|
1734
1273
|
"default": {
|
|
@@ -1760,7 +1299,8 @@ var colors$1 = {
|
|
|
1760
1299
|
},
|
|
1761
1300
|
cards: {
|
|
1762
1301
|
cardContainer: '#FFFFFF',
|
|
1763
|
-
cardContainerBorder: '#EEEEEE'
|
|
1302
|
+
cardContainerBorder: '#EEEEEE',
|
|
1303
|
+
cardContainerMouseOver: '#E0E8F5'
|
|
1764
1304
|
},
|
|
1765
1305
|
backdrops: {
|
|
1766
1306
|
black: {
|
|
@@ -1859,7 +1399,7 @@ var colors$1 = {
|
|
|
1859
1399
|
},
|
|
1860
1400
|
legendNoDataBackground: {
|
|
1861
1401
|
fill: '#575F7A',
|
|
1862
|
-
opacity:
|
|
1402
|
+
opacity: 0.95
|
|
1863
1403
|
}
|
|
1864
1404
|
},
|
|
1865
1405
|
customSlider: {
|
|
@@ -2001,7 +1541,6 @@ var elevations$1 = {
|
|
|
2001
1541
|
elevation_16: '0 8px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 16px 24px 2px rgba(0, 0, 0, 0.14)',
|
|
2002
1542
|
elevation_24: '0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.14)'
|
|
2003
1543
|
};
|
|
2004
|
-
var lightTheme = createTheme('light', parseColors(colors$1), createShadows(elevations$1));
|
|
2005
1544
|
|
|
2006
1545
|
/* *
|
|
2007
1546
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2016,304 +1555,543 @@ var lightTheme = createTheme('light', parseColors(colors$1), createShadows(eleva
|
|
|
2016
1555
|
* See the License for the specific language governing permissions and
|
|
2017
1556
|
* limitations under the License.
|
|
2018
1557
|
*
|
|
2019
|
-
* Copyright
|
|
2020
|
-
* Copyright
|
|
1558
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1559
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2021
1560
|
* */
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
borderRadius: 3
|
|
2048
|
-
},
|
|
2049
|
-
typography: {
|
|
2050
|
-
h6: {
|
|
2051
|
-
fontSize: '16px'
|
|
2052
|
-
},
|
|
2053
|
-
subtitle1: {
|
|
2054
|
-
fontSize: '16px',
|
|
2055
|
-
fontWeight: 500,
|
|
2056
|
-
lineHeight: 1.5,
|
|
2057
|
-
letterSpacing: '0.15px',
|
|
2058
|
-
opacity: 0.87,
|
|
2059
|
-
color: '#051039'
|
|
2060
|
-
},
|
|
2061
|
-
subtitle2: {
|
|
2062
|
-
fontSize: '14px',
|
|
2063
|
-
fontWeight: 500,
|
|
2064
|
-
lineHeight: 1.71,
|
|
2065
|
-
letterSpacing: '0.1px',
|
|
2066
|
-
opacity: 0.87,
|
|
2067
|
-
color: '#051039'
|
|
2068
|
-
},
|
|
2069
|
-
body1: {
|
|
2070
|
-
fontSize: '16px',
|
|
2071
|
-
lineHeight: 1.56,
|
|
2072
|
-
letterSpacing: '0.44px',
|
|
2073
|
-
color: '#051039'
|
|
2074
|
-
},
|
|
2075
|
-
body2: {
|
|
2076
|
-
fontSize: '14px',
|
|
2077
|
-
lineHeight: 1.43,
|
|
2078
|
-
letterSpacing: '0.25px',
|
|
2079
|
-
color: '#051039'
|
|
1561
|
+
var breakpoints = {
|
|
1562
|
+
mobile: 0,
|
|
1563
|
+
tablet: 768,
|
|
1564
|
+
desktop: 1024,
|
|
1565
|
+
dekstopHD: 1440,
|
|
1566
|
+
dekstopHDWide: 1920
|
|
1567
|
+
};
|
|
1568
|
+
var createTheme = function createTheme(_ref) {
|
|
1569
|
+
var _ref$paletteType = _ref.paletteType,
|
|
1570
|
+
paletteType = _ref$paletteType === void 0 ? 'light' : _ref$paletteType,
|
|
1571
|
+
_ref$geowebColors = _ref.geowebColors,
|
|
1572
|
+
defaultGeowebColors = _ref$geowebColors === void 0 ? colors$1 : _ref$geowebColors,
|
|
1573
|
+
_ref$elevations = _ref.elevations,
|
|
1574
|
+
defaultShadows = _ref$elevations === void 0 ? elevations$1 : _ref$elevations;
|
|
1575
|
+
var geowebColors = parseColors(defaultGeowebColors);
|
|
1576
|
+
var shadows = createShadows(defaultShadows);
|
|
1577
|
+
return createTheme$1({
|
|
1578
|
+
breakpoints: {
|
|
1579
|
+
values: {
|
|
1580
|
+
xs: breakpoints.mobile,
|
|
1581
|
+
sm: breakpoints.tablet,
|
|
1582
|
+
md: breakpoints.desktop,
|
|
1583
|
+
lg: breakpoints.dekstopHD,
|
|
1584
|
+
xl: breakpoints.dekstopHDWide
|
|
1585
|
+
}
|
|
2080
1586
|
},
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
1587
|
+
palette: {
|
|
1588
|
+
mode: paletteType,
|
|
1589
|
+
secondary: {
|
|
1590
|
+
main: geowebColors.typographyAndIcons.iconLinkActive
|
|
1591
|
+
},
|
|
1592
|
+
background: {
|
|
1593
|
+
paper: geowebColors.background.surfaceApp,
|
|
1594
|
+
"default": geowebColors.background.surfaceBrowser
|
|
1595
|
+
},
|
|
1596
|
+
text: {
|
|
1597
|
+
primary: geowebColors.typographyAndIcons.text
|
|
1598
|
+
},
|
|
1599
|
+
// geoweb color palette
|
|
1600
|
+
geowebColors: geowebColors
|
|
2088
1601
|
},
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
lineHeight: 1.33,
|
|
2092
|
-
letterSpacing: '0.4px',
|
|
2093
|
-
color: '#051039',
|
|
2094
|
-
opacity: 0.7
|
|
1602
|
+
shape: {
|
|
1603
|
+
borderRadius: BORDER_RADIUS
|
|
2095
1604
|
},
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
fontSize: '14px',
|
|
2099
|
-
color: '0075a9'
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
components: {
|
|
2103
|
-
MuiTooltip: {
|
|
2104
|
-
styleOverrides: {
|
|
2105
|
-
tooltip: {
|
|
2106
|
-
borderRadius: '2px',
|
|
2107
|
-
fontSize: '16px',
|
|
2108
|
-
fontWeight: 'normal',
|
|
2109
|
-
padding: '10px',
|
|
2110
|
-
backgroundColor: '#232323'
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
1605
|
+
typography: {
|
|
1606
|
+
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
2113
1607
|
},
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
1608
|
+
shadows: shadows,
|
|
1609
|
+
components: {
|
|
1610
|
+
MuiButton: {
|
|
1611
|
+
variants: buttonVariants(geowebColors.buttons),
|
|
1612
|
+
defaultProps: {
|
|
1613
|
+
focusRipple: false
|
|
2118
1614
|
}
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
},
|
|
2127
|
-
'&.Mui-checked': {
|
|
2128
|
-
color: '#0075a9'
|
|
2129
|
-
}
|
|
1615
|
+
},
|
|
1616
|
+
MuiToggleButton: {
|
|
1617
|
+
defaultProps: {
|
|
1618
|
+
focusRipple: false
|
|
1619
|
+
},
|
|
1620
|
+
styleOverrides: {
|
|
1621
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2130
1622
|
}
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
color: '#0075a9'
|
|
1623
|
+
},
|
|
1624
|
+
MuiIconButton: {
|
|
1625
|
+
// TODO: https://gitlab.com/opengeoweb/opengeoweb/-/issues/1926 remove default styling and create CustomIconButton
|
|
1626
|
+
defaultProps: {
|
|
1627
|
+
focusRipple: false
|
|
2137
1628
|
},
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
1629
|
+
styleOverrides: {
|
|
1630
|
+
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
MuiCssBaseline: {
|
|
1634
|
+
styleOverrides: "\n html {\n -webkit-font-smoothing: auto;\n }\n "
|
|
1635
|
+
},
|
|
1636
|
+
MuiMenuItem: {
|
|
1637
|
+
styleOverrides: {
|
|
1638
|
+
root: {
|
|
1639
|
+
minHeight: '48px!important',
|
|
1640
|
+
fontSize: '0.875rem',
|
|
1641
|
+
letterSpacing: '0.25px',
|
|
1642
|
+
divider: {
|
|
1643
|
+
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1644
|
+
},
|
|
1645
|
+
li: {
|
|
1646
|
+
'&:hover': {
|
|
1647
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
'&.Mui-selected': {
|
|
1651
|
+
background: 'none',
|
|
1652
|
+
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
|
|
1653
|
+
}
|
|
2141
1654
|
}
|
|
2142
1655
|
}
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
backgroundColor: '#fff8eb'
|
|
2156
|
-
},
|
|
2157
|
-
standardInfo: {
|
|
2158
|
-
border: '1px solid #0062e6',
|
|
2159
|
-
borderRadius: '0px',
|
|
2160
|
-
backgroundColor: '#eaf3ff'
|
|
2161
|
-
},
|
|
2162
|
-
standardSuccess: {
|
|
2163
|
-
border: '1px solid #72bb23',
|
|
2164
|
-
borderRadius: '0px',
|
|
2165
|
-
backgroundColor: '#fcffeb'
|
|
2166
|
-
},
|
|
2167
|
-
action: {
|
|
2168
|
-
color: '#0075a9'
|
|
2169
|
-
},
|
|
2170
|
-
message: {
|
|
2171
|
-
fontSize: '14px',
|
|
2172
|
-
lineHeight: 1.43,
|
|
2173
|
-
letterSpacing: '0.25px',
|
|
2174
|
-
color: '#051039'
|
|
1656
|
+
},
|
|
1657
|
+
MuiRadio: {
|
|
1658
|
+
styleOverrides: {
|
|
1659
|
+
root: {
|
|
1660
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1661
|
+
'&.MuiRadio-root.Mui-disabled': {
|
|
1662
|
+
color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
|
|
1663
|
+
},
|
|
1664
|
+
'&.Mui-checked': {
|
|
1665
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
2175
1668
|
}
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
1669
|
+
},
|
|
1670
|
+
MuiCheckbox: {
|
|
1671
|
+
styleOverrides: {
|
|
1672
|
+
root: {
|
|
1673
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1674
|
+
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1675
|
+
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1676
|
+
},
|
|
1677
|
+
'&.Mui-checked': {
|
|
1678
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
2186
1681
|
}
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
1682
|
+
},
|
|
1683
|
+
MuiPaper: {
|
|
1684
|
+
styleOverrides: {
|
|
1685
|
+
root: {
|
|
1686
|
+
backgroundImage: 'unset'
|
|
1687
|
+
},
|
|
1688
|
+
outlined: {
|
|
1689
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
MuiCard: {
|
|
1694
|
+
styleOverrides: {
|
|
1695
|
+
root: {
|
|
1696
|
+
backgroundColor: geowebColors.cards.cardContainer
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
MuiSlider: {
|
|
1701
|
+
styleOverrides: {
|
|
1702
|
+
root: {
|
|
1703
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
MuiTable: {
|
|
1708
|
+
styleOverrides: {
|
|
1709
|
+
root: {
|
|
1710
|
+
borderSpacing: '0 0.25rem',
|
|
1711
|
+
borderCollapse: 'separate'
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
MuiTableRow: {
|
|
1716
|
+
styleOverrides: {
|
|
1717
|
+
head: {
|
|
1718
|
+
'&:hover': {
|
|
1719
|
+
boxShadow: shadows[0]
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
root: {
|
|
1723
|
+
transition: 'box-shadow 100ms ease-out',
|
|
1724
|
+
boxShadow: shadows[0],
|
|
1725
|
+
borderRadius: BORDER_RADIUS,
|
|
1726
|
+
'&:hover': {
|
|
1727
|
+
boxShadow: shadows[1]
|
|
1728
|
+
},
|
|
1729
|
+
position: 'relative'
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
MuiTableCell: {
|
|
1734
|
+
styleOverrides: {
|
|
1735
|
+
head: {
|
|
1736
|
+
borderBottom: 'none',
|
|
1737
|
+
fontSize: '0.875rem',
|
|
1738
|
+
fontWeight: 400
|
|
1739
|
+
},
|
|
1740
|
+
body: {
|
|
1741
|
+
padding: 12,
|
|
1742
|
+
fontWeight: 500,
|
|
1743
|
+
backgroundColor: geowebColors.background.surface,
|
|
1744
|
+
borderStyle: 'solid',
|
|
1745
|
+
borderColor: 'transparent',
|
|
1746
|
+
borderWidth: 1,
|
|
1747
|
+
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1748
|
+
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1749
|
+
'&:first-child': {
|
|
1750
|
+
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1751
|
+
borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
|
|
1752
|
+
},
|
|
1753
|
+
'&:last-child': {
|
|
1754
|
+
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1755
|
+
borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
MuiTabs: {
|
|
1761
|
+
styleOverrides: {
|
|
1762
|
+
root: {
|
|
1763
|
+
position: 'relative',
|
|
1764
|
+
'&:after': {
|
|
1765
|
+
content: '""',
|
|
1766
|
+
position: 'absolute',
|
|
1767
|
+
bottom: 0,
|
|
1768
|
+
height: 1,
|
|
1769
|
+
width: '100%',
|
|
1770
|
+
zIndex: 0,
|
|
1771
|
+
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
indicator: {
|
|
1775
|
+
zIndex: 1,
|
|
1776
|
+
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
},
|
|
1780
|
+
MuiTab: {
|
|
1781
|
+
styleOverrides: {
|
|
1782
|
+
root: {
|
|
1783
|
+
textTransform: 'initial',
|
|
1784
|
+
'&.Mui-selected': {
|
|
1785
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1786
|
+
},
|
|
1787
|
+
'&:hover': {
|
|
1788
|
+
opacity: 1,
|
|
1789
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1790
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
MuiListItem: {
|
|
1796
|
+
styleOverrides: {
|
|
1797
|
+
root: {
|
|
1798
|
+
color: geowebColors.typographyAndIcons.text,
|
|
1799
|
+
fontSize: '14px',
|
|
1800
|
+
minHeight: '36px'
|
|
1801
|
+
},
|
|
1802
|
+
divider: {
|
|
1803
|
+
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
MuiListItemIcon: {
|
|
1808
|
+
styleOverrides: {
|
|
1809
|
+
root: {
|
|
1810
|
+
color: geowebColors.typographyAndIcons.icon,
|
|
1811
|
+
width: '24px',
|
|
1812
|
+
height: '24px'
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
MuiListItemButton: {
|
|
1817
|
+
styleOverrides: {
|
|
1818
|
+
root: {
|
|
1819
|
+
'&:hover': {
|
|
1820
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1821
|
+
},
|
|
1822
|
+
'&.Mui-selected': {
|
|
1823
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1824
|
+
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive),
|
|
1825
|
+
'&:hover': {
|
|
1826
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
'&.Mui-focusVisible': {
|
|
1830
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1831
|
+
outline: geowebColors.buttons.focusDefault.outline
|
|
1832
|
+
},
|
|
1833
|
+
' .MuiListItemIcon-root': {
|
|
1834
|
+
minWidth: 40
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
MuiBackdrop: {
|
|
1840
|
+
styleOverrides: {
|
|
1841
|
+
root: {
|
|
1842
|
+
backgroundColor: geowebColors.backdrops.black.rgba
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
MuiTooltip: {
|
|
1847
|
+
styleOverrides: {
|
|
1848
|
+
tooltip: {
|
|
1849
|
+
backgroundColor: geowebColors.tooltips.tooltipContainer.rgba,
|
|
1850
|
+
color: geowebColors.tooltips.tooltipText.color,
|
|
1851
|
+
padding: '8px 12px',
|
|
1852
|
+
fontSize: 16,
|
|
1853
|
+
fontWeight: 400,
|
|
1854
|
+
fontStretch: 'normal',
|
|
1855
|
+
fontStyle: 'normal',
|
|
1856
|
+
letterSpacing: 0.44,
|
|
1857
|
+
lineHeight: 1.56
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
MuiLink: {
|
|
1862
|
+
styleOverrides: {
|
|
1863
|
+
root: {
|
|
1864
|
+
color: geowebColors.typographyAndIcons.textLinkActive,
|
|
1865
|
+
textDecoration: 'none',
|
|
1866
|
+
'&:hover': {
|
|
1867
|
+
textDecoration: 'underline',
|
|
1868
|
+
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
MuiAlert: {
|
|
1874
|
+
styleOverrides: {
|
|
1875
|
+
standardError: {
|
|
1876
|
+
border: geowebColors.functional.errorOutline.border,
|
|
1877
|
+
borderRadius: '0px',
|
|
1878
|
+
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1879
|
+
'& .MuiAlert-icon': {
|
|
1880
|
+
color: geowebColors.functional.error,
|
|
1881
|
+
opacity: 1
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
standardWarning: {
|
|
1885
|
+
border: geowebColors.functional.warningOutline.border,
|
|
1886
|
+
borderRadius: '0px',
|
|
1887
|
+
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1888
|
+
'& .MuiAlert-icon': {
|
|
1889
|
+
color: geowebColors.functional.warning,
|
|
1890
|
+
opacity: 1
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
standardInfo: {
|
|
1894
|
+
border: geowebColors.functional.notificationOutline.border,
|
|
1895
|
+
borderRadius: '0px',
|
|
1896
|
+
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1897
|
+
'& .MuiAlert-icon': {
|
|
1898
|
+
color: geowebColors.functional.notification,
|
|
1899
|
+
opacity: 1
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
standardSuccess: {
|
|
1903
|
+
border: geowebColors.functional.successOutline.border,
|
|
1904
|
+
borderRadius: '0px',
|
|
1905
|
+
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1906
|
+
'& .MuiAlert-icon': {
|
|
1907
|
+
color: geowebColors.functional.success,
|
|
1908
|
+
opacity: 1
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
action: {
|
|
1912
|
+
color: geowebColors.buttons.tertiary["default"].color
|
|
1913
|
+
},
|
|
1914
|
+
message: {
|
|
1915
|
+
fontSize: '14px',
|
|
1916
|
+
lineHeight: 1.43,
|
|
1917
|
+
letterSpacing: '0.25px',
|
|
1918
|
+
color: geowebColors.typographyAndIcons.text
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
MuiTextField: {
|
|
1923
|
+
defaultProps: {
|
|
1924
|
+
variant: 'filled'
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
MuiFilledInput: {
|
|
1928
|
+
styleOverrides: {
|
|
1929
|
+
root: {
|
|
1930
|
+
backgroundColor: geowebColors.textInputField["default"].rgba,
|
|
1931
|
+
'&.Mui-focused': {
|
|
1932
|
+
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
1933
|
+
'&:after': {
|
|
1934
|
+
borderColor: 'transparent'
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
'&.Mui-disabled': {
|
|
1938
|
+
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
1939
|
+
},
|
|
1940
|
+
'&.Mui-error': {
|
|
1941
|
+
'&:after': {
|
|
1942
|
+
borderColor: geowebColors.captions.captionError.color
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
1946
|
+
'&.MuiInputBase-readOnly': {
|
|
1947
|
+
background: 'transparent',
|
|
1948
|
+
color: geowebColors.typographyAndIcons.text,
|
|
1949
|
+
' .MuiInputBase-readOnly': {
|
|
1950
|
+
WebkitTextFillColor: 'inherit'
|
|
1951
|
+
},
|
|
1952
|
+
'&:before': {
|
|
1953
|
+
border: 'transparent'
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
underline: {
|
|
1958
|
+
'&:after': {
|
|
1959
|
+
borderWidth: '1px'
|
|
1960
|
+
},
|
|
1961
|
+
'&.Mui-disabled:before': {
|
|
1962
|
+
borderBottomStyle: 'solid'
|
|
1963
|
+
}
|
|
2197
1964
|
}
|
|
2198
|
-
},
|
|
2199
|
-
labelIcon: {
|
|
2200
|
-
minHeight: '30px'
|
|
2201
1965
|
}
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
1966
|
+
},
|
|
1967
|
+
MuiFormLabel: {
|
|
1968
|
+
styleOverrides: {
|
|
1969
|
+
root: {
|
|
1970
|
+
color: geowebColors.captions.captionStatus.color,
|
|
1971
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1972
|
+
'&.Mui-focused': {
|
|
1973
|
+
color: geowebColors.captions.captionInformation.color,
|
|
1974
|
+
opacity: geowebColors.captions.captionInformation.opacity
|
|
1975
|
+
},
|
|
1976
|
+
'&.Mui-error': {
|
|
1977
|
+
color: geowebColors.captions.captionError.color,
|
|
1978
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
1979
|
+
},
|
|
1980
|
+
'&.Mui-disabled': {
|
|
1981
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
1982
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2212
1983
|
}
|
|
2213
1984
|
}
|
|
2214
|
-
},
|
|
2215
|
-
button: {
|
|
2216
|
-
'&:hover': {
|
|
2217
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2218
|
-
}
|
|
2219
1985
|
}
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
1986
|
+
},
|
|
1987
|
+
MuiFormHelperText: {
|
|
1988
|
+
styleOverrides: {
|
|
1989
|
+
root: {
|
|
1990
|
+
color: geowebColors.captions.captionStatus.color,
|
|
1991
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1992
|
+
'&.Mui-error': {
|
|
1993
|
+
color: geowebColors.captions.captionError.color,
|
|
1994
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
1995
|
+
},
|
|
1996
|
+
'&.Mui-disabled': {
|
|
1997
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
1998
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2230
1999
|
}
|
|
2231
|
-
},
|
|
2232
|
-
'&:hover': {
|
|
2233
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2234
2000
|
}
|
|
2235
2001
|
}
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2002
|
+
},
|
|
2003
|
+
MuiSwitch: {
|
|
2004
|
+
styleOverrides: {
|
|
2005
|
+
switchBase: {
|
|
2006
|
+
color: geowebColors.customSwitch.thumb,
|
|
2007
|
+
'&.Mui-checked': {
|
|
2008
|
+
color: geowebColors.customSwitch.thumb
|
|
2009
|
+
},
|
|
2010
|
+
'&.Mui-disabled': {
|
|
2011
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
2012
|
+
},
|
|
2013
|
+
'&.Mui-checked.Mui-disabled': {
|
|
2014
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
2015
|
+
},
|
|
2016
|
+
'&.Mui-checked+.MuiSwitch-track': {
|
|
2017
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
2018
|
+
},
|
|
2019
|
+
'&.Mui-disabled+.MuiSwitch-track': {
|
|
2020
|
+
backgroundColor: geowebColors.customSwitch.track
|
|
2021
|
+
},
|
|
2022
|
+
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
2023
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
2024
|
+
}
|
|
2244
2025
|
},
|
|
2245
|
-
|
|
2246
|
-
|
|
2026
|
+
track: {
|
|
2027
|
+
backgroundColor: geowebColors.customSwitch.track,
|
|
2028
|
+
opacity: '1 !important'
|
|
2247
2029
|
}
|
|
2248
2030
|
}
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2031
|
+
},
|
|
2032
|
+
MuiSnackbarContent: {
|
|
2033
|
+
styleOverrides: {
|
|
2034
|
+
root: {
|
|
2035
|
+
backgroundColor: geowebColors.snackbar.background,
|
|
2036
|
+
color: geowebColors.snackbar.text,
|
|
2037
|
+
fontSize: '16px',
|
|
2038
|
+
letterSpacing: '0.44px',
|
|
2039
|
+
borderRadius: '2px',
|
|
2040
|
+
boxShadow: shadows[8]
|
|
2256
2041
|
}
|
|
2257
2042
|
}
|
|
2258
|
-
}
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
}
|
|
2271
|
-
},
|
|
2272
|
-
underline: {
|
|
2273
|
-
'&.Mui-disabled:before': {
|
|
2274
|
-
borderBottomStyle: 'none'
|
|
2275
|
-
}
|
|
2043
|
+
},
|
|
2044
|
+
MuiAvatar: {
|
|
2045
|
+
styleOverrides: {
|
|
2046
|
+
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
2047
|
+
fontWeight: 500,
|
|
2048
|
+
'&:hover': {
|
|
2049
|
+
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
2050
|
+
},
|
|
2051
|
+
height: 32,
|
|
2052
|
+
width: 32,
|
|
2053
|
+
fontSize: 16,
|
|
2054
|
+
borderRadius: '50%'
|
|
2055
|
+
})
|
|
2276
2056
|
}
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2057
|
+
},
|
|
2058
|
+
MuiAccordion: {
|
|
2059
|
+
styleOverrides: {
|
|
2060
|
+
root: {
|
|
2061
|
+
backgroundColor: geowebColors.cards.cardContainer,
|
|
2062
|
+
borderRadius: '3px',
|
|
2063
|
+
border: 'solid 1px',
|
|
2064
|
+
borderColor: geowebColors.cards.cardContainerBorder,
|
|
2065
|
+
color: geowebColors.buttons.flat["default"].color,
|
|
2066
|
+
padding: '0px',
|
|
2067
|
+
margin: '0px 12px 4px 12px',
|
|
2068
|
+
fontSize: '12px',
|
|
2069
|
+
'&:before': {
|
|
2070
|
+
display: 'none'
|
|
2071
|
+
},
|
|
2072
|
+
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
2073
|
+
borderBottom: 'solid 1px',
|
|
2074
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
2075
|
+
},
|
|
2076
|
+
'& .MuiAccordionSummary-content': {
|
|
2077
|
+
margin: '2px',
|
|
2078
|
+
padding: '4px 4px 4px 10px'
|
|
2079
|
+
}
|
|
2287
2080
|
}
|
|
2288
2081
|
}
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2082
|
+
},
|
|
2083
|
+
MuiAccordionSummary: {
|
|
2084
|
+
styleOverrides: {
|
|
2085
|
+
root: {
|
|
2086
|
+
minHeight: '32px',
|
|
2087
|
+
padding: '0px',
|
|
2088
|
+
paddingRight: '5px'
|
|
2296
2089
|
}
|
|
2297
2090
|
}
|
|
2298
2091
|
}
|
|
2299
|
-
},
|
|
2300
|
-
MuiDialog: {
|
|
2301
|
-
styleOverrides: {
|
|
2302
|
-
paperWidthLg: {
|
|
2303
|
-
maxWidth: '1280px'
|
|
2304
|
-
}
|
|
2305
|
-
}
|
|
2306
|
-
},
|
|
2307
|
-
MuiButton: {
|
|
2308
|
-
variants: buttonVariants(geowebColors.buttons)
|
|
2309
|
-
},
|
|
2310
|
-
MuiToggleButton: {
|
|
2311
|
-
styleOverrides: {
|
|
2312
|
-
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2313
|
-
}
|
|
2314
2092
|
}
|
|
2315
|
-
}
|
|
2316
|
-
}
|
|
2093
|
+
});
|
|
2094
|
+
};
|
|
2317
2095
|
|
|
2318
2096
|
/* *
|
|
2319
2097
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2328,9 +2106,12 @@ var GWTheme = createTheme$1({
|
|
|
2328
2106
|
* See the License for the specific language governing permissions and
|
|
2329
2107
|
* limitations under the License.
|
|
2330
2108
|
*
|
|
2331
|
-
* Copyright
|
|
2332
|
-
* Copyright
|
|
2109
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2110
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2333
2111
|
* */
|
|
2112
|
+
var focusButtonStyle = {
|
|
2113
|
+
outline: 'solid 2px #419cfe'
|
|
2114
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e5dc12278e35d433aa2d
|
|
2334
2115
|
|
|
2335
2116
|
var colors = {
|
|
2336
2117
|
background: {
|
|
@@ -2361,96 +2142,100 @@ var colors = {
|
|
|
2361
2142
|
activeMouseOver: {},
|
|
2362
2143
|
disabled: {
|
|
2363
2144
|
fill: 'transparent',
|
|
2364
|
-
color: '#
|
|
2145
|
+
color: '#B4B4B4',
|
|
2365
2146
|
borderColor: 'transparent'
|
|
2366
|
-
}
|
|
2147
|
+
},
|
|
2148
|
+
focus: focusButtonStyle
|
|
2367
2149
|
},
|
|
2368
2150
|
secondary: {
|
|
2369
2151
|
"default": {
|
|
2370
|
-
fill: '#
|
|
2371
|
-
color: '#
|
|
2152
|
+
fill: '#F8F9F9',
|
|
2153
|
+
color: '#374061',
|
|
2372
2154
|
borderColor: 'transparent'
|
|
2373
2155
|
},
|
|
2374
2156
|
mouseOver: {
|
|
2375
|
-
fill: '#
|
|
2157
|
+
fill: '#1047B0',
|
|
2376
2158
|
color: '#FFFFFF',
|
|
2377
|
-
borderColor: '#
|
|
2159
|
+
borderColor: '#transparent'
|
|
2378
2160
|
},
|
|
2379
2161
|
active: {
|
|
2380
|
-
fill: '#
|
|
2162
|
+
fill: '#186DFF',
|
|
2381
2163
|
color: '#FFFFFF',
|
|
2382
2164
|
borderColor: 'transparent'
|
|
2383
2165
|
},
|
|
2384
2166
|
activeMouseOver: {},
|
|
2385
2167
|
disabled: {
|
|
2386
2168
|
fill: 'transparent',
|
|
2387
|
-
color: '#
|
|
2169
|
+
color: '#B4B4B4',
|
|
2388
2170
|
borderColor: 'transparent'
|
|
2389
|
-
}
|
|
2171
|
+
},
|
|
2172
|
+
focus: focusButtonStyle
|
|
2390
2173
|
},
|
|
2391
2174
|
tertiary: {
|
|
2392
2175
|
"default": {
|
|
2393
2176
|
fill: 'transparent',
|
|
2394
|
-
color: '#
|
|
2395
|
-
borderColor: '#
|
|
2177
|
+
color: '#F8F9F9',
|
|
2178
|
+
borderColor: '#F8F9F9'
|
|
2396
2179
|
},
|
|
2397
2180
|
mouseOver: {
|
|
2398
|
-
fill: '#
|
|
2399
|
-
color: '#
|
|
2400
|
-
borderColor: '#
|
|
2181
|
+
fill: '#414751',
|
|
2182
|
+
color: '#F8F9F9',
|
|
2183
|
+
borderColor: '#F8F9F9'
|
|
2401
2184
|
},
|
|
2402
2185
|
active: {
|
|
2403
2186
|
fill: 'transparent',
|
|
2404
|
-
color: '#
|
|
2405
|
-
borderColor: '#
|
|
2187
|
+
color: '#7BACFF',
|
|
2188
|
+
borderColor: '#7BACFF'
|
|
2406
2189
|
},
|
|
2407
2190
|
activeMouseOver: {
|
|
2408
|
-
fill: '
|
|
2409
|
-
color: '#
|
|
2410
|
-
borderColor: '#
|
|
2191
|
+
fill: '#414751',
|
|
2192
|
+
color: '#7BACFF',
|
|
2193
|
+
borderColor: '#7BACFF'
|
|
2411
2194
|
},
|
|
2412
2195
|
disabled: {
|
|
2413
2196
|
fill: 'transparent',
|
|
2414
|
-
color: '#
|
|
2197
|
+
color: '#B4B4B4',
|
|
2415
2198
|
borderColor: 'transparent'
|
|
2416
|
-
}
|
|
2199
|
+
},
|
|
2200
|
+
focus: focusButtonStyle
|
|
2417
2201
|
},
|
|
2418
2202
|
flat: {
|
|
2419
2203
|
"default": {
|
|
2420
2204
|
fill: 'transparent',
|
|
2421
|
-
color: '#
|
|
2205
|
+
color: '#F8F9F9',
|
|
2422
2206
|
borderColor: 'transparent'
|
|
2423
2207
|
},
|
|
2424
2208
|
mouseOver: {
|
|
2425
|
-
fill: '#
|
|
2426
|
-
color: '#
|
|
2209
|
+
fill: '#414751',
|
|
2210
|
+
color: '#F8F9F9',
|
|
2427
2211
|
borderColor: 'transparent'
|
|
2428
2212
|
},
|
|
2429
2213
|
active: {
|
|
2430
2214
|
fill: 'transparent',
|
|
2431
|
-
color: '#
|
|
2215
|
+
color: '#7BACFF',
|
|
2432
2216
|
borderColor: 'transparent'
|
|
2433
2217
|
},
|
|
2434
2218
|
activeMouseOver: {
|
|
2435
|
-
fill: '
|
|
2436
|
-
color: '#
|
|
2219
|
+
fill: '#414751',
|
|
2220
|
+
color: '#7BACFF',
|
|
2437
2221
|
borderColor: 'transparent'
|
|
2438
2222
|
},
|
|
2439
2223
|
disabled: {
|
|
2440
2224
|
fill: 'transparent',
|
|
2441
|
-
color: '#
|
|
2225
|
+
color: '#B4B4B4',
|
|
2442
2226
|
borderColor: 'transparent'
|
|
2443
|
-
}
|
|
2227
|
+
},
|
|
2228
|
+
focus: focusButtonStyle
|
|
2444
2229
|
},
|
|
2445
2230
|
tool: {
|
|
2446
2231
|
"default": {
|
|
2447
2232
|
fill: '#393939',
|
|
2448
|
-
color: '#
|
|
2233
|
+
color: '#F8F9F9',
|
|
2449
2234
|
borderColor: 'transparent'
|
|
2450
2235
|
},
|
|
2451
2236
|
mouseOver: {
|
|
2452
|
-
fill: '#
|
|
2453
|
-
color: '#
|
|
2237
|
+
fill: '#414751',
|
|
2238
|
+
color: '#F8F9F9',
|
|
2454
2239
|
borderColor: 'transparent'
|
|
2455
2240
|
},
|
|
2456
2241
|
active: {
|
|
@@ -2465,20 +2250,21 @@ var colors = {
|
|
|
2465
2250
|
},
|
|
2466
2251
|
disabled: {
|
|
2467
2252
|
fill: 'transparent',
|
|
2468
|
-
color: '#
|
|
2253
|
+
color: '#B4B4B4',
|
|
2469
2254
|
borderColor: 'transparent'
|
|
2470
|
-
}
|
|
2255
|
+
},
|
|
2256
|
+
focus: focusButtonStyle
|
|
2471
2257
|
},
|
|
2472
2258
|
boxed: {
|
|
2473
2259
|
"default": {
|
|
2474
2260
|
fill: 'transparent',
|
|
2475
|
-
color: '#
|
|
2476
|
-
borderColor: '#
|
|
2261
|
+
color: '#F8F9F9',
|
|
2262
|
+
borderColor: '#F8F9F9'
|
|
2477
2263
|
},
|
|
2478
2264
|
mouseOver: {
|
|
2479
|
-
fill: '#
|
|
2480
|
-
color: '#
|
|
2481
|
-
borderColor: '#
|
|
2265
|
+
fill: '#414751',
|
|
2266
|
+
color: '#F8F9F9',
|
|
2267
|
+
borderColor: '#F8F9F9'
|
|
2482
2268
|
},
|
|
2483
2269
|
active: {
|
|
2484
2270
|
fill: '#186DFF',
|
|
@@ -2492,9 +2278,10 @@ var colors = {
|
|
|
2492
2278
|
},
|
|
2493
2279
|
disabled: {
|
|
2494
2280
|
fill: 'transparent',
|
|
2495
|
-
color: '#
|
|
2281
|
+
color: '#B4B4B4',
|
|
2496
2282
|
borderColor: 'transparent'
|
|
2497
|
-
}
|
|
2283
|
+
},
|
|
2284
|
+
focus: focusButtonStyle
|
|
2498
2285
|
},
|
|
2499
2286
|
icon: {
|
|
2500
2287
|
"default": {
|
|
@@ -2503,7 +2290,7 @@ var colors = {
|
|
|
2503
2290
|
borderColor: 'transparent'
|
|
2504
2291
|
},
|
|
2505
2292
|
mouseOver: {
|
|
2506
|
-
fill: '#
|
|
2293
|
+
fill: '#414751',
|
|
2507
2294
|
color: '#F8F9F9',
|
|
2508
2295
|
borderColor: 'transparent'
|
|
2509
2296
|
},
|
|
@@ -2513,7 +2300,7 @@ var colors = {
|
|
|
2513
2300
|
borderColor: 'transparent'
|
|
2514
2301
|
},
|
|
2515
2302
|
activeMouseOver: {
|
|
2516
|
-
fill: '
|
|
2303
|
+
fill: '#414751',
|
|
2517
2304
|
color: '#488BFD',
|
|
2518
2305
|
borderColor: 'transparent'
|
|
2519
2306
|
},
|
|
@@ -2521,11 +2308,10 @@ var colors = {
|
|
|
2521
2308
|
fill: 'transparent',
|
|
2522
2309
|
color: '#B4B4B4',
|
|
2523
2310
|
borderColor: 'transparent'
|
|
2524
|
-
}
|
|
2311
|
+
},
|
|
2312
|
+
focus: focusButtonStyle
|
|
2525
2313
|
},
|
|
2526
|
-
focusDefault:
|
|
2527
|
-
outline: 'solid 2px #419cfe'
|
|
2528
|
-
}
|
|
2314
|
+
focusDefault: focusButtonStyle
|
|
2529
2315
|
},
|
|
2530
2316
|
typographyAndIcons: {
|
|
2531
2317
|
text: '#FFFFFF',
|
|
@@ -2535,7 +2321,7 @@ var colors = {
|
|
|
2535
2321
|
iconLinkDisabled: '#5E5E5E',
|
|
2536
2322
|
textLinkActive: '#488BFD',
|
|
2537
2323
|
buttonIconTertiaryFlat: '#C5C5C5',
|
|
2538
|
-
inactiveText: '#
|
|
2324
|
+
inactiveText: '#b4b4b4'
|
|
2539
2325
|
},
|
|
2540
2326
|
textInputField: {
|
|
2541
2327
|
"default": {
|
|
@@ -2567,7 +2353,8 @@ var colors = {
|
|
|
2567
2353
|
},
|
|
2568
2354
|
cards: {
|
|
2569
2355
|
cardContainer: '#303030',
|
|
2570
|
-
cardContainerBorder: '#404040'
|
|
2356
|
+
cardContainerBorder: '#404040',
|
|
2357
|
+
cardContainerMouseOver: '#414751'
|
|
2571
2358
|
},
|
|
2572
2359
|
backdrops: {
|
|
2573
2360
|
black: {
|
|
@@ -2582,7 +2369,7 @@ var colors = {
|
|
|
2582
2369
|
screenManager: {
|
|
2583
2370
|
activeWindow: '#242424',
|
|
2584
2371
|
inactiveWindow: '#303030',
|
|
2585
|
-
tabButtonHover: '
|
|
2372
|
+
tabButtonHover: '#414751'
|
|
2586
2373
|
},
|
|
2587
2374
|
timeSlider: {
|
|
2588
2375
|
// player
|
|
@@ -2667,7 +2454,7 @@ var colors = {
|
|
|
2667
2454
|
},
|
|
2668
2455
|
legendNoDataBackground: {
|
|
2669
2456
|
fill: '#575F7A',
|
|
2670
|
-
opacity:
|
|
2457
|
+
opacity: 0.95
|
|
2671
2458
|
}
|
|
2672
2459
|
},
|
|
2673
2460
|
customSlider: {
|
|
@@ -2707,109 +2494,447 @@ var colors = {
|
|
|
2707
2494
|
opacity: 0.87,
|
|
2708
2495
|
fontSize: 12
|
|
2709
2496
|
},
|
|
2710
|
-
tableRowDisabledCardContainer: {
|
|
2711
|
-
fill: '#2B2B2B',
|
|
2712
|
-
border: '1px solid #404040',
|
|
2713
|
-
borderColor: '#404040'
|
|
2714
|
-
}
|
|
2715
|
-
},
|
|
2716
|
-
tooltips: {
|
|
2717
|
-
tooltipContainer: {
|
|
2718
|
-
fill: '#232323',
|
|
2719
|
-
opacity: 1
|
|
2497
|
+
tableRowDisabledCardContainer: {
|
|
2498
|
+
fill: '#2B2B2B',
|
|
2499
|
+
border: '1px solid #404040',
|
|
2500
|
+
borderColor: '#404040'
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
tooltips: {
|
|
2504
|
+
tooltipContainer: {
|
|
2505
|
+
fill: '#232323',
|
|
2506
|
+
opacity: 1
|
|
2507
|
+
},
|
|
2508
|
+
tooltipText: {
|
|
2509
|
+
color: '#FFFFFF'
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
captions: {
|
|
2513
|
+
captionStatus: {
|
|
2514
|
+
color: '#FFFFFF',
|
|
2515
|
+
opacity: 0.7
|
|
2516
|
+
},
|
|
2517
|
+
captionInformation: {
|
|
2518
|
+
color: '#9EC2FF',
|
|
2519
|
+
opacity: 1
|
|
2520
|
+
},
|
|
2521
|
+
captionError: {
|
|
2522
|
+
color: '#FF8F8F',
|
|
2523
|
+
opacity: 1
|
|
2524
|
+
},
|
|
2525
|
+
captionErrorBackground: {
|
|
2526
|
+
color: '#C00000',
|
|
2527
|
+
opacity: 0.25
|
|
2528
|
+
},
|
|
2529
|
+
captionDisabled: {
|
|
2530
|
+
color: '#B0B0B0',
|
|
2531
|
+
opacity: 1
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
functional: {
|
|
2535
|
+
success: '#72BB23',
|
|
2536
|
+
successOutline: {
|
|
2537
|
+
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2538
|
+
border: '1px solid #72BB23',
|
|
2539
|
+
borderColor: '#72BB23'
|
|
2540
|
+
},
|
|
2541
|
+
error: '#C00000',
|
|
2542
|
+
errorOutline: {
|
|
2543
|
+
fill: 'rgba(192, 0, 0, 0.25)',
|
|
2544
|
+
border: '1px solid #C00000',
|
|
2545
|
+
borderColor: '#C00000'
|
|
2546
|
+
},
|
|
2547
|
+
warning: '#FFA800',
|
|
2548
|
+
warningOutline: {
|
|
2549
|
+
fill: 'rgba(255, 168, 0, 0.25)',
|
|
2550
|
+
border: '1px solid #FFA800',
|
|
2551
|
+
borderColor: '#FFA800'
|
|
2552
|
+
},
|
|
2553
|
+
warningHighlight: {
|
|
2554
|
+
fill: '#FFA800',
|
|
2555
|
+
opacity: 0.2
|
|
2556
|
+
},
|
|
2557
|
+
notification: '#186DFF',
|
|
2558
|
+
notificationOutline: {
|
|
2559
|
+
fill: 'rgba(24, 109, 255, 0.25)',
|
|
2560
|
+
border: '1px solid #186DFF',
|
|
2561
|
+
borderColor: '#186DFF'
|
|
2562
|
+
},
|
|
2563
|
+
summary: '#9595FF',
|
|
2564
|
+
summaryOutline: {
|
|
2565
|
+
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2566
|
+
border: '1px solid #8383F2',
|
|
2567
|
+
borderColor: '#8383F2'
|
|
2568
|
+
},
|
|
2569
|
+
disabled: '#9B9FB0',
|
|
2570
|
+
disabledOutline: {
|
|
2571
|
+
fill: 'rgba(155, 159, 176, 0.25)',
|
|
2572
|
+
border: '1px solid #9B9FB0',
|
|
2573
|
+
borderColor: '#9B9FB0'
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
snackbar: {
|
|
2577
|
+
background: '#051039',
|
|
2578
|
+
text: '#FFFFFF',
|
|
2579
|
+
action: '#98e1f1',
|
|
2580
|
+
actionHover: {
|
|
2581
|
+
fill: '#7BACFF',
|
|
2582
|
+
opacity: 0.2
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
2586
|
+
|
|
2587
|
+
var elevations = {
|
|
2588
|
+
elevation_01: '0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14)',
|
|
2589
|
+
elevation_02: '0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14)',
|
|
2590
|
+
elevation_03: '0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 3px 3px 0 rgba(0, 0, 0, 0.14)',
|
|
2591
|
+
elevation_04: '0 1px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14)',
|
|
2592
|
+
elevation_06: '0 3px 5px 0 rgba(0, 0, 0, 0.2), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 6px 10px 0 rgba(0, 0, 0, 0.14)',
|
|
2593
|
+
elevation_08: '0 4px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 14px 3px rgba(0, 0, 0, 0.12), 0 8px 10px 1px rgba(0, 0, 0, 0.14)',
|
|
2594
|
+
elevation_09: '0 5px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 16px 2px rgba(0, 0, 0, 0.12), 0 9px 12px 1px rgba(0, 0, 0, 0.14)',
|
|
2595
|
+
elevation_12: '0 7px 8px 0 rgba(0, 0, 0, 0.2), 0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 12px 17px 2px rgba(0, 0, 0, 0.14)',
|
|
2596
|
+
elevation_16: '0 8px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 16px 24px 2px rgba(0, 0, 0, 0.14)',
|
|
2597
|
+
elevation_24: '0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.14)'
|
|
2598
|
+
};
|
|
2599
|
+
|
|
2600
|
+
/* *
|
|
2601
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2602
|
+
* you may not use this file except in compliance with the License.
|
|
2603
|
+
* You may obtain a copy of the License at
|
|
2604
|
+
*
|
|
2605
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2606
|
+
*
|
|
2607
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2608
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2609
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2610
|
+
* See the License for the specific language governing permissions and
|
|
2611
|
+
* limitations under the License.
|
|
2612
|
+
*
|
|
2613
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2614
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2615
|
+
* */
|
|
2616
|
+
|
|
2617
|
+
var geowebColors = Object.assign({}, colors$1);
|
|
2618
|
+
var GWTheme = createTheme$1({
|
|
2619
|
+
breakpoints: {
|
|
2620
|
+
values: {
|
|
2621
|
+
xs: breakpoints.mobile,
|
|
2622
|
+
sm: breakpoints.tablet,
|
|
2623
|
+
md: breakpoints.desktop,
|
|
2624
|
+
lg: breakpoints.dekstopHD,
|
|
2625
|
+
xl: breakpoints.dekstopHDWide
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
palette: {
|
|
2629
|
+
secondary: {
|
|
2630
|
+
main: '#0075a9'
|
|
2631
|
+
},
|
|
2632
|
+
action: {
|
|
2633
|
+
active: '#ffa800'
|
|
2634
|
+
},
|
|
2635
|
+
text: {
|
|
2636
|
+
disabled: '#051039'
|
|
2637
|
+
},
|
|
2638
|
+
geowebColors: parseColors(geowebColors)
|
|
2639
|
+
},
|
|
2640
|
+
shape: {
|
|
2641
|
+
borderRadius: 3
|
|
2642
|
+
},
|
|
2643
|
+
typography: {
|
|
2644
|
+
h6: {
|
|
2645
|
+
fontSize: '16px'
|
|
2646
|
+
},
|
|
2647
|
+
subtitle1: {
|
|
2648
|
+
fontSize: '16px',
|
|
2649
|
+
fontWeight: 500,
|
|
2650
|
+
lineHeight: 1.5,
|
|
2651
|
+
letterSpacing: '0.15px',
|
|
2652
|
+
opacity: 0.87,
|
|
2653
|
+
color: '#051039'
|
|
2654
|
+
},
|
|
2655
|
+
subtitle2: {
|
|
2656
|
+
fontSize: '14px',
|
|
2657
|
+
fontWeight: 500,
|
|
2658
|
+
lineHeight: 1.71,
|
|
2659
|
+
letterSpacing: '0.1px',
|
|
2660
|
+
opacity: 0.87,
|
|
2661
|
+
color: '#051039'
|
|
2662
|
+
},
|
|
2663
|
+
body1: {
|
|
2664
|
+
fontSize: '16px',
|
|
2665
|
+
lineHeight: 1.56,
|
|
2666
|
+
letterSpacing: '0.44px',
|
|
2667
|
+
color: '#051039'
|
|
2668
|
+
},
|
|
2669
|
+
body2: {
|
|
2670
|
+
fontSize: '14px',
|
|
2671
|
+
lineHeight: 1.43,
|
|
2672
|
+
letterSpacing: '0.25px',
|
|
2673
|
+
color: '#051039'
|
|
2674
|
+
},
|
|
2675
|
+
overline: {
|
|
2676
|
+
textTransform: 'none',
|
|
2677
|
+
fontSize: '12px',
|
|
2678
|
+
lineHeight: 1.43,
|
|
2679
|
+
letterSpacing: '0.25px',
|
|
2680
|
+
color: '#051039',
|
|
2681
|
+
opacity: 0.7
|
|
2682
|
+
},
|
|
2683
|
+
caption: {
|
|
2684
|
+
fontSize: '12px',
|
|
2685
|
+
lineHeight: 1.33,
|
|
2686
|
+
letterSpacing: '0.4px',
|
|
2687
|
+
color: '#051039',
|
|
2688
|
+
opacity: 0.7
|
|
2689
|
+
},
|
|
2690
|
+
button: {
|
|
2691
|
+
fontWeight: 500,
|
|
2692
|
+
fontSize: '14px',
|
|
2693
|
+
color: '0075a9'
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
components: {
|
|
2697
|
+
MuiTooltip: {
|
|
2698
|
+
styleOverrides: {
|
|
2699
|
+
tooltip: {
|
|
2700
|
+
borderRadius: '2px',
|
|
2701
|
+
fontSize: '16px',
|
|
2702
|
+
fontWeight: 'normal',
|
|
2703
|
+
padding: '10px',
|
|
2704
|
+
backgroundColor: '#232323'
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
MuiIconButton: {
|
|
2709
|
+
styleOverrides: {
|
|
2710
|
+
root: {
|
|
2711
|
+
color: '#0075a9'
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
MuiCheckbox: {
|
|
2716
|
+
styleOverrides: {
|
|
2717
|
+
root: {
|
|
2718
|
+
'&.Mui-disabled': {
|
|
2719
|
+
color: '#CCCCCC!important'
|
|
2720
|
+
},
|
|
2721
|
+
'&.Mui-checked': {
|
|
2722
|
+
color: '#0075a9'
|
|
2723
|
+
}
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
MuiSelect: {
|
|
2728
|
+
styleOverrides: {
|
|
2729
|
+
icon: {
|
|
2730
|
+
color: '#0075a9'
|
|
2731
|
+
},
|
|
2732
|
+
select: {
|
|
2733
|
+
'&:focus': {
|
|
2734
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)'
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
},
|
|
2739
|
+
MuiAlert: {
|
|
2740
|
+
styleOverrides: {
|
|
2741
|
+
standardError: {
|
|
2742
|
+
border: '1px solid #c00000',
|
|
2743
|
+
borderRadius: '0px',
|
|
2744
|
+
backgroundColor: '#fff0ea'
|
|
2745
|
+
},
|
|
2746
|
+
standardWarning: {
|
|
2747
|
+
border: '1px solid #ffa800',
|
|
2748
|
+
borderRadius: '0px',
|
|
2749
|
+
backgroundColor: '#fff8eb'
|
|
2750
|
+
},
|
|
2751
|
+
standardInfo: {
|
|
2752
|
+
border: '1px solid #0062e6',
|
|
2753
|
+
borderRadius: '0px',
|
|
2754
|
+
backgroundColor: '#eaf3ff'
|
|
2755
|
+
},
|
|
2756
|
+
standardSuccess: {
|
|
2757
|
+
border: '1px solid #72bb23',
|
|
2758
|
+
borderRadius: '0px',
|
|
2759
|
+
backgroundColor: '#fcffeb'
|
|
2760
|
+
},
|
|
2761
|
+
action: {
|
|
2762
|
+
color: '#0075a9'
|
|
2763
|
+
},
|
|
2764
|
+
message: {
|
|
2765
|
+
fontSize: '14px',
|
|
2766
|
+
lineHeight: 1.43,
|
|
2767
|
+
letterSpacing: '0.25px',
|
|
2768
|
+
color: '#051039'
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
MuiTabs: {
|
|
2773
|
+
styleOverrides: {
|
|
2774
|
+
root: {
|
|
2775
|
+
backgroundColor: '#ffffff',
|
|
2776
|
+
minHeight: '30px'
|
|
2777
|
+
},
|
|
2778
|
+
scrollButtons: {
|
|
2779
|
+
width: '20px'
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2720
2782
|
},
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2783
|
+
MuiTab: {
|
|
2784
|
+
styleOverrides: {
|
|
2785
|
+
root: {
|
|
2786
|
+
minHeight: '30px',
|
|
2787
|
+
textTransform: 'none',
|
|
2788
|
+
minWidth: '76px',
|
|
2789
|
+
'@media (min-width: 600px)': {
|
|
2790
|
+
minWidth: '76px'
|
|
2791
|
+
}
|
|
2792
|
+
},
|
|
2793
|
+
labelIcon: {
|
|
2794
|
+
minHeight: '30px'
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2729
2797
|
},
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2798
|
+
MuiListItem: {
|
|
2799
|
+
styleOverrides: {
|
|
2800
|
+
root: {
|
|
2801
|
+
'&$selected': {
|
|
2802
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2803
|
+
borderLeft: '4px solid #0075a9',
|
|
2804
|
+
'&:hover': {
|
|
2805
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
button: {
|
|
2810
|
+
'&:hover': {
|
|
2811
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2733
2815
|
},
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2816
|
+
MuiMenuItem: {
|
|
2817
|
+
styleOverrides: {
|
|
2818
|
+
root: {
|
|
2819
|
+
'&.Mui-selected': {
|
|
2820
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2821
|
+
borderLeft: '4px solid #0075a9',
|
|
2822
|
+
'&:hover': {
|
|
2823
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
2824
|
+
}
|
|
2825
|
+
},
|
|
2826
|
+
'&:hover': {
|
|
2827
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2737
2831
|
},
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2832
|
+
MuiFormLabel: {
|
|
2833
|
+
styleOverrides: {
|
|
2834
|
+
root: {
|
|
2835
|
+
color: 'rgba(5, 16, 57, 0.7)',
|
|
2836
|
+
'&.Mui-focused': {
|
|
2837
|
+
color: '#0075a9'
|
|
2838
|
+
},
|
|
2839
|
+
'&.Mui-error': {
|
|
2840
|
+
color: '#d32f2f!important'
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2741
2844
|
},
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2751
|
-
border: '1px solid #72BB23',
|
|
2752
|
-
borderColor: '#72BB23'
|
|
2845
|
+
MuiOutlinedInput: {
|
|
2846
|
+
styleOverrides: {
|
|
2847
|
+
root: {
|
|
2848
|
+
'&$focused $notchedOutline': {
|
|
2849
|
+
borderColor: '#0075a9'
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2753
2853
|
},
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2854
|
+
MuiFilledInput: {
|
|
2855
|
+
styleOverrides: {
|
|
2856
|
+
root: {
|
|
2857
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)',
|
|
2858
|
+
color: '#051039',
|
|
2859
|
+
'&.Mui-disabled': {
|
|
2860
|
+
backgroundColor: 'white'
|
|
2861
|
+
},
|
|
2862
|
+
'&.Mui-focused': {
|
|
2863
|
+
backgroundColor: 'rgba(0,0,0,0.09)'
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
underline: {
|
|
2867
|
+
'&.Mui-disabled:before': {
|
|
2868
|
+
borderBottomStyle: 'none'
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2759
2872
|
},
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2873
|
+
MuiRadio: {
|
|
2874
|
+
styleOverrides: {
|
|
2875
|
+
root: {
|
|
2876
|
+
'&.Mui-disabled': {
|
|
2877
|
+
color: '#CCCCCC!important'
|
|
2878
|
+
},
|
|
2879
|
+
'&.Mui-checked': {
|
|
2880
|
+
color: '#0075a9'
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2765
2884
|
},
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2885
|
+
MuiCardContent: {
|
|
2886
|
+
styleOverrides: {
|
|
2887
|
+
root: {
|
|
2888
|
+
'&:last-child': {
|
|
2889
|
+
paddingBottom: 0
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2769
2893
|
},
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2894
|
+
MuiDialog: {
|
|
2895
|
+
styleOverrides: {
|
|
2896
|
+
paperWidthLg: {
|
|
2897
|
+
maxWidth: '1280px'
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2775
2900
|
},
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2779
|
-
border: '1px solid #8383F2',
|
|
2780
|
-
borderColor: '#8383F2'
|
|
2901
|
+
MuiButton: {
|
|
2902
|
+
variants: buttonVariants(geowebColors.buttons)
|
|
2781
2903
|
},
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
borderColor: '#9B9FB0'
|
|
2787
|
-
}
|
|
2788
|
-
},
|
|
2789
|
-
snackbar: {
|
|
2790
|
-
background: '#051039',
|
|
2791
|
-
text: '#FFFFFF',
|
|
2792
|
-
action: '#98e1f1',
|
|
2793
|
-
actionHover: {
|
|
2794
|
-
fill: '#7BACFF',
|
|
2795
|
-
opacity: 0.2
|
|
2904
|
+
MuiToggleButton: {
|
|
2905
|
+
styleOverrides: {
|
|
2906
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2907
|
+
}
|
|
2796
2908
|
}
|
|
2797
2909
|
}
|
|
2798
|
-
};
|
|
2910
|
+
});
|
|
2799
2911
|
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2912
|
+
/* *
|
|
2913
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2914
|
+
* you may not use this file except in compliance with the License.
|
|
2915
|
+
* You may obtain a copy of the License at
|
|
2916
|
+
*
|
|
2917
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2918
|
+
*
|
|
2919
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2920
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2921
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2922
|
+
* See the License for the specific language governing permissions and
|
|
2923
|
+
* limitations under the License.
|
|
2924
|
+
*
|
|
2925
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2926
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2927
|
+
* */
|
|
2928
|
+
var lightTheme = createTheme({
|
|
2929
|
+
paletteType: 'light',
|
|
2930
|
+
geowebColors: colors$1,
|
|
2931
|
+
elevations: elevations$1
|
|
2932
|
+
});
|
|
2933
|
+
var darkTheme = createTheme({
|
|
2934
|
+
paletteType: 'dark',
|
|
2935
|
+
geowebColors: colors,
|
|
2936
|
+
elevations: elevations
|
|
2937
|
+
});
|
|
2813
2938
|
|
|
2814
2939
|
var ThemeContext = /*#__PURE__*/React.createContext({
|
|
2815
2940
|
toggleTheme: undefined,
|
|
@@ -2875,4 +3000,4 @@ var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
|
|
|
2875
3000
|
}, props), children);
|
|
2876
3001
|
};
|
|
2877
3002
|
|
|
2878
|
-
export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Menu, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, dragHandlePath, gwButtonVariants, lightTheme, useThemeContext };
|
|
3003
|
+
export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Menu, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, gwButtonVariants, lightTheme, parseColors, useThemeContext };
|