@webmate-studio/builder 0.2.154 → 0.2.156

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.154",
3
+ "version": "0.2.156",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -537,6 +537,11 @@ function generateButtonVariables(t, lines) {
537
537
  lines.push(` --btn-${size}-padding-x: ${s.paddingX};`);
538
538
  lines.push(` --btn-${size}-padding-y: ${s.paddingY};`);
539
539
  lines.push(` --btn-${size}-font-size: ${s.fontSize};`);
540
+ if (s.fontFamily) {
541
+ const fontDef = t.typography?.fonts?.find(f => f.name === s.fontFamily);
542
+ const fallback = fontDef?.fallback || 'sans-serif';
543
+ lines.push(` --btn-${size}-font-family: "${s.fontFamily}", ${fallback};`);
544
+ }
540
545
  lines.push(` --btn-${size}-font-weight: ${s.fontWeight};`);
541
546
  lines.push(` --btn-${size}-line-height: ${s.lineHeight};`);
542
547
  lines.push(` --btn-${size}-letter-spacing: ${s.letterSpacing};`);
@@ -597,15 +602,29 @@ function resolveShadowToCSS(shadowValue, t) {
597
602
  function addButtonVariantVars(lines, prefix, variant, t) {
598
603
  if (variant.bg) lines.push(` --${prefix}-bg: ${resolveColorRef(variant.bg, t)};`);
599
604
  if (variant.bgHover) lines.push(` --${prefix}-bg-hover: ${resolveColorRef(variant.bgHover, t)};`);
605
+ if (variant.bgActive) lines.push(` --${prefix}-bg-active: ${resolveColorRef(variant.bgActive, t)};`);
600
606
  if (variant.text) lines.push(` --${prefix}-text: ${resolveColorRef(variant.text, t)};`);
601
607
  if (variant.textHover) lines.push(` --${prefix}-text-hover: ${resolveColorRef(variant.textHover, t)};`);
608
+ if (variant.textActive) lines.push(` --${prefix}-text-active: ${resolveColorRef(variant.textActive, t)};`);
602
609
  if (variant.border && variant.border !== 'none') lines.push(` --${prefix}-border: 1px solid ${resolveColorRef(variant.border, t)};`);
603
610
  if (variant.borderHover && variant.borderHover !== 'none') lines.push(` --${prefix}-border-hover: 1px solid ${resolveColorRef(variant.borderHover, t)};`);
611
+ if (variant.borderActive && variant.borderActive !== 'none') lines.push(` --${prefix}-border-active: 1px solid ${resolveColorRef(variant.borderActive, t)};`);
604
612
  const shadowCSS = resolveShadowToCSS(variant.shadow, t);
605
613
  if (shadowCSS !== 'none') lines.push(` --${prefix}-shadow: ${shadowCSS};`);
606
614
  const shadowHoverCSS = resolveShadowToCSS(variant.shadowHover, t);
607
615
  if (shadowHoverCSS !== 'none') lines.push(` --${prefix}-shadow-hover: ${shadowHoverCSS};`);
616
+ const shadowActiveCSS = resolveShadowToCSS(variant.shadowActive, t);
617
+ if (shadowActiveCSS !== 'none') lines.push(` --${prefix}-shadow-active: ${shadowActiveCSS};`);
608
618
  if (variant.focusRingColor) lines.push(` --${prefix}-focus-ring: ${resolveColorRef(variant.focusRingColor, t)};`);
619
+ if (variant.fontFamily) {
620
+ const fontDef = t.typography?.fonts?.find(f => f.name === variant.fontFamily);
621
+ const fallback = fontDef?.fallback || 'sans-serif';
622
+ lines.push(` --${prefix}-font-family: "${variant.fontFamily}", ${fallback};`);
623
+ }
624
+ if (variant.fontSizeScale != null && variant.fontSizeScale !== 1) lines.push(` --${prefix}-font-scale: ${variant.fontSizeScale};`);
625
+ if (variant.fontWeight) lines.push(` --${prefix}-font-weight: ${variant.fontWeight};`);
626
+ if (variant.letterSpacing && variant.letterSpacing !== 'normal') lines.push(` --${prefix}-letter-spacing: ${variant.letterSpacing};`);
627
+ if (variant.textTransform && variant.textTransform !== 'none') lines.push(` --${prefix}-text-transform: ${variant.textTransform};`);
609
628
  }
610
629
 
611
630
  /**
@@ -650,6 +669,7 @@ function generateButtonClasses(t) {
650
669
  white-space: nowrap;
651
670
  transition: var(--btn-transition);
652
671
  border: none;
672
+ --btn-font-scale: 1;
653
673
  }`;
654
674
 
655
675
  // Disabled
@@ -661,17 +681,21 @@ function generateButtonClasses(t) {
661
681
 
662
682
  // Size classes
663
683
  for (const size of BUTTON_SIZES) {
664
- if (!t.buttons.sizes?.[size]) continue;
684
+ const s = t.buttons.sizes?.[size];
685
+ if (!s) continue;
665
686
  css += `\n.btn-${size} {
666
687
  padding: var(--btn-${size}-padding-y) var(--btn-${size}-padding-x);
667
- font-size: var(--btn-${size}-font-size);
688
+ font-size: calc(var(--btn-${size}-font-size) * var(--btn-font-scale, 1));
668
689
  font-weight: var(--btn-${size}-font-weight);
669
690
  line-height: var(--btn-${size}-line-height);
670
691
  letter-spacing: var(--btn-${size}-letter-spacing);
671
692
  border-radius: var(--btn-${size}-border-radius);
672
693
  min-height: var(--btn-${size}-min-height);
673
- gap: var(--btn-${size}-gap);
674
- }`;
694
+ gap: var(--btn-${size}-gap);`;
695
+ if (s.fontFamily) {
696
+ css += `\n font-family: var(--btn-${size}-font-family);`;
697
+ }
698
+ css += '\n}';
675
699
  css += `\n.btn-${size} iconify-icon { font-size: var(--btn-${size}-icon-size); }`;
676
700
  }
677
701
 
@@ -685,7 +709,7 @@ function generateButtonClasses(t) {
685
709
  // customCSS Escape-Hatch
686
710
  css += generateCustomCSSBlock(`btn-${variant}`, v.normal.customCSS);
687
711
  } else if (v.normal) {
688
- css += generateVariantNormalCSS(variant, v);
712
+ css += generateVariantNormalCSS(variant, v, t);
689
713
  }
690
714
 
691
715
  // On-surface mode
@@ -700,7 +724,7 @@ function generateButtonClasses(t) {
700
724
  return css;
701
725
  }
702
726
 
703
- function generateVariantNormalCSS(variant, v) {
727
+ function generateVariantNormalCSS(variant, v, t) {
704
728
  const p = `btn-${variant}`;
705
729
  let css = `\n.${p} {
706
730
  background: var(--${p}-bg);
@@ -715,6 +739,22 @@ function generateVariantNormalCSS(variant, v) {
715
739
  if (v.normal.textDecoration) {
716
740
  css += `\n text-decoration: ${v.normal.textDecoration};`;
717
741
  }
742
+ // Typography overrides
743
+ if (v.normal.fontFamily) {
744
+ css += `\n font-family: var(--${p}-font-family);`;
745
+ }
746
+ if (v.normal.fontSizeScale != null && v.normal.fontSizeScale !== 1) {
747
+ css += `\n --btn-font-scale: var(--${p}-font-scale, 1);`;
748
+ }
749
+ if (v.normal.fontWeight) {
750
+ css += `\n font-weight: var(--${p}-font-weight);`;
751
+ }
752
+ if (v.normal.letterSpacing && v.normal.letterSpacing !== 'normal') {
753
+ css += `\n letter-spacing: var(--${p}-letter-spacing);`;
754
+ }
755
+ if (v.normal.textTransform && v.normal.textTransform !== 'none') {
756
+ css += `\n text-transform: var(--${p}-text-transform);`;
757
+ }
718
758
 
719
759
  css += '\n}';
720
760
 
@@ -732,6 +772,42 @@ function generateVariantNormalCSS(variant, v) {
732
772
  if (v.normal.textDecorationHover) {
733
773
  css += `\n text-decoration: ${v.normal.textDecorationHover};`;
734
774
  }
775
+ // Transform (scale + translateY)
776
+ {
777
+ const scale = v.normal.hoverScale ?? 1;
778
+ const y = v.normal.hoverY ?? 0;
779
+ const parts = [];
780
+ if (scale !== 1) parts.push(`scale(${scale})`);
781
+ if (y !== 0) parts.push(`translateY(${y}px)`);
782
+ if (parts.length > 0) {
783
+ css += `\n transform: ${parts.join(' ')};`;
784
+ }
785
+ }
786
+
787
+ css += '\n}';
788
+
789
+ // Active
790
+ css += `\n.${p}:active {
791
+ background: var(--${p}-bg-active);
792
+ color: var(--${p}-text-active);`;
793
+
794
+ if (v.normal.borderActive && v.normal.borderActive !== 'none') {
795
+ css += `\n border: var(--${p}-border-active);`;
796
+ }
797
+ if (hasShadow(v.normal.shadowActive)) {
798
+ css += `\n box-shadow: var(--${p}-shadow-active);`;
799
+ }
800
+ // Transform (scale + translateY)
801
+ {
802
+ const scale = v.normal.activeScale ?? 1;
803
+ const y = v.normal.activeY ?? 0;
804
+ const parts = [];
805
+ if (scale !== 1) parts.push(`scale(${scale})`);
806
+ if (y !== 0) parts.push(`translateY(${y}px)`);
807
+ if (parts.length > 0) {
808
+ css += `\n transform: ${parts.join(' ')};`;
809
+ }
810
+ }
735
811
 
736
812
  css += '\n}';
737
813
 
@@ -769,6 +845,22 @@ function generateVariantOnSurfaceCSS(variant, v, t) {
769
845
  if (v.onSurface.textDecoration) {
770
846
  css += `\n text-decoration: ${v.onSurface.textDecoration};`;
771
847
  }
848
+ // Typography overrides
849
+ if (v.onSurface.fontFamily) {
850
+ css += `\n font-family: var(--${osp}-font-family);`;
851
+ }
852
+ if (v.onSurface.fontSizeScale != null && v.onSurface.fontSizeScale !== 1) {
853
+ css += `\n --btn-font-scale: var(--${osp}-font-scale, 1);`;
854
+ }
855
+ if (v.onSurface.fontWeight) {
856
+ css += `\n font-weight: var(--${osp}-font-weight);`;
857
+ }
858
+ if (v.onSurface.letterSpacing && v.onSurface.letterSpacing !== 'normal') {
859
+ css += `\n letter-spacing: var(--${osp}-letter-spacing);`;
860
+ }
861
+ if (v.onSurface.textTransform && v.onSurface.textTransform !== 'none') {
862
+ css += `\n text-transform: var(--${osp}-text-transform);`;
863
+ }
772
864
 
773
865
  css += '\n}';
774
866
 
@@ -786,6 +878,42 @@ function generateVariantOnSurfaceCSS(variant, v, t) {
786
878
  if (v.onSurface.textDecorationHover) {
787
879
  css += `\n text-decoration: ${v.onSurface.textDecorationHover};`;
788
880
  }
881
+ // Transform (scale + translateY)
882
+ {
883
+ const scale = v.onSurface.hoverScale ?? 1;
884
+ const y = v.onSurface.hoverY ?? 0;
885
+ const parts = [];
886
+ if (scale !== 1) parts.push(`scale(${scale})`);
887
+ if (y !== 0) parts.push(`translateY(${y}px)`);
888
+ if (parts.length > 0) {
889
+ css += `\n transform: ${parts.join(' ')};`;
890
+ }
891
+ }
892
+
893
+ css += '\n}';
894
+
895
+ // Active
896
+ css += `\n.btn-on-surface.${p}:active {
897
+ background: var(--${osp}-bg-active);
898
+ color: var(--${osp}-text-active);`;
899
+
900
+ if (v.onSurface.borderActive && v.onSurface.borderActive !== 'none') {
901
+ css += `\n border: var(--${osp}-border-active);`;
902
+ }
903
+ if (hasShadow(v.onSurface.shadowActive)) {
904
+ css += `\n box-shadow: var(--${osp}-shadow-active);`;
905
+ }
906
+ // Transform (scale + translateY)
907
+ {
908
+ const scale = v.onSurface.activeScale ?? 1;
909
+ const y = v.onSurface.activeY ?? 0;
910
+ const parts = [];
911
+ if (scale !== 1) parts.push(`scale(${scale})`);
912
+ if (y !== 0) parts.push(`translateY(${y}px)`);
913
+ if (parts.length > 0) {
914
+ css += `\n transform: ${parts.join(' ')};`;
915
+ }
916
+ }
789
917
 
790
918
  css += '\n}';
791
919
 
@@ -984,6 +984,7 @@ export const defaultDesignTokensV2 = {
984
984
  paddingX: '0.75rem',
985
985
  paddingY: '0.375rem',
986
986
  fontSize: '0.8125rem',
987
+ fontFamily: null,
987
988
  fontWeight: 500,
988
989
  lineHeight: '1.4',
989
990
  letterSpacing: '0.01em',
@@ -996,6 +997,7 @@ export const defaultDesignTokensV2 = {
996
997
  paddingX: '1.25rem',
997
998
  paddingY: '0.625rem',
998
999
  fontSize: '0.875rem',
1000
+ fontFamily: null,
999
1001
  fontWeight: 500,
1000
1002
  lineHeight: '1.4',
1001
1003
  letterSpacing: '0em',
@@ -1008,6 +1010,7 @@ export const defaultDesignTokensV2 = {
1008
1010
  paddingX: '1.75rem',
1009
1011
  paddingY: '0.875rem',
1010
1012
  fontSize: '1rem',
1013
+ fontFamily: null,
1011
1014
  fontWeight: 600,
1012
1015
  lineHeight: '1.4',
1013
1016
  letterSpacing: '0em',
@@ -1022,24 +1025,50 @@ export const defaultDesignTokensV2 = {
1022
1025
  normal: {
1023
1026
  bg: 'primary-9',
1024
1027
  bgHover: 'primary-10',
1028
+ bgActive: 'primary-11',
1025
1029
  text: 'on-primary',
1026
1030
  textHover: 'on-primary',
1031
+ textActive: 'on-primary',
1027
1032
  border: 'none',
1028
1033
  borderHover: 'none',
1034
+ borderActive: 'none',
1029
1035
  shadow: 'none',
1030
1036
  shadowHover: 'none',
1037
+ shadowActive: 'none',
1038
+ hoverScale: 1,
1039
+ hoverY: 0,
1040
+ activeScale: 0.97,
1041
+ activeY: 0,
1042
+ fontFamily: null,
1043
+ fontSizeScale: 1,
1044
+ fontWeight: null,
1045
+ letterSpacing: 'normal',
1046
+ textTransform: 'none',
1031
1047
  focusRingColor: 'primary-8',
1032
1048
  customCSS: null
1033
1049
  },
1034
1050
  onSurface: {
1035
1051
  bg: 'neutral-1',
1036
1052
  bgHover: 'neutral-2',
1053
+ bgActive: 'neutral-3',
1037
1054
  text: 'neutral-12',
1038
1055
  textHover: 'neutral-12',
1056
+ textActive: 'neutral-12',
1039
1057
  border: 'none',
1040
1058
  borderHover: 'none',
1059
+ borderActive: 'none',
1041
1060
  shadow: 'none',
1042
1061
  shadowHover: 'none',
1062
+ shadowActive: 'none',
1063
+ hoverScale: 1,
1064
+ hoverY: 0,
1065
+ activeScale: 0.97,
1066
+ activeY: 0,
1067
+ fontFamily: null,
1068
+ fontSizeScale: 1,
1069
+ fontWeight: null,
1070
+ letterSpacing: 'normal',
1071
+ textTransform: 'none',
1043
1072
  customCSS: null
1044
1073
  }
1045
1074
  },
@@ -1047,24 +1076,50 @@ export const defaultDesignTokensV2 = {
1047
1076
  normal: {
1048
1077
  bg: 'primary-3',
1049
1078
  bgHover: 'primary-4',
1079
+ bgActive: 'primary-5',
1050
1080
  text: 'primary-11',
1051
1081
  textHover: 'primary-12',
1082
+ textActive: 'primary-12',
1052
1083
  border: 'none',
1053
1084
  borderHover: 'none',
1085
+ borderActive: 'none',
1054
1086
  shadow: 'none',
1055
1087
  shadowHover: 'none',
1088
+ shadowActive: 'none',
1089
+ hoverScale: 1,
1090
+ hoverY: 0,
1091
+ activeScale: 0.97,
1092
+ activeY: 0,
1093
+ fontFamily: null,
1094
+ fontSizeScale: 1,
1095
+ fontWeight: null,
1096
+ letterSpacing: 'normal',
1097
+ textTransform: 'none',
1056
1098
  focusRingColor: 'primary-8',
1057
1099
  customCSS: null
1058
1100
  },
1059
1101
  onSurface: {
1060
1102
  bg: 'neutral-1/15',
1061
1103
  bgHover: 'neutral-1/25',
1104
+ bgActive: 'neutral-1/35',
1062
1105
  text: 'on-primary',
1063
1106
  textHover: 'on-primary',
1107
+ textActive: 'on-primary',
1064
1108
  border: 'none',
1065
1109
  borderHover: 'none',
1110
+ borderActive: 'none',
1066
1111
  shadow: 'none',
1067
1112
  shadowHover: 'none',
1113
+ shadowActive: 'none',
1114
+ hoverScale: 1,
1115
+ hoverY: 0,
1116
+ activeScale: 0.97,
1117
+ activeY: 0,
1118
+ fontFamily: null,
1119
+ fontSizeScale: 1,
1120
+ fontWeight: null,
1121
+ letterSpacing: 'normal',
1122
+ textTransform: 'none',
1068
1123
  customCSS: null
1069
1124
  }
1070
1125
  },
@@ -1072,24 +1127,50 @@ export const defaultDesignTokensV2 = {
1072
1127
  normal: {
1073
1128
  bg: 'transparent',
1074
1129
  bgHover: 'primary-3',
1130
+ bgActive: 'primary-4',
1075
1131
  text: 'primary-11',
1076
1132
  textHover: 'primary-12',
1133
+ textActive: 'primary-12',
1077
1134
  border: 'primary-7',
1078
1135
  borderHover: 'primary-8',
1136
+ borderActive: 'primary-9',
1079
1137
  shadow: 'none',
1080
1138
  shadowHover: 'none',
1139
+ shadowActive: 'none',
1140
+ hoverScale: 1,
1141
+ hoverY: 0,
1142
+ activeScale: 0.97,
1143
+ activeY: 0,
1144
+ fontFamily: null,
1145
+ fontSizeScale: 1,
1146
+ fontWeight: null,
1147
+ letterSpacing: 'normal',
1148
+ textTransform: 'none',
1081
1149
  focusRingColor: 'primary-8',
1082
1150
  customCSS: null
1083
1151
  },
1084
1152
  onSurface: {
1085
1153
  bg: 'transparent',
1086
1154
  bgHover: 'neutral-1/15',
1155
+ bgActive: 'neutral-1/25',
1087
1156
  text: 'on-primary',
1088
1157
  textHover: 'on-primary',
1158
+ textActive: 'on-primary',
1089
1159
  border: 'on-primary/40',
1090
1160
  borderHover: 'on-primary/70',
1161
+ borderActive: 'on-primary/90',
1091
1162
  shadow: 'none',
1092
1163
  shadowHover: 'none',
1164
+ shadowActive: 'none',
1165
+ hoverScale: 1,
1166
+ hoverY: 0,
1167
+ activeScale: 0.97,
1168
+ activeY: 0,
1169
+ fontFamily: null,
1170
+ fontSizeScale: 1,
1171
+ fontWeight: null,
1172
+ letterSpacing: 'normal',
1173
+ textTransform: 'none',
1093
1174
  customCSS: null
1094
1175
  }
1095
1176
  },
@@ -1097,24 +1178,50 @@ export const defaultDesignTokensV2 = {
1097
1178
  normal: {
1098
1179
  bg: 'transparent',
1099
1180
  bgHover: 'neutral-3',
1181
+ bgActive: 'neutral-4',
1100
1182
  text: 'primary-11',
1101
1183
  textHover: 'primary-12',
1184
+ textActive: 'primary-12',
1102
1185
  border: 'none',
1103
1186
  borderHover: 'none',
1187
+ borderActive: 'none',
1104
1188
  shadow: 'none',
1105
1189
  shadowHover: 'none',
1190
+ shadowActive: 'none',
1191
+ hoverScale: 1,
1192
+ hoverY: 0,
1193
+ activeScale: 0.97,
1194
+ activeY: 0,
1195
+ fontFamily: null,
1196
+ fontSizeScale: 1,
1197
+ fontWeight: null,
1198
+ letterSpacing: 'normal',
1199
+ textTransform: 'none',
1106
1200
  focusRingColor: 'primary-8',
1107
1201
  customCSS: null
1108
1202
  },
1109
1203
  onSurface: {
1110
1204
  bg: 'transparent',
1111
1205
  bgHover: 'neutral-1/15',
1206
+ bgActive: 'neutral-1/25',
1112
1207
  text: 'on-primary',
1113
1208
  textHover: 'on-primary',
1209
+ textActive: 'on-primary',
1114
1210
  border: 'none',
1115
1211
  borderHover: 'none',
1212
+ borderActive: 'none',
1116
1213
  shadow: 'none',
1117
1214
  shadowHover: 'none',
1215
+ shadowActive: 'none',
1216
+ hoverScale: 1,
1217
+ hoverY: 0,
1218
+ activeScale: 0.97,
1219
+ activeY: 0,
1220
+ fontFamily: null,
1221
+ fontSizeScale: 1,
1222
+ fontWeight: null,
1223
+ letterSpacing: 'normal',
1224
+ textTransform: 'none',
1118
1225
  customCSS: null
1119
1226
  }
1120
1227
  },
@@ -1122,12 +1229,25 @@ export const defaultDesignTokensV2 = {
1122
1229
  normal: {
1123
1230
  bg: 'transparent',
1124
1231
  bgHover: 'transparent',
1232
+ bgActive: 'transparent',
1125
1233
  text: 'primary-11',
1126
1234
  textHover: 'primary-12',
1235
+ textActive: 'primary-12',
1127
1236
  border: 'none',
1128
1237
  borderHover: 'none',
1238
+ borderActive: 'none',
1129
1239
  shadow: 'none',
1130
1240
  shadowHover: 'none',
1241
+ shadowActive: 'none',
1242
+ hoverScale: 1,
1243
+ hoverY: 0,
1244
+ activeScale: 0.97,
1245
+ activeY: 0,
1246
+ fontFamily: null,
1247
+ fontSizeScale: 1,
1248
+ fontWeight: null,
1249
+ letterSpacing: 'normal',
1250
+ textTransform: 'none',
1131
1251
  textDecoration: 'none',
1132
1252
  textDecorationHover: 'underline',
1133
1253
  focusRingColor: 'primary-8',
@@ -1136,12 +1256,25 @@ export const defaultDesignTokensV2 = {
1136
1256
  onSurface: {
1137
1257
  bg: 'transparent',
1138
1258
  bgHover: 'transparent',
1259
+ bgActive: 'transparent',
1139
1260
  text: 'on-primary',
1140
1261
  textHover: 'on-primary',
1262
+ textActive: 'on-primary',
1141
1263
  border: 'none',
1142
1264
  borderHover: 'none',
1265
+ borderActive: 'none',
1143
1266
  shadow: 'none',
1144
1267
  shadowHover: 'none',
1268
+ shadowActive: 'none',
1269
+ hoverScale: 1,
1270
+ hoverY: 0,
1271
+ activeScale: 0.97,
1272
+ activeY: 0,
1273
+ fontFamily: null,
1274
+ fontSizeScale: 1,
1275
+ fontWeight: null,
1276
+ letterSpacing: 'normal',
1277
+ textTransform: 'none',
1145
1278
  textDecoration: 'none',
1146
1279
  textDecorationHover: 'underline',
1147
1280
  customCSS: null
@@ -1151,24 +1284,50 @@ export const defaultDesignTokensV2 = {
1151
1284
  normal: {
1152
1285
  bg: 'error-9',
1153
1286
  bgHover: 'error-10',
1287
+ bgActive: 'error-11',
1154
1288
  text: 'on-error',
1155
1289
  textHover: 'on-error',
1290
+ textActive: 'on-error',
1156
1291
  border: 'none',
1157
1292
  borderHover: 'none',
1293
+ borderActive: 'none',
1158
1294
  shadow: 'none',
1159
1295
  shadowHover: 'none',
1296
+ shadowActive: 'none',
1297
+ hoverScale: 1,
1298
+ hoverY: 0,
1299
+ activeScale: 0.97,
1300
+ activeY: 0,
1301
+ fontFamily: null,
1302
+ fontSizeScale: 1,
1303
+ fontWeight: null,
1304
+ letterSpacing: 'normal',
1305
+ textTransform: 'none',
1160
1306
  focusRingColor: 'error-8',
1161
1307
  customCSS: null
1162
1308
  },
1163
1309
  onSurface: {
1164
1310
  bg: 'error-9',
1165
1311
  bgHover: 'error-10',
1312
+ bgActive: 'error-11',
1166
1313
  text: 'on-error',
1167
1314
  textHover: 'on-error',
1315
+ textActive: 'on-error',
1168
1316
  border: 'none',
1169
1317
  borderHover: 'none',
1318
+ borderActive: 'none',
1170
1319
  shadow: 'none',
1171
1320
  shadowHover: 'none',
1321
+ shadowActive: 'none',
1322
+ hoverScale: 1,
1323
+ hoverY: 0,
1324
+ activeScale: 0.97,
1325
+ activeY: 0,
1326
+ fontFamily: null,
1327
+ fontSizeScale: 1,
1328
+ fontWeight: null,
1329
+ letterSpacing: 'normal',
1330
+ textTransform: 'none',
1172
1331
  customCSS: null
1173
1332
  }
1174
1333
  }