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:
@@ -2,7 +2,9 @@ import { createGlobalStyle } from "styled-components";
|
||||
import styledNormalize from "styled-normalize";
|
||||
import { breakpoints, depths } from ".";
|
||||
|
||||
type Props = { useCursorPointer?: boolean };
|
||||
type Props = {
|
||||
useCursorPointer?: boolean;
|
||||
};
|
||||
|
||||
export default createGlobalStyle<Props>`
|
||||
${styledNormalize}
|
||||
@@ -108,7 +110,7 @@ export default createGlobalStyle<Props>`
|
||||
}
|
||||
|
||||
.js-focus-visible .focus-visible {
|
||||
outline-color: ${(props) => props.theme.primary};
|
||||
outline-color: ${(props) => props.theme.accent};
|
||||
outline-offset: -1px;
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user