Browse Source

Add bright luminosity

sbkwgh 8 năm trước cách đây
mục cha
commit
8350d9489f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/user.js

+ 1 - 1
models/user.js

@@ -9,7 +9,7 @@ module.exports = (sequelize, DataTypes) => {
 		color: {
 			type: DataTypes.STRING,
 			defaultValue () {
-				return randomColor()
+				return randomColor({ luminosity: 'bright' })
 			}
 		},
 		hash: DataTypes.STRING,