Skip to content

Commit

Permalink
revert theme-preval breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
VanAnderson committed Mar 4, 2021
1 parent bfee3cc commit 67d27b3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/theme-preval.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,33 @@ const buttons = {
}
}

const flash = {
default: {
backgroundColor: blue[1],
borderColor: 'rgba(4, 66, 137, 0.2)'
},
success: {
backgroundColor: green[1],
borderColor: 'rgba(23, 111, 44, 0.2)'
},
danger: {
backgroundColor: '#FFE3E6',
borderColor: 'rgba(158, 28, 35, 0.2)'
},
warning: {
backgroundColor: yellow[1],
borderColor: 'rgba(176, 136, 0, 0.2)'
}
}

// this has to be separated from the flash object since we have to use an svg selector to style the icon color
const flashIcon = {
default: 'rgba(4, 66, 137, 0.6)',
success: 'rgba(23, 111, 44, 0.8)',
danger: 'rgba(158, 28, 35, 0.6)',
warning: yellow[8]
}

const popovers = {
colors: {
caret: 'rgba(27, 31, 35, 0.15)'
Expand Down

0 comments on commit 67d27b3

Please sign in to comment.