aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/shikiCodeblocks
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-01-30 05:02:17 +0100
committerVendicated <vendicated@riseup.net>2023-01-30 05:04:06 +0100
commit62f7e4d45c0aa7bdbedecd639e51e6f2446fcc2b (patch)
tree5410566f5668426e1c53c55d2d0a22b00edb6191 /src/plugins/shikiCodeblocks
parentfce7d6b6814c70fe71baee57f272f4f3717c4379 (diff)
downloadVencord-62f7e4d45c0aa7bdbedecd639e51e6f2446fcc2b.tar.gz
Vencord-62f7e4d45c0aa7bdbedecd639e51e6f2446fcc2b.tar.bz2
Vencord-62f7e4d45c0aa7bdbedecd639e51e6f2446fcc2b.zip
Add stylelint
Diffstat (limited to 'src/plugins/shikiCodeblocks')
-rw-r--r--src/plugins/shikiCodeblocks/devicon.css2
-rw-r--r--src/plugins/shikiCodeblocks/shiki.css5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/shikiCodeblocks/devicon.css b/src/plugins/shikiCodeblocks/devicon.css
index f5c4921..ed1014e 100644
--- a/src/plugins/shikiCodeblocks/devicon.css
+++ b/src/plugins/shikiCodeblocks/devicon.css
@@ -1 +1 @@
-@import url('https://cdn.jsdelivr.net/gh/devicons/devicon@v2.10.1/devicon.min.css');
+@import url("https://cdn.jsdelivr.net/gh/devicons/devicon@v2.10.1/devicon.min.css");
diff --git a/src/plugins/shikiCodeblocks/shiki.css b/src/plugins/shikiCodeblocks/shiki.css
index d71b673..2051183 100644
--- a/src/plugins/shikiCodeblocks/shiki.css
+++ b/src/plugins/shikiCodeblocks/shiki.css
@@ -12,7 +12,6 @@
overflow-x: auto;
padding: 0.5em;
position: relative;
-
font-size: 0.875rem;
line-height: 1.125rem;
text-indent: 0;
@@ -47,7 +46,7 @@
padding: 4px 8px;
}
-.shiki-btn~.shiki-btn {
+.shiki-btn ~ .shiki-btn {
margin-left: 4px;
}
@@ -57,7 +56,7 @@
.shiki-spinner-container {
align-items: center;
- background-color: rgba(0, 0, 0, 0.6);
+ background-color: rgb(0 0 0 / 60%);
display: flex;
position: absolute;
justify-content: center;