@cambly/syntax-core 9.3.0 → 9.4.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/dist/index.d.ts +4 -4
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -478,6 +478,8 @@ function backgroundColor(color) {
|
|
|
478
478
|
return colors_module_default2.whiteBackgroundColor;
|
|
479
479
|
case "branded":
|
|
480
480
|
return colors_module_default2.yellow700BackgroundColor;
|
|
481
|
+
case "inverse":
|
|
482
|
+
return colors_module_default2.gray60BackgroundColor;
|
|
481
483
|
default:
|
|
482
484
|
return colors_module_default2.primary700BackgroundColor;
|
|
483
485
|
}
|
|
@@ -494,6 +496,8 @@ function foregroundColor(color) {
|
|
|
494
496
|
return colors_module_default2.destructive700Color;
|
|
495
497
|
case "branded":
|
|
496
498
|
return colors_module_default2.gray900Color;
|
|
499
|
+
case "inverse":
|
|
500
|
+
return colors_module_default2.whiteColor;
|
|
497
501
|
default:
|
|
498
502
|
return colors_module_default2.whiteColor;
|
|
499
503
|
}
|
|
@@ -510,6 +514,8 @@ function foregroundTypographyColor(color) {
|
|
|
510
514
|
return "destructive-primary";
|
|
511
515
|
case "branded":
|
|
512
516
|
return "gray900";
|
|
517
|
+
case "inverse":
|
|
518
|
+
return "white";
|
|
513
519
|
default:
|
|
514
520
|
return "white";
|
|
515
521
|
}
|