GithubHelp home page GithubHelp logo

Comments (10)

rgbkrk avatar rgbkrk commented on May 18, 2024

First thing - make sure to run atom from the command line:

$ atom .

Second, try installing it from the command line

$ apm install hydrogen

from hydrogen.

stared avatar stared commented on May 18, 2024

Thanks. Installing through command line works (and I got no warning or errors).

But in Atom it works (i.e. executes lines, provides autocompletion) but instead of results shows white boxes. (As it might be related to my previous problem, I keep this in this thread.) Do you have any ideas what it is?

screen shot 2015-06-09 at 17 12 35

from hydrogen.

rgbkrk avatar rgbkrk commented on May 18, 2024

Hmm, I see white on white results there. This looks like a theming misalignment.

from hydrogen.

stared avatar stared commented on May 18, 2024

I see - it is a different thing. I tried to change styles and for light themes it works; for all dark themes I have it is unreadable (for Monokai - almost visible).

But in this case - isn't it an issue with box color? (How can it be styled?)

(And for the main topic - any ideas why from-Atom installation did not work for me (permissions? different stuff?).)

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

Per the readme,

Assuming you followed the dependencies steps above, you can now apm install hydrogen (recommended) or search for "hydrogen" in the Install pane of the Atom settings. Note that installing from within Atom will only work if you start Atom from the command line! See Jank.

One of our dependencies needs an external build tool, and Atom only has your $PATH if run from the command line.

This is looks like an issue with my styling logic (it tries to select colors that match your background). What UI theme and syntax theme are you using? I'll fix that up ASAP.

from hydrogen.

stared avatar stared commented on May 18, 2024

@willwhitney I don't know why I missed the last sentence, my bad.

(Maybe because it was not near to command line commands or because I didn't know command line installation for atom, let alone - that it is different.)

I use Monokai, for Python 2.7, no Python-specific packages. On my computer all dark themes (including built-in) look unreadable.
I had some custom styling, but switching it off made no difference.

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

No worries!

What UI theme and syntax theme are you using?

from hydrogen.

stared avatar stared commented on May 18, 2024

Atom Dark / Monokai.

On 09 Jun 2015, at 18:52, Will Whitney [email protected] wrote:

No worries!

What UI theme and syntax theme are you using?

โ€”
Reply to this email directly or view it on GitHub.

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

If it's this monokai, it fails to declare the global syntax color variables that Hydrogen depends on.

I guess I'll just make Hydrogen use the same colors no matter what, maybe attempting to pick one of two themes based on the syntax colors if possible. I have to assume that other themes are going to have this problem as well.

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

Okay, I just pushed a patch that fixes up the color selection code a little bit. I think that should take care of it โ€”ย thanks for reporting the issue!

from hydrogen.

Related Issues (20)

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.