thumbs top-level constant

String const thumbs

Raw JSON definition of the DiceBear thumbs avatar style.

Implementation

const String thumbs = '''{
  "\$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": "„Thumbs” (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": "Thumbs",
      "url": "https://www.dicebear.com"
    }
  },
  "canvas": {
    "elements": [
      {
        "name": "body",
        "type": "component",
        "attributes": {
          "transform": "translate(5 10)"
        }
      }
    ],
    "width": 100,
    "height": 100
  },
  "attributes": {
    "fill": "none",
    "shape-rendering": "auto"
  },
  "components": {
    "body": {
      "width": 90,
      "height": 130,
      "rotate": {
        "min": -20,
        "max": 20
      },
      "translate": {
        "x": {
          "min": -5,
          "max": 5
        },
        "y": {
          "min": -5,
          "max": 5
        }
      },
      "variants": {
        "default": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M45 0c24.85 0 45 19.4 45 43.33V130H0V43.33C0 19.4 20.15 0 45 0",
                "fill": {
                  "type": "color",
                  "name": "shape"
                }
              }
            },
            {
              "name": "head",
              "type": "component",
              "attributes": {
                "transform": "translate(24 24)"
              }
            }
          ]
        }
      }
    },
    "eyes": {
      "width": 16,
      "height": 16,
      "translate": {
        "x": {
          "min": -20,
          "max": 20
        },
        "y": {
          "min": -10,
          "max": 10
        }
      },
      "variants": {
        "variant01": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M.25 8.12C1.66 11.86 12 16 12 16s5.17-9.58 3.76-13.32c0 0-1.41-3.74-5.3-2.38-3.87 1.36-2.7 4.48-2.7 4.48S6.6 1.66 2.73 3.02.25 8.12.25 8.12",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant02": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M9.5 10c-3.88 0-7.11-4.23-6.4-4.85s2.63 1.3 6.4 1.3 5.69-2 6.4-1.3S13.38 10 9.5 10",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant03": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M11.86 7.5c0-1.42-4.14-2.85-4.82-4.98C6.34.4 16 5.37 16 7.5s-9.65 7.11-8.96 4.98 4.82-3.56 4.82-4.98",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant04": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M8 8.36S8 4 12 4s4 4.36 4 4.36v2.91s0 .73-.67.73c-.66 0-.66-2.9-3.33-2.9S9.33 12 8.67 12 8 11.27 8 11.27z",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant05": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M16 8c0 2.2-1.34 4-3 4s-3-1.8-3-4 1.34-4 3-4 3 1.8 3 4",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant06": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M16 8c0 3.31-1.34 6-3 6s-3-2.69-3-6 1.34-6 3-6 3 2.69 3 6",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant07": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M11.5 6C8.29 6 7 7.36 7 8.04c0 3.4 1.29 1.35 4.5 1.35S16 11.43 16 8.04C16 7.36 14.71 6 11.5 6",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        },
        "variant08": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M16 8c0 1.66-1.12 3-2.5 3S11 9.66 11 8s1.12-3 2.5-3S16 6.34 16 8",
                "fill": {
                  "type": "color",
                  "name": "eyes"
                }
              }
            }
          ]
        }
      }
    },
    "head": {
      "width": 44,
      "height": 40,
      "rotate": {
        "min": -20,
        "max": 20
      },
      "translate": {
        "x": {
          "min": -15,
          "max": 15
        },
        "y": {
          "min": -15,
          "max": 15
        }
      },
      "variants": {
        "default": {
          "elements": [
            {
              "name": "eyes",
              "type": "component"
            },
            {
              "name": "eyes",
              "type": "component",
              "attributes": {
                "transform": "matrix(-1 0 0 1 44 0)"
              }
            },
            {
              "name": "mouth",
              "type": "component",
              "attributes": {
                "transform": "translate(7 26)"
              }
            }
          ]
        }
      }
    },
    "mouth": {
      "width": 30,
      "height": 14,
      "translate": {
        "y": {
          "min": -10,
          "max": 10
        }
      },
      "variants": {
        "variant01": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M15 11C4.52 11 2.42 2.82 3.12 2.14S8.02 3.5 15 3.5s11.18-2.04 11.88-1.36S25.48 11 15 11",
                "fill": {
                  "type": "color",
                  "name": "mouth"
                }
              }
            }
          ]
        },
        "variant02": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M15 14C1.9 14-.72 1.29.15.23S6.27 2.11 15 2.11 28.97-.83 29.85.23 28.1 14 15 14",
                "fill": {
                  "type": "color",
                  "name": "mouth"
                }
              }
            }
          ]
        },
        "variant03": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M15.5 10c-5.07 0-9.3-5.23-8.37-5.88s3.45 2.15 8.37 2.15 7.44-2.88 8.37-2.15S20.57 10 15.5 10",
                "fill": {
                  "type": "color",
                  "name": "mouth"
                }
              }
            }
          ]
        },
        "variant04": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M15 10C6.79 10 3.02 3.88 4.22 3.12 5.42 2.35 6.1 6.6 15 6.49c8.9-.12 9.58-4.23 10.78-3.37S23.21 10 15 10",
                "fill": {
                  "type": "color",
                  "name": "mouth"
                }
              }
            }
          ]
        },
        "variant05": {
          "elements": [
            {
              "name": "path",
              "type": "element",
              "attributes": {
                "d": "M15.2 3.84c0-.67-4.2-2-4.2-2.67s7 .67 7 2.67-4.2 2.66-4.2 2.66 4.2.67 4.2 2.66-7 3.33-7 2.67 4.2-2 4.2-2.67-3.5-1.33-3.5-2.66 3.5-2 3.5-2.66",
                "fill": {
                  "type": "color",
                  "name": "mouth"
                }
              }
            }
          ]
        }
      }
    }
  },
  "colors": {
    "background": {
      "values": [
        "#0a5b83",
        "#1c799f",
        "#69d2e7",
        "#f1f4dc",
        "#f88c49"
      ]
    },
    "eyes": {
      "notEqualTo": [
        "shape"
      ],
      "contrastTo": "shape",
      "values": [
        "#000000",
        "#ffffff"
      ]
    },
    "mouth": {
      "notEqualTo": [
        "shape"
      ],
      "contrastTo": "shape",
      "values": [
        "#000000",
        "#ffffff"
      ]
    },
    "shape": {
      "notEqualTo": [
        "background"
      ],
      "values": [
        "#0a5b83",
        "#1c799f",
        "#69d2e7",
        "#f1f4dc",
        "#f88c49"
      ]
    }
  }
}''';