Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7610

Add dark/light mode support for the Moncao code editor, matching the console theme

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • openshift-4.17
    • UI
    • None
    • 1
    • False
    • None
    • False
    • OCPSTRAT-1620 - Console: Customer Happiness (RFEs) for 4.18
    • 0
    • Previously, when the console was set to light mode, the code editor remained in dark mode. With this release, the code editor will match your preferred colour scheme.
    • Feature
    • Proposed
    • Not Supported
    • ODC Sprint 3260, ODC Sprint 3261, ODC Sprint 3262

      Description

      As a user who is visually impaired, or a user who is out in the sun, when I switch the theme in the console to Light mode, then try to edit text files (e.g., the YAML configuration for a pod) using the web console, I want the editor to be in light theme.

      Acceptance Criteria

      1. The CodeEditor component should change its base theme from vs-dark to vs-light when the console theme is changed from dark to light.
      2. Similarly, the console theme is changed from light to dark, the base theme for the monaco editor should change from vs-light to vs-dark.

      Additional Details:

              rh-ee-jaclee Jackson Lee
              rh-ee-jaclee Jackson Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: