jekyll-theme-miniplex 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f5a73a787e8b97cf242dd009f97a17b728e4f9136693ce6e94c93f478adbabb
4
- data.tar.gz: 0ae15b9c5728088ef7615a0a1232dd58b71be37b54996b4b0e22918c29f1c7a4
3
+ metadata.gz: 5824a5e5f6768a2df574c4b5a45ec0b59368c0174183b70374df4a0a2cd4b36e
4
+ data.tar.gz: c424f1930c8dd47b3ef9a47aa9d190a4104a99c00273870f9a46fbfd0e1f493a
5
5
  SHA512:
6
- metadata.gz: 9e0d1fd23e27fd6e7abdca6e46efc4accb8eb1bbc619d4b9af79ec893f6fcb3cfec27213f8e1a32f85162e7b43914e5df45f1e7145869f7184154d797d633e74
7
- data.tar.gz: 7a0a12886700601930b00360859533d7239f9e2e3fde7420cb1281aee9b3ce75ca33d4ee7adc0de0eb8741f626a0905f3d145c10a6878339953886bf7116dba5
6
+ metadata.gz: 2ab16e848ede97dd2ccf28981ac514aebe4fb9f241d5d6baa516d122c14d1e2bdd58c4ac4e0dd0a042a23ca8c4be79b6401c3a7d5be1a2fa7c55b10053fc5b14
7
+ data.tar.gz: 2adeda68ecca2f314c9e575d725734c35bcf4ab5063e4c20700e9939a104c4fddc5a036782cdec82ff7cc764e3a33afc4ab78a8239c1ad9849c2f907be4245b5
@@ -77,6 +77,10 @@ $large_breakpoint: $medium_breakpoint + $large_minimum_left_navigation_width + 2
77
77
  @media print
78
78
  @content
79
79
 
80
+ @mixin dark_mode
81
+ @media (prefers-color-scheme: dark)
82
+ @content
83
+
80
84
  // Creates a CSS property with separate values depending on the mode/breakpoint.
81
85
  // Modes "xs", "s", "m" and "l" are available as keyword arguments. Examples:
82
86
  //
@@ -707,6 +711,7 @@ body
707
711
  button#mobile-navigation-toggle
708
712
  @include responsive_property(font-size, $xs: 1.125 * $unit, $s: 1.25 * $unit, $m: 1.5 * $unit, $otherwise: 1.5 * $unit)
709
713
  font-weight: bold
714
+ color: var(--heading_foreground_color)
710
715
  cursor: pointer
711
716
  display: flex
712
717
  align-items: center
@@ -723,6 +728,8 @@ body
723
728
  background-repeat: no-repeat
724
729
  background-size: 24px
725
730
  background-image: var(--icon-url)
731
+ svg path
732
+ fill: #ff0000
726
733
 
727
734
  // Mobile Navigation, start state
728
735
  nav#navigation-mobile
@@ -743,7 +750,9 @@ body
743
750
  box-shadow: 0 math.div($unit, 2) math.div($unit, 1) rgba(var(--heading_foreground_color), 0.4)
744
751
 
745
752
  button#mobile-navigation-toggle
746
- --icon-url: url("/assets/images/menu-outline@2x.png")
753
+ --icon-url: url("/assets/images/menu-outline.svg")
754
+ @include dark_mode
755
+ --icon-url: url("/assets/images/menu-outline-darkmode.svg")
747
756
 
748
757
  // Mobile Navigation, open state
749
758
  nav#navigation-mobile[data-state="open"]
@@ -756,4 +765,6 @@ body
756
765
 
757
766
  #navigation-controls
758
767
  button#mobile-navigation-toggle
759
- --icon-url: url("/assets/images/close-circle-outline@2x.png")
768
+ --icon-url: url("/assets/images/close-outline.svg")
769
+ @include dark_mode
770
+ --icon-url: url("/assets/images/close-outline-darkmode.svg")
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.25 17.25L6.75 6.75" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M17.25 6.75L6.75 17.25" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.25 17.25L6.75 6.75" stroke="#333333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M17.25 6.75L6.75 17.25" stroke="#333333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.75 7.5H20.25" stroke="white" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
3
+ <path d="M3.75 12H20.25" stroke="white" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
4
+ <path d="M3.75 16.5H20.25" stroke="white" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.75 7.5H20.25" stroke="#333333" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
3
+ <path d="M3.75 12H20.25" stroke="#333333" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
4
+ <path d="M3.75 16.5H20.25" stroke="#333333" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
5
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-miniplex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Würsch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-23 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,8 +68,10 @@ files:
68
68
  - assets/fonts/IBMPlexSans-Regular.woff2
69
69
  - assets/fonts/IBMPlexSerif-BoldItalic.woff2
70
70
  - assets/fonts/IBMPlexSerif-Italic.woff2
71
- - assets/images/close-circle-outline@2x.png
72
- - assets/images/menu-outline@2x.png
71
+ - assets/images/close-outline-darkmode.svg
72
+ - assets/images/close-outline.svg
73
+ - assets/images/menu-outline-darkmode.svg
74
+ - assets/images/menu-outline.svg
73
75
  - assets/js/main.coffee
74
76
  homepage: https://gitlab.com/twuersch/jekyll-theme-miniplex
75
77
  licenses:
Binary file