Code Monkey home page Code Monkey logo

visual-studio-code's Introduction

Dracula for Visual Studio Code

A dark theme for Visual Studio Code.

Screenshot

Install

All instructions can be found at draculatheme.com/visual-studio-code.

Team

This theme is maintained by the following person(s) and a bunch of awesome contributors.

Derek S.
Derek S.

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

Contributing

If you'd like to contribute to this theme, please read the contributing guidelines.

Dracula PRO

Dracula PRO

License

MIT License

visual-studio-code's People

Contributors

ajitid avatar anilsonix avatar asportnoy avatar bkis avatar black-black-cat avatar cfbender avatar danielramosacosta avatar dependabot[bot] avatar dsifford avatar epogue avatar eric-jackson avatar fabyosk avatar film42 avatar gabts avatar geomaciolek avatar ginomempin avatar hackwaly avatar imgbot[bot] avatar leandrocunha avatar luxonauta avatar nickcernis avatar smt923 avatar ulthes avatar xtopher98 avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visual-studio-code's Issues

Not Working on 1.12.0

Workbench styling isn't present in the latest release. I'm sure this is just some simple updates but I wanted to make sure it wasn't a bug on my end.

screen shot 2017-05-04 at 3 03 15 pm

Recolor heads-up notification

VS Code 1.14 breaks colors of label and button of heads-up notification
capture

New keys are in this issue: microsoft/vscode#28280


Can you also revert terminal's background color? Output, Problems and Debug Console all having same bg color but Terminal having a different bg color feels strange.

If you've provided color to title bar in Mac, then update its screenshot in readme too.

Remove italic on 'arrow' at functions definitions

Using javascript, maybe typescript too, when we declare an anonymous function or a lambda the arrow operator => is italic.
Since most of fonts do not support ligatures such as Fira code, nor support italics, for a better alignment I think is better to keep them normal.

Solution to Python raw strings

You were right back then about escape characters in Python for raw strings.
But I found out how other themes are tackling it...

Nord
screenshot 192

Material theme
screenshot 193

Dracula
screenshot 191

Basically they are giving same color to whole raw string the color of escape characters. It seems good to me. Please do it if doesn't breaks the theme.

That maybe a small thing for anyone, but it brings consistency and sense to semantic highlighting. Thanks!

Themes's colors whose value is null assume red by default

From @heronsilva on August 12, 2017 1:44

  • VSCode Version: 1.16.0-insider
  • OS Version: Debian 9.1 / Ubuntu 16.04

Steps to Reproduce:

  1. Install the 'Dracula' theme
  2. Select any theme you have installed
  3. Switcth to 'dracula' or 'dracula soft'
  4. Elements in the editor should turn red, like borders, sidebar text, etc.

Reproduces without extensions: No

Screenshot:

Copied from original issue: microsoft/vscode#32359

Unable to install via git

Your web page says:

Install using Git
If you are a git user, you can install the theme and keep up to date by cloning the repo:

$ git clone https://github.com/dracula/visual-studio-code.git ~/.vscode/extensions/theme-dracula

However, this doesn't seem to work anymore: vscode complains about a missing theme/dracula.json file.

Feedback for Dracula-Soft

Love this theme, great work.

I'm wondering if we could perform more "softening" for Dracula-Soft. I feel like it's still very neon and painful on the eyes.

Perhaps more desaturation?

Highlight color of comments is hard to read

The find highlight color, selection highlight color, and selection highlight of a find highlighted color for comments are a bit difficult to read. Maybe they should be adjusted to improve readability?

screen shot 2017-11-21 at 2 43 43 am

Counterintuitive tab highlight in 1.10.0

โš ๏ธ This is just an opinion, I know dracula has fixed colors.

With the current theme it's hard to see wich tab is selected:
current theme

I think that something like this is more intuitive(not necessarily this):

alt theme

Is more seamless and uniform:

alt theme with tab highlighted

In order to obtain those colors I used HSV color space and lower down the V.

Selection, highlights, and similar terms too similar

Multiple selections or similar term selections are very hard to differentiate. Im not able to tell how many terms Ive selected when doing multi cursor editing.

Consider identifying the different vs code selection types and differentiating between them better.

Hovering over a token

image

Multiple tokens selected, can you tell which? :)
image

Update preview screenshot

Current screenshot is far from the actual results and is much worse than what people are getting with this theme. As a result some people may just not give it a chance ;)

