mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: make templates support custom colors
Use template_options colors instead of static colors. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
b67e06ee7b
commit
c18e5ec795
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
<head>
|
||||
<style>
|
||||
body {
|
||||
background-color: white;
|
||||
background-color: {{ template_options.color1 }};
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: {{ template_options.font_size }}vw;
|
||||
|
@ -69,7 +69,7 @@
|
|||
}
|
||||
|
||||
.fieldTitle {
|
||||
background-color: #CfC7C5;
|
||||
background-color: {{ template_options.color2 }};
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<head>
|
||||
<style>
|
||||
body {
|
||||
background-color: white;
|
||||
background-color: {{ template_options.color1 }};
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-size: {{ template_options.font_size }}vw;
|
||||
|
@ -63,7 +63,7 @@
|
|||
}
|
||||
|
||||
.fieldTitle {
|
||||
background-color: #CfC7C5;
|
||||
background-color: {{ template_options.color2 }};
|
||||
overflow: hidden;
|
||||
padding:0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue