Default to sans-serif font
This commit is contained in:
		
							
								
								
									
										2
									
								
								docs/_static/custom.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/_static/custom.js
									
									
									
									
										vendored
									
									
								
							@@ -44,7 +44,7 @@ function getRootAttributeToggle(attributeName, valueName) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const settings = {
 | 
			
		||||
  useSansFont: getRootAttributeToggle('font', 'sans'),
 | 
			
		||||
  useSerifFont: getRootAttributeToggle('font', 'serif'),
 | 
			
		||||
  useDarkTheme: getRootAttributeToggle('theme', 'dark')
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								docs/_static/style.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								docs/_static/style.css
									
									
									
									
										vendored
									
									
								
							@@ -18,7 +18,7 @@ Historically however, thanks to:
 | 
			
		||||
 | 
			
		||||
/* CSS variables would go here */
 | 
			
		||||
:root {
 | 
			
		||||
  --font-family: 'Georgia', 'Yu Gothic', 'Noto Sans CJK JP Regular', serif;
 | 
			
		||||
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 | 
			
		||||
 | 
			
		||||
  /* base palette */
 | 
			
		||||
  --white: #ffffff;
 | 
			
		||||
@@ -104,8 +104,8 @@ Historically however, thanks to:
 | 
			
		||||
  --attribute-table-badge: var(--grey-7);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[data-font="sans"] {
 | 
			
		||||
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 | 
			
		||||
:root[data-font="serif"] {
 | 
			
		||||
  --font-family: 'Georgia', 'Yu Gothic', 'Noto Sans CJK JP Regular', serif;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[data-theme="dark"] {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user