Add photoswipe
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
@@ -15,3 +15,5 @@ $width-wide: 75rem;
|
||||
@import "content";
|
||||
@import "hero";
|
||||
@import "footer";
|
||||
|
||||
@import "photoswipe";
|
||||
|
9
assets/sass/photoswipe.scss
Normal file
9
assets/sass/photoswipe.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
.pswp {
|
||||
--pswp-bg: var(--background);
|
||||
--pswp-icon-color: var(--text);
|
||||
--pswp-icon-color-secondary: color-mix(
|
||||
in srgb,
|
||||
var(--text) 30%,
|
||||
var(--background)
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user