cetec-design-system 1.4.0 → 1.5.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.
@@ -4203,7 +4203,19 @@ const textVariants = {
4203
4203
  },
4204
4204
  underline: {
4205
4205
  true: {
4206
- textDecoration: "underline"
4206
+ textDecoration: "underline",
4207
+ textDecorationThickness: "[0.0625em]",
4208
+ textUnderlineOffset: "[0.15625em]",
4209
+ textDecorationSkipInk: "all"
4210
+ }
4211
+ },
4212
+ dashedUnderline: {
4213
+ true: {
4214
+ textDecoration: "underline",
4215
+ textDecorationStyle: "dashed",
4216
+ textDecorationThickness: "[0.0625em]",
4217
+ textUnderlineOffset: "[0.15625em]",
4218
+ textDecorationSkipInk: "all"
4207
4219
  }
4208
4220
  },
4209
4221
  truncate: {
@@ -4252,36 +4264,30 @@ const linkBase = {
4252
4264
  fontWeight: "medium",
4253
4265
  gap: "1",
4254
4266
  color: "link",
4255
- textDecoration: "none",
4256
- backgroundImage: "linear-gradient(90deg, transparent 0% 100%)",
4257
- backgroundSize: "100% 1px",
4258
- backgroundRepeat: "no-repeat",
4259
- backgroundPositionY: "100%",
4260
- outlineWidth: "2",
4261
- outlineStyle: "solid",
4262
- outlineColor: "transparent",
4263
- outlineOffset: "1",
4264
- width: "fit-content",
4265
- cursor: "pointer",
4267
+ textDecoration: "underline",
4268
+ textDecorationThickness: "[0.0625em]",
4269
+ textUnderlineOffset: "[0.15625em]",
4270
+ textDecorationSkipInk: "all",
4271
+ textDecorationColor: "[color-mix(in srgb, currentColor 30%, transparent)]",
4272
+ transition: "all",
4273
+ transitionDuration: "fast",
4274
+ bg: "none",
4266
4275
  _hover: {
4267
- color: "link",
4268
- backgroundImage: "linear-gradient(90deg, currentColor 0% 100%)"
4276
+ color: "link.pressed",
4277
+ textDecorationColor: "current",
4278
+ textDecorationThickness: "[0.125em]"
4269
4279
  },
4270
4280
  _focusVisible: {
4271
4281
  borderRadius: "4",
4272
4282
  outlineColor: "border.focused"
4273
- }
4274
- };
4275
- const linkVariants = {
4276
- ...textVariants,
4283
+ },
4277
4284
  _disabled: {
4278
- true: {
4279
- cursor: "not-allowed",
4280
- opacity: 0.4,
4281
- pointerEvents: "none"
4282
- }
4285
+ cursor: "not-allowed",
4286
+ opacity: 0.4,
4287
+ pointerEvents: "none"
4283
4288
  }
4284
4289
  };
4290
+ const linkVariants = { ...textVariants };
4285
4291
  const labelBase = {
4286
4292
  fontSize: "16",
4287
4293
  fontWeight: "normal",
@@ -9205,6 +9211,17 @@ const colors = defineSemanticTokens.colors({
9205
9211
  pressed: {
9206
9212
  value: { base: "{colors.green.70}", _dark: "{colors.green.20}" }
9207
9213
  }
9214
+ },
9215
+ subtle: {
9216
+ DEFAULT: {
9217
+ value: { base: "{colors.green.5}", _dark: "{colors.green.80}" }
9218
+ },
9219
+ hovered: {
9220
+ value: { base: "{colors.green.10}", _dark: "{colors.green.70}" }
9221
+ },
9222
+ pressed: {
9223
+ value: { base: "{colors.green.20}", _dark: "{colors.green.90}" }
9224
+ }
9208
9225
  }
9209
9226
  },
9210
9227
  warning: {
@@ -9227,6 +9244,17 @@ const colors = defineSemanticTokens.colors({
9227
9244
  pressed: {
9228
9245
  value: { base: "{colors.orange.70}", _dark: "{colors.orange.50}" }
9229
9246
  }
9247
+ },
9248
+ subtle: {
9249
+ DEFAULT: {
9250
+ value: { base: "{colors.orange.5}", _dark: "{colors.orange.80}" }
9251
+ },
9252
+ hovered: {
9253
+ value: { base: "{colors.orange.10}", _dark: "{colors.orange.70}" }
9254
+ },
9255
+ pressed: {
9256
+ value: { base: "{colors.orange.20}", _dark: "{colors.orange.90}" }
9257
+ }
9230
9258
  }
9231
9259
  },
9232
9260
  danger: {
@@ -9245,6 +9273,17 @@ const colors = defineSemanticTokens.colors({
9245
9273
  pressed: {
9246
9274
  value: { base: "{colors.red.60}", _dark: "{colors.red.50}" }
9247
9275
  }
9276
+ },
9277
+ subtle: {
9278
+ DEFAULT: {
9279
+ value: { base: "{colors.red.5}", _dark: "{colors.red.80}" }
9280
+ },
9281
+ hovered: {
9282
+ value: { base: "{colors.red.10}", _dark: "{colors.red.70}" }
9283
+ },
9284
+ pressed: {
9285
+ value: { base: "{colors.red.20}", _dark: "{colors.red.90}" }
9286
+ }
9248
9287
  }
9249
9288
  },
9250
9289
  info: {
@@ -9267,6 +9306,17 @@ const colors = defineSemanticTokens.colors({
9267
9306
  pressed: {
9268
9307
  value: { base: "{colors.blue.70}", _dark: "{colors.blue.20}" }
9269
9308
  }
9309
+ },
9310
+ subtle: {
9311
+ DEFAULT: {
9312
+ value: { base: "{colors.blue.5}", _dark: "{colors.blue.80}" }
9313
+ },
9314
+ hovered: {
9315
+ value: { base: "{colors.blue.10}", _dark: "{colors.blue.70}" }
9316
+ },
9317
+ pressed: {
9318
+ value: { base: "{colors.blue.20}", _dark: "{colors.blue.90}" }
9319
+ }
9270
9320
  }
9271
9321
  },
9272
9322
  cta: {
@@ -10559,4 +10609,4 @@ export {
10559
10609
  breakpoints as b,
10560
10610
  containerSizes as c
10561
10611
  };
10562
- //# sourceMappingURL=cetec-preset-DA6_Lz-z.js.map
10612
+ //# sourceMappingURL=cetec-preset-BIhjr__8.js.map