generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create shiki with dual themes (#27)
* fix: create shiki with dual themes * fix: type
- Loading branch information
1 parent
2ec5273
commit fab7828
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
tests/__snapshots__/ShikiTest__it_can_accept_a_light_and_a_dark_theme__1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<pre class="shiki shiki-themes github-light github-dark" style="background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;"><code><span class="line"><span style="color:#D73A49;--shiki-dark:#F97583"><?</span><span style="color:#005CC5;--shiki-dark:#79B8FF">php</span><span style="color:#24292E;--shiki-dark:#E1E4E8"> </span><span style="color:#005CC5;--shiki-dark:#79B8FF">echo</span><span style="color:#24292E;--shiki-dark:#E1E4E8"> </span><span style="color:#032F62;--shiki-dark:#9ECBFF">"Hello World"</span><span style="color:#24292E;--shiki-dark:#E1E4E8">; </span><span style="color:#D73A49;--shiki-dark:#F97583">?></span></span></code></pre> |
1 change: 1 addition & 0 deletions
1
tests/__snapshots__/ShikiTest__it_can_accept_a_single_theme__1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<pre class="shiki" style="background-color: #fff"><code><span class="line"><span style="color: #D73A49"><?</span><span style="color: #005CC5">php</span><span style="color: #24292E"> </span><span style="color: #005CC5">echo</span><span style="color: #24292E"> </span><span style="color: #032F62">"Hello World"</span><span style="color: #24292E">; </span><span style="color: #D73A49">?></span></span></code></pre> |