We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f6a04 commit 8033711Copy full SHA for 8033711
backend/src/constants.js
@@ -1,2 +1,43 @@
1
export const DB_NAME = 'nextstepsdbcsvbuilder';
2
3
+export const PDF_CONSTANTS = {
4
+ COLORS: {
5
+ primary: '#2C3E50',
6
+ secondary: '#34495E',
7
+ accent: '#3498DB',
8
+ text: '#2C3E50',
9
+ lightGray: '#ECF0F1',
10
+ darkGray: '#7F8C8D'
11
+ },
12
+
13
+ FONTS: {
14
+ bold: 'Helvetica-Bold',
15
+ regular: 'Helvetica',
16
+ italic: 'Helvetica-Oblique'
17
18
19
+ SIZES: {
20
+ heading: 24,
21
+ section: 14,
22
+ body: 10,
23
+ footer: 8,
24
+ lineHeight: 15
25
26
27
+ MARGINS: {
28
+ top: 50,
29
+ bottom: 50,
30
+ left: 50,
31
+ right: 50,
32
+ indent: 70
33
34
35
+ PAGE_LIMITS: {
36
+ pageBreakY: 700,
37
+ photoX: 480,
38
+ photoSize: 80,
39
+ lineEndX: 545,
40
+ contentWidth: 495,
41
+ indentWidth: 475
42
+ }
43
+};
0 commit comments