It's awesome that Prince supports custom font families (tip for others: it's a great way to separate your fonts into one location without relying on strictly sans-serif or serif fonts!):
however, it would be nice if Prince allowed custom colors in a similar fashion. Something like:
I'm sure I'm not the only one that hates repeating myself. Having 6 identical color declarations elsewhere is error prone, and specifying all the rules in one location to apply a single color: declaration isn't nice, either, since it makes you use a single CSS file and you would need separate declarations anyway per color application (border, color, background, etc).
@font-face {
font-family: body-text;
src: local("Times");
}
report > body {
font-family: body-text;
}
however, it would be nice if Prince allowed custom colors in a similar fashion. Something like:
@color accent {
color: #717171;
}
report > cover > title {
color: accent;
}
I'm sure I'm not the only one that hates repeating myself. Having 6 identical color declarations elsewhere is error prone, and specifying all the rules in one location to apply a single color: declaration isn't nice, either, since it makes you use a single CSS file and you would need separate declarations anyway per color application (border, color, background, etc).