border-gradient-simple.yaml (311B)
1 --- 2 root: 3 items: 4 - type: stacking-context 5 bounds: [0, 0, 50, 50] 6 items: 7 - type: border 8 bounds: [ 0, 0, 50, 50 ] 9 width: [ 10, 10, 10, 10 ] 10 border-type: gradient 11 start: [ 25, 0 ] 12 end: [ 25, 50 ] 13 stops: [ 0.0, red, 1.0, green ]