Skip to content

Commit

Permalink
Merge pull request #1098 from oasisprotocol/lw/tip-style
Browse files Browse the repository at this point in the history
Restyle default tooltips and toast notifications
  • Loading branch information
lukaw3d authored Oct 25, 2022
2 parents 66175d0 + bd34828 commit cde4367
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/styles/theme/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ const grommetCustomTheme: ThemeType = {
radius: '4px',
},
},
tip: {
content: {
// Default background is background-contrast, but we made that one transparent
background: 'background-front',
border: 'all',
elevation: 'none',
},
},
global: {
colors: {
oasisIndigo: '#310081',
Expand Down Expand Up @@ -129,6 +137,10 @@ const grommetCustomTheme: ThemeType = {
notification: {
toast: {
time: 2000,
container: {
border: 'all',
elevation: 'none',
},
},
},
}
Expand Down

0 comments on commit cde4367

Please sign in to comment.