mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-11-04 05:17:57 +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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Unsticky sidebar without JS */
 | 
			
		||||
/* Un-sticky sidebar without JS */
 | 
			
		||||
.no-js .md-sidebar {
 | 
			
		||||
    align-self: auto;
 | 
			
		||||
}
 | 
			
		||||
@@ -197,3 +197,9 @@ h1, h2, h3, .md-header__topic {
 | 
			
		||||
.pg-blue-gray {
 | 
			
		||||
    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
 | 
			
		||||
      accent: deep purple
 | 
			
		||||
      toggle:
 | 
			
		||||
        icon: material/toggle-switch-off-outline
 | 
			
		||||
        icon: octicons/moon-16
 | 
			
		||||
        name: Switch to dark mode
 | 
			
		||||
    - media: "(prefers-color-scheme: dark)"
 | 
			
		||||
      scheme: slate
 | 
			
		||||
      accent: deep purple
 | 
			
		||||
      toggle:
 | 
			
		||||
        icon: material/toggle-switch
 | 
			
		||||
        icon: octicons/sun-16
 | 
			
		||||
        name: Switch to light mode
 | 
			
		||||
watch:
 | 
			
		||||
  - theme
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user