Skip to content

Commit

Permalink
chore(tailwind): add 2 boxShadow classes for WizardStep
Browse files Browse the repository at this point in the history
  • Loading branch information
vbulant authored and DSil committed Mar 25, 2024
1 parent a265946 commit 31d97be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"raised": "0 4px 8px 0 rgba(37, 42, 49, 0.16),0 8px 24px 0 rgba(37, 42, 49, 0.24)",
"raised-reverse": "0 -4px 8px 0 rgba(37, 42, 49, 0.16),0 -8px 24px 0 rgba(37, 42, 49, 0.24)",
"switch": "inset 0 0 1px 0 rgba(7, 64, 92, 0.1),0 0 2px 0 rgba(37, 42, 49, 0.16),0 1px 4px 0 rgba(37, 42, 49, 0.12)",
"wizard-step-icon-active": "0 0 0 4px rgba(0, 165, 142, 0.2)",
"wizard-step-icon-hover": "0 0 0 6px rgba(0, 165, 142, 0.2)",
},
"boxShadowColor": {
"blue": {
Expand Down
8 changes: 8 additions & 0 deletions packages/orbit-tailwind-preset/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@ export default function orbitTailwindPreset(options?: Options): Config {
switch: `inset 0 0 1px 0 rgba(7, 64, 92, 0.1),${tokens.boxShadowAction}`,
"modal-scrolled": `inset 0 1px 0 ${tokens.paletteCloudNormal}, ${tokens.boxShadowFixedReverse}`,
modal: `inset 0 0 0 transparent, ${tokens.boxShadowFixedReverse}`,
"wizard-step-icon-hover": `0 0 0 6px ${convertHexToRgba(
tokens.paletteProductNormal,
20,
)}`,
"wizard-step-icon-active": `0 0 0 4px ${convertHexToRgba(
tokens.paletteProductNormal,
20,
)}`,
},
keyframes: {
"slow-pulse": {
Expand Down

0 comments on commit 31d97be

Please sign in to comment.