prim-suite.yaml (1312B)
1 --- 2 root: 3 items: 4 - type: stacking-context 5 bounds: [50, 50, 100, 100] 6 transform: rotate(30) 7 items: 8 - type: rect 9 bounds: [ 10, 10, 80, 80 ] 10 color: [0, 255, 0] 11 - type: box-shadow 12 bounds: [ 10, 10, 80, 80 ] 13 blur-radius: 25 14 clip-mode: inset 15 16 - type: rect 17 bounds: [ 140, 10, 80, 80 ] 18 color: [0, 255, 0] 19 - type: box-shadow 20 bounds: [ 140, 10, 80, 80 ] 21 blur-radius: 25 22 clip-mode: outset 23 24 - type: border 25 bounds: [ 250, 10, 100, 100 ] 26 width: [ 10, 10, 10, 10 ] 27 border-type: normal 28 style: solid 29 color: [ red, green, blue, black ] 30 radius: { 31 top-left: [20, 20], 32 top-right: [10, 10], 33 bottom-left: [25, 25], 34 bottom-right: [0, 0], 35 } 36 37 - bounds: [150, 150, 128, 128] 38 image: checkerboard(4, 15, 8) 39 stretch-size: 128 128 40 41 - type: radial-gradient 42 bounds: 300 150 100 100 43 center: 50 50 44 radius: 50 50 45 stops: [0, red, 1, blue]