Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
fix(submit-mod): put primary colour in as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovyerus committed May 5, 2019
1 parent 0107413 commit c236f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/submit-mod.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const {Util: {hexDiff}} = Vibrant;
const baseColors = Object.entries(materialColors)
.filter(([key]) => !['shades', 'grey', 'brown', 'amber', 'blueGrey', 'lightGreen', 'lightBlue'].includes(key)) // Filter out colors we don't want.
.map(([key, {base}]) => ({[key]: base}))
.concat({primary: theme.primary})
.concat({default: theme.primary})
.reduce((last, next) => ({...last, ...next}));
// URL regex taken from Marshmallow to be consistent with backend.
Expand Down

0 comments on commit c236f84

Please sign in to comment.