kopia lustrzana https://github.com/shoelace-style/shoelace
				
				
				
			fix css custom prop name in docs (#360)
* fix css custom prop name in docs to see the actual custom property again instead of the string 'prop' * remove trailing colon from property namepull/362/head^2
							rodzic
							
								
									fbbfeb00db
								
							
						
					
					
						commit
						1d174cfdf5
					
				|  | @ -160,7 +160,7 @@ components.map(async component => { | |||
|     const tags = parsed[0] ? parsed[0].tags : []; | ||||
|     const cssCustomProperties = tags | ||||
|       .filter(tag => tag.tag === 'prop') | ||||
|       .map(tag => api.cssCustomProperties.push({ name: tag.tag, description: tag.description })); | ||||
|       .map(tag => api.cssCustomProperties.push({ name: tag.name.slice(0, -1), description: tag.description })); | ||||
|   } | ||||
| 
 | ||||
|   metadata.components.push(api); | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Andreas
						Andreas