mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-30 19:16:43 +00:00 
			
		
		
		
	Change the light switch (sun/moon) (#1289)
This commit is contained in:
		| @@ -151,7 +151,7 @@ h1, h2, h3, .md-header__topic { | |||||||
|     width: 22px; |     width: 22px; | ||||||
| } | } | ||||||
|  |  | ||||||
| /* Unsticky sidebar without JS */ | /* Un-sticky sidebar without JS */ | ||||||
| .no-js .md-sidebar { | .no-js .md-sidebar { | ||||||
|     align-self: auto; |     align-self: auto; | ||||||
| } | } | ||||||
| @@ -197,3 +197,9 @@ h1, h2, h3, .md-header__topic { | |||||||
| .pg-blue-gray { | .pg-blue-gray { | ||||||
|     color: #546d78; |     color: #546d78; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | /* Make light/dark mode icon smaller */ | ||||||
|  | label[class="md-header__button md-icon"] svg { | ||||||
|  |     height: 1rem; | ||||||
|  |     width: 1rem; | ||||||
|  | } | ||||||
|   | |||||||
| @@ -64,13 +64,13 @@ theme: | |||||||
|       scheme: default |       scheme: default | ||||||
|       accent: deep purple |       accent: deep purple | ||||||
|       toggle: |       toggle: | ||||||
|         icon: material/toggle-switch-off-outline |         icon: octicons/moon-16 | ||||||
|         name: Switch to dark mode |         name: Switch to dark mode | ||||||
|     - media: "(prefers-color-scheme: dark)" |     - media: "(prefers-color-scheme: dark)" | ||||||
|       scheme: slate |       scheme: slate | ||||||
|       accent: deep purple |       accent: deep purple | ||||||
|       toggle: |       toggle: | ||||||
|         icon: material/toggle-switch |         icon: octicons/sun-16 | ||||||
|         name: Switch to light mode |         name: Switch to light mode | ||||||
| watch: | watch: | ||||||
|   - theme |   - theme | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 lexi
					lexi