superject/cards/space-layout-3.yml

94 lines
1.6 KiB
YAML
Raw Normal View History

2021-01-29 00:14:25 +00:00
# space-layout-3.yml
# inspired by Hanafuda cards - 54x32mm or 648x384 pixels (at 300dpi)
# 9f68ed
# ed9f68
# b5ed68
corner:
x: 0
y: 0
type:
x: '4.5mm'
y: '3mm'
#fill_color: '#DED4B9'
#fill_color: '#CE534D'
2021-01-29 00:14:25 +00:00
font: 'Sans Forgetica, 10'
color: '#b5ed68'
width: :deck
2021-01-29 00:14:25 +00:00
align: :right
title:
font: 'Monoid Bold 8'
2021-01-29 00:14:25 +00:00
#font: 'Noto Serif Display Light 10'
y: 44mm
x: 4mm
height: 10mm
width: 30mm
font_size: 18
ellipsize: :autoscale
color: '#111'
stroke_color: '#b5ed68'
stroke_width: 2
stroke_strategy: :stroke_first
# alpha: 0.9
align: :center
valign: :middle
hint: :red
description:
y: '8mm'
width: :deck
align: :center
font: 'Solide Mirage, 12'
color: "#333"
2021-01-29 00:14:25 +00:00
# options https://squib.readthedocs.io/en/v0.16.0/dsl/png.html
illustration:
x: 3mm
y: 12.5mm # or '3mm'
width: 32mm # 32 mm
height: :scale # 54 mm
2021-01-29 00:14:25 +00:00
crop_y: 48mm
#crop_corner_radius: 5mm
align: :center
#valign: :middle
2021-01-29 00:14:25 +00:00
blend: :hard_light
alpha: 1.0
#blend: :hsl_hue
overlay:
x: 3mm
y: 3mm # or '3mm'
width: 32mm # 38mm # 32 mm
height: 54mm
blend: :hsl_color
radius: 32
2021-01-29 00:14:25 +00:00
card_type:
x: 3mm
y: 3mm # or '3mm'
height: 12mm
width: 12mm # 38mm # 32 mm
blend: :lighten
# The possibilties include :none, :multiply, :screen, :overlay, :darken, :lighten, :color_dodge, :color_burn, :hard_light, :soft_light, :difference, :exclusion, :hsl_hue, :hsl_saturation, :hsl_color, :hsl_luminosity
# The "cut line", without rounded corners
cut:
x: '3mm'
y: '3mm'
width: '32mm'
height: '54mm'
# The "safe zone" as defined by TheGameCrafter poker cards
safe:
x: 75
y: 75
width: 404
height: 668
radius: 16
dash: 3 3