mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
e46db6f1f0
new regression label new regression cards
82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"templates": {
|
|
"text_14_20_regular": {
|
|
"type": "text",
|
|
"paddings": {
|
|
"bottom": 10
|
|
},
|
|
"font_size": 14,
|
|
"line_height": 20,
|
|
"$text": "text_14_20_regular__text",
|
|
"$text_color": "text_14_20_regular__text_color"
|
|
},
|
|
"text_16_22_bold": {
|
|
"type": "text",
|
|
"font_size": 16,
|
|
"paddings": {
|
|
"bottom": 10
|
|
},
|
|
"font_weight": "bold",
|
|
"line_height": 22,
|
|
"$text": "text_16_22_bold__text",
|
|
"$text_color": "text_16_22_bold__text_color"
|
|
}
|
|
},
|
|
"card": {
|
|
"log_id": "onboarding_carousel",
|
|
"states": [
|
|
{
|
|
"state_id": 0,
|
|
"div": {
|
|
"type": "container",
|
|
"height": {
|
|
"type": "wrap_content"
|
|
},
|
|
"width": {
|
|
"type": "match_parent"
|
|
},
|
|
"paddings": {
|
|
"top": 16,
|
|
"left": 16,
|
|
"right": 16,
|
|
"bottom": 16
|
|
},
|
|
"background": [{
|
|
"type": "solid",
|
|
"color": "#0e000000"
|
|
}],
|
|
"items": [
|
|
{
|
|
"type": "text_16_22_bold",
|
|
"text_16_22_bold__text": "Title.",
|
|
"text_16_22_bold__text_color": "#000000",
|
|
"auto_ellipsize": 1,
|
|
"font_size": 18,
|
|
"line_height": 24,
|
|
"margins": {
|
|
"top": 8,
|
|
"bottom": 0
|
|
},
|
|
"action_animation": {
|
|
"name": "fade",
|
|
"start_value": 1,
|
|
"end_value": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "text_14_20_regular",
|
|
"text_14_20_regular__text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
"text_14_20_regular__text_color": "#333333",
|
|
"auto_ellipsize": 1,
|
|
"max_lines": 2,
|
|
"margins": {
|
|
"bottom": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|