nonylene / vscode-dark-molokai-theme

Dark x Molokai x Monokai theme for VSCode
https://marketplace.visualstudio.com/items?itemName=nonylene.dark-molokai-theme
MIT License
20 stars 9 forks source link

The font changed when open json file #5

Closed qingtao closed 3 years ago

qingtao commented 3 years ago

I open change language mode to json, the font changed, when use this theme.

system: windows 10

vscode default dark theme:

3811B308-5B1E-4ab0-89BD-7B359ADC2D45

use molokai theme:

E615973A-11C2-4530-A019-C7E9EC275472

my settings.json:

// Place your settings in this file to overwrite the default settings
{
  "files.eol": "\n",
  "http.proxyStrictSSL": false,
  "telemetry.enableTelemetry": false,
  "telemetry.enableCrashReporter": false,
  "editor.wordWrap": "wordWrapColumn",
  "editor.quickSuggestions": {
    "other": true,
    "comments": true,
    "strings": true
  },
  "workbench.startupEditor": "none",
  "window.restoreWindows": "none",
  "git.autofetch": true,
  "window.zoomLevel": 0,
  "editor.wordWrapColumn": 100,
  "breadcrumbs.enabled": true,
  "go.testFlags": ["-v", "-count=1"],
  "[go]": {
    "files.eol": "\n",
    "editor.snippetSuggestions": "none",
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
      "source.organizeImports": true
    }
  },
  "[go.mod]": {
    "files.eol": "\n",
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
      "source.organizeImports": true
    }
  },
  "gopls": {
    "completeUnimported": true,
    "gofumpt": true,
    "experimentalWorkspaceModule": true,
    "ui.diagnostic.analyses": {
      "fieldalignment": false
    },

    "ui.completion.experimentalPostfixCompletions": true
  },
  "editor.formatOnSave": true,
  "vim.handleKeys": {
    "<C-a>": false,
    "<C-d>": true,
    "<C-f>": false,
    "<C-n>": true,
    "<C-p>": true,
    "<C-c>": false,
    "<C-v>": true
  },
  "editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace",
  "go.useLanguageServer": true,
  "git.confirmSync": false,
  "dart.debugExternalLibraries": false,
  "dart.debugSdkLibraries": false,
  "python.analysis.cacheFolderPath": "D:\\Programs\\py\\cache",
  "python.condaPath": "D:\\Programs\\Anaconda3\\envs\\vscode\\python",
  "editor.suggestSelection": "first",
  "java.configuration.checkProjectSettingsExclusions": false,
  "hediet.vscode-drawio.theme": "atlas",
  "files.autoGuessEncoding": true,
  "hediet.vscode-drawio.local-storage": "eyIuZHJhd2lvLWNvbmZpZyI6IntcImxhbmd1YWdlXCI6XCJcIixcImN1c3RvbUZvbnRzXCI6W10sXCJsaWJyYXJpZXNcIjpcImdlbmVyYWxcIixcImN1c3RvbUxpYnJhcmllc1wiOltcIkwuc2NyYXRjaHBhZFwiXSxcInBsdWdpbnNcIjpbXSxcInJlY2VudENvbG9yc1wiOltdLFwiZm9ybWF0V2lkdGhcIjpcIjI0MFwiLFwiY3JlYXRlVGFyZ2V0XCI6ZmFsc2UsXCJwYWdlRm9ybWF0XCI6e1wieFwiOjAsXCJ5XCI6MCxcIndpZHRoXCI6ODI3LFwiaGVpZ2h0XCI6MTE2OX0sXCJzZWFyY2hcIjp0cnVlLFwic2hvd1N0YXJ0U2NyZWVuXCI6dHJ1ZSxcImdyaWRDb2xvclwiOlwiI2QwZDBkMFwiLFwiZGFya0dyaWRDb2xvclwiOlwiIzZlNmU2ZVwiLFwiYXV0b3NhdmVcIjp0cnVlLFwicmVzaXplSW1hZ2VzXCI6bnVsbCxcIm9wZW5Db3VudGVyXCI6MCxcInZlcnNpb25cIjoxOCxcInVuaXRcIjoxLFwiaXNSdWxlck9uXCI6ZmFsc2UsXCJ1aVwiOlwiXCJ9In0=",
  "[markdown]": {
    "editor.defaultFormatter": "yzhang.markdown-all-in-one"
  },
  "java.server.launchMode": "LightWeight",
  "[dart]": {
    "editor.formatOnSave": true,
    "editor.formatOnType": true,
    "editor.rulers": [80],
    "editor.selectionHighlight": false,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.suggestSelection": "first",
    "editor.tabCompletion": "onlySnippets",
    "editor.wordBasedSuggestions": false
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "files.associations": {
    "*.vugu": "html"
  },
  "maven.showInExplorerContextMenu": true,
  "workbench.iconTheme": "vs-goplus",
  "rust-analyzer.completion.autoimport.enable": false,
  "leetcode.workspaceFolder": "D:\\src\\leetcode",
  "leetcode.nodePath": "D:\\Programs\\node-v14.15.3-win-x64\\node.exe",
  "leetcode.endpoint": "leetcode",
  "leetcode.hint.configWebviewMarkdown": false,
  "leetcode.defaultLanguage": "golang",
  "leetcode.hint.commentDescription": false,
  "leetcode.hint.commandShortcut": false,
  "python.showStartPage": false,
  "todo-tree.tree.showCurrentScanMode": false,
  "todo-tree.highlights.defaultHighlight": {
    "background": "rgba(100,100,100,1)"
  },
  "todo-tree.tree.showCountsInTree": true,
  "todo-tree.filtering.excludeGlobs": [
    "**/vendor/**",
    "**/node_modules/**",
    "**/dist/**",
    "**/bower_components/**",
    "**/build/**",
    "**/.vscode/**",
    "**/.github/**",
    "**/_output/**",
    "**/*.min.*",
    "**/*.map"
  ],
  "editor.renderControlCharacters": true,
  "code-runner.executorMap": {
    "gop": "gop run"
  },
  "workbench.colorTheme": "Dark (Molokai)"
}
nonylene commented 3 years ago

It seems that the same font, "Cascadia Code", is displayed in the both themes. A difference bettwen the themes is font style: Molokai theme uses the italic style (inherited from Monokai theme) as opposed to the normal style in the default dark theme.

The shape of Cascadia Code greatly differs between the normal style and the italic style, so at first glance they look like different fonts :)