We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we change the background color of code blocks (backticked text) to make it more visibly distinct? The website has this, but the CRM doesn't.
code blocks
Currently the font and kerning change, but it's easy to miss. The following screenshot contains a code block. This affects both light and dark mode.
Secondary background color, consistent with the website.
The text was updated successfully, but these errors were encountered:
To add a secondary background color to inline code blocks:
Update BackgroundDark.ts:
export const BACKGROUND_DARK = { // existing colors codeBlock: '#yourSecondaryColor', // Add this line };
Update SecondaryColors.ts:
export const SECONDARY_COLORS = { // existing colors codeBlock: '#yourSecondaryColor', // Add this line };
Update MainButton.tsx:
const StyledButton = styled.button<Pick<Props, 'fullWidth' | 'width' | 'variant'>>` // existing styles code { background: ${({ theme }) => theme.background.codeBlock}; } `;
/packages/twenty-front/src/modules/ui/theme/constants/BackgroundDark.ts /packages/twenty-front/src/modules/ui/theme/constants/SecondaryColors.ts /packages/twenty-front/src/modules/ui/input/button/components/MainButton.tsx /packages/twenty-front/src/modules/ui/theme/constants/HoverBackground.ts
Ask Greptile · Edit Issue Bot Settings
Sorry, something went wrong.
No branches or pull requests
Add a secondary background color to inline code blocks
Can we change the background color of
code blocks
(backticked text) to make it more visibly distinct? The website has this, but the CRM doesn't.Current behavior
Currently the font and kerning change, but it's easy to miss. The following screenshot contains a code block. This affects both light and dark mode.
Expected behavior
Secondary background color, consistent with the website.
The text was updated successfully, but these errors were encountered: