Skip to content

SwaggerEditor@next(editor): Isolate additional semantic token colors #3277

Open
@tim-lai

Description

@tim-lai
  • At least in dark mode, we currently have no tokens that get rendered in red. Therefore, need to track down the cases where red is displayed from a default theme implementation, and implement custom styling.
  • Need to resolve broken color tokens within text, url string, etc. Please refer to screenshot, which is referencing the definition from petstore 3. https://petstore3.swagger.io/api/v3/openapi.json (then convert to yaml)

Screen Shot 2021-12-01 at 2 56 31 PM


additional notes: the breaking up of the string occurs in yaml, and less (not?) prevalent when in json. here's a sample:
swagger-ide-issue-324-1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions