Skip to content

IDE2 styles contain hard coded color constants #1672

Open
@kittaakos

Description

@kittaakos

Describe the problem

Although themes are supported in IDE2, some of the styles and colors are hard-coded. Colors should be derived from themes, if IDE2 needs something additional, a color contribution has to be defined and used.

.certificate-uploader-dialog .success {
display: flex;
align-items: center;
color: #1DA086;
}
.certificate-uploader-dialog .warn {
color: #C11F09;
}

Theia also defines error, warn, info. E.g --theia-errorForeground.

To reproduce

See the description.

Expected behavior

IDE2 does not come with hard-coded color constants

Arduino IDE version

d24a391

Operating system

N/A

Operating system version

N/A

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftopic: themeRelated to GUI themingtype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions