summaryrefslogtreecommitdiffstats
path: root/assets/scss/_primer/markdown/images.scss
diff options
context:
space:
mode:
authordsrkafuu2021-06-09 10:31:54 +0800
committerdsrkafuu2021-06-09 10:31:54 +0800
commit787b7865fba31fd56009a85f214f829b9d85cc04 (patch)
tree231c5deebcb813723046e6ac1f1b48d6ed055409 /assets/scss/_primer/markdown/images.scss
parenta138423ec2588d76a96f90fdcd8d9606276355e3 (diff)
downloadhugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.tar.gz
hugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.tar.bz2
hugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.zip
build: update primer
Diffstat (limited to 'assets/scss/_primer/markdown/images.scss')
-rw-r--r--assets/scss/_primer/markdown/images.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/scss/_primer/markdown/images.scss b/assets/scss/_primer/markdown/images.scss
index caea502..3efb011 100644
--- a/assets/scss/_primer/markdown/images.scss
+++ b/assets/scss/_primer/markdown/images.scss
@@ -8,7 +8,7 @@
// because we put padding on the images to hide header lines, and some people
// specify the width of their images in their markdown.
box-sizing: content-box;
- background-color: $bg-white;
+ background-color: var(--color-bg-primary);
&[align=right] {
// stylelint-disable-next-line primer/spacing
@@ -44,8 +44,7 @@
// stylelint-disable-next-line primer/spacing
margin: 13px 0 0;
overflow: hidden;
- // stylelint-disable-next-line primer/borders
- border: $border-width $border-style lighten($gray-300, 5%);
+ border: $border-width $border-style var(--color-markdown-frame-border);
}
span img {
@@ -58,7 +57,7 @@
// stylelint-disable-next-line primer/spacing
padding: 5px 0 0;
clear: both;
- color: $text-gray-dark;
+ color: var(--color-text-primary);
}
}