Current:
https://camo.githubusercontent.com/d695efd1815607a9056ea5817501adc0a63632ca/68747470733a2f2f64726163756c617468656d652e636f6d2f6173736574732f696d672f73637265656e73686f74732f7673636f64652e706e67

My screenshot with more or less similar code:
https://d2ppvlu71ri8gs.cloudfront.net/items/370a402J221n2H2x3S0o/Image%202017-04-28%20at%202.07.26%20PM.png

Other small details

Its about intent guides and and current line highlighting.

Intent guides can get some Dracula feel rather than any shade of black.
Current line can also be highlighted in a more modern way by coloring whole line rather than giving thick outline to it.

Solarized Dark:
sol dar

Nord:
nord

Material Theme:
screenshot 199

Dracula:
drac

improve time legibility in terminal

The terminal time is rather difficult to read for me:

image

Dark is fine, but lighter would be nice. I think this is the current color is:
image
where the only other dark color has a brown to it (not sure when this is used...):
image

Maybe we can use a darker gray than the brackets? Nothing special, but just to have a starting point suggestion, take a look at #757575 (was thinking a purple gray, which that isn't really ha)

I'm sure many colors would be a nice improvement, thanks for all your work and consideration!

Operator Mono Font problem

first thanks for your awesome theme my problem is when i use operator mono font i cant get best result forexample see these pictures. the first one is operator mono font with one dark pro thene :
One Dark Pro

and below is dracula theme with same config with operator mono font

dracula

can i get result of operator mono theme like one dark pro in dracula theme ?

can't uninstall theme

I tried disable plugin and restart vscode and do again but still can't uninstall theme , please see the screenshot. It stuck on this step.

2017-12-25 17:32 10

vs code version: 1.19.1
system: macOS 10.12.6

Single quote colour glitch

As per the screenshot, the single quote and slashes here should not be a different colour from the text.

capture

LANGUAGE: PHP

This actually affects a bunch of themes I've seen so far, including about half of the included ones in VS Code. Like Dracula, other themes don't seem to handle this text properly. However some are slightly different in that the entire text in the second single quote is a different colour from the first if statement single quote text. So no idea what the issue is.

Seems like it should be controllable since some themes, ie. Cobalt2, doesn't have this. But maybe it's not...? Thanks!

Support for symbols (ruby), atoms (elixir) and keys in general

Since symbols, atoms and keys (:foo, bar: "a value", key: :atom) are important part of the languages (ruby, elixir, maybe others?) they could have a dedicated highlight color instead of plain white, which does not provide any relevance for the syntax highlight, e.g.:

Using Code 1.12.2 & Dracula 1.17.0

Elixir:
ex

Ruby:
ruby

Possible Solutions

Atom theme uses the purple color to keys in general such as:

ex-atom

Which would be enough to have.
But since the issue #12 I think would make more sense use the new "keys" highlight as the yaml keys making them more distinguishable.

ruby

Theme improvements

  1. Inconsistency here! Please change blue color of key's quotes a bit to match behaviour of expand selection with yellow strings.
    peek 2017-09-19 19-42

  2. Dragging and dropping tabs shows a solid background. How about changing "editorGroup.dropBackground": "#44475a" to "editorGroup.dropBackground": "#44475a70" ?

  3. Also please update screenshot in the readme. Thanks!

Theme improvements

Can you make Dracula theme more minimal by making just one change โ€” "activityBar.background": "#21222C" ?

capture

Color contrast of selection / match / search result

Hi!

First I like to say, that I love this theme.

It will be nice, if you can somehow improve the contrast in any "search result", even the matches by selecting words. On some monitors it is almost invisible:
low-contrast-highliht
If it is visible, than still hard to decide, which is the selection itself, and which are the matches. So it will be niche to differentiate between them more.

And of course I like to have the selection in ordinary neon pink or purple color :) (probably not possible because of different languages... what a pity)

Many thanks!

Color status bar highlight

Don't know what it is called.

Steps:

  1. Press Ctrl+M to see "Tab moves focus" in status bar. This isn't colored.
  2. Press Ctrl+M to hide it back again.

capture

Solution is using statusBarItem.prominentBackground and statusBarItem.prominentHoverBackground

Workbench theming - terrible contrast on debug menu

image

Especially "play" sign due to lack of border looks pretty terrible. Screenshot doesn't give it full justice to be honest.

Otherwise very good job on workbench theming! Although I would also suggest slightly better contrast on file tabs.

Improve semantic highlighting across all languages

The Problem

Dracula does not have an official guideline when it comes to semantic highlighting. Because of this, you might notice that there is really no uniformity between Dracula theme implementations, and even between languages within the same Dracula theme implementation (including this one!).

