Steve Haroz@steveharoz.com·2023-10-13T13:55:13.854Z
I tested it by replacing all fill scales in the ggplot2 source with one-line calls to reuse_scale(scale_whatever_colour, "fill"). And it worked! And that includes the default logic in scale_fill_continuous which determines what to do when the scale is unspecified. Everything is copied from colour.

Matthew Kay@mjskay.com·2023-10-13T15:22:22.117Z#
I like this factory approach, but this wasn't the problem I meant - try mapping a continuous variable to the linecolor aesthetic. You should get an error in creating legend.
Steve Haroz@steveharoz.com·2023-10-14T13:13:38.078Z#
Yikes. That'll be phase 2: github.com/tidyverse/gg...