zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Theme of Fiori reuse library

of Fiori library Theme reuse
2023-09-14 09:02:42 时间

We meet a problem which is related to the theme of our fiori reuse library:

We receive a ticket 1580024800 2015 report that, when launch our app Sales Pipeline, the background color is white and correct:

clipboard1

Then navigate to My Opportunity app(cross app navigation) by click an opportunity link on the bubble details, please notice this My Opportunity app depend on a reuse library:

clipboard2

Then click back button to navigate back to Sales Pipeline, all the functions are OK but the background color turns to grey:

clipboard3

We checked and find that the grey color is from our reuse library during the navigation:

  1.   When launch Sales Pipeline the first time, the background color css refer to @sapShell_Background and its value from fiori blue crystal theme:
    

clipboard4

clipboard5
2. When navigation happens, it get background color again from reuse library and overwrite the white @sapShell_Background value to grey(happens when init navigated target My Opportunity):

clipboard6

We think the reason probably the @sapShell_Background value is not correct in reuse library:
We checked with the build target file of our reuse library, there are two folders under theme folder, the sapShell_Background value in library-parameters.json are grey in both folders:

clipboard7

clipboard8
Here we think the color in sap_bluecrystal should be white(#ffffff)? The same as the color in blue crystal theme of ui5 core library? But we cannot be sure since we are not familiar with how it build.