πŸ“œ ⬆️ ⬇️

More power for Firebug

I found out today that the CSS numeric values ​​in Firebag, for example, height or indents, can be changed by 1 or 10 arrows from the keyboard, congratulate me. Here, I think, well done guys - such a good thing done! He immediately tried to turn the same trick with the color property and broke off: the arrows select only a predetermined set of named colors and that one is very thin.

So why not turn the Firebug into a color matching tool and not do it as easy as playing with indents and sizes: pressing arrows?

For example, changing the tone one by one when you press the Up button:
')
# 000000 β†’ Up β†’ # 010101 β†’ Up β†’ # 020202 β†’ ...

And in order to change each channel separately from RGB, select certain combinations. For example, pressing Ctrl + R + Up (R = Red) increases the value of only the red color component:

# 00 0000 β†’ Ctrl + R + Up β†’ # 01 0000
# 00 0000 β†’ Ctrl + R + PageUp β†’ # 10 0000
rgb ( 0, 0,0) β†’ Ctrl + R + PageUp β†’ rgb ( 10, 0,0)

or green:

rgb (0, 0, 0) β†’ Ctrl + G + PageUp β†’ rgb (0, 10, 0)

And with transparency for GRBA, you can also:

rgba (0,0,0, 0 ) β†’ Ctrl + A + Up β†’ rgb (0,0,0, 0.1 )

It would be cool if not?

If you are not a dupe, I ask the interested persons to bring the idea to the developers of Firebag, I have a bad English. Or make a plugin.

ps Yes, there is a FirePicker plugin, but you cannot choose a color there - just crawl with a mouse on the palette, not a cake.

Source: https://habr.com/ru/post/109137/


All Articles