superject/cards/space-layout-3.yml
2021-01-29 01:14:25 +01:00

89 lines
1.6 KiB
YAML

# 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'
font: 'Sans Forgetica, 10'
color: '#b5ed68'
width: :deck
align: :right
title:
font: 'Riesling 16'
#font: 'Noto Serif Display Light 10'
y: 48mm
x: 3mm
width: 32mm
color: '#111'
stroke_color: '#b5ed68'
stroke_width: 2
stroke_strategy: :stroke_first
#alpha: 0.9
align: :center
description:
y: '8mm'
width: :deck
align: :center
font: 'Solide Mirage, 12'
color: "#333"
# 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
crop_y: 48mm
#crop_corner_radius: 5mm
align: :center
#valign: :middle
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
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