Skip to content

Commit

Permalink
Refactor colored blockquotes styles to Tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 17, 2024
1 parent 250b3e1 commit b238280
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion _media/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/hydefront/dist/hyde.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hydefront/dist/hyde.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/hydefront/hyde.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@
* @version v3.x (HydeFront)
* @author Caen De Silva
*/

@use 'sass/markdown/blockquotes';
15 changes: 0 additions & 15 deletions packages/hydefront/sass/markdown/blockquotes.scss

This file was deleted.

20 changes: 20 additions & 0 deletions resources/assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,23 @@ pre code.torchlight .line {
pre code.torchlight .line-number, pre code.torchlight .summary-caret {
@apply mr-4;
}

/**
* Colored Blockquotes
*/

.prose blockquote.info {
@apply border-blue-500;
}

.prose blockquote.success {
@apply border-green-500;
}

.prose blockquote.warning {
@apply border-amber-500;
}

.prose blockquote.danger {
@apply border-red-600;
}

0 comments on commit b238280

Please sign in to comment.