added dark theme option. It ìs selected automagically based on system choiche of...
[theme-danix.xyz.git] / assets / sass / components / _image.scss
index 6e1388e..6f7981c 100644 (file)
 \r
        .circle > img {\r
                @include circle(200px, "block");\r
-               @include box-shadow(-5px, 5px, 5px, _palette(fg-bold));\r
+               @include box-shadow(-5px, 5px, 5px, _palette_light(fg-bold));\r
+               @media screen and (prefers-color-scheme: dark) {\r
+                       @include box-shadow(-5px, 5px, 5px, _palette_dark(fg-bold));\r
+               }\r
        }\r
 \r
        video {\r