Skip to content

Commit

Permalink
Adds secondary color and styling to code blocks using theme varibales (
Browse files Browse the repository at this point in the history
twentyhq#6029 ) (twentyhq#6931)

Follow-up of twentyhq#6929, this PR just changes the hard coded values to theme
values.
  • Loading branch information
Faisal-imtiyaz123 authored Sep 10, 2024
1 parent 05d70b0 commit d1b4f85
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}
`;

Expand Down

0 comments on commit d1b4f85

Please sign in to comment.