An example of this behavior can be seen by comparing JSON and yaml languages below.

Before

JSON Yaml

The solution

The theme implementation will need to be scrutinized so that the semantic highlighting across all languages is uniform.

An example of this solution applied to JSON and yaml can be seen below.

After

JSON Yaml

Community Feedback

I'd prefer to make these uniformity adjustments as democratic as possible. I understand that everybody has their own personal tastes when it comes to how things should be highlighted. So, in an effort to be as fair as possible, I ask that you please leave your feedback and suggestions below so that the changes can be the result of a large user consensus.

Changes that land in updates are not final

If a particular change is made that you don't like, please let me know and we can discuss!

Progress

Key Value
โŒ Not started
๐Ÿšง Work-in-progress
โ˜‘๏ธ Finished
Language Status
c โŒ
c++ โŒ
clojure โŒ
coffeescript โŒ
c# โŒ
css โŒ
f# โŒ
go โŒ
groovy โŒ
java โŒ
javascript ๐Ÿšง
json โ˜‘๏ธ
less โŒ
lua โŒ
make โŒ
obj-c โŒ
perl โŒ
php โŒ
powershell โŒ
python โŒ
R โŒ
ruby โŒ
rust โŒ
sass โŒ
shell (bash) โŒ
swift โŒ
toml โŒ
typescript ๐Ÿšง
yaml โ˜‘๏ธ

vscode 1.13 install button

1.13 seems to have added some new workbench theming api.
Everything seems fine (from what I experienced) except for install extension button.

image

Terrible for your eyes ;)

Coloring heads-up notification

I don't know what it is actually called I say it heads-up notification, what I know is that it can be colored.

Solarized Dark:
screenshot 187

Nord:
screenshot 186

Dracula:
screenshot 189

Please also give color to buttons (also different color while hovering on them)

Remove CHANGELOG.md

Is there any reason why we need a CHANGELOG.md file since we use GitHub Releases already?

Cursor (caret) color

[Feature Request]
Don't you think that giving fuchsia color to cursor will make it more Dracula type?
If yes, then please give it in the next release! ๐Ÿ˜

Visual Studio Code jsx highlighting problem

When I put create a new line (in a situation like below), it disturbs the JSX highlighting:

But it's ok if I don't break a new line (green underline is not related with the issue, it's about tslint rule):

Inconsistent bottom bar color

Dunno if this is a bug in new workbench theming or if there is some missing property, but when I simply open a new window (File->New Window) I get as expected this in bottom bar:
image

But when I open a directory (File->Open->dir), bottom bar looks like this:
image

Expand selection to quotes

VS Code has this nice expand selection feature. While expanding selection, Dracula include quotes (maybe because it gives same color to the quotes) but other themes like Nord and Material Theme (Mattia's one) does not. Everytime when I need to clear out anything inside a quote and replace it with something, putting those quotes again gives me another step. Can you fix that?
drac

Improve terminal contrast for highlighted rows

The current ansiBrightWhite of *COLOR7 / #BFBFBF is problematic in the terminal for highlighted rows, such as those used by tig:

settings_json_ _spt

I propose *WHITE for ansiBrightWhite instead to make highlighted rows more legible:

settings_json_ _spt

Pull request incoming.

Darker shades?

Any chance of adding a 2nd shade option w/ slightly flatter colors? I love the combination, of colors, but can be a bit too bright on the eyes for me personally. Just a suggestion, understand if you're not interested.

Handle punctuation.definition.comment as a 'comment'

This is similar to the puncuation addition to 'keyword'. For me the problem manifested in Javascript (Babel) with the '//' portion of the comment being white as it matched general punctuation. Tried to do a branch/PR-Merge - alas - denied.

diff --git a/src/dracula.yml b/src/dracula.yml
index 9ec446a..2984ea0 100644
--- a/src/dracula.yml
+++ b/src/dracula.yml
@@ -506,6 +506,7 @@ tokenColors:
   - name: Comments
     scope:
     - comment
+    - punctuation.definition.comment
     settings:
       foreground: *COMMENT

Request to remove all separators and borders

screenshot from 2017-09-03  #10-09-41

Just to make Dracula a bit minimal and support issue #21 , all border lines can be removed.


To separate the panel with the editor, different colors can be used instead (and so there will be no need of any separator):

    "terminal.background": "#343746",
    "panel.background": "#343746"

screenshot from 2017-09-03 09-48-38
This separator between list items in command palette has too much contrast.

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.