From f720ff8348cfe2b0b548fe9683e02523ef2f378b Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Thu, 9 Feb 2023 14:33:09 +0000 Subject: [PATCH] Add three more colors --- src/en-us.strings.js | 3 +++ src/lib/colors.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/en-us.strings.js b/src/en-us.strings.js index 12c96880..f4b0da19 100644 --- a/src/en-us.strings.js +++ b/src/en-us.strings.js @@ -86,6 +86,9 @@ export default { 'general.green': 'Green', 'general.blue': 'Blue', 'general.purple': 'Purple', + 'general.magenta': 'Magenta', + 'general.orange': 'Orange', + 'general.gray': 'Gray', 'general.showInLibrary': 'Show in Library', 'pdfReader.annotations': 'Annotations', 'pdfReader.showAnnotations': 'Show Annotations', diff --git a/src/lib/colors.js b/src/lib/colors.js index d76dbacd..d73856d8 100644 --- a/src/lib/colors.js +++ b/src/lib/colors.js @@ -5,7 +5,10 @@ export let annotationColors = [ ['general.red', '#ff6666'], ['general.green', '#5fb236'], ['general.blue', '#2ea8e5'], - ['general.purple', '#a28ae5'] + ['general.purple', '#a28ae5'], + ['general.magenta', '#e56eee'], + ['general.orange', '#f19837'], + ['general.gray', '#aaaaaa'] ]; export let selectionColor = navigator.platform.includes('Mac') ? '#71ADFD' : 'Highlight';