identicon top-level constant
String
const identicon
Raw JSON definition of the DiceBear identicon avatar style.
Implementation
const String identicon = '''{
"\$schema": "https://cdn.hopjs.net/npm/@dicebear/schema@1.2.0/dist/definition.min.json",
"\$comment": "This file was generated by the DiceBear Exporter for Figma. https://www.figma.com/community/plugin/1005765655729342787",
"meta": {
"license": {
"name": "CC0 1.0",
"url": "https://creativecommons.org/publicdomain/zero/1.0/",
"text": "„Identicon” (https://www.dicebear.com) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)"
},
"creator": {
"name": "DiceBear",
"url": "https://www.dicebear.com"
},
"source": {
"name": "Identicon",
"url": "https://www.dicebear.com"
}
},
"canvas": {
"elements": [
{
"name": "row05",
"type": "component",
"attributes": {
"transform": "translate(0 4)"
}
},
{
"name": "row04",
"type": "component",
"attributes": {
"transform": "translate(0 3)"
}
},
{
"name": "row03",
"type": "component",
"attributes": {
"transform": "translate(0 2)"
}
},
{
"name": "row02",
"type": "component",
"attributes": {
"transform": "translate(0 1)"
}
},
{
"name": "row01",
"type": "component"
}
],
"width": 5,
"height": 5
},
"attributes": {
"fill": "none",
"shape-rendering": "crispEdges"
},
"components": {
"row": {
"width": 5,
"height": 1,
"variants": {
"ooxoo": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"x": "2",
"y": "-.01",
"width": "1",
"height": "1.02",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"oxoxo": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M2 1.01H1V-.01h1zm2 0H3V-.01h1z",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"oxxxo": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"x": "1",
"y": "-.01",
"width": "3",
"height": "1.02",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"xooox": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1 1.01H0V-.01h1zm4 0H4V-.01h1z",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"xoxox": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M1 1.01H0V-.01h1zm2 0H2V-.01h1zm2 0H4V-.01h1z",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"xxoxx": {
"elements": [
{
"name": "path",
"type": "element",
"attributes": {
"d": "M2 1.01H0V-.01h2zm3 0H3V-.01h2z",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
},
"xxxxx": {
"elements": [
{
"name": "rect",
"type": "element",
"attributes": {
"y": "-.01",
"width": "5",
"height": "1.02",
"fill": {
"type": "color",
"name": "row"
}
}
}
]
}
}
},
"row01": {
"extends": "row"
},
"row02": {
"extends": "row"
},
"row03": {
"extends": "row"
},
"row04": {
"extends": "row"
},
"row05": {
"extends": "row"
}
},
"colors": {
"row": {
"notEqualTo": [
"background"
],
"values": [
"#e45e4d",
"#de6811",
"#c67c11",
"#b18911",
"#9b9312",
"#7a9f12",
"#40a843",
"#15a876",
"#15a594",
"#15a2a9",
"#159fbf",
"#1499da",
"#448ef4",
"#7681f5",
"#9975ea",
"#b46bd6",
"#ca62bb",
"#d95c9a",
"#e25a75"
]
}
}
}''';