Coder Social home page Coder Social logo

Comments (5)

Potherca avatar Potherca commented on August 16, 2024 1

Sorry about the delay, with the whole Corona thing going on and changing jobs to join @pdsinterop, this got shuffled to the bottom of the deck.

CSS defines values for properties, for instance, if I want an HTML page to be red with white letters, I would define:

    body {
        color: #FFF;
        background-color: #F00;
    }

Instead of #F00 I could also use rgb(255, 0, 0);, hsl(0, 100%, 50%); or simply red.

All available colors are listed at MDN

There is a UI element in PHPStorm that provides some functionality:

phpstorm

(Image taken from the PHPStorm manual entry on stylesheets)

Changing jobs also meant changing laptops. Currently I am working mostly in Cloud9 IDE and VSCode.

As soon as I have PHPStorm installed and set up, I could add some examples and screenshots for futher clarity if needed...

from name-that-color-intellij-plugin.

galex avatar galex commented on August 16, 2024

Hello @Potherca ,

Sounds doable! All this plugin does to target Android is to add "triggers" in an xml file containing <resources></resources> tags.

On what platform/language are you working on and how are colors defined in your project?

from name-that-color-intellij-plugin.

Potherca avatar Potherca commented on August 16, 2024

I use PHPStorm (WebStorm is similar). Colors occur mostly in CSS, Sass (CSS) or Less files.
They occur as values to keys like:

color: #00FF00;

There is all sorts of functionality related to color in CSS files (and similar) but no way (that I know of) to add/convert to "name that color".

from name-that-color-intellij-plugin.

galex avatar galex commented on August 16, 2024

Can you show me an example of how you define and use named colors in css?

from name-that-color-intellij-plugin.

galex avatar galex commented on August 16, 2024

Ping @Potherca :)

from name-that-color-intellij-plugin.

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.