tilemill icon indicating copy to clipboard operation
tilemill copied to clipboard

Color picker: Ability to update a single instance of a color

Open ajashton opened this issue 13 years ago • 4 comments

The color picker in bones branch seems to update colors via search & replace over the whole stylesheet. If I have line-color:#f00; polygon-fill:#f00;, I should be able to update just one of the two colors using the color picker.

I'm not sure whether this should happen by changing the way the color picker updates colors or by providing a hex code in the picker interface to copy & paste.

We already have @variables for updating single colors in many places across the document. Do we need to duplicate this feature with the color palette?

ajashton avatar Jul 22 '11 14:07 ajashton

Should be doable by referencing the location of the color at parse time.

yhahn avatar Jul 22 '11 16:07 yhahn

+1

nvkelso avatar Aug 03 '11 21:08 nvkelso

I'd still like to do this, just postponed for post 0.4.0 release. I looked at it a while back and it's a bit more challenging than I first thought.

yhahn avatar Aug 03 '11 21:08 yhahn

Here is one for you Cory related to the color picker.

tpotter7 avatar Feb 24 '19 23:02 tpotter7