Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4801

Atlantic: adds google-font for all themes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.0
    • 9.5.0.2
    • Theme
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      add atlantic theme dependency
      load any zul file with a different theme enabled (e.g. iceblue_c)

      Current Result

      Expected Result

      the google font should only be added when atlantic theme is active

      Debug Information

      The AtlanticXXThemeProviders always add this google font.
      https://github.com/zkoss/atlantic/blob/master/src/org/zkoss/theme/atlantic/AtlanticEEThemeProvider.java

      A fix should leverage ZK-4771 (once implemented).

      Workaround

      will disable google font for all themes

      	<library-property>
      		<name>org.zkoss.theme.atlantic.useGoogleFont.disabled</name>
      		<value>true</value>
      	</library-property>
      

            Leon03 Leon03
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: