Skip to content

Commit c83c055

Browse files
authored
chore: theme updates (#6642)
1 parent 33f47ca commit c83c055

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

packages/bruno-app/src/components/StatusBar/ThemeDropdown/StyledWrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ const StyledWrapper = styled.div`
88
height: 325px;
99
padding: 8px;
1010
background: ${(props) => props.theme.dropdown.bg};
11+
border: 1px solid ${(props) => props.theme.dropdown.border};
1112
border-radius: 6px;
12-
box-shadow: 0px 1px 4px 0px #0000000D;
13+
box-shadow: ${(props) => props.theme.dropdown.shadow};
1314
outline: none;
1415
1516
&.two-columns {

packages/bruno-app/src/themes/dark/catppuccin-mocha.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Catppuccin Mocha - Dark Theme (Original)
22
// Based on https://catppuccin.com/palette/
33

4-
import { rgba } from 'polished';
4+
import { rgba, darken, lighten } from 'polished';
55

66
const colors = {
77
// Catppuccin Mocha Palette
@@ -208,11 +208,11 @@ const catppuccinMochaTheme = {
208208
dropdown: {
209209
color: colors.TEXT,
210210
iconColor: colors.SUBTEXT1,
211-
bg: colors.SURFACE0,
211+
bg: lighten(0.03, colors.BASE),
212212
hoverBg: 'rgba(108, 112, 134, 0.16)',
213213
shadow: 'none',
214214
border: rgba(colors.SURFACE1, 0.5),
215-
separator: colors.SURFACE1,
215+
separator: rgba(colors.SURFACE1, 0.5),
216216
selectedColor: colors.MAUVE,
217217
mutedText: colors.SUBTEXT0
218218
},

packages/bruno-app/src/themes/dark/dark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ const darkTheme = {
220220
collection: {
221221
item: {
222222
bg: palette.background.SURFACE0,
223-
hoverBg: palette.background.SURFACE0,
223+
hoverBg: palette.background.MANTLE,
224224
focusBorder: palette.border.BORDER2,
225225
indentBorder: `solid 1px ${palette.border.BORDER1}`,
226226
active: {
@@ -240,8 +240,8 @@ const darkTheme = {
240240
dropdown: {
241241
color: palette.text.BASE,
242242
iconColor: palette.text.SUBTEXT2,
243-
bg: palette.background.MANTLE,
244-
hoverBg: palette.background.SURFACE1,
243+
bg: palette.background.CRUST,
244+
hoverBg: palette.background.MANTLE,
245245
shadow: 'none',
246246
border: palette.border.BORDER1,
247247
separator: palette.border.BORDER1,

packages/bruno-app/src/themes/light/catppuccin-latte.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const catppuccinLatteTheme = {
167167
},
168168

169169
input: {
170-
bg: colors.SURFACE0,
170+
bg: rgba(colors.SURFACE0, 0.2),
171171
border: colors.SURFACE1,
172172
focusBorder: colors.LAVENDER,
173173
placeholder: {
@@ -187,8 +187,8 @@ const catppuccinLatteTheme = {
187187

188188
collection: {
189189
item: {
190-
bg: colors.SURFACE0,
191-
hoverBg: colors.SURFACE1,
190+
bg: rgba(colors.SURFACE0, 0.5),
191+
hoverBg: rgba(colors.SURFACE0, 0.7),
192192
focusBorder: colors.LAVENDER,
193193
indentBorder: `solid 1px ${colors.SURFACE1}`,
194194
active: {
@@ -209,7 +209,7 @@ const catppuccinLatteTheme = {
209209
color: colors.TEXT,
210210
iconColor: colors.SUBTEXT1,
211211
bg: colors.BASE,
212-
hoverBg: colors.SURFACE0,
212+
hoverBg: rgba(colors.SURFACE0, 0.5),
213213
shadow: 'rgba(76, 79, 105, 0.25) 0px 6px 12px -2px, rgba(76, 79, 105, 0.3) 0px 3px 7px -3px',
214214
border: 'none',
215215
separator: colors.SURFACE1,
@@ -381,7 +381,7 @@ const catppuccinLatteTheme = {
381381

382382
requestTabs: {
383383
color: colors.TEXT,
384-
bg: colors.SURFACE0,
384+
bg: '#E4E7EC',
385385
bottomBorder: colors.SURFACE1,
386386
icon: {
387387
color: colors.OVERLAY0,

packages/bruno-app/src/themes/light/light-pastel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const lightPastelTheme = {
192192
collection: {
193193
item: {
194194
bg: colors.GRAY_2,
195-
hoverBg: colors.GRAY_3,
195+
hoverBg: rgba(colors.GRAY_3, 0.5),
196196
focusBorder: colors.BRAND,
197197
indentBorder: `solid 1px ${colors.GRAY_4}`,
198198
active: {

0 commit comments

Comments
 (0)