Skip to content

Commit

Permalink
Use rgb over rgba for CSS colors
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Dec 11, 2024
1 parent 719c957 commit 578a491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Playroom/palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const light = {
positive: originalPalette.green2,
},
background: {
transparent: 'rgba(0, 0, 0, .05)',
transparent: 'rgb(0, 0, 0, .05)',
accent: originalPalette.blue2,
positive: originalPalette.green1,
critical: originalPalette.red1,
Expand All @@ -56,7 +56,7 @@ export const light = {
standard: originalPalette.gray2,
},
shadows: {
small: '0 2px 8px rgba(18, 21, 26, 0.3)',
small: '0 2px 8px rgb(18, 21, 26, 0.3)',
focus: `0 0 0 5px ${originalPalette.blue0}`,
},
};
Expand Down Expand Up @@ -144,7 +144,7 @@ export const dark = {
positive: seekPalette.mint[500],
},
background: {
transparent: 'rgba(255, 255, 255, .07)',
transparent: 'rgb(255, 255, 255, .07)',
accent: seekPalette.blue[500],
positive: mix(0.6, seekPalette.grey[900], seekPalette.mint[500]),
critical: mix(0.7, seekPalette.grey[900], seekPalette.red[600]),
Expand Down

0 comments on commit 578a491

Please sign in to comment.