caesarsol/ohlala-vscode

๐ŸŒˆ A fresh dark theme for VS Code

โ˜… 0Forks 0GitHub โ†—Compare

README

logo

๐ŸŒˆ A fresh dark theme for VS Code.
Ohlala theme is also available for iTerm and Slack, see here.

npm marketplace-version


๐Ÿ•ถ How it looks

JSX

JSX

Markdown, CSS, HTML, Typescript/Javascript

Markdown, CSS, HTML, Typescript/Javascript

๐ŸŒˆ Color palette

Main colors:

Color Hex RGB HSL ๐ŸŽจ
green #37E7AC 55, 231, 172 160ยฐ, 61%, 56% green
cyan #51FBDE 81, 251, 222 170ยฐ, 51%, 65% cyan
blue #00B2FF 0, 178, 255 198ยฐ, 100%, 50% blue
purple #9A89B4 154, 137, 180 264ยฐ, 13%, 62% purple
lavender #9B6DFF 155, 109, 255 259ยฐ, 39%, 71% lavender
pink #FF5CD3 255, 92, 211 316ยฐ, 46%, 68% pink
rose #FF6B9D 255, 107, 157 340ยฐ, 40%, 71% rose
orange #FF9970 255, 153, 112 17ยฐ, 38%, 72% orange
yellow #FED604 254, 214, 4 50ยฐ, 97%, 51% yellow
gray-01 #D9E0E8 217, 224, 232 212ยฐ, 2%, 88% gray-01
gray-02 #808182 128, 129, 130 210ยฐ, 0%, 51% gray-02
gray-09 #1F2330 31, 35, 48 226ยฐ, 21%, 15% gray-09

โš™๏ธ Installation

  1. Open the Extensions sidebar
  2. Search for Ohlala theme
  3. Click on Install
  4. Open the Command Palette with Ctrl+Shift+P or โ‡ง โŒ˜ P or go to View โ†’ Command Palette...
  5. Select Preferences: Color Theme and choose Ohlala theme
  6. Enjoy! ๐ŸŽ‰

๐Ÿ™ˆ Language support

I develop mainly in React, HTML, CSS, Javascript and Typescript so for this set of languages, the theme should look pretty good but maybe there be problems for other not tested languages. ๐Ÿ‘‡

๐Ÿ› Issues & contributing

This theme is still in progress. Anyway, if you open an issue (or a PR), I will be happy :)

๐Ÿก Customization

If you don't like something and you want to change it, VS Code allows you to do it easily: just open the Command Palette (Ctrl+Shift+P) and select Preferences: Open Settings (JSON).
Now, you can override VS Code's defaults or Ohlala's colors.

Some examples:

  • Contrast colors: if you want to add borders around items across the UI to increase the contrast:

    Code
    "workbench.colorCustomizations": {
      "contrastActiveBorder": "#68737D",
      "contrastBorder": "#68737D"
    }
  • Underline: if you don't like underline style, you can remove it:

    Code
    "editor.tokenColorCustomizations": {
      "textMateRules": [
        {
          "name": "No underline",
          "scope": [
            "markup.error",
            "invalid",
            "invalid.illegal",
            "invalid.deprecated",
            "markup.underline",
            "markup.heading",
            "markup.underline.link",
            "markup.underline.link.image",
            "entity.name.type.class",
            "comment keyword.codetag.notation",
            "comment.block.documentation keyword",
            "comment.block.documentation storage.type.class",
            "entity.name.type",
            "keyword.primitive-datatypes.swift",
            "keyword.type.cs",
            "meta.protocol-list.objc",
            "meta.return-type.objc",
            "source.go storage.type",
            "source.groovy storage.type",
            "source.java storage.type",
            "source.powershell entity.other.attribute-name",
            "storage.class.std.rust",
            "storage.type.attribute.swift",
            "storage.type.c",
            "storage.type.core.rust",
            "storage.type.cs",
            "storage.type.groovy",
            "storage.type.objc",
            "storage.type.php",
            "storage.type.haskell",
            "storage.type.ocaml",
          ],
          "settings": {
            "fontStyle": "normal"
          }
        }
      ]
    }
  • Italics: the same, if you don't like italics style, you can remove it:

    Code
    "editor.tokenColorCustomizations": {
      "textMateRules": [
        {
          "name": "No italics",
          "scope": [
            "markup.error",
            "invalid",
            "invalid.illegal",
            "invalid.deprecated",
            "markup.italic",
            "fenced_code.block.language.markdown",
            "fenced_code.block.language",
            "markup.raw.inner.restructuredtext",
            "markup.fenced_code.block.markdown punctuation.definition.markdown",
            "keyword.expressions-and-types.swift",
            "keyword.other.this",
            "variable.language",
            "variable.language punctuation.definition.variable.php",
            "variable.other.readwrite.instance.ruby",
            "variable.parameter.function.language.special",
            "meta.attribute.src.html",
            "meta.decorator variable.other.readwrite",
            "meta.decorator variable.other.property",
            "string",
            "entity.name.function.target.makefile",
            "entity.name.section.toml",
            "entity.name.tag.yaml",
            "variable.other.key.toml",
          ],
          "settings": {
            "fontStyle": "normal"
          }
        }
      ]
    }

To learn more about scopes, check out the color theme documentation.

License

MIT ยฉ Ilaria Venturini

Contributors

ilariaventurini

Issues