mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 16:28:31 +00:00
8 lines
283 B
JavaScript
8 lines
283 B
JavaScript
export const themeToColorVariables = (theme) => {
|
|
return [
|
|
{ name: 'Primary', value: 'primary', color: theme.primary_color },
|
|
{ name: 'Secondary', value: 'secondary', color: theme.secondary_color },
|
|
{ name: 'Border', value: 'border', color: theme.border_color },
|
|
]
|
|
}
|