Commit 9baac9eb authored by Robert Knight's avatar Robert Knight

Avoid duplication of ThemeProperty type

parent 4240ce6b
/**
* @typedef {import('../../types/config').ThemeProperty} ThemeProperty
*/
/** @type {Record<ThemeProperty, string>} */
const supportedThemeProperties = {
accentColor: 'color',
appBackgroundColor: 'backgroundColor',
......@@ -7,12 +12,6 @@ const supportedThemeProperties = {
annotationFontFamily: 'fontFamily',
};
/**
* Name of a theme element which can be configured.
*
* @typedef {keyof supportedThemeProperties} ThemeProperty
*/
/**
* Subset of the config from the host page which includes theme configuration.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment