astro-accelerator 6.1.0 → 6.1.1

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.1.0",
2
+ "version": "6.1.1",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
@@ -94,4 +94,4 @@
94
94
  "zod@<=3.22.2": ">=3.22.3"
95
95
  }
96
96
  }
97
- }
97
+ }
@@ -96,6 +96,19 @@ stats.stop();
96
96
  position: relative;
97
97
  z-index: 100;
98
98
  }
99
+
100
+ .site-header .theme-toggle .sun-icon,
101
+ .site-header .theme-toggle .moon-icon {
102
+ display: none;
103
+ }
104
+
105
+ body.mode-dark .site-header .theme-toggle .sun-icon {
106
+ display: block;
107
+ }
108
+
109
+ body.mode-light .site-header .theme-toggle .moon-icon {
110
+ display: block;
111
+ }
99
112
  </style>
100
113
 
101
114
  <header class="site-header">
@@ -115,14 +128,29 @@ stats.stop();
115
128
  fill="none"
116
129
  stroke-width="1"
117
130
  stroke-linecap="round"
118
- stroke-linejoin="round">
119
- <path d="M12 2v2"></path>
120
- <path d="M12 20v2"></path>
121
- <path d="M2 12h2"></path>
122
- <path d="M4.93 4.93l1.41 1.41"></path>
123
- <path d="M4.93 19.07l1.41 -1.41"></path>
124
- <path d="M12 6 A 6 6 0 0 0 12 18 A 6 6 0 0 0 12 6 A 8 8 0 0 1 12 18"
125
- ></path>
131
+ stroke-linejoin="round"
132
+ class="sun-icon">
133
+ <circle cx="12" cy="12" r="5"></circle>
134
+ <line x1="12" y1="1" x2="12" y2="3"></line>
135
+ <line x1="12" y1="21" x2="12" y2="23"></line>
136
+ <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
137
+ <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
138
+ <line x1="1" y1="12" x2="3" y2="12"></line>
139
+ <line x1="21" y1="12" x2="23" y2="12"></line>
140
+ <line x1="4.22" y1="19.07" x2="5.64" y2="17.66"></line>
141
+ <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
142
+ </svg>
143
+ <svg
144
+ xmlns="http://www.w3.org/2000/svg"
145
+ width="32"
146
+ height="32"
147
+ viewBox="0 0 24 24"
148
+ fill="none"
149
+ stroke-width="1"
150
+ stroke-linecap="round"
151
+ stroke-linejoin="round"
152
+ class="moon-icon">
153
+ <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
126
154
  </svg>
127
155
  </a>
128
156
  <a