theme: SoftUI({
  premium: {
    enabled: Boolean,
    card: {
      title: String,
      description: String,
      bgImage: String,
      button: {
        text: String,
        url: String,
      },
    },
  },
});

Example Usage

theme: SoftUI({
  premium: {
    enabled: true,
    card: {
      title: "Want more from Assistants?",
      description: "Check out premium features below!",
      bgImage:
        "https://assistantscenter.com/wp-content/uploads/2021/11/cropped-cropped-logov6.png",
      button: {
        text: "Become Premium",
        url: "https://patreon.com/sharkybot",
      },
    },
  },
});

Props

enabled
boolean
required

Indicate if the premium card should be enabled

card
Object
title
string
required

The title of the premium card

description
string
required

The description of the premium card

bgImage
string
required

The background image of the premium card

button
Object
required
text
string
required

The text of the button

url
string
required

The link of the button