Skip to content

Commit

Permalink
fixup! Replace the gradient background with blurred dots
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jan 9, 2024
1 parent 5fb13ec commit 438fc35
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/theme/variables/edgeLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ const palette = {
learnMiddle: 'rgba(0, 81, 92, .44)',
learnRight: 'rgba(0, 245, 155, .44)',

// Background
backgroundGreen: '#15cb7f',
backgroundPurple: '#7f15cb',

// Button
graySecondary: 'hsla(0, 0%, 100%, 0.20)',

Expand Down Expand Up @@ -127,8 +131,8 @@ export const edgeLight: Theme = {
color: palette.lightestGray,
dotOpacity: 0.3,
dots: [
{ color: '#15cb7f', cx: '75%', cy: '25%', r: scale(175) },
{ color: '#7f15cb', cx: '25%', cy: '75%', r: scale(150) }
{ color: palette.backgroundGreen, cx: '75%', cy: '25%', r: scale(175) },
{ color: palette.backgroundPurple, cx: '25%', cy: '75%', r: scale(150) }
]
},

Expand Down
8 changes: 6 additions & 2 deletions src/theme/variables/testLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ const palette = {
learnMiddle: 'rgba(0, 81, 92, .44)',
learnRight: 'rgba(0, 245, 155, .44)',

// Background
backgroundGreen: '#15cb7f',
backgroundPurple: '#7f15cb',

// Button
graySecondary: 'hsla(0, 0%, 100%, 0.20)',

Expand Down Expand Up @@ -127,8 +131,8 @@ export const testLight: Theme = {
color: palette.lightestGray,
dotOpacity: 0.3,
dots: [
{ color: '#15cb7f', cx: '75%', cy: '25%', r: scale(175) },
{ color: '#7f15cb', cx: '25%', cy: '75%', r: scale(150) }
{ color: palette.backgroundGreen, cx: '75%', cy: '25%', r: scale(175) },
{ color: palette.backgroundPurple, cx: '25%', cy: '75%', r: scale(150) }
]
},

Expand Down

0 comments on commit 438fc35

Please sign in to comment.