Files
baserow/web-frontend/modules/builder/utils/theme.js
T

7 lines
215 B
JavaScript

export const themeToColorVariables = (theme) => {
return [
{ name: 'Primary', value: 'primary', color: theme.primary_color },
{ name: 'Secondary', value: 'secondary', color: theme.secondary_color },
]
}