Note link's color contrast fixed in dark mode (#11932)
# Note link's color contrast fixed in dark mode ## Key changes This pull request introduces a minor styling update to the `BlockEditor` component in `BlockEditor.tsx`. It adds a new style rule to ensure inline links within the `.bn-inline-content` class are styled with the theme's blue color. ### Styling updates: * [`packages/twenty-front/src/modules/ui/input/editor/components/BlockEditor.tsx`](diffhunk://#diff-4a66ce7d5588bddc6237ac1a3b2949fe4432182bd357114294e8a79d98afce51R119-R122): Added a CSS rule to style links (`<a>` elements) within `.bn-inline-content` to use the theme's blue color. ## Issue fixes #11917 
This commit is contained in:
@ -116,6 +116,10 @@ const StyledEditor = styled.div`
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
& .bn-inline-content a {
|
||||
color: ${({ theme }) => theme.color.blue};
|
||||
}
|
||||
|
||||
& .bn-inline-content code {
|
||||
font-family: monospace;
|
||||
color: ${({ theme }) => theme.font.color.danger};
|
||||
|
||||
Reference in New Issue
Block a user