mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-31 16:07:53 +03:00 
			
		
		
		
	added material:sass to the material task, removed unused/commented code
This commit is contained in:
		
							parent
							
								
									77ee32ce03
								
							
						
					
					
						commit
						23b0750905
					
				
							
								
								
									
										13
									
								
								Gruntfile.js
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Gruntfile.js
									
									
									
									
									
								
							|  | @ -18,7 +18,6 @@ module.exports = function (grunt) { | |||
|         options: { | ||||
|           replacements: [ | ||||
| 
 | ||||
| 
 | ||||
|             // convert all shadow mixins
 | ||||
|             { // https://regex101.com/r/sJ2lH4/1
 | ||||
|               pattern: /.shadow-z-(\d+)((?:-hover)?) {/gi, | ||||
|  | @ -46,15 +45,6 @@ module.exports = function (grunt) { | |||
|               order: 10 | ||||
|             }, | ||||
| 
 | ||||
| 
 | ||||
|             // .variations need quoted properties?
 | ||||
|             //{ // Multi-line replacement - https://regex101.com/r/nA6zX9/1
 | ||||
|             //  pattern: /@include variations\(unquote\(("([^"]+)?")\), (\w+(?:-\w+)?), ((?:\$|#)?\w+(?:-\w+)?)\);/gi,
 | ||||
|             //  replacement: '@include variations(unquote($1), \"$3\", $4);\n',
 | ||||
|             //  order: 19
 | ||||
|             //},
 | ||||
| 
 | ||||
| 
 | ||||
|             // button variations mixin replacement(s)
 | ||||
|             { // Multi-line replacement - https://regex101.com/r/qD9qB8/2
 | ||||
|               pattern: /.generic-variations\(unquote\(("[^"]+")\), (\$[\s\S]+?(?!\r|\n)), {$\n[\s\S]+?(?!\r|\n)contrast[\s\S]+?(?!\r|\n)(\d+)[\s\S]+?(?!\r|\n)}\);$\n/mg, | ||||
|  | @ -389,7 +379,8 @@ module.exports = function (grunt) { | |||
| 
 | ||||
|   grunt.registerTask("material", [ | ||||
|     "material:less", | ||||
|     "material:js" | ||||
|     "material:js", | ||||
|     "material:sass" | ||||
|   ]); | ||||
| 
 | ||||
|   grunt.registerTask("material:sass", [ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user