File tree Expand file tree Collapse file tree 3 files changed +14
-17
lines changed
test/expected/inlineCssVariables/lib3/my/other/ui/lib/themes/base Expand file tree Collapse file tree 3 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ Builder.prototype.build = function(options) {
306
306
} ) ) ;
307
307
const varsOverride = oVariableCollector . getAllVariables ( ) ;
308
308
const cssVariablesSource = oCSSVariablesCollector . toLessVariables ( varsOverride ) ;
309
- // eslint-disable-next-line no-unused-vars
310
309
const cssVariablesOnly = oCSSVariablesCollector . getCssVariablesDeclaration ( ) ;
311
310
312
311
let cssSkeletonRtl ;
@@ -407,9 +406,9 @@ Builder.prototype.build = function(options) {
407
406
--sapThemeMetaData-UI5-${ libraryNameDashed } : ${ metadataJson } ;
408
407
}
409
408
` ;
410
- result . css = additionalVariables + result . cssVariables + "\n" + result . css ;
409
+ result . css + = additionalVariables + result . cssVariables ;
411
410
if ( options . rtl ) {
412
- result . cssRtl = additionalVariables + result . cssVariables + "\n" + result . cssRtl ;
411
+ result . cssRtl + = additionalVariables + result . cssVariables ;
413
412
}
414
413
}
415
414
Original file line number Diff line number Diff line change
1
+ .myOtherUiLibRule1 {
2
+ color : # fefefe ;
3
+ }
4
+ .myOtherUiLibRule2 {
5
+ padding : 1px 4px 3px 2px ;
6
+ }
1
7
2
8
: root {
3
9
--sapUiTheme-my-other-ui-lib : true;
7
13
--_my_other_ui_lib_MyControl_color1: var(--color1);
8
14
--_my_other_ui_lib_MyOtherControl_color1: var(--color1);
9
15
}
10
-
11
- .myOtherUiLibRule1 {
12
- color: #fefefe;
13
- }
14
- .myOtherUiLibRule2 {
15
- padding: 1px 4px 3px 2px;
16
- }
Original file line number Diff line number Diff line change
1
+ .myOtherUiLibRule1 {
2
+ color : # fefefe ;
3
+ }
4
+ .myOtherUiLibRule2 {
5
+ padding : 1px 2px 3px 4px ;
6
+ }
1
7
2
8
: root {
3
9
--sapUiTheme-my-other-ui-lib : true;
7
13
--_my_other_ui_lib_MyControl_color1: var(--color1);
8
14
--_my_other_ui_lib_MyOtherControl_color1: var(--color1);
9
15
}
10
-
11
- .myOtherUiLibRule1 {
12
- color: #fefefe;
13
- }
14
- .myOtherUiLibRule2 {
15
- padding: 1px 2px 3px 4px;
16
- }
You can’t perform that action at this time.
0 commit comments