Skip to content

Commit

Permalink
Steal colors from our code theme for callouts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Dec 20, 2024
1 parent f6824c8 commit 0f202b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ description: To come
<Caution>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
</Caution>

<Callout type="note">You can also use 'callout' with 'type' like this</Callout>
10 changes: 5 additions & 5 deletions src/components/callout/Callout.module.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
.callout {
&.note {
--callout-color: #586EEC;
--callout-color: #61aeee;
}
&.tip {
--callout-color: #50BE47;
--callout-color: #98c379;
}
&.important{
--callout-color: #A760CE;
--callout-color: #c678dd;
}
&.warning{
--callout-color: #f3aa35;
--callout-color: #e6c07b;
}
&.caution{
--callout-color: #f33535;
--callout-color: #e06c75;
}
border-left: 3px solid var(--callout-color);

Expand Down

0 comments on commit 0f202b6

Please sign in to comment.