Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Doc. for Monaco themes implementation + make a theme loader + user control #28

@JulianCataldo

Description

@JulianCataldo

This can be documented AND automated (?).

Goal

Input

A JSON Monaco theme

{
  "base": "vs-dark",
  "inherit": true,
  "rules": [
    {
      "background": "282a36",
      "token": ""
    },
    {
      "foreground": "6272a4",
      "token": "comment"
    },
    {
      "foreground": "f1fa8c",
      "token": "string"
    },
    {
      "foreground": "bd93f9",
      "token": "constant.numeric"
    },
    {
      "foreground": "bd93f9",
      "token": "constant.language"
    },

//

Output

Its CSS variables (from browser)

:root {
  --vscode-foreground: #cccccc;
  --vscode-errorForeground: #f48771;
  --vscode-descriptionForeground: rgba(204, 204, 204, 0.7);
  --vscode-icon-foreground: #c5c5c5;
  --vscode-focusBorder: #007fd4;
  --vscode-textSeparator-foreground: rgba(255, 255, 255, 0.18);
  --vscode-textLink-foreground: #3794ff;
  --vscode-textLink-activeForeground: #3794ff;
  --vscode-textPreformat-foreground: #d7ba7d;


//

Features

Tasks

  • Integration process (for dev's)
  • Generic loader (for app)
  • User control

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationdraftenhancementNew feature or requestgui

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions