Custom colors, closing #1

This commit is contained in:
Andy Meneely
2014-08-05 21:56:07 -04:00
parent 96d8f4039e
commit 6c31320411
8 changed files with 50 additions and 8 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
dpi: 300
progress_bars: true
text_hint: '#FF0000'
text_hint: '#FF0000'
custom_colors:
foo: '#ccc'
+4 -1
View File
@@ -2,7 +2,10 @@
require 'squib'
Squib::Deck.new(config: 'custom-config.yml') do
# Custom color defined in our config
background color: :foo
# Hints are turned on in the config file
text str: "The Title", x: 0, y: 78, width: 825,
font: 'Arial 72', align: :center