deriveTheme
deriveTheme(
baseTheme,newName,options):Theme
Defined in: src/theme.ts:147
Build a new named theme from baseTheme, optionally shifting every color’s lightness.
Parameters
Section titled “Parameters”baseTheme
Section titled “baseTheme”newName
Section titled “newName”string
options
Section titled “options”adjustLightness?
Section titled “adjustLightness?”number