You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					39 lines
				
				802 B
			
		
		
			
		
	
	
					39 lines
				
				802 B
			| 
								 
											3 years ago
										 
									 | 
							
								"use strict";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exports.__esModule = true;
							 | 
						||
| 
								 | 
							
								exports["default"] = exports.typography = void 0;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var _core = require("@styled-system/core");
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var defaults = {
							 | 
						||
| 
								 | 
							
								  fontSizes: [12, 14, 16, 20, 24, 32, 48, 64, 72]
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								var config = {
							 | 
						||
| 
								 | 
							
								  fontFamily: {
							 | 
						||
| 
								 | 
							
								    property: 'fontFamily',
							 | 
						||
| 
								 | 
							
								    scale: 'fonts'
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  fontSize: {
							 | 
						||
| 
								 | 
							
								    property: 'fontSize',
							 | 
						||
| 
								 | 
							
								    scale: 'fontSizes',
							 | 
						||
| 
								 | 
							
								    defaultScale: defaults.fontSizes
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  fontWeight: {
							 | 
						||
| 
								 | 
							
								    property: 'fontWeight',
							 | 
						||
| 
								 | 
							
								    scale: 'fontWeights'
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  lineHeight: {
							 | 
						||
| 
								 | 
							
								    property: 'lineHeight',
							 | 
						||
| 
								 | 
							
								    scale: 'lineHeights'
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  letterSpacing: {
							 | 
						||
| 
								 | 
							
								    property: 'letterSpacing',
							 | 
						||
| 
								 | 
							
								    scale: 'letterSpacings'
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  textAlign: true,
							 | 
						||
| 
								 | 
							
								  fontStyle: true
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								var typography = (0, _core.system)(config);
							 | 
						||
| 
								 | 
							
								exports.typography = typography;
							 | 
						||
| 
								 | 
							
								var _default = typography;
							 | 
						||
| 
								 | 
							
								exports["default"] = _default;
							 |