Git Product home page Git Product logo

declare-that-color-st3's Introduction

logo

Maintainability codebeat badge GitHub tag (latest SemVer) MIT License

DeclareThatColor is a Sublime Text 3 plugin that aims to help developers declare CSS hex codes to their human-readable color names. It does this by using the ported JavaScript library from Chirag Mehta's name that color tool.

usage

Installation

Download Package Control and use the Package Control: Install Package command from the command palette. Using Package Control ensures DeclareThatColor will stay up to date automatically.

Usage

From the Sublime Text's main menu click on:

  • Edit โ†’ Declare That Color to declare hex codes
  • Edit โ†’ Undeclare That Color to revert declarations

Key bindings

DeclareThatColor doesn't ship with default key bindings, but you may use the template below to set up your own.

[
  { "keys": ["Your shortcut"], "command": "declare_that_color" },
  { "keys": ["Your shortcut"], "command": "undeclare_that_color" }
]

Settings

For a comprehensive list of settings navigate to Preferences โ†’ Package Settings โ†’ DeclareThatColor โ†’ Settings - Default or go to DeclareThatColor/declare_that_color.sublime-settings. To avoid your changes from being overwritten by updates, make sure all of your edits are saved to Settings โ€“ User.

Contribute

If you have any problem, idea or suggestion, feel free to create issues and pull requests on GitHub.

License

Distributed under the MIT license. See LICENSE for more information.

Author

Herbert Verdida / @bertdida

Credits

This work was inspired by Chirag Mehta's name that color tool, much thanks to him for open sourcing his JavaScript code!

Also, thanks to @Tobaloidee for designing this project's logo.

declare-that-color-st3's People

Contributors

bertdida avatar tobaloidee avatar

Stargazers

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

Watchers

 avatar

Forkers

tobaloidee

declare-that-color-st3's Issues

Case convertion

Add support to specify case types for the following:

  • snake_case
  • SCREAMING_SNAKE_CASE
  • camelCase
  • PascalCase
  • dash-case

Color name prefix

Add a setting to include prefix for color names.

For example, if color_name_prefix is set to color- variables will be composed like $color-white.

Logo Proposal

Hi @bertdida I am tobaloidee again, I designed your logo for TwitterQuoteScraper. I would like to do a logo also for this project of yours..If you are interested I will work again. Thanks!

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.