Closed lachlanwgordon closed 1 year ago
@lachlanwgordon Fantastic idea! A few questions to clarify:
#FF00FF
/red
/rgba()
area?In HTML an style tag may have several attributes set inline. I suppose it would be better to have it before the color declaration, seems more natural to me.
An color editor is surely helpful also.
Yeah, edit color would be great.
I don't think it matters much if it's before or after, as long as it's the same in all files types.
Ok, will follow our existing convention and place it before the color declaration.
@lachlanwgordon I've been reviewing how other products implement color adornments and the convention seems to be at the end of the color declaration. A few examples include Rider, GitHub (see above adornment) and Slack.
I'll be swapping the adornments to be "trailing" in the next release so this feature will also follow the convention.
Going forward, MFractor will be focusing exclusively on the MAUI feature set. Going to close this and all web related features.
I've got an inline colour in my .razor page. It would be nice to be able to see what color they look like in the editor, like you already do in XAML.
This should work for Hex strings, named colours and rgba() functions.
There's a sample of all three in this page of my BasicBlazor repo https://github.com/lachlanwgordon/BasicBlazor/blob/master/WASM/BlazorWASM/Pages/Index.razor