This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
sass_map_pair
:
(NUMBER|STRING|((function)=>function)|property) ws? COLON ws? cp_expression (ws? prio)?
(NUMBER|(STRING (ws? STRING)*)|((function)=>function)|property|sass_map) ws? COLON ws? cp_expression (ws? prio)?
;
rule
+ "}");
}
public void testMapAnyDatatypeasKey() {
assertParses("$font-formats: 'woff' 'ttf'; // Define what webfont formats need importing\n"
+ "$font-path: '../fonts/'; // Set the a path to your fonts directory\n"
+ "\n"
+ "$fonts: (\n"
+ " 'heading': ( // give your font a semantic name for reference\n"
+ " 'name': 'maven', // optionally set a different font name\n"
+ " 'stack': ('helvetica', 'arial', sans-serif), // define the stack\n"
+ " 'normal': 'maven/maven_pro_regular-webfont', // point to any webfont files\n"
+ " 'bold': 'maven/maven_pro_bold-webfont',\n"
+ " ),\n"
+ " 'body': (\n"
+ " 'name': 'exo',\n"
+ " 'stack': ('helvetica', 'arial', sans-serif),\n"
+ " 'normal': 'exo/exo2-regular-webfont',\n"
+ " 'italic': 'exo/exo2-italic-webfont',\n"
+ " 'bold': 'exo/exo2-bold-webfont',\n"
+ " 'bold' 'italic': 'exo/exo2-bolditalic-webfont',\n"
+ " 'alias': 'body', // create aliases when useful\n"
+ ");");