Skip to content

Commit 6148925

Browse files
committed
Increase code block border width from 1px to 3px for visual emphasis
1 parent dfd5a1f commit 6148925

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/codeBlock/code-blocks.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
pre[class*='language-'] {
1919
font-size: 0.85rem;
20-
border: 1px solid rgba(255, 255, 255, 0.2);
20+
border: 3px solid rgba(255, 255, 255, 0.2);
2121
border-radius: 4px;
2222
margin: 0;
2323
}

src/components/codeHighlights/codeHighlights.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const HighlightBlockContainer = styled('div')`
132132
background-color: rgba(239, 239, 239, 0.06);
133133
position: relative;
134134
135-
border: 1px solid rgba(255, 255, 255, 0.2);
135+
border: 3px solid rgba(255, 255, 255, 0.2);
136136
border-left: 4px solid var(--accent-purple);
137137
border-radius: 4px;
138138

src/components/codeTabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ const Container = styled('div')`
137137
pre[class*='language-'] {
138138
padding: 10px 12px;
139139
border-radius: 0 0 3px 3px;
140-
border: 1px solid rgba(255, 255, 255, 0.2);
140+
border: 3px solid rgba(255, 255, 255, 0.2);
141141
border-top: none;
142142
}
143143
`;
144144

145145
const TabBar = styled('div')`
146146
background: var(--code-background);
147-
border: 1px solid rgba(255, 255, 255, 0.2);
147+
border: 3px solid rgba(255, 255, 255, 0.2);
148148
border-bottom: 1px solid #40364a;
149149
height: 36px;
150150
display: flex;

0 commit comments

Comments
 (0)