Skip to content

Commit

Permalink
Add: styling for matching brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-sundar committed Jan 30, 2025
1 parent 08139a8 commit fe2542a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/bruno-app/src/components/CodeEditor/StyledWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,19 @@ const StyledWrapper = styled.div`
.cm-s-default span.cm-variable {
color: #397d13 !important;
}
.CodeMirror-matchingbracket {
background-color:rgba(128, 128, 128, 0.27);
text-decoration: none;
font-weight: bold;
border-left: 1px solid #1f61a0;
}
.CodeMirror-nonmatchingbracket {
background-color:rgba(255, 0, 0, 0.35);
text-decoration: none;
font-weight: bold;
}
`;

export default StyledWrapper;

0 comments on commit fe2542a

Please sign in to comment.