SaltUI icon indicating copy to clipboard operation
SaltUI copied to clipboard

Deeply remove compose-material

Open oxyroid opened this issue 1 year ago • 5 comments

oxyroid avatar Nov 10 '24 12:11 oxyroid

I think this library should not depend on material and material3 libraries.

oxyroid avatar Nov 11 '24 05:11 oxyroid

Thanks for your suggestion, I agree with you

I am thinking about how to remove the material, such as whether to add a param setting for the click effect (Material Ripple) and whether to keep material3 colors -> salt colors

Moriafly avatar Nov 11 '24 06:11 Moriafly

You can just copy the source code what you need

oxyroid avatar Nov 11 '24 14:11 oxyroid

We have removed the compose-material: https://github.com/Moriafly/SaltUI/pull/9/ Android also depend on material (BottomSheet) and compose-material 3 (ColorScheme)

Moriafly avatar Nov 12 '24 02:11 Moriafly

Hi. I leave some comments in the PR.

oxyroid avatar Nov 13 '24 16:11 oxyroid