{
  "{{displayname}}": {
    "Primary": {
      "Theme": {
        "value": "--{{name}}-theme",
        "type": "color",
        "description": "Intended use: Background color\n\nThe brand color. Used for e.g. the background color of a primary button. Use theme-foreground as foreground color."
      },
      "Theme-secondary": {
        "value": "--{{name}}-theme-secondary",
        "type": "color",
        "description": "Intended use: Background color\n\nA lighter version of the brand color. E.g. used for background layer in Peto based artwork."
      }
    },
    "Additional foregrounds": {
      "Foreground-theme": {
        "value": "--{{name}}-foreground-theme",
        "type": "color",
        "description": "Intended use: Foreground color\n\nA foreground color for text to be branded with the brand color. If theme has sufficient contrast ratio to background, foreground-theme is the same as theme. Otherwise it is slighty darker or lighter to comply with accessibility guidelines."
      },
      "Foreground-branding": {
        "value": "--{{name}}-foreground-branding",
        "type": "color",
        "description": "Inteded use: Foreground color\n\nBranding color for the site-logo, the university logo and seal. The same as foreground in dark themes and the same as foreground-theme in normal themes."
      },
      "Theme, Foreground": {
        "value": "--{{name}}-theme-foreground",
        "type": "color",
        "description": "Inteded use: Foreground color\n\nColor for text on elements with theme as background color. Will be light or dark for best contrast ratio."
      },
      "Theme-secondary, Foreground": {
        "value": "--{{name}}-theme-secondary-foreground",
        "type": "color",
        "description": "Inteded use: Foreground color\n\nColor for text on elements with theme-secondary as background color."
      },
      "Theme-secondary, Foreground-secondary": {
        "value": "--{{name}}-theme-secondary-foreground-secondary",
        "type": "color",
        "description": "Inteded use: Foreground color\n\nColor for secondary text on elements with theme-secondary as background color."
      }
    },
    "Supplemental": {
      "Border-theme": {
        "value": "--{{name}}-border-theme",
        "type": "color",
        "description": "Inteded use: Border color\n\nA branded border color. Used for e.g. active elements in navigation."
      },
      "Border-text-link": {
        "value": "--{{name}}-border-text-link",
        "type": "color",
        "description": "Inteded use: Underling of links\n\nColor for underlining links in text. An adjusted version of theme for securing sufficient contrast to background."
      },
      "Overlay": {
        "value": "--{{name}}-overlay",
        "type": "color",
        "description": "Inteded use: Blur behind modal views\n\nBranded semi-transparent color used for overlays behind modal views. Has no defined foreground color, as color is not intended for use as text background."
      }
    },
    "Hovers": {
      "Theme, hover": {
        "value": "--{{name}}-theme-hover",
        "type": "color",
        "description": "Inteded use: Hover of background color\n\nHover color for elements with theme as background color."
      },
      "Theme-secondary, hover": {
        "value": "--{{name}}-theme-secondary-hover",
        "type": "color",
        "description": "Inteded use: Hover of background color\n\nHover color for elements with theme-secondary as background color."
      },
      "Foreground-branding, hover": {
        "value": "--{{name}}-foreground-branding-hover",
        "type": "color",
        "description": "Inteded use: Hover of foreground color\n\nHover color for interactive elements with foreground-branding as text color, e.g. the site logo."
      },
      "Foreground-theme, hover": {
        "value": "--{{name}}-foreground-theme-hover",
        "type": "color",
        "description": "Inteded use: Hover of foreground color\n\nHover color for elements with foreground-theme as text color."
      }
    },
    "Fades": {
      "Theme": {
        "Top": {
          "value": "linear-gradient(0deg, rgba($Primary.Theme, 0) 0%, $Primary.Theme 100%)",
          "type": "color",
          "description": "Fades from transparent at the bottom into a fully opaque theme color at the top."
        },
        "Right": {
          "value": "linear-gradient(90deg, rgba($Primary.Theme, 0) 0%, $Primary.Theme 100%)",
          "type": "color",
          "description": "Fades from transparent on the left to a fully opaque theme color on the right."
        },
        "Bottom": {
          "value": "linear-gradient(180deg, rgba($Primary.Theme, 0) 0%, $Primary.Theme 100%)",
          "type": "color",
          "description": "Fades from transparent at the top into a fully opaque theme color at the bottom."
        },
        "Left": {
          "value": "linear-gradient(270deg, rgba($Primary.Theme, 0) 0%, $Primary.Theme 100%)",
          "type": "color",
          "description": "Fades from transparent on the right into a fully opaque theme color on the left."
        }
      },
      "Theme-secondary": {
        "Top": {
          "value": "linear-gradient(0deg, rgba($Primary.Theme-secondary, 0) 0%, $Primary.Theme-secondary 100%)",
          "type": "color",
          "description": "Fades from transparent at the bottom into a fully opaque secondary theme color at the top."
        },
        "Right": {
          "value": "linear-gradient(90deg, rgba($Primary.Theme-secondary, 0) 0%, $Primary.Theme-secondary 100%)",
          "type": "color",
          "description": "Fades from transparent on the left to a fully opaque secondary theme color on the right."
        },
        "Bottom": {
          "value": "linear-gradient(180deg, rgba($Primary.Theme-secondary, 0) 0%, $Primary.Theme-secondary 100%)",
          "type": "color",
          "description": "Fades from transparent at the top into a fully opaque secondary theme color at the bottom."
        },
        "Left": {
          "value": "linear-gradient(270deg, rgba($Primary.Theme-secondary, 0) 0%, $Primary.Theme-secondary 100%)",
          "type": "color",
          "description": "Fades from transparent on the right into a fully opaque secondary theme color on the left."
        }
      },
      "Foregrounds": {
        "Foreground-branding": {
          "value": "linear-gradient(180deg, rgba({Additional foregrounds.Foreground-branding}, 0) 0%, {Additional foregrounds.Foreground-branding} 100%)",
          "type": "color",
          "description": "Fades from transparent at the top into a fully opaque foreground branding color at the bottom."
        },
        "Theme, Foreground": {
          "value": "linear-gradient(180deg, rgba({Additional foregrounds.Theme, Foreground}, 0) 0%, {Additional foregrounds.Theme, Foreground} 100%)",
          "type": "color",
          "description": "Fades from transparent at the top into a fully opaque foreground color for theme at the bottom."
        }
      }
    },
    "Dark": {
      "Primary": {
        "Background": {
          "value": "--{{name}}-dark-background",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Background color\n\nThe background of the themed element. On the body-element this will be the page's background color. Use foreground as foreground color."
        },
        "Background-secondary": {
          "value": "--{{name}}-dark-background-secondary",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Background color\n\nA secondary background color that differs slightly frombackground. Used for e.g. framing elements in a box. Use foreground as foreground color. background is also used as background color for visually disabled, interactive element."
        },
        "Foreground-secondary": {
          "value": "--{{name}}-dark-foreground-secondary",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Foreground color\n\nA foreground color for secondary text. Has slightly lower contrast to background than foreground."
        },
        "Border": {
          "value": "--{{name}}-dark-border",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Border color\n\nThe default border color."
        },
        "Background-input": {
          "value": "--{{name}}-dark-background-input",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Background color\n\nBackground color for input elements that take keyboard input, like text-fields and textareas. In normal themes this is the same as background, in dark themes it is slighty ligther. Use foreground as foreground color, when the field is enabled, foreground-disabled when the field is visually disabled."
        },
        "Interactive": {
          "value": "--{{name}}-dark-interactive",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Background color\n\nBackground color for interactive elements, that are controlled by clickevents, like select, radiobuttons and checkboxes. It is also used as background color for secondary buttons. Use foreground as foreground color, when the element is enabled, foreground-disabled when the element is visually disabled."
        },
        "Theme-secondary": {
          "value": "--{{name}}-dark-theme-secondary",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Background color\n\nA lighter version of the brand color. E.g. used for background layer in Peto based artwork."
        }
      },
      "Additional foregrounds": {
        "Foreground-theme": {
          "value": "--{{name}}-dark-foreground-theme",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Foreground color\n\nA foreground color for text to be branded with the brand color. If theme has sufficient contrast ratio to background, foreground-theme is the same as theme. Otherwise it is slighty darker or lighter to comply with accessibility guidelines."
        },
        "Foreground-disabled": {
          "value": "--{{name}}-dark-foreground-disabled",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Foreground color\n\nA text color for visually disabled elements like input and buttons."
        },
        "Theme-secondary, Foreground": {
          "value": "--{{name}}-dark-theme-secondary-foreground",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Foreground color\n\nColor for text on elements with theme-secondary as background color."
        },
        "Theme-secondary, Foreground-secondary": {
          "value": "--{{name}}-dark-theme-secondary-foreground-secondary",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Foreground color\n\nColor for secondary text on elements with theme-secondary as background color."
        }
      },
      "Supplemental": {
        "Border-theme": {
          "value": "--{{name}}-dark-border-theme",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Border color\n\nA branded border color. Used for e.g. active elements in navigation."
        },
        "Border-text-link": {
          "value": "--{{name}}-dark-border-text-link",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Underling of links\n\nColor for underlining links in text. An adjusted version of theme for securing sufficient contrast to background."
        },
        "Overlay": {
          "value": "--{{name}}-dark-overlay",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Blur behind modal views\n\nBranded semi-transparent color used for overlays behind modal views. Has no defined foreground color, as color is not intended for use as text background."
        }
      },
      "Hovers": {
        "Theme, hover": {
          "value": "--{{name}}-dark-theme-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of background color\n\nHover color for elements with theme as background color."
        },
        "Theme-secondary, hover": {
          "value": "--{{name}}-dark-theme-secondary-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of background color\n\nHover color for elements with theme-secondary as background color."
        },
        "Foreground-branding, hover": {
          "value": "--{{name}}-dark-foreground-branding-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of foreground color\n\nHover color for interactive elements with foreground-branding as text color, e.g. the site logo."
        },
        "Background, hover": {
          "value": "--{{name}}-dark-background-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of background color\n\nHover color for elements with background as background color."
        },
        "Background-secondary, hover": {
          "value": "--{{name}}-dark-background-secondary-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of background color\n\nHover color for elements with background-secondary as background color."
        },
        "Interactive, hover": {
          "value": "--{{name}}-dark-interactive-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of background color\n\nHover color for elements with interactive as background color."
        },
        "Foreground, hover": {
          "value": "--{{name}}-dark-foreground-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of foreground color\n\nHover color for elements with foreground as text color."
        },
        "Foreground-theme, hover": {
          "value": "--{{name}}-dark-foreground-theme-hover",
          "type": "color",
          "description": "Dark theme variant\n\nInteded use: Hover of foreground color\n\nHover color for elements with foreground-theme as text color."
        }
      },
      "Fades": {
        "Background": {
          "Top": {
            "value": "linear-gradient(0deg, rgba($Dark.Primary.Background, 0) 0%, $Dark.Primary.Background 100%)",
            "type": "color",
            "description": "Fades from transparent at the bottom into a fully opaque background color at the top."
          },
          "Right": {
            "value": "linear-gradient(90deg, rgba($Dark.Primary.Background, 0) 0%, $Dark.Primary.Background 100%)",
            "type": "color",
            "description": "Fades from transparent on the left to a fully opaque background color on the right."
          },
          "Bottom": {
            "value": "linear-gradient(180deg, rgba($Dark.Primary.Background, 0) 0%, $Dark.Primary.Background 100%)",
            "type": "color",
            "description": "Fades from transparent at the top into a fully opaque background color at the bottom."
          },
          "Left": {
            "value": "linear-gradient(270deg, rgba($Dark.Primary.Background, 0) 0%, $Dark.Primary.Background 100%)",
            "type": "color",
            "description": "Fades from transparent on the right into a fully opaque background color on the left."
          }
        },
        "Background-secondary": {
          "Top": {
            "value": "linear-gradient(0deg, rgba($Dark.Primary.Background-secondary, 0) 0%, $Dark.Primary.Background-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent at the bottom into a fully opaque secondary background color at the top."
          },
          "Right": {
            "value": "linear-gradient(90deg, rgba($Dark.Primary.Background-secondary, 0) 0%, $Dark.Primary.Background-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent on the left to a fully opaque secondary background color on the right."
          },
          "Bottom": {
            "value": "linear-gradient(180deg, rgba($Dark.Primary.Background-secondary, 0) 0%, $Dark.Primary.Background-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent at the top into a fully opaque secondary background color at the bottom."
          },
          "Left": {
            "value": "linear-gradient(270deg, rgba($Dark.Primary.Background-secondary, 0) 0%, $Dark.Primary.Background-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent on the right into a fully opaque secondary background color on the left."
          }
        },
        "Theme-secondary": {
          "Top": {
            "value": "linear-gradient(0deg, rgba($Dark.Primary.Theme-secondary, 0) 0%, $Dark.Primary.Theme-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent at the bottom into a fully opaque secondary theme color at the top."
          },
          "Right": {
            "value": "linear-gradient(90deg, rgba($Dark.Primary.Theme-secondary, 0) 0%, $Dark.Primary.Theme-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent on the left to a fully opaque secondary theme color on the right."
          },
          "Bottom": {
            "value": "linear-gradient(180deg, rgba($Dark.Primary.Theme-secondary, 0) 0%, $Dark.Primary.Theme-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent at the top into a fully opaque secondary theme color at the bottom."
          },
          "Left": {
            "value": "linear-gradient(270deg, rgba($Dark.Primary.Theme-secondary, 0) 0%, $Dark.Primary.Theme-secondary 100%)",
            "type": "color",
            "description": "Fades from transparent on the right into a fully opaque secondary theme color on the left."
          }
        }
      }
    }
  }
}
