Skip to content

Commit

Permalink
Add three more colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Feb 9, 2023
1 parent c430c98 commit f720ff8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/en-us.strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 4 additions & 1 deletion src/lib/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit f720ff8

Please sign in to comment.