Giter VIP home page Giter VIP logo

Comments (3)

jerclarke avatar jerclarke commented on July 17, 2024

I think this definitely is a hole in the current NetBeans themes. I'm really digging the solarized theme overall, but the diff's there right now are painful to look at. It seems like there just isn't support for this in the core Solarized concept. There are only two background themes that work for any given context, and in Diff that isn't even close to being sufficient.

One solution I tried was using the inverse 'background tones', so that in dark theme diff's use the two shades of beige for added/changed lines. This is pretty hard to look at though, and fails to convey the very useful red/blue/green relationships we're used to from pleasant diff engines. It seems weird to me but I can't find anyone anywhere talking about this issue with the Solarized concept. Maybe because most users aren't running apps with build-in difference engines like NetBeans? There's discussion of the .diff filetype (which uses the normal green for new text), but that's different from this, because in NetBeans the diff engine still has coloring, so if we use green as the background then any text with the green color as it's text color will be invisible :S

I'm going to work on dementing the standard 'background tones' to be red/green/blue and see if I can come up with something at least workable. IMHO this netbeans plugin would be better off with functional diff colors than with strict adherence to the spec.

from netbeans-colors-solarized.

jerclarke avatar jerclarke commented on July 17, 2024

Here's a screenshot of some at least workable colors I came up with:

http://simianuprising.com/wp-content/uploads/2012/01/solarized-netbeans-diff-example2.png

In NetBeans-labels these are the values:

Color of Added Text: 41,69,24
Color of Removed Text: 89,37,37
Color of Changed Text: 29,58,96

They don't feel particularly good for the light theme but for the dark theme they are infinitely better than the defaults.

I'm not sure what's up with the grey background on the left hand side of the screenshot. I can't find what's controlling that color. Photoshop tells me it's 81,81,81, but I can't find anything in the NetBeans color prefs that is 81, 81, 81. That grey color stays even when I switch to the light solarized theme.

from netbeans-colors-solarized.

fentie avatar fentie commented on July 17, 2024

I just updated the settings for .diff files, I'll have a look at the side by side diff a bit later, hopefully within the next few days. I admit, it's a tricky issue.

from netbeans-colors-solarized.

Related Issues (13)

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.