Coloured vCards

Create coloured or gradiented vCard menus in shortcuts without large base64 encodings


Description

Coloured vCards

Menu Example

Create coloured or gradiented vCard menus in shortcuts without large base64 encodings

Coloured vCards provides an easy way to create coloured vCard menus. Creating a vCard menu this way uses less storage on the device by using JavaScript to create the menu icons.

All you need to know to use this snippet is knowledge on how to use dictionaries or JSONs. Everything else can be learned by reading the documentation in the shortcut.

Just put these 6 actions into a shortcut to start making coloured vCards: 6 Actions

With the following dictionary as the first action of the 6, the vCard menu at the top (below the title) will be made.

{
  "items": [
    {
      "name": "One-Coloured Menus",
      "colour": "#4EA8E9"
    },
    {
      "name": "Cool-Looking Gradients",
      "sub": "With subtext",
      "colour": "#ee0979-#ff6a00"
    },
    {
      "name": "Solid Gradients",
      "sub": "With a rotation",
      "colour": "#000046-#1CB5E0",
      "solid": true,
      "deg": "to bottom right"
    },
    {
      "name": "radial Gradients",
      "colour": "#45B649-#DCE35B",
      "radial": true
    }
  ]
}

Support

Do you use icons created with Coloured vCards? If you do, support Coloured vCards by copying one of the following bits of code into your Routinehub documentation.

RH Image Description

Coloured vCards

[![Coloured vCards](https://www.linkpicture.com/q/3F6E8F41-CC0A-4F7D-B2DC-3C235D97D4CD.png)](https://routinehub.co/shortcut/9254/)

Media Kit

Coloured vCards

[![Coloured vCards](https://www.linkpicture.com/q/E52D91EF-0D96-4770-9817-A7C0951A99D3.png)](https://routinehub.co/shortcut/9254/)

ProCuts

This shortcut is part of the ProCuts Collection, a collection of development-based shortcuts created to empower your shortcuts and shortcutting experience.


Latest Release Notes

1.5 - Jan. 17, 2022, 3:42 p.m.

- Linear gradients contact image will no longer show some white on some rotations
- Other bug fixes in the script
- Removed the dictionary builder because of iOS 15 issues


Version history