Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.theme.nuxeo.default--flavors

This contribution is part of XML component org.nuxeo.theme.nuxeo.default inside nuxeo-platform-webapp-core-5.6.jar

Extension point

Extension point flavors of component service.

Contributed items

  • <flavor name="default">
          <label>label.theme.flavor.nuxeo.default</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>92</width>
            <height>36</height>
            <title>Nuxeo</title>
          </logo>
          <presetsList>
            <presets category="border" src="themes/palettes/default-borders.properties"/>
            <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/default-fonts.properties"/>
            <presets category="color" src="themes/palettes/default-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#cfecff</color>
              <color>#70bbff</color>
              <color>#4e9ae1</color>
              <color>#fff</color>
              <color>#fff</color>
              <color>#0079a6</color>
              <color>#00416b</color>
              <color>#332e2e</color>
              <color>#cfecff</color>
            </colors>
          </palettePreview>
        </flavor>
  • <flavor name="rainbow">
          <label>label.theme.flavor.nuxeo.rainbow</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>92</width>
            <height>36</height>
            <title>Nuxeo</title>
          </logo>
          <presetsList append="true">
            <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
            <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
            <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#4a3a6e</color>
              <color>#feffe6</color>
              <color>#cfffd1</color>
              <color>#aafff2</color>
              <color>#99163e</color>
              <color>#a9ff70</color>
              <color>#e74c36</color>
              <color>#00a2cb</color>
              <color>#474747</color>
            </colors>
          </palettePreview>
        </flavor>

XML source

<extension point="flavors" target="org.nuxeo.theme.styling.service">

    <flavor name="default">
      <label>label.theme.flavor.nuxeo.default</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>92</width>
        <height>36</height>
        <title>Nuxeo</title>
      </logo>
      <presetsList>
        <presets category="border" src="themes/palettes/default-borders.properties"/>
        <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/default-fonts.properties"/>
        <presets category="color" src="themes/palettes/default-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#cfecff</color>
          <color>#70bbff</color>
          <color>#4e9ae1</color>
          <color>#fff</color>
          <color>#fff</color>
          <color>#0079a6</color>
          <color>#00416b</color>
          <color>#332e2e</color>
          <color>#cfecff</color>
        </colors>
      </palettePreview>
    </flavor>

    <flavor name="rainbow">
      <label>label.theme.flavor.nuxeo.rainbow</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>92</width>
        <height>36</height>
        <title>Nuxeo</title>
      </logo>
      <presetsList append="true">
        <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
        <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
        <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#4a3a6e</color>
          <color>#feffe6</color>
          <color>#cfffd1</color>
          <color>#aafff2</color>
          <color>#99163e</color>
          <color>#a9ff70</color>
          <color>#e74c36</color>
          <color>#00a2cb</color>
          <color>#474747</color>
        </colors>
      </palettePreview>
    </flavor>

  </extension>