feat: Custom accent color (#4897)
* types * Working, but messy * Add InputColor component * types * Show default theme values when not customized * Support custom theme on team sign-in page * Payload validation * Custom theme on shared documents * Improve theme validation * Team -> Workspace in settings
This commit is contained in:
@@ -63,7 +63,7 @@ function SharesTable({ canManage, ...rest }: Props) {
|
||||
Cell: observer(({ value }: { value: string }) =>
|
||||
value ? (
|
||||
<Flex align="center">
|
||||
<CheckmarkIcon color={theme.primary} />
|
||||
<CheckmarkIcon color={theme.accent} />
|
||||
</Flex>
|
||||
) : null
|
||||
),
|
||||
@@ -89,7 +89,7 @@ function SharesTable({ canManage, ...rest }: Props) {
|
||||
}
|
||||
: undefined,
|
||||
].filter((i) => i),
|
||||
[t, theme.primary, canManage]
|
||||
[t, theme.accent, canManage]
|
||||
);
|
||||
|
||||
return <TableFromParams columns={columns} {...rest} />;
|
||||
|
||||
Reference in New Issue
Block a user