aboutsummaryrefslogtreecommitdiffstats
path: root/components/NoteView.js
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-04-13 22:31:47 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-04-13 22:49:24 +0200
commit50235bc304db2e309d2de63452f301139fc3f9cc (patch)
tree1453b045888657bece5f5de74e580834858e9e29 /components/NoteView.js
parent1cb36cd073252f4a185cd9775382da4c6861a8cb (diff)
downloadremarques-master.tar.gz
remarques-master.tar.zst
remarques-master.zip
Change colorsHEADmaster
Fix bug in Options.js Add License Add node version
Diffstat (limited to 'components/NoteView.js')
-rw-r--r--components/NoteView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/NoteView.js b/components/NoteView.js
index 820eaf9..762ac2b 100644
--- a/components/NoteView.js
+++ b/components/NoteView.js
@@ -53,7 +53,7 @@ export default class NoteView extends React.Component {
if (!nk) notesKeys = [0]; else notesKeys = JSON.parse(nk);
const key = this.state.isNew ? Math.max(...notesKeys) + 1 : this.state.note.key;
const date = Date.now();
- const colors = ["darkred", "darkblue", "darkcyan", "darkgreen"]
+ const colors = ["#49d96c", "#f5ac58", "pink", "darkcyan"]
const color = this.state.isNew ? colors[Math.floor(Math.random() * colors.length)] : this.state.note.color
if (this.state.isNew)
notesKeys.push(key);