feat(article): add style to <kbd> tag (#862)

* fix: set `unsafe` to true for exampleSite

To display `<kbd>` tag correctly

* feat(article): add style to `kbd` tag

* feat: improve `<kbd>` style
This commit is contained in:
Jimmy Cai
2023-08-15 13:15:32 +02:00
committed by GitHub
parent 4e2e90da4c
commit 41c3033d1a
4 changed files with 14 additions and 2 deletions
+2
View File
@@ -123,6 +123,8 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--table-border-color: #dadada;
--tr-even-background-color: #efefee;
--kbd-border-color: #dadada;
&[data-scheme="dark"] {
--code-background-color: #272822;
--code-text-color: rgba(255, 255, 255, 0.9);