mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	fix: css fix + update theme
This commit is contained in:
		
							parent
							
								
									b7afce9481
								
							
						
					
					
						commit
						05403a7aa9
					
				| 
						 | 
				
			
			@ -27,8 +27,8 @@ export const PropertyCell = styled.td`
 | 
			
		|||
    background-image: linear-gradient(
 | 
			
		||||
      to bottom,
 | 
			
		||||
      transparent 0%,
 | 
			
		||||
      transparent 21px,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 21px,
 | 
			
		||||
      transparent 22px,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 22px,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 100%
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			@ -37,8 +37,8 @@ export const PropertyCell = styled.td`
 | 
			
		|||
    background-image: linear-gradient(
 | 
			
		||||
      to bottom,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 0%,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 21px,
 | 
			
		||||
      transparent 21px,
 | 
			
		||||
      ${props => props.theme.schemaView.linesColor} 22px,
 | 
			
		||||
      transparent 22px,
 | 
			
		||||
      transparent 100%
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
import { lighten } from 'polished';
 | 
			
		||||
import { lighten, adjustHue, desaturate } from 'polished';
 | 
			
		||||
 | 
			
		||||
const defaultTheme: ThemeInterface = {
 | 
			
		||||
  spacingUnit: 20,
 | 
			
		||||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ const defaultTheme: ThemeInterface = {
 | 
			
		|||
    },
 | 
			
		||||
  },
 | 
			
		||||
  schemaView: {
 | 
			
		||||
    linesColor: '#7f99cf',
 | 
			
		||||
    linesColor: theme => lighten(0.25, desaturate(0.35, theme.colors.main)),
 | 
			
		||||
    defaultDetailsWidth: '75%',
 | 
			
		||||
  },
 | 
			
		||||
  baseFont: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user