2010-07-07 11:30:04 +07:00
|
|
|
import org.adempiere.webui.theme.ThemeManager;
|
|
|
|
var themeStyleSheet = ThemeManager.getStyleSheet();
|
|
|
|
var themeStyleSheetByBrowser = ThemeManager.getStyleSheetByBrowser();
|
|
|
|
var browserIcon = ThemeManager.getBrowserIcon();
|
2013-05-21 22:43:22 +07:00
|
|
|
var themePreference = ThemeManager.getPreference();
|
2015-04-10 13:19:44 +07:00
|
|
|
var fontSizeM = org.zkoss.lang.Library.getProperty("org.zkoss.zul.theme.fontSizeM");
|
|
|
|
var fontSizeS = org.zkoss.lang.Library.getProperty("org.zkoss.zul.theme.fontSizeS");
|
|
|
|
var fontSizeXS = org.zkoss.lang.Library.getProperty("org.zkoss.zul.theme.fontSizeXS");
|
|
|
|
var fontSizeMS = org.zkoss.lang.Library.getProperty("org.zkoss.zul.theme.fontSizeMS");
|
|
|
|
var fontFamilyC = org.zkoss.lang.Library.getProperty("org.zkoss.zul.theme.fontFamilyC");
|
|
|
|
|
|
|
|
if (fontFamilyC != null){
|
|
|
|
fontFamilyC = "font-family:" + fontFamilyC + ";";
|
|
|
|
}
|
|
|
|
|
|
|
|
if (fontSizeM != null){
|
|
|
|
fontSizeM = "font-size:" + fontSizeM + ";";
|
|
|
|
}
|