mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-31 03:50:27 +03:00 
			
		
		
		
	Changes the name of our spacing variables due to the prefixing -/_ meaning private in the use of new "use" rather than include. All now modular too, so all variables/mixins are accessed via their package. Also renamed variables file to vars for simpler/cleaner access/writing. eg. '$-m' is now 'vars.$m'
		
			
				
	
	
		
			35 lines
		
	
	
		
			528 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			528 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| @use "mixins";
 | |
| @use "vars";
 | |
| 
 | |
| * {
 | |
|   box-sizing: border-box;
 | |
|   outline-color: var(--color-primary);
 | |
|   outline-width: 1px;
 | |
| }
 | |
| 
 | |
| *:focus {
 | |
|   outline-style: dotted;
 | |
| }
 | |
| 
 | |
| html {
 | |
|   height: 100%;
 | |
|   overflow-y: scroll;
 | |
|   background-color: #F2F2F2;
 | |
|   &.flexbox {
 | |
|     overflow-y: hidden;
 | |
|   }
 | |
|   &.dark-mode {
 | |
|     background-color: #111;
 | |
|   }
 | |
| }
 | |
| 
 | |
| body {
 | |
|   font-size: vars.$fs-m;
 | |
|   line-height: 1.6;
 | |
|   @include mixins.lightDark(color, #444, #AAA);
 | |
|   -webkit-font-smoothing: antialiased;
 | |
|   height: 100%;
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
| }
 |