Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/callout/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}

.callout-info {
--callout-highlight-color: var(--accent-11);
--callout-highlight-color: var(--accent-6);
background: var(--accent-2);
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/codeBlock/code-blocks.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

pre {
background-color: var(--code-background);
border-radius: 0 0 0.25rem 0.25rem;
border-radius: 0 0 6px 6px;
margin-top: 0;
margin-bottom: 0;
}
Expand All @@ -17,8 +17,8 @@

pre[class*='language-'] {
font-size: 0.85rem;
border: 0;
border-radius: 4px;
border: 1px solid var(--accent-11);
border-radius: 6px;
margin: 0;
}

Expand Down
2 changes: 2 additions & 0 deletions src/components/codeHighlights/codeHighlights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ const HighlightBlockContainer = styled('div')`
background-color: rgba(239, 239, 239, 0.06);
position: relative;

border: 1px solid var(--accent-11);
border-left: 4px solid var(--accent-purple);
border-radius: 6px;

.highlight-line {
padding-left: 8px !important;
Expand Down
7 changes: 5 additions & 2 deletions src/components/codeTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,21 @@ export function CodeTabs({children}: CodeTabProps) {
const Container = styled('div')`
pre[class*='language-'] {
padding: 10px 12px;
border-radius: 0 0 3px 3px;
border-radius: 0 0 6px 6px;
border: 1px solid var(--accent-11);
border-top: none;
}
`;

const TabBar = styled('div')`
background: var(--code-background);
border: 1px solid var(--accent-11);
border-bottom: 1px solid #40364a;
height: 36px;
display: flex;
align-items: center;
padding: 0 0.5rem;
border-radius: 3px 3px 0 0;
border-radius: 6px 6px 0 0;
`;

const TabButton = styled('button')`
Expand Down
Loading