Last active
May 1, 2024 00:59
-
-
Save tuto1902/65360f9841da2b3dabe492e718eb207a to your computer and use it in GitHub Desktop.
Shiki Markdown Classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.shiki .highlight { | |
@apply bg-gray-600 py-1; | |
} | |
.shiki .add { | |
@apply bg-green-600/50 py-1 rounded-sm; | |
} | |
.shiki .del { | |
@apply bg-red-600/50 py-1 rounded-sm; | |
} | |
.shiki.focus .line:not(.focus) { | |
@apply transition-all blur-[2px] | |
} | |
.shiki.focus:hover .line { | |
@apply transition-all blur-0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment