diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index 8d64ab266..70bc23927 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -53,6 +53,7 @@ export default { jsx: 'jsx', vue: 'markup', css: 'css', + scss: 'scss', }, } }, diff --git a/docs/src/components/Demo/style.scss b/docs/src/components/Demo/style.scss index 98a54c210..48890509a 100644 --- a/docs/src/components/Demo/style.scss +++ b/docs/src/components/Demo/style.scss @@ -14,17 +14,17 @@ } &__source { - background-color: $colorLightGrey; + background-color: $colorBlack; } &__tabs { padding: 0 1.5rem; - border-bottom: 1px solid rgba($colorBlack, 0.05); + border-bottom: 2px solid rgba($colorWhite, 0.1); } &__tab { position: relative; - color: rgba($colorBlack, 0.5); + color: rgba($colorWhite, 0.5); font: inherit; font-weight: 500; padding: 0.75rem 0; @@ -34,16 +34,16 @@ margin-right: 1rem; &.is-active { - color: $colorBlack; + color: $colorWhite; &::after { content: ''; position: absolute; - bottom: -1px; + bottom: -2px; left: 0; width: 100%; height: 2px; - background-color: $colorBlack; + background-color: $colorWhite; } } } @@ -54,11 +54,5 @@ code, pre { padding: 0; } - - [class*="language-"] { - background: none; - border: none; - box-shadow: none; - } } } \ No newline at end of file diff --git a/docs/src/data/install.md b/docs/src/data/install.md index 8e9886cfc..38deaad46 100644 --- a/docs/src/data/install.md +++ b/docs/src/data/install.md @@ -3,7 +3,7 @@ title: Install slug: install --- -``` +```bash # Using npm npm install @tiptap/core diff --git a/docs/src/layouts/App/base.scss b/docs/src/layouts/App/base.scss index c353504c1..b0f691cac 100644 --- a/docs/src/layouts/App/base.scss +++ b/docs/src/layouts/App/base.scss @@ -73,4 +73,4 @@ p { .is-active { background: black; color: white; -} +} \ No newline at end of file diff --git a/docs/src/layouts/App/index.vue b/docs/src/layouts/App/index.vue index 0ac3cd2a3..2ae08855d 100644 --- a/docs/src/layouts/App/index.vue +++ b/docs/src/layouts/App/index.vue @@ -47,4 +47,5 @@ query {