The Raspberry Mint extension

The raspberry-mint extension provides Betty’s default theme.

Important

This extension requires Node.js.

Enable this extension in your project’s configuration file as follows:

extensions:
  raspberry-mint: {}
{
  "extensions": {
    "raspberry-mint": {}
  }
}

Configuration

This extension is configurable:

extensions:
  raspberry-mint:
    configuration:
      primary_color: '#b3446c'
      secondary_color: '#3eb489'
      tertiary_color: '#ffbd22'
      featured_entities:
        - entity_type: person
          entity: P123
        - entity_type: place
          entity: Amsterdam
{
  "extensions": {
    "raspberry-mint": {
      "configuration" : {
        "primary_color": "#b3446c",
        "secondary_color": "#3eb489",
        "tertiary_color": "#ffbd22",
        "featured_entities": [
          {
            "entity_type": "person",
            "entity": "P123"
          },
          {
            "entity_type": "place",
            "entity": "Amsterdam"
          }
        ],
      }
    }
  }
}

primary_color

optional

The case-insensitive hexadecimal code for the primary color. Defaults to #b3446c.

secondary_color

optional

The case-insensitive hexadecimal code for the secondary color. Defaults to #3eb489.

tertiary_color

optional

The case-insensitive hexadecimal code for the tertiary color. Defaults to #ffbd22.

Templating

Filters

  • associated_file_references

  • person_descendant_families

  • person_timeline_events