GithubHelp home page GithubHelp logo

deep-dark-space's Introduction

Deep Dark Space

Recommended Settings

"editor.guides.bracketPairs": "active",
"editor.bracketPairColorization.enabled": false

HTML

HTML

CSS

CSS

JavaScript

JavaScript

JavaScript

TypeScript

TypeScript

C

C

C++

C++

Clojure

Clojure

C#

C#

Dart

Dart

Go

Go

Java

Java

Markdown

Markdown

PHP

PHP

Python

Python

Ruby

Ruby

Rust

Rust

Swift

Swift

YAML

YAML

JSON

JSON

"fontStyle": "italic"

  1. If you want all your code to be italicized, like on my screenshots, add these settings to your settings.json file.
"editor.tokenColorCustomizations": {
  "[Deep Dark Space]": {
    "textMateRules": [
      {
        "scope": [
          "source",
          "text.html",
          "entity.other.attribute-name.class.css",
          "entity.other.attribute-name.id.css"
        ],
        "settings": {
          "fontStyle": "italic"
        }
      }
    ]
  }
}
  1. If you want to italicize only the strings, keywords, functions, variables, numbers or types, add these settings to your settings.json file.

For example, let's italicize only the keywords:

"editor.tokenColorCustomizations": {
  "[Deep Dark Space]": {
    "keywords": {
      "fontStyle": "italic"
    }
  }
}
  1. If you want to italicize only the words - true, false, undefined or null, add these settings to your settings.json file.
"editor.tokenColorCustomizations": {
  "[Deep Dark Space]": {
    "textMateRules": [
      {
        "scope": [
          "constant.language.boolean", // true, false
          "constant.language.undefined",
          "constant.language.null",
          "constant.language" // true, false, undefined, null
        ],
        "settings": {
          "fontStyle": "italic"
        }
      }
    ]
  }
}

Words function, interface, class, type, and let, const are italicized by default. If you want to make them in normal font, add these settings to your settings.json file.

"editor.tokenColorCustomizations": {
  "[Deep Dark Space]": {
    "textMateRules": [
      {
        "scope": [
          "storage.type.function",
          "storage.type.interface",
          "storage.type.class",
          "storage.type.type"

          "storage.type", // let, const + function, interface, class, type
        ],
        "settings": {
          "fontStyle": ""
        }
      }
    ]
  }
}
  1. If you want to italicize only the class or parameter, add these settings to your settings.json file.

For example, let's italicize only the parameter:

"editor.semanticTokenColorCustomizations": {
  "[Deep Dark Space]": {
    "enabled": true,
    "rules": {
      "parameter": {
        "fontStyle": "italic"
      }
    }
  }
},

A more complete list of tokens that can be italicized.

But not all fonts look good in italic style. I prefer to use JetBrains Mono or Fira Code.

License

MIT License

I hope you enjoyed my theme.

deep-dark-space's People

Contributors

smpl-ndrw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.