Skip to content

Commit

Permalink
Added variable for shadow colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Roene-JustBetter committed Jan 8, 2025
1 parent 53450e5 commit b537d28
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ export default {
muted: color('--border-muted', colors.slate[100]),
},

shadow: {
emphasis: color('--shadow-emphasis', colors.slate[900]),
DEFAULT: color('--shadow', colors.slate[700]),
muted: color('--shadow-muted', colors.slate[500]),
},

background: {
emphasis: color('--background-emphasis', colors.slate[200]),
DEFAULT: color('--background', colors.slate[100]),
Expand Down Expand Up @@ -91,8 +97,8 @@ export default {
...theme('colors.border'),
}),
boxShadowColor: (theme) => ({
default: theme('colors.border'),
...theme('colors.border'),
default: theme('colors.shadow'),
...theme('colors.shadow'),
}),
},
container: {
Expand Down

0 comments on commit b537d28

Please sign in to comment.