diff --git a/packages/orbit-tailwind-preset/package.json b/packages/orbit-tailwind-preset/package.json
index ebf75a4063..759121fcd8 100644
--- a/packages/orbit-tailwind-preset/package.json
+++ b/packages/orbit-tailwind-preset/package.json
@@ -34,7 +34,8 @@
"tailwindcss": ">=3.3.2"
},
"dependencies": {
- "@kiwicom/orbit-design-tokens": "^6.3.0"
+ "@kiwicom/orbit-design-tokens": "^6.3.0",
+ "color2k": "^2.0.2"
},
"devDependencies": {
"@testing-library/react": "^13.4.0"
diff --git a/packages/orbit-tailwind-preset/src/presets/__fixtures__/Colors.tsx b/packages/orbit-tailwind-preset/src/presets/__fixtures__/Colors.tsx
deleted file mode 100644
index a31287846c..0000000000
--- a/packages/orbit-tailwind-preset/src/presets/__fixtures__/Colors.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-import React from "react";
-
-const Colors = () => (
-
-
blue-normal
-
blue-normal-hover
-
blue-normal-active
-
blue-light
-
blue-light-hover
-
blue-light-active
-
blue-dark
-
blue-dark-hover
-
blue-dark-active
-
blue-darker
-
-
green-normal
-
green-normal-hover
-
green-normal-active
-
-
green-light
-
green-light-hover
-
green-light-active
-
-
green-dark
-
green-dark-hover
-
green-dark-active
-
green-darker
-
-
red-normal
-
red-normal-hover
-
red-normal-active
-
-
red-light
-
red-light-hover
-
red-light-active
-
-
red-dark
-
red-dark-hover
-
red-dark-active
-
red-darker
-
-
orange-normal
-
orange-normal-hover
-
orange-normal-active
-
-
orange-light
-
orange-light-hover
-
orange-light-active
-
-
orange-dark
-
orange-dark-hover
-
orange-dark-active
-
orange-darker
-
-
ink-normal
-
ink-normal-hover
-
ink-normal-active
-
-
ink-light
-
ink-light-hover
-
ink-light-active
-
-
ink-dark
-
ink-dark-hover
-
ink-dark-active
-
-
product-normal
-
product-normal-hover
-
product-normal-active
-
-
product-light
-
product-light-hover
-
product-light-active
-
-
product-dark
-
product-dark-hover
-
product-dark-active
-
product-darker
-
-
white-normal
-
white-normal-hover
-
white-normal-active
-
-
cloud-normal
-
cloud-normal-hover
-
cloud-normal-active
-
-
cloud-light
-
cloud-light-hover
-
cloud-light-active
-
-
cloud-dark
-
cloud-dark-hover
-
cloud-dark-active
-
-
social-facebook
-
social-facebook-hover
-
social-facebook-active
-
-
bundle-basic
-
bundle-medium
-
-);
-
-export default Colors;
diff --git a/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap b/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap
index 62cf847ea0..c6e45e8119 100644
--- a/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap
+++ b/packages/orbit-tailwind-preset/src/presets/__tests__/__snapshots__/configs.test.ts.snap
@@ -224,101 +224,101 @@ exports[`orbitPreset should match snapshot 1`] = `
},
"colors": {
"blue": {
- "dark": "var(--palette-blue-dark, #005AA3)",
- "dark-active": "var(--palette-blue-dark-active, #003E70)",
- "dark-hover": "var(--palette-blue-dark-hover, #004F8F)",
- "darker": "var(--palette-blue-darker, #004680)",
- "light": "var(--palette-blue-light, #E8F4FD)",
- "light-active": "var(--palette-blue-light-active, #C7E4FA)",
- "light-hover": "var(--palette-blue-light-hover, #DEF0FC)",
- "normal": "var(--palette-blue-normal, #0172CB)",
- "normal-active": "var(--palette-blue-normal-active, #01508E)",
- "normal-hover": "var(--palette-blue-normal-hover, #0161AC)",
+ "dark": "rgba(var(--palette-blue-dark, 0, 90, 163), )",
+ "dark-active": "rgba(var(--palette-blue-dark-active, 0, 62, 112), )",
+ "dark-hover": "rgba(var(--palette-blue-dark-hover, 0, 79, 143), )",
+ "darker": "rgba(var(--palette-blue-darker, 0, 70, 128), )",
+ "light": "rgba(var(--palette-blue-light, 232, 244, 253), )",
+ "light-active": "rgba(var(--palette-blue-light-active, 199, 228, 250), )",
+ "light-hover": "rgba(var(--palette-blue-light-hover, 222, 240, 252), )",
+ "normal": "rgba(var(--palette-blue-normal, 1, 114, 203), )",
+ "normal-active": "rgba(var(--palette-blue-normal-active, 1, 80, 142), )",
+ "normal-hover": "rgba(var(--palette-blue-normal-hover, 1, 97, 172), )",
},
"bundle": {
- "basic": "var(--palette-bundle-basic, #D7331C)",
- "medium": "var(--palette-bundle-medium, #3B1EB0)",
+ "basic": "rgba(var(--palette-bundle-basic, 215, 51, 28), )",
+ "medium": "rgba(var(--palette-bundle-medium, 59, 30, 176), )",
},
"cloud": {
- "dark": "var(--palette-cloud-dark, #BAC7D5)",
- "dark-active": "var(--palette-cloud-dark-active, #94A8BE)",
- "dark-hover": "var(--palette-cloud-dark-hover, #A6B6C8)",
- "light": "var(--palette-cloud-light, #F5F7F9)",
- "light-active": "var(--palette-cloud-light-active, #D6DEE6)",
- "light-hover": "var(--palette-cloud-light-hover, #E5EAEF)",
- "normal": "var(--palette-cloud-normal, #E8EDF1)",
- "normal-active": "var(--palette-cloud-normal-active, #CAD4DE)",
- "normal-hover": "var(--palette-cloud-normal-hover, #DCE3E9)",
+ "dark": "rgba(var(--palette-cloud-dark, 186, 199, 213), )",
+ "dark-active": "rgba(var(--palette-cloud-dark-active, 148, 168, 190), )",
+ "dark-hover": "rgba(var(--palette-cloud-dark-hover, 166, 182, 200), )",
+ "light": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
+ "light-active": "rgba(var(--palette-cloud-light-active, 214, 222, 230), )",
+ "light-hover": "rgba(var(--palette-cloud-light-hover, 229, 234, 239), )",
+ "normal": "rgba(var(--palette-cloud-normal, 232, 237, 241), )",
+ "normal-active": "rgba(var(--palette-cloud-normal-active, 202, 212, 222), )",
+ "normal-hover": "rgba(var(--palette-cloud-normal-hover, 220, 227, 233), )",
},
"green": {
- "dark": "var(--palette-green-dark, #2D7738)",
- "dark-active": "var(--palette-green-dark-active, #1F5126)",
- "dark-hover": "var(--palette-green-dark-hover, #276831)",
- "darker": "var(--palette-green-darker, #235C2B)",
- "light": "var(--palette-green-light, #EAF5EA)",
- "light-active": "var(--palette-green-light-active, #CDE4CF)",
- "light-hover": "var(--palette-green-light-hover, #E1EFE2)",
- "normal": "var(--palette-green-normal, #28A138)",
- "normal-active": "var(--palette-green-normal-active, #1D7228)",
- "normal-hover": "var(--palette-green-normal-hover, #238B31)",
+ "dark": "rgba(var(--palette-green-dark, 45, 119, 56), )",
+ "dark-active": "rgba(var(--palette-green-dark-active, 31, 81, 38), )",
+ "dark-hover": "rgba(var(--palette-green-dark-hover, 39, 104, 49), )",
+ "darker": "rgba(var(--palette-green-darker, 35, 92, 43), )",
+ "light": "rgba(var(--palette-green-light, 234, 245, 234), )",
+ "light-active": "rgba(var(--palette-green-light-active, 205, 228, 207), )",
+ "light-hover": "rgba(var(--palette-green-light-hover, 225, 239, 226), )",
+ "normal": "rgba(var(--palette-green-normal, 40, 161, 56), )",
+ "normal-active": "rgba(var(--palette-green-normal-active, 29, 114, 40), )",
+ "normal-hover": "rgba(var(--palette-green-normal-hover, 35, 139, 49), )",
},
"ink": {
- "dark": "var(--palette-ink-dark, #252A31)",
- "dark-active": "var(--palette-ink-dark-active, #0B0C0F)",
- "dark-hover": "var(--palette-ink-dark-hover, #181B20)",
- "light": "var(--palette-ink-light, #697D95)",
- "light-active": "var(--palette-ink-light-active, #4A617C)",
- "light-hover": "var(--palette-ink-light-hover, #5D738E)",
- "normal": "var(--palette-ink-normal, #4F5E71)",
- "normal-active": "var(--palette-ink-normal-active, #324256)",
- "normal-hover": "var(--palette-ink-normal-hover, #3E4E63)",
+ "dark": "rgba(var(--palette-ink-dark, 37, 42, 49), )",
+ "dark-active": "rgba(var(--palette-ink-dark-active, 11, 12, 15), )",
+ "dark-hover": "rgba(var(--palette-ink-dark-hover, 24, 27, 32), )",
+ "light": "rgba(var(--palette-ink-light, 105, 125, 149), )",
+ "light-active": "rgba(var(--palette-ink-light-active, 74, 97, 124), )",
+ "light-hover": "rgba(var(--palette-ink-light-hover, 93, 115, 142), )",
+ "normal": "rgba(var(--palette-ink-normal, 79, 94, 113), )",
+ "normal-active": "rgba(var(--palette-ink-normal-active, 50, 66, 86), )",
+ "normal-hover": "rgba(var(--palette-ink-normal-hover, 62, 78, 99), )",
},
"orange": {
- "dark": "var(--palette-orange-dark, #AD5700)",
- "dark-active": "var(--palette-orange-dark-active, #954A00)",
- "dark-hover": "var(--palette-orange-dark-hover, #A75400)",
- "darker": "var(--palette-orange-darker, #803F00)",
- "light": "var(--palette-orange-light, #FEF2E6)",
- "light-active": "var(--palette-orange-light-active, #FAE2C6)",
- "light-hover": "var(--palette-orange-light-hover, #FCECDA)",
- "normal": "var(--palette-orange-normal, #DF7B00)",
- "normal-active": "var(--palette-orange-normal-active, #B26200)",
- "normal-hover": "var(--palette-orange-normal-hover, #C96F00)",
+ "dark": "rgba(var(--palette-orange-dark, 173, 87, 0), )",
+ "dark-active": "rgba(var(--palette-orange-dark-active, 149, 74, 0), )",
+ "dark-hover": "rgba(var(--palette-orange-dark-hover, 167, 84, 0), )",
+ "darker": "#803F00",
+ "light": "rgba(var(--palette-orange-light, 254, 242, 230), )",
+ "light-active": "rgba(var(--palette-orange-light-active, 250, 226, 198), )",
+ "light-hover": "rgba(var(--palette-orange-light-hover, 252, 236, 218), )",
+ "normal": "rgba(var(--palette-orange-normal, 223, 123, 0), )",
+ "normal-active": "rgba(var(--palette-orange-normal-active, 178, 98, 0), )",
+ "normal-hover": "rgba(var(--palette-orange-normal-hover, 201, 111, 0), )",
},
"product": {
- "dark": "var(--palette-product-dark, #007A69)",
- "dark-active": "var(--palette-product-dark-active, #006657)",
- "dark-hover": "var(--palette-product-dark-hover, #007060)",
- "darker": "var(--palette-product-darker, #005C4E)",
- "light": "var(--palette-product-light, #E1F4F3)",
- "light-active": "var(--palette-product-light-active, #BFE8E2)",
- "light-hover": "var(--palette-product-light-hover, #D6F0EC)",
- "normal": "var(--palette-product-normal, #00A58E)",
- "normal-active": "var(--palette-product-normal-active, #008472)",
- "normal-hover": "var(--palette-product-normal-hover, #009580)",
+ "dark": "rgba(var(--palette-product-dark, 0, 122, 105), )",
+ "dark-active": "rgba(var(--palette-product-dark-active, 0, 102, 87), )",
+ "dark-hover": "rgba(var(--palette-product-dark-hover, 0, 112, 96), )",
+ "darker": "rgba(var(--palette-product-darker, 0, 92, 78), )",
+ "light": "rgba(var(--palette-product-light, 225, 244, 243), )",
+ "light-active": "rgba(var(--palette-product-light-active, 191, 232, 226), )",
+ "light-hover": "rgba(var(--palette-product-light-hover, 214, 240, 236), )",
+ "normal": "rgba(var(--palette-product-normal, 0, 165, 142), )",
+ "normal-active": "rgba(var(--palette-product-normal-active, 0, 132, 114), )",
+ "normal-hover": "rgba(var(--palette-product-normal-hover, 0, 149, 128), )",
},
"red": {
- "dark": "var(--palette-red-dark, #970C0C)",
- "dark-active": "var(--palette-red-dark-active, #6D0909)",
- "dark-hover": "var(--palette-red-dark-hover, #890B0B)",
- "darker": "var(--palette-red-darker, #760909)",
- "light": "var(--palette-red-light, #FAEAEA)",
- "light-active": "var(--palette-red-light-active, #F3CECE)",
- "light-hover": "var(--palette-red-light-hover, #F8E2E2)",
- "normal": "var(--palette-red-normal, #D21C1C)",
- "normal-active": "var(--palette-red-normal-active, #9D1515)",
- "normal-hover": "var(--palette-red-normal-hover, #B91919)",
+ "dark": "rgba(var(--palette-red-dark, 151, 12, 12), )",
+ "dark-active": "rgba(var(--palette-red-dark-active, 109, 9, 9), )",
+ "dark-hover": "rgba(var(--palette-red-dark-hover, 137, 11, 11), )",
+ "darker": "rgba(var(--palette-red-darker, 118, 9, 9), )",
+ "light": "rgba(var(--palette-red-light, 250, 234, 234), )",
+ "light-active": "rgba(var(--palette-red-light-active, 243, 206, 206), )",
+ "light-hover": "rgba(var(--palette-red-light-hover, 248, 226, 226), )",
+ "normal": "rgba(var(--palette-red-normal, 210, 28, 28), )",
+ "normal-active": "rgba(var(--palette-red-normal-active, 157, 21, 21), )",
+ "normal-hover": "rgba(var(--palette-red-normal-hover, 185, 25, 25), )",
},
"social": {
- "facebook": "var(--palette-social-facebook, #3B5998)",
- "facebook-active": "var(--palette-social-facebook-active, #354F88)",
- "facebook-hover": "var(--palette-social-facebook-hover, #385490)",
+ "facebook": "rgba(var(--palette-social-facebook, 59, 89, 152), )",
+ "facebook-active": "rgba(var(--palette-social-facebook-active, 53, 79, 136), )",
+ "facebook-hover": "rgba(var(--palette-social-facebook-hover, 56, 84, 144), )",
},
"transparent": "transparent",
"white": {
- "normal": "var(--palette-white-normal, #FFFFFF)",
- "normal-active": "var(--palette-white-normal-active, #E7ECF1)",
- "normal-hover": "var(--palette-white-normal-hover, #F1F4F7)",
+ "normal": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "normal-active": "rgba(var(--palette-white-normal-active, 231, 236, 241), )",
+ "normal-hover": "rgba(var(--palette-white-normal-hover, 241, 244, 247), )",
},
},
"extend": {
@@ -396,101 +396,101 @@ exports[`orbitPreset should match snapshot 1`] = `
"accentColor": {
"auto": "auto",
"blue": {
- "dark": "var(--palette-blue-dark, #005AA3)",
- "dark-active": "var(--palette-blue-dark-active, #003E70)",
- "dark-hover": "var(--palette-blue-dark-hover, #004F8F)",
- "darker": "var(--palette-blue-darker, #004680)",
- "light": "var(--palette-blue-light, #E8F4FD)",
- "light-active": "var(--palette-blue-light-active, #C7E4FA)",
- "light-hover": "var(--palette-blue-light-hover, #DEF0FC)",
- "normal": "var(--palette-blue-normal, #0172CB)",
- "normal-active": "var(--palette-blue-normal-active, #01508E)",
- "normal-hover": "var(--palette-blue-normal-hover, #0161AC)",
+ "dark": "rgba(var(--palette-blue-dark, 0, 90, 163), )",
+ "dark-active": "rgba(var(--palette-blue-dark-active, 0, 62, 112), )",
+ "dark-hover": "rgba(var(--palette-blue-dark-hover, 0, 79, 143), )",
+ "darker": "rgba(var(--palette-blue-darker, 0, 70, 128), )",
+ "light": "rgba(var(--palette-blue-light, 232, 244, 253), )",
+ "light-active": "rgba(var(--palette-blue-light-active, 199, 228, 250), )",
+ "light-hover": "rgba(var(--palette-blue-light-hover, 222, 240, 252), )",
+ "normal": "rgba(var(--palette-blue-normal, 1, 114, 203), )",
+ "normal-active": "rgba(var(--palette-blue-normal-active, 1, 80, 142), )",
+ "normal-hover": "rgba(var(--palette-blue-normal-hover, 1, 97, 172), )",
},
"bundle": {
- "basic": "var(--palette-bundle-basic, #D7331C)",
- "medium": "var(--palette-bundle-medium, #3B1EB0)",
+ "basic": "rgba(var(--palette-bundle-basic, 215, 51, 28), )",
+ "medium": "rgba(var(--palette-bundle-medium, 59, 30, 176), )",
},
"cloud": {
- "dark": "var(--palette-cloud-dark, #BAC7D5)",
- "dark-active": "var(--palette-cloud-dark-active, #94A8BE)",
- "dark-hover": "var(--palette-cloud-dark-hover, #A6B6C8)",
- "light": "var(--palette-cloud-light, #F5F7F9)",
- "light-active": "var(--palette-cloud-light-active, #D6DEE6)",
- "light-hover": "var(--palette-cloud-light-hover, #E5EAEF)",
- "normal": "var(--palette-cloud-normal, #E8EDF1)",
- "normal-active": "var(--palette-cloud-normal-active, #CAD4DE)",
- "normal-hover": "var(--palette-cloud-normal-hover, #DCE3E9)",
+ "dark": "rgba(var(--palette-cloud-dark, 186, 199, 213), )",
+ "dark-active": "rgba(var(--palette-cloud-dark-active, 148, 168, 190), )",
+ "dark-hover": "rgba(var(--palette-cloud-dark-hover, 166, 182, 200), )",
+ "light": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
+ "light-active": "rgba(var(--palette-cloud-light-active, 214, 222, 230), )",
+ "light-hover": "rgba(var(--palette-cloud-light-hover, 229, 234, 239), )",
+ "normal": "rgba(var(--palette-cloud-normal, 232, 237, 241), )",
+ "normal-active": "rgba(var(--palette-cloud-normal-active, 202, 212, 222), )",
+ "normal-hover": "rgba(var(--palette-cloud-normal-hover, 220, 227, 233), )",
},
"green": {
- "dark": "var(--palette-green-dark, #2D7738)",
- "dark-active": "var(--palette-green-dark-active, #1F5126)",
- "dark-hover": "var(--palette-green-dark-hover, #276831)",
- "darker": "var(--palette-green-darker, #235C2B)",
- "light": "var(--palette-green-light, #EAF5EA)",
- "light-active": "var(--palette-green-light-active, #CDE4CF)",
- "light-hover": "var(--palette-green-light-hover, #E1EFE2)",
- "normal": "var(--palette-green-normal, #28A138)",
- "normal-active": "var(--palette-green-normal-active, #1D7228)",
- "normal-hover": "var(--palette-green-normal-hover, #238B31)",
+ "dark": "rgba(var(--palette-green-dark, 45, 119, 56), )",
+ "dark-active": "rgba(var(--palette-green-dark-active, 31, 81, 38), )",
+ "dark-hover": "rgba(var(--palette-green-dark-hover, 39, 104, 49), )",
+ "darker": "rgba(var(--palette-green-darker, 35, 92, 43), )",
+ "light": "rgba(var(--palette-green-light, 234, 245, 234), )",
+ "light-active": "rgba(var(--palette-green-light-active, 205, 228, 207), )",
+ "light-hover": "rgba(var(--palette-green-light-hover, 225, 239, 226), )",
+ "normal": "rgba(var(--palette-green-normal, 40, 161, 56), )",
+ "normal-active": "rgba(var(--palette-green-normal-active, 29, 114, 40), )",
+ "normal-hover": "rgba(var(--palette-green-normal-hover, 35, 139, 49), )",
},
"ink": {
- "dark": "var(--palette-ink-dark, #252A31)",
- "dark-active": "var(--palette-ink-dark-active, #0B0C0F)",
- "dark-hover": "var(--palette-ink-dark-hover, #181B20)",
- "light": "var(--palette-ink-light, #697D95)",
- "light-active": "var(--palette-ink-light-active, #4A617C)",
- "light-hover": "var(--palette-ink-light-hover, #5D738E)",
- "normal": "var(--palette-ink-normal, #4F5E71)",
- "normal-active": "var(--palette-ink-normal-active, #324256)",
- "normal-hover": "var(--palette-ink-normal-hover, #3E4E63)",
+ "dark": "rgba(var(--palette-ink-dark, 37, 42, 49), )",
+ "dark-active": "rgba(var(--palette-ink-dark-active, 11, 12, 15), )",
+ "dark-hover": "rgba(var(--palette-ink-dark-hover, 24, 27, 32), )",
+ "light": "rgba(var(--palette-ink-light, 105, 125, 149), )",
+ "light-active": "rgba(var(--palette-ink-light-active, 74, 97, 124), )",
+ "light-hover": "rgba(var(--palette-ink-light-hover, 93, 115, 142), )",
+ "normal": "rgba(var(--palette-ink-normal, 79, 94, 113), )",
+ "normal-active": "rgba(var(--palette-ink-normal-active, 50, 66, 86), )",
+ "normal-hover": "rgba(var(--palette-ink-normal-hover, 62, 78, 99), )",
},
"orange": {
- "dark": "var(--palette-orange-dark, #AD5700)",
- "dark-active": "var(--palette-orange-dark-active, #954A00)",
- "dark-hover": "var(--palette-orange-dark-hover, #A75400)",
- "darker": "var(--palette-orange-darker, #803F00)",
- "light": "var(--palette-orange-light, #FEF2E6)",
- "light-active": "var(--palette-orange-light-active, #FAE2C6)",
- "light-hover": "var(--palette-orange-light-hover, #FCECDA)",
- "normal": "var(--palette-orange-normal, #DF7B00)",
- "normal-active": "var(--palette-orange-normal-active, #B26200)",
- "normal-hover": "var(--palette-orange-normal-hover, #C96F00)",
+ "dark": "rgba(var(--palette-orange-dark, 173, 87, 0), )",
+ "dark-active": "rgba(var(--palette-orange-dark-active, 149, 74, 0), )",
+ "dark-hover": "rgba(var(--palette-orange-dark-hover, 167, 84, 0), )",
+ "darker": "#803F00",
+ "light": "rgba(var(--palette-orange-light, 254, 242, 230), )",
+ "light-active": "rgba(var(--palette-orange-light-active, 250, 226, 198), )",
+ "light-hover": "rgba(var(--palette-orange-light-hover, 252, 236, 218), )",
+ "normal": "rgba(var(--palette-orange-normal, 223, 123, 0), )",
+ "normal-active": "rgba(var(--palette-orange-normal-active, 178, 98, 0), )",
+ "normal-hover": "rgba(var(--palette-orange-normal-hover, 201, 111, 0), )",
},
"product": {
- "dark": "var(--palette-product-dark, #007A69)",
- "dark-active": "var(--palette-product-dark-active, #006657)",
- "dark-hover": "var(--palette-product-dark-hover, #007060)",
- "darker": "var(--palette-product-darker, #005C4E)",
- "light": "var(--palette-product-light, #E1F4F3)",
- "light-active": "var(--palette-product-light-active, #BFE8E2)",
- "light-hover": "var(--palette-product-light-hover, #D6F0EC)",
- "normal": "var(--palette-product-normal, #00A58E)",
- "normal-active": "var(--palette-product-normal-active, #008472)",
- "normal-hover": "var(--palette-product-normal-hover, #009580)",
+ "dark": "rgba(var(--palette-product-dark, 0, 122, 105), )",
+ "dark-active": "rgba(var(--palette-product-dark-active, 0, 102, 87), )",
+ "dark-hover": "rgba(var(--palette-product-dark-hover, 0, 112, 96), )",
+ "darker": "rgba(var(--palette-product-darker, 0, 92, 78), )",
+ "light": "rgba(var(--palette-product-light, 225, 244, 243), )",
+ "light-active": "rgba(var(--palette-product-light-active, 191, 232, 226), )",
+ "light-hover": "rgba(var(--palette-product-light-hover, 214, 240, 236), )",
+ "normal": "rgba(var(--palette-product-normal, 0, 165, 142), )",
+ "normal-active": "rgba(var(--palette-product-normal-active, 0, 132, 114), )",
+ "normal-hover": "rgba(var(--palette-product-normal-hover, 0, 149, 128), )",
},
"red": {
- "dark": "var(--palette-red-dark, #970C0C)",
- "dark-active": "var(--palette-red-dark-active, #6D0909)",
- "dark-hover": "var(--palette-red-dark-hover, #890B0B)",
- "darker": "var(--palette-red-darker, #760909)",
- "light": "var(--palette-red-light, #FAEAEA)",
- "light-active": "var(--palette-red-light-active, #F3CECE)",
- "light-hover": "var(--palette-red-light-hover, #F8E2E2)",
- "normal": "var(--palette-red-normal, #D21C1C)",
- "normal-active": "var(--palette-red-normal-active, #9D1515)",
- "normal-hover": "var(--palette-red-normal-hover, #B91919)",
+ "dark": "rgba(var(--palette-red-dark, 151, 12, 12), )",
+ "dark-active": "rgba(var(--palette-red-dark-active, 109, 9, 9), )",
+ "dark-hover": "rgba(var(--palette-red-dark-hover, 137, 11, 11), )",
+ "darker": "rgba(var(--palette-red-darker, 118, 9, 9), )",
+ "light": "rgba(var(--palette-red-light, 250, 234, 234), )",
+ "light-active": "rgba(var(--palette-red-light-active, 243, 206, 206), )",
+ "light-hover": "rgba(var(--palette-red-light-hover, 248, 226, 226), )",
+ "normal": "rgba(var(--palette-red-normal, 210, 28, 28), )",
+ "normal-active": "rgba(var(--palette-red-normal-active, 157, 21, 21), )",
+ "normal-hover": "rgba(var(--palette-red-normal-hover, 185, 25, 25), )",
},
"social": {
- "facebook": "var(--palette-social-facebook, #3B5998)",
- "facebook-active": "var(--palette-social-facebook-active, #354F88)",
- "facebook-hover": "var(--palette-social-facebook-hover, #385490)",
+ "facebook": "rgba(var(--palette-social-facebook, 59, 89, 152), )",
+ "facebook-active": "rgba(var(--palette-social-facebook-active, 53, 79, 136), )",
+ "facebook-hover": "rgba(var(--palette-social-facebook-hover, 56, 84, 144), )",
},
"transparent": "transparent",
"white": {
- "normal": "var(--palette-white-normal, #FFFFFF)",
- "normal-active": "var(--palette-white-normal-active, #E7ECF1)",
- "normal-hover": "var(--palette-white-normal-hover, #F1F4F7)",
+ "normal": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "normal-active": "rgba(var(--palette-white-normal-active, 231, 236, 241), )",
+ "normal-hover": "rgba(var(--palette-white-normal-hover, 241, 244, 247), )",
},
},
"animation": {
@@ -597,183 +597,183 @@ exports[`orbitPreset should match snapshot 1`] = `
"DEFAULT": "100%",
},
"backgroundColor": {
- "badge-critical-background": "var(--palette-red-normal, #D21C1C)",
- "badge-critical-subtle-background": "var(--palette-red-light, #FAEAEA)",
- "badge-dark-background": "var(--palette-ink-dark, #252A31)",
- "badge-info-background": "var(--palette-blue-normal, #0172CB)",
- "badge-info-subtle-background": "var(--palette-blue-light, #E8F4FD)",
- "badge-neutral-background": "var(--palette-cloud-light, #F5F7F9)",
- "badge-success-background": "var(--palette-green-normal, #28A138)",
- "badge-success-subtle-background": "var(--palette-green-light, #EAF5EA)",
- "badge-warning-background": "var(--palette-orange-normal, #DF7B00)",
- "badge-warning-subtle-background": "var(--palette-orange-light, #FEF2E6)",
- "badge-white-background": "var(--palette-white-normal, #FFFFFF)",
+ "badge-critical-background": "rgba(var(--palette-red-normal, 210, 28, 28), )",
+ "badge-critical-subtle-background": "rgba(var(--palette-red-light, 250, 234, 234), )",
+ "badge-dark-background": "rgba(var(--palette-ink-dark, 37, 42, 49), )",
+ "badge-info-background": "rgba(var(--palette-blue-normal, 1, 114, 203), )",
+ "badge-info-subtle-background": "rgba(var(--palette-blue-light, 232, 244, 253), )",
+ "badge-neutral-background": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
+ "badge-success-background": "rgba(var(--palette-green-normal, 40, 161, 56), )",
+ "badge-success-subtle-background": "rgba(var(--palette-green-light, 234, 245, 234), )",
+ "badge-warning-background": "rgba(var(--palette-orange-normal, 223, 123, 0), )",
+ "badge-warning-subtle-background": "rgba(var(--palette-orange-light, 254, 242, 230), )",
+ "badge-white-background": "rgba(var(--palette-white-normal, 255, 255, 255), )",
"blue": {
- "dark": "var(--palette-blue-dark, #005AA3)",
- "dark-active": "var(--palette-blue-dark-active, #003E70)",
- "dark-hover": "var(--palette-blue-dark-hover, #004F8F)",
- "darker": "var(--palette-blue-darker, #004680)",
- "light": "var(--palette-blue-light, #E8F4FD)",
- "light-active": "var(--palette-blue-light-active, #C7E4FA)",
- "light-hover": "var(--palette-blue-light-hover, #DEF0FC)",
- "normal": "var(--palette-blue-normal, #0172CB)",
- "normal-active": "var(--palette-blue-normal-active, #01508E)",
- "normal-hover": "var(--palette-blue-normal-hover, #0161AC)",
+ "dark": "rgba(var(--palette-blue-dark, 0, 90, 163), )",
+ "dark-active": "rgba(var(--palette-blue-dark-active, 0, 62, 112), )",
+ "dark-hover": "rgba(var(--palette-blue-dark-hover, 0, 79, 143), )",
+ "darker": "rgba(var(--palette-blue-darker, 0, 70, 128), )",
+ "light": "rgba(var(--palette-blue-light, 232, 244, 253), )",
+ "light-active": "rgba(var(--palette-blue-light-active, 199, 228, 250), )",
+ "light-hover": "rgba(var(--palette-blue-light-hover, 222, 240, 252), )",
+ "normal": "rgba(var(--palette-blue-normal, 1, 114, 203), )",
+ "normal-active": "rgba(var(--palette-blue-normal-active, 1, 80, 142), )",
+ "normal-hover": "rgba(var(--palette-blue-normal-hover, 1, 97, 172), )",
},
"bundle": {
- "basic": "var(--palette-bundle-basic, #D7331C)",
- "medium": "var(--palette-bundle-medium, #3B1EB0)",
- },
- "button-critical-background": "var(--palette-red-normal, #D21C1C)",
- "button-critical-background-active": "var(--palette-red-normal-active, #9D1515)",
- "button-critical-background-hover": "var(--palette-red-normal-hover, #B91919)",
- "button-critical-subtle-background": "var(--palette-red-light, #FAEAEA)",
- "button-critical-subtle-background-active": "var(--palette-red-light-active, #F3CECE)",
- "button-critical-subtle-background-hover": "var(--palette-red-light-hover, #F8E2E2)",
- "button-info-background": "var(--palette-blue-normal, #0172CB)",
- "button-info-background-active": "var(--palette-blue-normal-active, #01508E)",
- "button-info-background-hover": "var(--palette-blue-normal-hover, #0161AC)",
+ "basic": "rgba(var(--palette-bundle-basic, 215, 51, 28), )",
+ "medium": "rgba(var(--palette-bundle-medium, 59, 30, 176), )",
+ },
+ "button-critical-background": "rgba(var(--palette-red-normal, 210, 28, 28), )",
+ "button-critical-background-active": "rgba(var(--palette-red-normal-active, 157, 21, 21), )",
+ "button-critical-background-hover": "rgba(var(--palette-red-normal-hover, 185, 25, 25), )",
+ "button-critical-subtle-background": "rgba(var(--palette-red-light, 250, 234, 234), )",
+ "button-critical-subtle-background-active": "rgba(var(--palette-red-light-active, 243, 206, 206), )",
+ "button-critical-subtle-background-hover": "rgba(var(--palette-red-light-hover, 248, 226, 226), )",
+ "button-info-background": "rgba(var(--palette-blue-normal, 1, 114, 203), )",
+ "button-info-background-active": "rgba(var(--palette-blue-normal-active, 1, 80, 142), )",
+ "button-info-background-hover": "rgba(var(--palette-blue-normal-hover, 1, 97, 172), )",
"button-link-critical-background": "transparent",
- "button-link-critical-background-active": "var(--palette-red-light-active, #F3CECE)",
- "button-link-critical-background-hover": "var(--palette-red-light-hover, #F8E2E2)",
+ "button-link-critical-background-active": "rgba(var(--palette-red-light-active, 243, 206, 206), )",
+ "button-link-critical-background-hover": "rgba(var(--palette-red-light-hover, 248, 226, 226), )",
"button-link-primary-background": "transparent",
- "button-link-primary-background-active": "var(--palette-product-light-active, #BFE8E2)",
- "button-link-primary-background-hover": "var(--palette-product-light-hover, #D6F0EC)",
+ "button-link-primary-background-active": "rgba(var(--palette-product-light-active, 191, 232, 226), )",
+ "button-link-primary-background-hover": "rgba(var(--palette-product-light-hover, 214, 240, 236), )",
"button-link-secondary-background": "transparent",
- "button-link-secondary-background-active": "var(--palette-cloud-light-active, #D6DEE6)",
- "button-link-secondary-background-hover": "var(--palette-cloud-light-hover, #E5EAEF)",
- "button-primary-background": "var(--button-primary-background, var(--palette-product-normal, #00A58E))",
- "button-primary-background-active": "var(--button-primary-background-active, var(--palette-product-normal-active, #008472))",
- "button-primary-background-hover": "var(--button-primary-background-hover, var(--palette-product-normal-hover, #009580))",
- "button-primary-subtle-background": "var(--palette-product-light, #E1F4F3)",
- "button-primary-subtle-background-active": "var(--palette-product-light-active, #BFE8E2)",
- "button-primary-subtle-background-hover": "var(--palette-product-light-hover, #D6F0EC)",
- "button-secondary-background": "var(--palette-cloud-normal, #E8EDF1)",
- "button-secondary-background-active": "var(--palette-cloud-normal-active, #CAD4DE)",
- "button-secondary-background-hover": "var(--palette-cloud-normal-hover, #DCE3E9)",
- "button-success-background": "var(--palette-green-normal, #28A138)",
- "button-success-background-active": "var(--palette-green-normal-active, #1D7228)",
- "button-success-background-hover": "var(--palette-green-normal-hover, #238B31)",
- "button-warning-background": "var(--palette-orange-normal, #DF7B00)",
- "button-warning-background-active": "var(--palette-orange-normal-active, #B26200)",
- "button-warning-background-hover": "var(--palette-orange-normal-hover, #C96F00)",
- "button-white-background": "var(--palette-white-normal, #FFFFFF)",
- "button-white-background-active": "var(--palette-cloud-light-hover, #E5EAEF)",
- "button-white-background-hover": "var(--palette-cloud-light, #F5F7F9)",
+ "button-link-secondary-background-active": "rgba(var(--palette-cloud-light-active, 214, 222, 230), )",
+ "button-link-secondary-background-hover": "rgba(var(--palette-cloud-light-hover, 229, 234, 239), )",
+ "button-primary-background": "var(--button-primary-background, rgba(var(--palette-product-normal, 0, 165, 142), ))",
+ "button-primary-background-active": "var(--button-primary-background-active, rgba(var(--palette-product-normal-active, 0, 132, 114), ))",
+ "button-primary-background-hover": "var(--button-primary-background-hover, rgba(var(--palette-product-normal-hover, 0, 149, 128), ))",
+ "button-primary-subtle-background": "rgba(var(--palette-product-light, 225, 244, 243), )",
+ "button-primary-subtle-background-active": "rgba(var(--palette-product-light-active, 191, 232, 226), )",
+ "button-primary-subtle-background-hover": "rgba(var(--palette-product-light-hover, 214, 240, 236), )",
+ "button-secondary-background": "rgba(var(--palette-cloud-normal, 232, 237, 241), )",
+ "button-secondary-background-active": "rgba(var(--palette-cloud-normal-active, 202, 212, 222), )",
+ "button-secondary-background-hover": "rgba(var(--palette-cloud-normal-hover, 220, 227, 233), )",
+ "button-success-background": "rgba(var(--palette-green-normal, 40, 161, 56), )",
+ "button-success-background-active": "rgba(var(--palette-green-normal-active, 29, 114, 40), )",
+ "button-success-background-hover": "rgba(var(--palette-green-normal-hover, 35, 139, 49), )",
+ "button-warning-background": "rgba(var(--palette-orange-normal, 223, 123, 0), )",
+ "button-warning-background-active": "rgba(var(--palette-orange-normal-active, 178, 98, 0), )",
+ "button-warning-background-hover": "rgba(var(--palette-orange-normal-hover, 201, 111, 0), )",
+ "button-white-background": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "button-white-background-active": "rgba(var(--palette-cloud-light-hover, 229, 234, 239), )",
+ "button-white-background-hover": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
"cloud": {
- "dark": "var(--palette-cloud-dark, #BAC7D5)",
- "dark-active": "var(--palette-cloud-dark-active, #94A8BE)",
- "dark-hover": "var(--palette-cloud-dark-hover, #A6B6C8)",
- "light": "var(--palette-cloud-light, #F5F7F9)",
- "light-active": "var(--palette-cloud-light-active, #D6DEE6)",
- "light-hover": "var(--palette-cloud-light-hover, #E5EAEF)",
- "normal": "var(--palette-cloud-normal, #E8EDF1)",
- "normal-active": "var(--palette-cloud-normal-active, #CAD4DE)",
- "normal-hover": "var(--palette-cloud-normal-hover, #DCE3E9)",
+ "dark": "rgba(var(--palette-cloud-dark, 186, 199, 213), )",
+ "dark-active": "rgba(var(--palette-cloud-dark-active, 148, 168, 190), )",
+ "dark-hover": "rgba(var(--palette-cloud-dark-hover, 166, 182, 200), )",
+ "light": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
+ "light-active": "rgba(var(--palette-cloud-light-active, 214, 222, 230), )",
+ "light-hover": "rgba(var(--palette-cloud-light-hover, 229, 234, 239), )",
+ "normal": "rgba(var(--palette-cloud-normal, 232, 237, 241), )",
+ "normal-active": "rgba(var(--palette-cloud-normal-active, 202, 212, 222), )",
+ "normal-hover": "rgba(var(--palette-cloud-normal-hover, 220, 227, 233), )",
},
"country-flag-background": "transparent",
"drawer-overlay-background": "rgba(37, 42, 49, 0.5)",
- "elevation-action": "var(--palette-white-normal, #FFFFFF)",
- "elevation-action-active": "var(--palette-white-normal, #FFFFFF)",
- "elevation-fixed": "var(--palette-white-normal, #FFFFFF)",
- "elevation-fixed-reverse": "var(--palette-white-normal, #FFFFFF)",
- "elevation-flat": "var(--palette-white-normal, #FFFFFF)",
- "elevation-overlay": "var(--palette-white-normal, #FFFFFF)",
- "elevation-raised": "var(--palette-white-normal, #FFFFFF)",
- "elevation-raised-reverse": "var(--palette-white-normal, #FFFFFF)",
- "elevation-suppressed": "var(--palette-cloud-light, #F5F7F9)",
- "form-element-background": "var(--palette-white-normal, #FFFFFF)",
- "form-element-disabled-background": "var(--palette-cloud-normal, #E8EDF1)",
+ "elevation-action": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-action-active": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-fixed": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-fixed-reverse": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-flat": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-overlay": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-raised": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-raised-reverse": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "elevation-suppressed": "rgba(var(--palette-cloud-light, 245, 247, 249), )",
+ "form-element-background": "rgba(var(--palette-white-normal, 255, 255, 255), )",
+ "form-element-disabled-background": "rgba(var(--palette-cloud-normal, 232, 237, 241), )",
"green": {
- "dark": "var(--palette-green-dark, #2D7738)",
- "dark-active": "var(--palette-green-dark-active, #1F5126)",
- "dark-hover": "var(--palette-green-dark-hover, #276831)",
- "darker": "var(--palette-green-darker, #235C2B)",
- "light": "var(--palette-green-light, #EAF5EA)",
- "light-active": "var(--palette-green-light-active, #CDE4CF)",
- "light-hover": "var(--palette-green-light-hover, #E1EFE2)",
- "normal": "var(--palette-green-normal, #28A138)",
- "normal-active": "var(--palette-green-normal-active, #1D7228)",
- "normal-hover": "var(--palette-green-normal-hover, #238B31)",
+ "dark": "rgba(var(--palette-green-dark, 45, 119, 56), )",
+ "dark-active": "rgba(var(--palette-green-dark-active, 31, 81, 38), )",
+ "dark-hover": "rgba(var(--palette-green-dark-hover, 39, 104, 49), )",
+ "darker": "rgba(var(--palette-green-darker, 35, 92, 43), )",
+ "light": "rgba(var(--palette-green-light, 234, 245, 234), )",
+ "light-active": "rgba(var(--palette-green-light-active, 205, 228, 207), )",
+ "light-hover": "rgba(var(--palette-green-light-hover, 225, 239, 226), )",
+ "normal": "rgba(var(--palette-green-normal, 40, 161, 56), )",
+ "normal-active": "rgba(var(--palette-green-normal-active, 29, 114, 40), )",
+ "normal-hover": "rgba(var(--palette-green-normal-hover, 35, 139, 49), )",
},
"ink": {
- "dark": "var(--palette-ink-dark, #252A31)",
- "dark-active": "var(--palette-ink-dark-active, #0B0C0F)",
- "dark-hover": "var(--palette-ink-dark-hover, #181B20)",
- "light": "var(--palette-ink-light, #697D95)",
- "light-active": "var(--palette-ink-light-active, #4A617C)",
- "light-hover": "var(--palette-ink-light-hover, #5D738E)",
- "normal": "var(--palette-ink-normal, #4F5E71)",
- "normal-active": "var(--palette-ink-normal-active, #324256)",
- "normal-hover": "var(--palette-ink-normal-hover, #3E4E63)",
+ "dark": "rgba(var(--palette-ink-dark, 37, 42, 49), )",
+ "dark-active": "rgba(var(--palette-ink-dark-active, 11, 12, 15), )",
+ "dark-hover": "rgba(var(--palette-ink-dark-hover, 24, 27, 32), )",
+ "light": "rgba(var(--palette-ink-light, 105, 125, 149), )",
+ "light-active": "rgba(var(--palette-ink-light-active, 74, 97, 124), )",
+ "light-hover": "rgba(var(--palette-ink-light-hover, 93, 115, 142), )",
+ "normal": "rgba(var(--palette-ink-normal, 79, 94, 113), )",
+ "normal-active": "rgba(var(--palette-ink-normal-active, 50, 66, 86), )",
+ "normal-hover": "rgba(var(--palette-ink-normal-hover, 62, 78, 99), )",
},
"orange": {
- "dark": "var(--palette-orange-dark, #AD5700)",
- "dark-active": "var(--palette-orange-dark-active, #954A00)",
- "dark-hover": "var(--palette-orange-dark-hover, #A75400)",
- "darker": "var(--palette-orange-darker, #803F00)",
- "light": "var(--palette-orange-light, #FEF2E6)",
- "light-active": "var(--palette-orange-light-active, #FAE2C6)",
- "light-hover": "var(--palette-orange-light-hover, #FCECDA)",
- "normal": "var(--palette-orange-normal, #DF7B00)",
- "normal-active": "var(--palette-orange-normal-active, #B26200)",
- "normal-hover": "var(--palette-orange-normal-hover, #C96F00)",
+ "dark": "rgba(var(--palette-orange-dark, 173, 87, 0), )",
+ "dark-active": "rgba(var(--palette-orange-dark-active, 149, 74, 0), )",
+ "dark-hover": "rgba(var(--palette-orange-dark-hover, 167, 84, 0), )",
+ "darker": "#803F00",
+ "light": "rgba(var(--palette-orange-light, 254, 242, 230), )",
+ "light-active": "rgba(var(--palette-orange-light-active, 250, 226, 198), )",
+ "light-hover": "rgba(var(--palette-orange-light-hover, 252, 236, 218), )",
+ "normal": "rgba(var(--palette-orange-normal, 223, 123, 0), )",
+ "normal-active": "rgba(var(--palette-orange-normal-active, 178, 98, 0), )",
+ "normal-hover": "rgba(var(--palette-orange-normal-hover, 201, 111, 0),