Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3148

Webpack changes needed to fix svg image content for dark theme

    XMLWordPrintable

Details

    Description

      As a developer, I want to be able to use <svg tags directly in the console code rather than using <img tags. This will enable the team to deliver dark theme / light theme svg's. There is a poc to do this here:

      https://github.com/seanforyou23/patternfly-react-seed/commit/9b01d0a6d9cc603d7ee64b16823d759af2d87673

      Additional notes from uxd: https://docs.google.com/document/d/1dNL-4hWP1JYa-ZJoBniC9OqBb5yWlxr4p2ZSGI0oZRA/edit?usp=sharing

      Acceptance criteria:

      1. Update the webpack settings as suggested in the poc seed project so that <svg tags can be used in the react code base.
      2. Using existing images, verify that the SVG tag works.

       

      Attachments

        Issue Links

          Activity

            People

              zherman Zac Herman
              jcaiani@redhat.com Joseph Caiani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: