theme: SoftUI({
  meta: {
    author: String,
    owner: String,
    description: String,
    ogLocale: String,
    ogTitle: String,
    ogImage: String,
    ogType: String,
    ogUrl: String,
    ogSiteName: String,
    ogDescription: String,
    twitterTitle: String,
    twitterDescription: String,
    twitterDomain: String,
    twitterUrl: String,
    twitterCard: String,
    twitterSite: String,
    twitterSiteId: String,
    twitterCreator: String,
    twitterCreatorId: String,
    twitterImage: String,
  },
});

Example Usage

theme: SoftUI({
  meta: {
    author: "PlainDevelopment",
    owner: "iMidnights",
    description:
      "SOFT-UI. An awesome theme for discord-dashboard created by Plain and iMidnight!",
    ogLocale: "en_US",
    ogTitle: "Soft-UI",
    ogImage: "/img/soft-ui.webp",
    ogType: "Theme",
    ogUrl: "https://google.com",
    ogSiteName: "Soft-UI Theme",
    ogDescription:
      "SOFT-UI. An awesome theme for discord-dashboard created by Plain and iMidnight!",
    twitterTitle: "Soft-UI Theme",
    twitterDescription:
      "SOFT-UI. An awesome theme for discord-dashboard created by Plain and iMidnight!",
    twitterDomain: "https://twitter.com/plainstuff",
    twitterUrl: "https://twitter.com/plainstuff",
    twitterCard: "summary_large_image",
    twitterSite: "https://twitter.com/iMidnight4",
    twitterSiteId: "https://twitter.com/plainstuff",
    twitterCreator: "69",
    twitterCreatorId: "420",
    twitterImage: "/img/soft-ui.webp",
  },
});

Props

author
string

The name of the author

owner
string

The name of the owner

description
string

The description of the theme

ogLocale
string

The locale of the og image

ogTitle
string

The title of the og image

ogImage
string

The image of the og image

ogType
string

The type of the og image

ogUrl
string

The url of the og image

ogSiteName
string

The site name of the og image

ogDescription
string

The description of the og image

twitterTitle
string

The title of the twitter image

twitterDescription
string

The description of the twitter image

twitterDomain
string

The domain of the twitter image

twitterUrl
string

The url of the twitter image

twitterCard
string

The card of the twitter image

twitterSite
string

The site of the twitter image

twitterSiteId
string

The site id of the twitter image

twitterCreator
string

The creator of the twitter image

twitterCreatorId
string

The creator id of the twitter image

twitterImage
string

The image of the twitter image