Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to change the default font in SAPUI5?

$
0
0

Hi,

 

The default font in SAPUI5 is

 

@font-face {

  font-family: "SAP-icons";

  font-style: normal;

  font-weight: normal;

  src: url("resources/sap/ui/core/themes/base/fonts/SAP-icons.eot?#iefix") format("embedded-opentype"), url("resources/sap/ui/core/themes/base/fonts/SAP-icons.ttf") format("truetype");

}

 

If I want to use Candara or Calibri, how should I do that? I tried this styling

 

.sapUiBody, .sapMLabel {

    font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;

  };

 

 

However, the change in font got reflected in few places of the app. Your help is appreciated.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>