Skip to content

Commit 7982e3a

Browse files
authored
Merge pull request #2883 from haarsh157/develop
Feature/enhancement of hoverinig buttons
2 parents 3973d24 + 21f44c0 commit 7982e3a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: client/theme.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const colors = {
2020
lightsteelblue: '#B0C4DE',
2121
dodgerblue: '#1E90FF',
2222
p5ContrastPink: ' #FFA9D9',
23-
23+
p5ContrastYellow: '#fff001',
2424
borderColor: ' #B5B5B5',
2525
outlineColor: '#0F9DD7'
2626
};
@@ -107,7 +107,7 @@ const baseThemes = {
107107
},
108108
hover: {
109109
foreground: grays.lightest,
110-
background: colors.p5jsPink,
110+
background: colors.p5jsActivePink,
111111
border: colors.p5jsPink
112112
},
113113
active: {
@@ -194,8 +194,8 @@ const baseThemes = {
194194
},
195195
hover: {
196196
foreground: grays.lightest,
197-
background: colors.p5jsPink,
198-
border: colors.p5jsPink
197+
background: colors.p5jsActivePink,
198+
border: colors.p5jsActivePink
199199
},
200200
active: {
201201
foreground: grays.lightest,
@@ -253,8 +253,8 @@ export default {
253253
primary: {
254254
hover: {
255255
foreground: grays.dark,
256-
background: colors.yellow,
257-
border: colors.yellow
256+
background: colors.p5ContrastYellow,
257+
border: colors.p5ContrastYellow
258258
},
259259
active: {
260260
foreground: grays.dark
@@ -268,8 +268,8 @@ export default {
268268
},
269269
hover: {
270270
foreground: grays.dark,
271-
background: colors.yellow,
272-
border: colors.yellow
271+
background: colors.p5ContrastYellow,
272+
border: colors.p5ContrastYellow
273273
},
274274
active: {
275275
foreground: grays.dark

0 commit comments

Comments
 (0)