Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 514551 - Configurable set of default themes for CodeEdit
Summary: Configurable set of default themes for CodeEdit
Status: CLOSED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 14.0   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-31 10:41 EDT by Brian Gleeson CLA
Modified: 2018-04-09 09:37 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Gleeson CLA 2017-03-31 10:41:36 EDT
A small list of default themes should be available and one can be chosen simply by setting a property in the config when creating the editor.

1)For example:
  const codeEdit = new CodeEdit({
    ...
    theme: 'dark'
  });

2) Or:
  codeEdit.create({ parent: 'parent', theme: 'dark'})
Comment 1 Michael Rennie CLA 2018-04-09 09:37:00 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. 

For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04114.html