Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123285

Remove AUI code from layout-admin-web/src/main/resources/META-INF/resources/look_and_feel_theme_details.jsp

    Details

      Description

      Steps to show this in the UI

      The AUI code is controlling the selection of a color scheme in the theme.

      To be able to select a color scheme a theme with a couple of color scheme available is needed, the easiest way to do that is modifying the classic theme:

      • Go to modules/apps/frontend-theme/frontend-theme-classic/src/WEB-INF/liferay-look-and-feel.xml
      • Add the following content inside the <theme> tag:
      <color-scheme id="01" name="Default">
       <default-cs>true</default-cs>
       <css-class&gt;default</css-class&gt;
      </color-scheme>
      <color-scheme id="02" name="Day">
       <css-class&gt;day</css-class&gt;
      </color-scheme>
      <color-scheme id="03" name="Night">
       <css-class&gt;night</css-class&gt;
      </color-scheme>
      • Save and deploy frontend-theme-classic
      • Go to Site build -> Pages
      • Click on the cog icon of public pages
      • A new section "Color Scheme has appeared"

      What is needed to test?

      Selecting a color scheme both with click and with tab + (enter or space) should select the color scheme

       

       

       

        Attachments

          Activity

            People

            Assignee:
            team-echo Product Team Echo
            Reporter:
            victor.galan Victor Galan
            Engineering Assignee:
            Victor Galan
            Recent user:
            Sophia Zhang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.13 DXP GA1
                Master