Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 27, 2024
1 parent 18e036c commit 898ddeb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<img src="https://raw.githubusercontent.com/antfu/shikiji/main/docs/public/logo.svg" width="150" alt="Shikiji Logo" />

> [!IMPORTANT]
> Shikiji is migration back to Shiki! The developement of this repository is slowing down and will soon be archived. Please follow [this PR](https://github.com/shikijs/shiki/pull/557) to track the progress.
> Shikiji is [merged back](https://github.com/shikijs/shiki/pull/557) to Shiki! This repository will soon be archived. Please continue at [shikijs/shiki](https://github.com/shikijs/shiki).
---

<img src="https://raw.githubusercontent.com/antfu/shikiji/main/docs/public/logo.svg" width="150" alt="Shikiji Logo" />

# Shikiji 式辞

Expand Down
16 changes: 16 additions & 0 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@ export default {
app.use(TwoslashFloatingVue)
},
}

if (typeof window !== 'undefined') {
const div = document.createElement('div')
const a = document.createElement('a')
a.href = 'https://shiki.style'
a.textContent = 'shiki.style'
a.className = 'underline font-bold'
// @unocss-include
div.className = 'bg-orange:10 text-orange p2 text-center'
div.append(
document.createTextNode('Shikiji has merged back to Shiki, this documentation will no longer updates. Please visit '),
a,
document.createTextNode(' for the latest documentation.'),
)
document.body.prepend(div)
}
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
* in custom container, badges, etc.
* -------------------------------------------------------------------------- */

:root {
--vp-layout-top-height: 64px;
}

:root {
--vp-c-brand-1: #5086a1;
--vp-c-brand-2: #6aa1b7;
Expand Down

0 comments on commit 898ddeb

Please sign in to comment.