mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
201be941c9
commit_hash:fd6e36a8ea96d96b9a00bac60a72f213c5f2dc0e
63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
{
|
|
"description": "Container with radial gradient centered behind the left border",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
],
|
|
"card": {
|
|
"log_id": "snapshot_test_card",
|
|
"states": [
|
|
{
|
|
"state_id": 0,
|
|
"div": {
|
|
"type": "container",
|
|
"height": {
|
|
"type": "fixed",
|
|
"value": 100
|
|
},
|
|
"border": {
|
|
"stroke": {
|
|
"width": 1,
|
|
"color": "#000"
|
|
}
|
|
},
|
|
"background": [
|
|
{
|
|
"type": "radial_gradient",
|
|
"radius": {
|
|
"type": "fixed",
|
|
"value": 200
|
|
},
|
|
"center_x": {
|
|
"type": "fixed",
|
|
"value": -50
|
|
},
|
|
"center_y": {
|
|
"type": "relative",
|
|
"value": 0.5
|
|
},
|
|
"colors": [
|
|
"#FF5C00",
|
|
"#EA507C",
|
|
"#B941EF",
|
|
"#5B61FF",
|
|
"#21BEE7"
|
|
]
|
|
}
|
|
],
|
|
"items": [
|
|
{
|
|
"type": "separator",
|
|
"delimiter_style": {
|
|
"color": "#00000000"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|