Skip to content

Commit

Permalink
Match drop-shadow values to box-shadows by eye as best as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Apr 4, 2021
1 parent 46c61c6 commit 0fc6523
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,12 @@ module.exports = {
200: '2',
},
dropShadow: {
// TODO: Decide how to account for lack of spread support
sm: '0 1px 2px rgba(0, 0, 0, 0.05)',
DEFAULT: ['0 1px 3px rgba(0, 0, 0, 0.1)', '0 1px 2px rgba(0, 0, 0, 0.06)'],
md: ['0 4px 6px rgba(0, 0, 0, 0.1)', '0 2px 4px rgba(0, 0, 0, 0.06)'],
lg: ['0 10px 15px rgba(0, 0, 0, 0.1)', '0 4px 6px rgba(0, 0, 0, 0.05)'],
xl: ['0 20px 25px rgba(0, 0, 0, 0.1)', '0 10px 10px rgba(0, 0, 0, 0.04)'],
'2xl': '0 25px 50px rgba(0, 0, 0, 0.25)',
sm: '0 1px 1px rgba(0,0,0,0.05)',
DEFAULT: ['0 1px 2px rgba(0, 0, 0, 0.1)', '0 1px 1px rgba(0, 0, 0, 0.06)'],
md: ['0 4px 3px rgba(0, 0, 0, 0.07)', '0 2px 2px rgba(0, 0, 0, 0.06)'],
lg: ['0 10px 8px rgba(0, 0, 0, 0.04)', '0 4px 3px rgba(0, 0, 0, 0.1)'],
xl: ['0 20px 13px rgba(0, 0, 0, 0.03)', '0 8px 5px rgba(0, 0, 0, 0.08)'],
'2xl': '0 25px 25px rgba(0, 0, 0, 0.15)',
none: '0 0 #0000',
},
grayscale: {
Expand Down

0 comments on commit 0fc6523

Please sign in to comment.