Jam Icons

Jam Icons (jam_icons)

These options control the registration of the Jam Icons library.

Jam Icons uses the MIT License.

JSON Schema

Definition
{
  "$id": "https://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Settings for the Jam Icons library.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/",
  "properties": {
    "aliases": {
      "default": [
        "jam"
      ],
      "description": "Define any number of aliases for the icon library.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#aliases",
      "items": {
        "type": "string"
      },
      "title": "Library Aliases",
      "type": "array"
    },
    "default_variant": {
      "default": "regular",
      "description": "Choose the default icon variant to use for the library.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#default_variant",
      "enum": [
        "regular",
        "filled"
      ],
      "title": "Library Default Variant",
      "type": "string"
    },
    "enabled": {
      "default": true,
      "description": "Choose whether to enable the icon library\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#enabled",
      "title": "Enable Library",
      "type": "boolean"
    },
    "registration": {
      "description": "Settings for how the library is registered.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#registration",
      "properties": {
        "script": {
          "default": "jam_icons.js",
          "description": "Specify the name of the registration script.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#script",
          "title": "Registration Script",
          "type": "string"
        }
      },
      "title": "Registration Options",
      "type": "object"
    },
    "variants": {
      "description": "Maps a friendly variant name to the icon's prefix.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#variants",
      "properties": {
        "filled": {
          "default": "-f",
          "description": "Maps the variant name `filled` for Ionicons.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#filled",
          "title": "Filled Variant",
          "type": "string"
        },
        "regular": {
          "default": "",
          "description": "Maps the variant name `regular` for Ionicons.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#regular",
          "title": "Regular Variant",
          "type": "string"
        }
      },
      "title": "Library Variants Map",
      "type": "object"
    },
    "version": {
      "default": "2.0.0",
      "description": "Choose the version of the library to load.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#version",
      "title": "Library Version",
      "type": "string"
    }
  },
  "title": "Jam Icons",
  "type": "object"
}

Enable Library (enabled)

Use this setting to choose whether the icon library is available.

Library Aliases (aliases)

Use this setting to specify alternate short names for the library. You can use these names instead of the full library name when specifying the library in your markup or other settings.

<h3 id="aliases.default">Default Value</h3>

[
  &#34;jam&#34;
]

Library Version (version)

Choose the version of the library to load from the CDN. Platen regularly updates this version after testing. You can always use a specific released version of the library if you prefer.

Library Default Variant (default_variant)

Use this option to set the default variant for icons from this library.

Library Variants Map (variants)

Use this option to create a map of friendly names for icon variants to generate their final icon name to retrieve from the library.

JSON Schema

Definition
{
  "description": "Maps a friendly variant name to the icon's prefix.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/",
  "properties": {
    "filled": {
      "default": "-f",
      "description": "Maps the variant name `filled` for Ionicons.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#filled",
      "title": "Filled Variant",
      "type": "string"
    },
    "regular": {
      "default": "",
      "description": "Maps the variant name `regular` for Ionicons.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#regular",
      "title": "Regular Variant",
      "type": "string"
    }
  },
  "title": "Library Variants Map",
  "type": "object"
}

Regular Variant (regular)

Maps the variant name regular for Ionicons.

Filled Variant (filled)

Maps the variant name filled for Ionicons.

Registration Options (registration)

Settings for how the library is registered.

JSON Schema

Definition
{
  "description": "Settings for how the library is registered.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/",
  "properties": {
    "script": {
      "default": "jam_icons.js",
      "description": "Specify the name of the registration script.\n\nhttps://platen.io/schemas/platen/site/features/shoelace/icon_libraries/jam_icons/#script",
      "title": "Registration Script",
      "type": "string"
    }
  },
  "title": "Registration Options",
  "type": "object"
}

Registration Script (script)

Specify the name of the registration script.

Edit this page