@rovula/ui 0.1.6 → 0.1.7
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/dist/cjs/bundle.css +361 -355
- package/dist/cjs/bundle.js +171 -171
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/utils/colors.d.ts +267 -267
- package/dist/components/Switch/Switch.styles.js +1 -1
- package/dist/esm/bundle.css +361 -355
- package/dist/esm/bundle.js +1 -1
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/utils/colors.d.ts +267 -267
- package/dist/index.d.ts +267 -267
- package/dist/src/theme/global.css +2396 -2540
- package/dist/utils/colors.js +267 -267
- package/package.json +1 -1
- package/src/components/Button/Buttons.stories.tsx +15 -7
- package/src/components/Switch/Switch.styles.ts +1 -1
- package/src/theme/THEME_MAPPING.md +36 -37
- package/src/theme/global.css +7 -3
- package/src/theme/presets/colors.js +26 -28
- package/src/theme/themes/skyller/baseline.css +0 -4
- package/src/theme/themes/variable-mapping.css +1064 -0
- package/src/theme/themes/variable.css +248 -230
- package/src/theme/themes/xspector/baseline.css +0 -4
- package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
- package/src/theme/tokens/baseline.css +0 -3
- package/src/theme/tokens/color.css +34 -63
- package/src/theme/tokens/components/action-button.css +6 -6
- package/src/theme/tokens/components/button.css +189 -189
- package/src/theme/tokens/components/dropdown-menu.css +2 -2
- package/src/theme/tokens/components/footer.css +1 -1
- package/src/theme/tokens/components/switch.css +10 -10
- package/src/theme/tokens/typography.css +28 -28
- package/src/theme/tokens_old/baseline.css +13 -0
- package/src/theme/tokens_old/color.css +78 -0
- package/src/theme/tokens_old/components/action-button.css +127 -0
- package/src/theme/tokens_old/components/button.css +512 -0
- package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
- package/src/theme/tokens_old/components/footer.css +9 -0
- package/src/theme/tokens_old/components/loading.css +11 -0
- package/src/theme/tokens_old/components/navbar.css +9 -0
- package/src/theme/tokens_old/components/progress-bar.css +8 -0
- package/src/theme/tokens_old/components/switch.css +29 -0
- package/src/theme/tokens_old/typography.css +199 -0
- package/src/theme/tokens_old/variables.css +28 -0
- package/src/theme/utils.js +16 -16
- package/src/utils/colors.ts +275 -278
- package/src/theme/themes/skyller/color.css +0 -79
- package/src/theme/themes/skyller/palette.css +0 -143
- package/src/theme/themes/skyller/state.css +0 -94
- package/src/theme/themes/skyller/transparent.css +0 -94
- package/src/theme/themes/xspector/color.css +0 -83
- package/src/theme/themes/xspector/palette.css +0 -142
- package/src/theme/themes/xspector/state.css +0 -94
- package/src/theme/themes/xspector/transparent.css +0 -93
- /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
- /package/src/theme/{tokens → tokens_old}/state.css +0 -0
- /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1112,197 +1112,197 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
1112
1112
|
|
|
1113
1113
|
/** CSS variable names for theme colors (resolved by data-theme) */
|
|
1114
1114
|
declare const THEME_COLOR_KEYS: {
|
|
1115
|
-
readonly "primary-5": "--
|
|
1116
|
-
readonly "primary-10": "--
|
|
1117
|
-
readonly "primary-20": "--
|
|
1118
|
-
readonly "primary-30": "--
|
|
1119
|
-
readonly "primary-40": "--
|
|
1120
|
-
readonly "primary-50": "--
|
|
1121
|
-
readonly "primary-60": "--
|
|
1122
|
-
readonly "primary-70": "--
|
|
1123
|
-
readonly "primary-80": "--
|
|
1124
|
-
readonly "primary-90": "--
|
|
1125
|
-
readonly "primary-100": "--
|
|
1126
|
-
readonly "primary-110": "--
|
|
1127
|
-
readonly "primary-120": "--
|
|
1128
|
-
readonly "primary-130": "--
|
|
1129
|
-
readonly "primary-140": "--
|
|
1130
|
-
readonly "primary-150": "--
|
|
1131
|
-
readonly "secondary-5": "--
|
|
1132
|
-
readonly "secondary-10": "--
|
|
1133
|
-
readonly "secondary-20": "--
|
|
1134
|
-
readonly "secondary-30": "--
|
|
1135
|
-
readonly "secondary-40": "--
|
|
1136
|
-
readonly "secondary-50": "--
|
|
1137
|
-
readonly "secondary-60": "--
|
|
1138
|
-
readonly "secondary-70": "--
|
|
1139
|
-
readonly "secondary-80": "--
|
|
1140
|
-
readonly "secondary-90": "--
|
|
1141
|
-
readonly "secondary-100": "--
|
|
1142
|
-
readonly "secondary-110": "--
|
|
1143
|
-
readonly "secondary-120": "--
|
|
1144
|
-
readonly "secondary-130": "--
|
|
1145
|
-
readonly "secondary-140": "--
|
|
1146
|
-
readonly "secondary-150": "--
|
|
1147
|
-
readonly "tertiary-5": "--
|
|
1148
|
-
readonly "tertiary-10": "--
|
|
1149
|
-
readonly "tertiary-20": "--
|
|
1150
|
-
readonly "tertiary-30": "--
|
|
1151
|
-
readonly "tertiary-40": "--
|
|
1152
|
-
readonly "tertiary-50": "--
|
|
1153
|
-
readonly "tertiary-60": "--
|
|
1154
|
-
readonly "tertiary-70": "--
|
|
1155
|
-
readonly "tertiary-80": "--
|
|
1156
|
-
readonly "tertiary-90": "--
|
|
1157
|
-
readonly "tertiary-100": "--
|
|
1158
|
-
readonly "tertiary-110": "--
|
|
1159
|
-
readonly "tertiary-120": "--
|
|
1160
|
-
readonly "tertiary-130": "--
|
|
1161
|
-
readonly "tertiary-140": "--
|
|
1162
|
-
readonly "tertiary-150": "--
|
|
1163
|
-
readonly "grey-5": "--
|
|
1164
|
-
readonly "grey-10": "--
|
|
1165
|
-
readonly "grey-20": "--
|
|
1166
|
-
readonly "grey-30": "--
|
|
1167
|
-
readonly "grey-40": "--
|
|
1168
|
-
readonly "grey-50": "--
|
|
1169
|
-
readonly "grey-60": "--
|
|
1170
|
-
readonly "grey-70": "--
|
|
1171
|
-
readonly "grey-80": "--
|
|
1172
|
-
readonly "grey-90": "--
|
|
1173
|
-
readonly "grey-100": "--
|
|
1174
|
-
readonly "grey-110": "--
|
|
1175
|
-
readonly "grey-120": "--
|
|
1176
|
-
readonly "grey-130": "--
|
|
1177
|
-
readonly "grey-140": "--
|
|
1178
|
-
readonly "grey-150": "--
|
|
1179
|
-
readonly "grey2-50": "--
|
|
1180
|
-
readonly "grey2-100": "--
|
|
1181
|
-
readonly "grey2-200": "--
|
|
1182
|
-
readonly "grey2-300": "--
|
|
1183
|
-
readonly "grey2-400": "--
|
|
1184
|
-
readonly "grey2-500": "--
|
|
1185
|
-
readonly "grey2-600": "--
|
|
1186
|
-
readonly "grey2-700": "--
|
|
1187
|
-
readonly "grey2-800": "--
|
|
1188
|
-
readonly "grey2-900": "--
|
|
1189
|
-
readonly "grey2-950": "--
|
|
1190
|
-
readonly "info-50": "--
|
|
1191
|
-
readonly "info-100": "--
|
|
1192
|
-
readonly "info-200": "--
|
|
1193
|
-
readonly "info-300": "--
|
|
1194
|
-
readonly "info-400": "--
|
|
1195
|
-
readonly "info-500": "--
|
|
1196
|
-
readonly "info-600": "--
|
|
1197
|
-
readonly "info-700": "--
|
|
1198
|
-
readonly "info-800": "--
|
|
1199
|
-
readonly "info-900": "--
|
|
1200
|
-
readonly "info-950": "--
|
|
1201
|
-
readonly "success-50": "--
|
|
1202
|
-
readonly "success-100": "--
|
|
1203
|
-
readonly "success-200": "--
|
|
1204
|
-
readonly "success-300": "--
|
|
1205
|
-
readonly "success-400": "--
|
|
1206
|
-
readonly "success-500": "--
|
|
1207
|
-
readonly "success-600": "--
|
|
1208
|
-
readonly "success-700": "--
|
|
1209
|
-
readonly "success-800": "--
|
|
1210
|
-
readonly "success-900": "--
|
|
1211
|
-
readonly "success-950": "--
|
|
1212
|
-
readonly "warning-50": "--
|
|
1213
|
-
readonly "warning-100": "--
|
|
1214
|
-
readonly "warning-200": "--
|
|
1215
|
-
readonly "warning-300": "--
|
|
1216
|
-
readonly "warning-400": "--
|
|
1217
|
-
readonly "warning-500": "--
|
|
1218
|
-
readonly "warning-600": "--
|
|
1219
|
-
readonly "warning-700": "--
|
|
1220
|
-
readonly "warning-800": "--
|
|
1221
|
-
readonly "warning-900": "--
|
|
1222
|
-
readonly "warning-950": "--
|
|
1223
|
-
readonly "error-50": "--
|
|
1224
|
-
readonly "error-100": "--
|
|
1225
|
-
readonly "error-200": "--
|
|
1226
|
-
readonly "error-300": "--
|
|
1227
|
-
readonly "error-400": "--
|
|
1228
|
-
readonly "error-500": "--
|
|
1229
|
-
readonly "error-600": "--
|
|
1230
|
-
readonly "error-700": "--
|
|
1231
|
-
readonly "error-800": "--
|
|
1232
|
-
readonly "error-900": "--
|
|
1233
|
-
readonly "error-950": "--
|
|
1234
|
-
readonly primary: "--state-
|
|
1235
|
-
readonly "primary-hover": "--state-
|
|
1236
|
-
readonly "primary-stroke": "--state-
|
|
1237
|
-
readonly "primary-hover-bg": "--state-
|
|
1238
|
-
readonly "primary-pressed": "--state-
|
|
1239
|
-
readonly "primary-active": "--state-
|
|
1240
|
-
readonly "primary-text-solid": "--state-
|
|
1241
|
-
readonly "primary-text-outline": "--state-
|
|
1242
|
-
readonly "primary-text-hover": "--state-
|
|
1243
|
-
readonly "primary-text-pressed": "--state-
|
|
1244
|
-
readonly secondary: "--state-
|
|
1245
|
-
readonly "secondary-hover": "--state-
|
|
1246
|
-
readonly "secondary-stroke": "--state-
|
|
1247
|
-
readonly "secondary-hover-bg": "--state-
|
|
1248
|
-
readonly "secondary-pressed": "--state-
|
|
1249
|
-
readonly "secondary-active": "--state-
|
|
1250
|
-
readonly "secondary-text-solid": "--state-
|
|
1251
|
-
readonly "secondary-text-outline": "--state-
|
|
1252
|
-
readonly "secondary-text-hover": "--state-
|
|
1253
|
-
readonly "secondary-text-pressed": "--state-
|
|
1254
|
-
readonly tertiary: "--state-
|
|
1255
|
-
readonly "tertiary-hover": "--state-
|
|
1256
|
-
readonly "tertiary-stroke": "--state-
|
|
1257
|
-
readonly "tertiary-hover-bg": "--state-
|
|
1258
|
-
readonly "tertiary-pressed": "--state-
|
|
1259
|
-
readonly "tertiary-active": "--state-
|
|
1260
|
-
readonly "tertiary-text-solid": "--state-
|
|
1261
|
-
readonly "tertiary-text-outline": "--state-
|
|
1262
|
-
readonly "tertiary-text-hover": "--state-
|
|
1263
|
-
readonly "tertiary-text-pressed": "--state-
|
|
1264
|
-
readonly info: "--state-
|
|
1265
|
-
readonly "info-hover": "--state-
|
|
1266
|
-
readonly "info-stroke": "--state-
|
|
1267
|
-
readonly "info-hover-bg": "--state-
|
|
1268
|
-
readonly "info-pressed": "--state-
|
|
1269
|
-
readonly "info-active": "--state-
|
|
1270
|
-
readonly "info-text-solid": "--state-
|
|
1271
|
-
readonly "info-text-outline": "--state-
|
|
1272
|
-
readonly "info-text-hover": "--state-
|
|
1273
|
-
readonly "info-text-pressed": "--state-
|
|
1274
|
-
readonly success: "--state-
|
|
1275
|
-
readonly "success-hover": "--state-
|
|
1276
|
-
readonly "success-stroke": "--state-
|
|
1277
|
-
readonly "success-hover-bg": "--state-
|
|
1278
|
-
readonly "success-pressed": "--state-
|
|
1279
|
-
readonly "success-active": "--state-
|
|
1280
|
-
readonly "success-text-solid": "--state-
|
|
1281
|
-
readonly "success-text-outline": "--state-
|
|
1282
|
-
readonly "success-text-hover": "--state-
|
|
1283
|
-
readonly "success-text-pressed": "--state-
|
|
1284
|
-
readonly warning: "--state-
|
|
1285
|
-
readonly "warning-hover": "--state-
|
|
1286
|
-
readonly "warning-stroke": "--state-
|
|
1287
|
-
readonly "warning-hover-bg": "--state-
|
|
1288
|
-
readonly "warning-pressed": "--state-
|
|
1289
|
-
readonly "warning-active": "--state-
|
|
1290
|
-
readonly "warning-text-solid": "--state-
|
|
1291
|
-
readonly "warning-text-outline": "--state-
|
|
1292
|
-
readonly "warning-text-hover": "--state-
|
|
1293
|
-
readonly "warning-text-pressed": "--state-
|
|
1294
|
-
readonly error: "--state-
|
|
1295
|
-
readonly "error-hover": "--state-
|
|
1296
|
-
readonly "error-stroke": "--state-
|
|
1297
|
-
readonly "error-hover-bg": "--state-
|
|
1298
|
-
readonly "error-pressed": "--state-
|
|
1299
|
-
readonly "error-active": "--state-
|
|
1300
|
-
readonly "error-text-solid": "--state-
|
|
1301
|
-
readonly "error-text-outline": "--state-
|
|
1302
|
-
readonly "error-text-hover": "--state-
|
|
1303
|
-
readonly "error-text-pressed": "--state-
|
|
1304
|
-
readonly "disable-solid": "--state-
|
|
1305
|
-
readonly "disable-outline": "--state-
|
|
1115
|
+
readonly "primary-5": "--ramps-primary-5";
|
|
1116
|
+
readonly "primary-10": "--ramps-primary-10";
|
|
1117
|
+
readonly "primary-20": "--ramps-primary-20";
|
|
1118
|
+
readonly "primary-30": "--ramps-primary-30";
|
|
1119
|
+
readonly "primary-40": "--ramps-primary-40";
|
|
1120
|
+
readonly "primary-50": "--ramps-primary-50";
|
|
1121
|
+
readonly "primary-60": "--ramps-primary-60";
|
|
1122
|
+
readonly "primary-70": "--ramps-primary-70";
|
|
1123
|
+
readonly "primary-80": "--ramps-primary-80";
|
|
1124
|
+
readonly "primary-90": "--ramps-primary-90";
|
|
1125
|
+
readonly "primary-100": "--ramps-primary-100";
|
|
1126
|
+
readonly "primary-110": "--ramps-primary-110";
|
|
1127
|
+
readonly "primary-120": "--ramps-primary-120";
|
|
1128
|
+
readonly "primary-130": "--ramps-primary-130";
|
|
1129
|
+
readonly "primary-140": "--ramps-primary-140";
|
|
1130
|
+
readonly "primary-150": "--ramps-primary-150";
|
|
1131
|
+
readonly "secondary-5": "--ramps-secondary-5";
|
|
1132
|
+
readonly "secondary-10": "--ramps-secondary-10";
|
|
1133
|
+
readonly "secondary-20": "--ramps-secondary-20";
|
|
1134
|
+
readonly "secondary-30": "--ramps-secondary-30";
|
|
1135
|
+
readonly "secondary-40": "--ramps-secondary-40";
|
|
1136
|
+
readonly "secondary-50": "--ramps-secondary-50";
|
|
1137
|
+
readonly "secondary-60": "--ramps-secondary-60";
|
|
1138
|
+
readonly "secondary-70": "--ramps-secondary-70";
|
|
1139
|
+
readonly "secondary-80": "--ramps-secondary-80";
|
|
1140
|
+
readonly "secondary-90": "--ramps-secondary-90";
|
|
1141
|
+
readonly "secondary-100": "--ramps-secondary-100";
|
|
1142
|
+
readonly "secondary-110": "--ramps-secondary-110";
|
|
1143
|
+
readonly "secondary-120": "--ramps-secondary-120";
|
|
1144
|
+
readonly "secondary-130": "--ramps-secondary-130";
|
|
1145
|
+
readonly "secondary-140": "--ramps-secondary-140";
|
|
1146
|
+
readonly "secondary-150": "--ramps-secondary-150";
|
|
1147
|
+
readonly "tertiary-5": "--ramps-tertiary-5";
|
|
1148
|
+
readonly "tertiary-10": "--ramps-tertiary-10";
|
|
1149
|
+
readonly "tertiary-20": "--ramps-tertiary-20";
|
|
1150
|
+
readonly "tertiary-30": "--ramps-tertiary-30";
|
|
1151
|
+
readonly "tertiary-40": "--ramps-tertiary-40";
|
|
1152
|
+
readonly "tertiary-50": "--ramps-tertiary-50";
|
|
1153
|
+
readonly "tertiary-60": "--ramps-tertiary-60";
|
|
1154
|
+
readonly "tertiary-70": "--ramps-tertiary-70";
|
|
1155
|
+
readonly "tertiary-80": "--ramps-tertiary-80";
|
|
1156
|
+
readonly "tertiary-90": "--ramps-tertiary-90";
|
|
1157
|
+
readonly "tertiary-100": "--ramps-tertiary-100";
|
|
1158
|
+
readonly "tertiary-110": "--ramps-tertiary-110";
|
|
1159
|
+
readonly "tertiary-120": "--ramps-tertiary-120";
|
|
1160
|
+
readonly "tertiary-130": "--ramps-tertiary-130";
|
|
1161
|
+
readonly "tertiary-140": "--ramps-tertiary-140";
|
|
1162
|
+
readonly "tertiary-150": "--ramps-tertiary-150";
|
|
1163
|
+
readonly "grey-5": "--ramps-grey-5";
|
|
1164
|
+
readonly "grey-10": "--ramps-grey-10";
|
|
1165
|
+
readonly "grey-20": "--ramps-grey-20";
|
|
1166
|
+
readonly "grey-30": "--ramps-grey-30";
|
|
1167
|
+
readonly "grey-40": "--ramps-grey-40";
|
|
1168
|
+
readonly "grey-50": "--ramps-grey-50";
|
|
1169
|
+
readonly "grey-60": "--ramps-grey-60";
|
|
1170
|
+
readonly "grey-70": "--ramps-grey-70";
|
|
1171
|
+
readonly "grey-80": "--ramps-grey-80";
|
|
1172
|
+
readonly "grey-90": "--ramps-grey-90";
|
|
1173
|
+
readonly "grey-100": "--ramps-grey-100";
|
|
1174
|
+
readonly "grey-110": "--ramps-grey-110";
|
|
1175
|
+
readonly "grey-120": "--ramps-grey-120";
|
|
1176
|
+
readonly "grey-130": "--ramps-grey-130";
|
|
1177
|
+
readonly "grey-140": "--ramps-grey-140";
|
|
1178
|
+
readonly "grey-150": "--ramps-grey-150";
|
|
1179
|
+
readonly "grey2-50": "--ramps-grey2-50";
|
|
1180
|
+
readonly "grey2-100": "--ramps-grey2-100";
|
|
1181
|
+
readonly "grey2-200": "--ramps-grey2-200";
|
|
1182
|
+
readonly "grey2-300": "--ramps-grey2-300";
|
|
1183
|
+
readonly "grey2-400": "--ramps-grey2-400";
|
|
1184
|
+
readonly "grey2-500": "--ramps-grey2-500";
|
|
1185
|
+
readonly "grey2-600": "--ramps-grey2-600";
|
|
1186
|
+
readonly "grey2-700": "--ramps-grey2-700";
|
|
1187
|
+
readonly "grey2-800": "--ramps-grey2-800";
|
|
1188
|
+
readonly "grey2-900": "--ramps-grey2-900";
|
|
1189
|
+
readonly "grey2-950": "--ramps-grey2-950";
|
|
1190
|
+
readonly "info-50": "--ramps-info-50";
|
|
1191
|
+
readonly "info-100": "--ramps-info-100";
|
|
1192
|
+
readonly "info-200": "--ramps-info-200";
|
|
1193
|
+
readonly "info-300": "--ramps-info-300";
|
|
1194
|
+
readonly "info-400": "--ramps-info-400";
|
|
1195
|
+
readonly "info-500": "--ramps-info-500";
|
|
1196
|
+
readonly "info-600": "--ramps-info-600";
|
|
1197
|
+
readonly "info-700": "--ramps-info-700";
|
|
1198
|
+
readonly "info-800": "--ramps-info-800";
|
|
1199
|
+
readonly "info-900": "--ramps-info-900";
|
|
1200
|
+
readonly "info-950": "--ramps-info-950";
|
|
1201
|
+
readonly "success-50": "--ramps-success-50";
|
|
1202
|
+
readonly "success-100": "--ramps-success-100";
|
|
1203
|
+
readonly "success-200": "--ramps-success-200";
|
|
1204
|
+
readonly "success-300": "--ramps-success-300";
|
|
1205
|
+
readonly "success-400": "--ramps-success-400";
|
|
1206
|
+
readonly "success-500": "--ramps-success-500";
|
|
1207
|
+
readonly "success-600": "--ramps-success-600";
|
|
1208
|
+
readonly "success-700": "--ramps-success-700";
|
|
1209
|
+
readonly "success-800": "--ramps-success-800";
|
|
1210
|
+
readonly "success-900": "--ramps-success-900";
|
|
1211
|
+
readonly "success-950": "--ramps-success-950";
|
|
1212
|
+
readonly "warning-50": "--ramps-warning-50";
|
|
1213
|
+
readonly "warning-100": "--ramps-warning-100";
|
|
1214
|
+
readonly "warning-200": "--ramps-warning-200";
|
|
1215
|
+
readonly "warning-300": "--ramps-warning-300";
|
|
1216
|
+
readonly "warning-400": "--ramps-warning-400";
|
|
1217
|
+
readonly "warning-500": "--ramps-warning-500";
|
|
1218
|
+
readonly "warning-600": "--ramps-warning-600";
|
|
1219
|
+
readonly "warning-700": "--ramps-warning-700";
|
|
1220
|
+
readonly "warning-800": "--ramps-warning-800";
|
|
1221
|
+
readonly "warning-900": "--ramps-warning-900";
|
|
1222
|
+
readonly "warning-950": "--ramps-warning-950";
|
|
1223
|
+
readonly "error-50": "--ramps-error-50";
|
|
1224
|
+
readonly "error-100": "--ramps-error-100";
|
|
1225
|
+
readonly "error-200": "--ramps-error-200";
|
|
1226
|
+
readonly "error-300": "--ramps-error-300";
|
|
1227
|
+
readonly "error-400": "--ramps-error-400";
|
|
1228
|
+
readonly "error-500": "--ramps-error-500";
|
|
1229
|
+
readonly "error-600": "--ramps-error-600";
|
|
1230
|
+
readonly "error-700": "--ramps-error-700";
|
|
1231
|
+
readonly "error-800": "--ramps-error-800";
|
|
1232
|
+
readonly "error-900": "--ramps-error-900";
|
|
1233
|
+
readonly "error-950": "--ramps-error-950";
|
|
1234
|
+
readonly primary: "--state-primary-default";
|
|
1235
|
+
readonly "primary-hover": "--state-primary-hover";
|
|
1236
|
+
readonly "primary-stroke": "--state-primary-stroke";
|
|
1237
|
+
readonly "primary-hover-bg": "--state-primary-hover-bg";
|
|
1238
|
+
readonly "primary-pressed": "--state-primary-pressed";
|
|
1239
|
+
readonly "primary-active": "--state-primary-active";
|
|
1240
|
+
readonly "primary-text-solid": "--state-primary-text-solid";
|
|
1241
|
+
readonly "primary-text-outline": "--state-primary-text-outline";
|
|
1242
|
+
readonly "primary-text-hover": "--state-primary-text-hover";
|
|
1243
|
+
readonly "primary-text-pressed": "--state-primary-text-pressed";
|
|
1244
|
+
readonly secondary: "--state-secondary-default";
|
|
1245
|
+
readonly "secondary-hover": "--state-secondary-hover";
|
|
1246
|
+
readonly "secondary-stroke": "--state-secondary-stroke";
|
|
1247
|
+
readonly "secondary-hover-bg": "--state-secondary-hover-bg";
|
|
1248
|
+
readonly "secondary-pressed": "--state-secondary-pressed";
|
|
1249
|
+
readonly "secondary-active": "--state-secondary-active";
|
|
1250
|
+
readonly "secondary-text-solid": "--state-secondary-text-solid";
|
|
1251
|
+
readonly "secondary-text-outline": "--state-secondary-text-outline";
|
|
1252
|
+
readonly "secondary-text-hover": "--state-secondary-text-hover";
|
|
1253
|
+
readonly "secondary-text-pressed": "--state-secondary-text-pressed";
|
|
1254
|
+
readonly tertiary: "--state-tertiary-default";
|
|
1255
|
+
readonly "tertiary-hover": "--state-tertiary-hover";
|
|
1256
|
+
readonly "tertiary-stroke": "--state-tertiary-stroke";
|
|
1257
|
+
readonly "tertiary-hover-bg": "--state-tertiary-hover-bg";
|
|
1258
|
+
readonly "tertiary-pressed": "--state-tertiary-pressed";
|
|
1259
|
+
readonly "tertiary-active": "--state-tertiary-active";
|
|
1260
|
+
readonly "tertiary-text-solid": "--state-tertiary-text-solid";
|
|
1261
|
+
readonly "tertiary-text-outline": "--state-tertiary-text-outline";
|
|
1262
|
+
readonly "tertiary-text-hover": "--state-tertiary-text-hover";
|
|
1263
|
+
readonly "tertiary-text-pressed": "--state-tertiary-text-pressed";
|
|
1264
|
+
readonly info: "--state-info-default";
|
|
1265
|
+
readonly "info-hover": "--state-info-hover";
|
|
1266
|
+
readonly "info-stroke": "--state-info-stroke";
|
|
1267
|
+
readonly "info-hover-bg": "--state-info-hover-bg";
|
|
1268
|
+
readonly "info-pressed": "--state-info-pressed";
|
|
1269
|
+
readonly "info-active": "--state-info-active";
|
|
1270
|
+
readonly "info-text-solid": "--state-info-text-solid";
|
|
1271
|
+
readonly "info-text-outline": "--state-info-text-outline";
|
|
1272
|
+
readonly "info-text-hover": "--state-info-text-hover";
|
|
1273
|
+
readonly "info-text-pressed": "--state-info-text-pressed";
|
|
1274
|
+
readonly success: "--state-success-default";
|
|
1275
|
+
readonly "success-hover": "--state-success-hover";
|
|
1276
|
+
readonly "success-stroke": "--state-success-stroke";
|
|
1277
|
+
readonly "success-hover-bg": "--state-success-hover-bg";
|
|
1278
|
+
readonly "success-pressed": "--state-success-pressed";
|
|
1279
|
+
readonly "success-active": "--state-success-active";
|
|
1280
|
+
readonly "success-text-solid": "--state-success-text-solid";
|
|
1281
|
+
readonly "success-text-outline": "--state-success-text-outline";
|
|
1282
|
+
readonly "success-text-hover": "--state-success-text-hover";
|
|
1283
|
+
readonly "success-text-pressed": "--state-success-text-pressed";
|
|
1284
|
+
readonly warning: "--state-warning-default";
|
|
1285
|
+
readonly "warning-hover": "--state-warning-hover";
|
|
1286
|
+
readonly "warning-stroke": "--state-warning-stroke";
|
|
1287
|
+
readonly "warning-hover-bg": "--state-warning-hover-bg";
|
|
1288
|
+
readonly "warning-pressed": "--state-warning-pressed";
|
|
1289
|
+
readonly "warning-active": "--state-warning-active";
|
|
1290
|
+
readonly "warning-text-solid": "--state-warning-text-solid";
|
|
1291
|
+
readonly "warning-text-outline": "--state-warning-text-outline";
|
|
1292
|
+
readonly "warning-text-hover": "--state-warning-text-hover";
|
|
1293
|
+
readonly "warning-text-pressed": "--state-warning-text-pressed";
|
|
1294
|
+
readonly error: "--state-error-default";
|
|
1295
|
+
readonly "error-hover": "--state-error-hover";
|
|
1296
|
+
readonly "error-stroke": "--state-error-stroke";
|
|
1297
|
+
readonly "error-hover-bg": "--state-error-hover-bg";
|
|
1298
|
+
readonly "error-pressed": "--state-error-pressed";
|
|
1299
|
+
readonly "error-active": "--state-error-active";
|
|
1300
|
+
readonly "error-text-solid": "--state-error-text-solid";
|
|
1301
|
+
readonly "error-text-outline": "--state-error-text-outline";
|
|
1302
|
+
readonly "error-text-hover": "--state-error-text-hover";
|
|
1303
|
+
readonly "error-text-pressed": "--state-error-text-pressed";
|
|
1304
|
+
readonly "disable-solid": "--state-disable-solid";
|
|
1305
|
+
readonly "disable-outline": "--state-disable-outline";
|
|
1306
1306
|
readonly "text-black": "--text-black";
|
|
1307
1307
|
readonly "text-dark": "--text-dark";
|
|
1308
1308
|
readonly "text-medium": "--text-medium";
|
|
@@ -1311,15 +1311,15 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1311
1311
|
readonly "text-grey-medium": "--text-grey-medium";
|
|
1312
1312
|
readonly "text-grey-light": "--text-grey-light";
|
|
1313
1313
|
readonly "text-white": "--text-white";
|
|
1314
|
-
readonly "input-default-text": "--input-
|
|
1315
|
-
readonly "input-default-stroke": "--input-
|
|
1316
|
-
readonly "input-filled-text": "--input-
|
|
1317
|
-
readonly "input-active-stroke": "--input-
|
|
1318
|
-
readonly "input-disable-text": "--input-
|
|
1319
|
-
readonly "input-disable-stroke": "--input-
|
|
1320
|
-
readonly "input-disable-bg": "--input-
|
|
1321
|
-
readonly "input-label-bg": "--input-
|
|
1322
|
-
readonly "input-error": "--input-
|
|
1314
|
+
readonly "input-default-text": "--input-default-text";
|
|
1315
|
+
readonly "input-default-stroke": "--input-default-stroke";
|
|
1316
|
+
readonly "input-filled-text": "--input-filled-text";
|
|
1317
|
+
readonly "input-active-stroke": "--input-active-stroke";
|
|
1318
|
+
readonly "input-disable-text": "--input-disable-text";
|
|
1319
|
+
readonly "input-disable-stroke": "--input-disable-stroke";
|
|
1320
|
+
readonly "input-disable-bg": "--input-disable-bg";
|
|
1321
|
+
readonly "input-label-bg": "--input-label-bg";
|
|
1322
|
+
readonly "input-error": "--input-error";
|
|
1323
1323
|
readonly "function-default-solid": "--function-default-solid";
|
|
1324
1324
|
readonly "function-default-hover": "--function-default-hover";
|
|
1325
1325
|
readonly "function-default-hover-bg": "--function-default-hover-bg";
|
|
@@ -1355,72 +1355,72 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1355
1355
|
readonly "error-foreground": "--error-foreground";
|
|
1356
1356
|
readonly "grey-foreground": "--grey-foreground";
|
|
1357
1357
|
readonly "grey2-foreground": "--grey2-foreground";
|
|
1358
|
-
readonly "primary-transparent-8": "--
|
|
1359
|
-
readonly "primary-transparent-12": "--
|
|
1360
|
-
readonly "primary-transparent-16": "--
|
|
1361
|
-
readonly "primary-transparent-24": "--
|
|
1362
|
-
readonly "primary-transparent-32": "--
|
|
1363
|
-
readonly "primary-transparent-48": "--
|
|
1364
|
-
readonly "secondary-transparent-8": "--
|
|
1365
|
-
readonly "secondary-transparent-12": "--
|
|
1366
|
-
readonly "secondary-transparent-16": "--
|
|
1367
|
-
readonly "secondary-transparent-24": "--
|
|
1368
|
-
readonly "secondary-transparent-32": "--
|
|
1369
|
-
readonly "secondary-transparent-48": "--
|
|
1370
|
-
readonly "tertiary-transparent-8": "--
|
|
1371
|
-
readonly "tertiary-transparent-12": "--
|
|
1372
|
-
readonly "tertiary-transparent-16": "--
|
|
1373
|
-
readonly "tertiary-transparent-24": "--
|
|
1374
|
-
readonly "tertiary-transparent-32": "--
|
|
1375
|
-
readonly "tertiary-transparent-48": "--
|
|
1376
|
-
readonly "info-transparent-8": "--
|
|
1377
|
-
readonly "info-transparent-12": "--
|
|
1378
|
-
readonly "info-transparent-16": "--
|
|
1379
|
-
readonly "info-transparent-24": "--
|
|
1380
|
-
readonly "info-transparent-32": "--
|
|
1381
|
-
readonly "info-transparent-48": "--
|
|
1382
|
-
readonly "success-transparent-8": "--
|
|
1383
|
-
readonly "success-transparent-12": "--
|
|
1384
|
-
readonly "success-transparent-16": "--
|
|
1385
|
-
readonly "success-transparent-24": "--
|
|
1386
|
-
readonly "success-transparent-32": "--
|
|
1387
|
-
readonly "success-transparent-48": "--
|
|
1388
|
-
readonly "warning-transparent-8": "--
|
|
1389
|
-
readonly "warning-transparent-12": "--
|
|
1390
|
-
readonly "warning-transparent-16": "--
|
|
1391
|
-
readonly "warning-transparent-24": "--
|
|
1392
|
-
readonly "warning-transparent-32": "--
|
|
1393
|
-
readonly "warning-transparent-48": "--
|
|
1394
|
-
readonly "error-transparent-8": "--
|
|
1395
|
-
readonly "error-transparent-12": "--
|
|
1396
|
-
readonly "error-transparent-16": "--
|
|
1397
|
-
readonly "error-transparent-24": "--
|
|
1398
|
-
readonly "error-transparent-32": "--
|
|
1399
|
-
readonly "error-transparent-48": "--
|
|
1400
|
-
readonly "grey-transparent-8": "--
|
|
1401
|
-
readonly "grey-transparent-12": "--
|
|
1402
|
-
readonly "grey-transparent-16": "--
|
|
1403
|
-
readonly "grey-transparent-24": "--
|
|
1404
|
-
readonly "grey-transparent-32": "--
|
|
1405
|
-
readonly "grey-transparent-48": "--
|
|
1406
|
-
readonly "grey2-transparent-8": "--
|
|
1407
|
-
readonly "grey2-transparent-12": "--
|
|
1408
|
-
readonly "grey2-transparent-16": "--
|
|
1409
|
-
readonly "grey2-transparent-24": "--
|
|
1410
|
-
readonly "grey2-transparent-32": "--
|
|
1411
|
-
readonly "grey2-transparent-48": "--
|
|
1412
|
-
readonly "white-transparent-8": "--
|
|
1413
|
-
readonly "white-transparent-12": "--
|
|
1414
|
-
readonly "white-transparent-16": "--
|
|
1415
|
-
readonly "white-transparent-24": "--
|
|
1416
|
-
readonly "white-transparent-32": "--
|
|
1417
|
-
readonly "white-transparent-48": "--
|
|
1418
|
-
readonly "black-transparent-8": "--
|
|
1419
|
-
readonly "black-transparent-12": "--
|
|
1420
|
-
readonly "black-transparent-16": "--
|
|
1421
|
-
readonly "black-transparent-24": "--
|
|
1422
|
-
readonly "black-transparent-32": "--
|
|
1423
|
-
readonly "black-transparent-48": "--
|
|
1358
|
+
readonly "primary-transparent-8": "--transparent-primary-8";
|
|
1359
|
+
readonly "primary-transparent-12": "--transparent-primary-12";
|
|
1360
|
+
readonly "primary-transparent-16": "--transparent-primary-16";
|
|
1361
|
+
readonly "primary-transparent-24": "--transparent-primary-24";
|
|
1362
|
+
readonly "primary-transparent-32": "--transparent-primary-32";
|
|
1363
|
+
readonly "primary-transparent-48": "--transparent-primary-48";
|
|
1364
|
+
readonly "secondary-transparent-8": "--transparent-secondary-8";
|
|
1365
|
+
readonly "secondary-transparent-12": "--transparent-secondary-12";
|
|
1366
|
+
readonly "secondary-transparent-16": "--transparent-secondary-16";
|
|
1367
|
+
readonly "secondary-transparent-24": "--transparent-secondary-24";
|
|
1368
|
+
readonly "secondary-transparent-32": "--transparent-secondary-32";
|
|
1369
|
+
readonly "secondary-transparent-48": "--transparent-secondary-48";
|
|
1370
|
+
readonly "tertiary-transparent-8": "--transparent-tertiary-8";
|
|
1371
|
+
readonly "tertiary-transparent-12": "--transparent-tertiary-12";
|
|
1372
|
+
readonly "tertiary-transparent-16": "--transparent-tertiary-16";
|
|
1373
|
+
readonly "tertiary-transparent-24": "--transparent-tertiary-24";
|
|
1374
|
+
readonly "tertiary-transparent-32": "--transparent-tertiary-32";
|
|
1375
|
+
readonly "tertiary-transparent-48": "--transparent-tertiary-48";
|
|
1376
|
+
readonly "info-transparent-8": "--transparent-info-8";
|
|
1377
|
+
readonly "info-transparent-12": "--transparent-info-12";
|
|
1378
|
+
readonly "info-transparent-16": "--transparent-info-16";
|
|
1379
|
+
readonly "info-transparent-24": "--transparent-info-24";
|
|
1380
|
+
readonly "info-transparent-32": "--transparent-info-32";
|
|
1381
|
+
readonly "info-transparent-48": "--transparent-info-48";
|
|
1382
|
+
readonly "success-transparent-8": "--transparent-success-8";
|
|
1383
|
+
readonly "success-transparent-12": "--transparent-success-12";
|
|
1384
|
+
readonly "success-transparent-16": "--transparent-success-16";
|
|
1385
|
+
readonly "success-transparent-24": "--transparent-success-24";
|
|
1386
|
+
readonly "success-transparent-32": "--transparent-success-32";
|
|
1387
|
+
readonly "success-transparent-48": "--transparent-success-48";
|
|
1388
|
+
readonly "warning-transparent-8": "--transparent-warning-8";
|
|
1389
|
+
readonly "warning-transparent-12": "--transparent-warning-12";
|
|
1390
|
+
readonly "warning-transparent-16": "--transparent-warning-16";
|
|
1391
|
+
readonly "warning-transparent-24": "--transparent-warning-24";
|
|
1392
|
+
readonly "warning-transparent-32": "--transparent-warning-32";
|
|
1393
|
+
readonly "warning-transparent-48": "--transparent-warning-48";
|
|
1394
|
+
readonly "error-transparent-8": "--transparent-error-8";
|
|
1395
|
+
readonly "error-transparent-12": "--transparent-error-12";
|
|
1396
|
+
readonly "error-transparent-16": "--transparent-error-16";
|
|
1397
|
+
readonly "error-transparent-24": "--transparent-error-24";
|
|
1398
|
+
readonly "error-transparent-32": "--transparent-error-32";
|
|
1399
|
+
readonly "error-transparent-48": "--transparent-error-48";
|
|
1400
|
+
readonly "grey-transparent-8": "--transparent-grey-8";
|
|
1401
|
+
readonly "grey-transparent-12": "--transparent-grey-12";
|
|
1402
|
+
readonly "grey-transparent-16": "--transparent-grey-16";
|
|
1403
|
+
readonly "grey-transparent-24": "--transparent-grey-24";
|
|
1404
|
+
readonly "grey-transparent-32": "--transparent-grey-32";
|
|
1405
|
+
readonly "grey-transparent-48": "--transparent-grey-48";
|
|
1406
|
+
readonly "grey2-transparent-8": "--transparent-grey2-8";
|
|
1407
|
+
readonly "grey2-transparent-12": "--transparent-grey2-12";
|
|
1408
|
+
readonly "grey2-transparent-16": "--transparent-grey2-16";
|
|
1409
|
+
readonly "grey2-transparent-24": "--transparent-grey2-24";
|
|
1410
|
+
readonly "grey2-transparent-32": "--transparent-grey2-32";
|
|
1411
|
+
readonly "grey2-transparent-48": "--transparent-grey2-48";
|
|
1412
|
+
readonly "white-transparent-8": "--transparent-white-8";
|
|
1413
|
+
readonly "white-transparent-12": "--transparent-white-12";
|
|
1414
|
+
readonly "white-transparent-16": "--transparent-white-16";
|
|
1415
|
+
readonly "white-transparent-24": "--transparent-white-24";
|
|
1416
|
+
readonly "white-transparent-32": "--transparent-white-32";
|
|
1417
|
+
readonly "white-transparent-48": "--transparent-white-48";
|
|
1418
|
+
readonly "black-transparent-8": "--transparent-black-8";
|
|
1419
|
+
readonly "black-transparent-12": "--transparent-black-12";
|
|
1420
|
+
readonly "black-transparent-16": "--transparent-black-16";
|
|
1421
|
+
readonly "black-transparent-24": "--transparent-black-24";
|
|
1422
|
+
readonly "black-transparent-32": "--transparent-black-32";
|
|
1423
|
+
readonly "black-transparent-48": "--transparent-black-48";
|
|
1424
1424
|
};
|
|
1425
1425
|
type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
1426
1426
|
/**
|
|
@@ -1429,7 +1429,7 @@ type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
|
1429
1429
|
*
|
|
1430
1430
|
* @example
|
|
1431
1431
|
* const primary = getThemeColor('primary');
|
|
1432
|
-
* const hex = getThemeColor('--
|
|
1432
|
+
* const hex = getThemeColor('--ramps-primary-100');
|
|
1433
1433
|
*/
|
|
1434
1434
|
declare function getThemeColor(keyOrVar: ThemeColorKey | string, element?: HTMLElement | Document): string;
|
|
1435
1435
|
/**
|