NativeScript/nativescript-cli

tns resources generate splashes : use CSS background property values for the --background option

Offen

#4.831 geöffnet am 10.07.2019

 (1 Kommentar) (6 Reaktionen) (0 zugewiesene Personen)JavaScript (204 Forks)auto 404
featurehelp wantedresources generation

Repository-Metriken

Stars
 (1.053 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Is your feature request related to a problem? Please describe.

When generating splash screen with the tns resources generate command I cant set a linear gradient background for example. The background is always one color, thus restricting the possibility of customizing our app.

Describe the solution you'd like

Something like tns resources generate splashes <Path to image> --background 'linear-gradient(135deg, rgba(7,10,61,1) 0%, rgba(18,51,127,1) 100%)' The --background option can take the value of the CSS background (or background-color at least) property

Describe alternatives you've considered

Or add a --style option that can take the path of a css file that contain the property of the splash screen.

Additional context

None.

Contributor Guide