The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Adds secondary color and styling to code blocks using theme varibales ( #6029 ) (#6931)
Faisal-imtiyaz123d1b4f85e8c9e
diff --git a/packages/twenty-front/src/modules/ui/input/editor/components/BlockEditor.tsx b/packages/twenty-front/src/modules/ui/input/editor/components/BlockEditor.tsxindex 1c1968ea1ea..f2a940de52b 100644--- a/packages/twenty-front/src/modules/ui/input/editor/components/BlockEditor.tsx+++ b/packages/twenty-front/src/modules/ui/input/editor/components/BlockEditor.tsx@@ -96,12 +96,12 @@ const StyledEditor = styled.div`& .bn-inline-content code {font-family: monospace;- color: darkred;+ color: ${({ theme }) => theme.font.color.danger};padding: 2px 4px;border-radius: 4px;- border: 1px solid #e0e0e0;+ border: 1px solid ${({ theme }) => theme.font.color.extraLight};font-size: 0.9rem;- background-color: #1414140f;+ background-color: ${({ theme }) => theme.background.transparent.light};}`;