nstudio / nativescript-floatingactionbutton

Material Design Floating Action Button in NativeScript apps.
Other
137 stars 33 forks source link

Changing color to text does not work #128

Open wuilmerj24 opened 3 years ago

wuilmerj24 commented 3 years ago

tns: 6.8.0 tns-core-modules:6.5.21 tns-android:6.5.3 tns-ios:6.5.3 angular:8 HTML: <FAB (tap)="openMenu($event)" text="Iniciar" rippleColor="#f1f1f1" class="btn-init"></FAB>

Scss: width: 80; height: 80; background-color: #A7CF45; font-size: 7; font-weight: bold; color: #ffffff;

The text is only black. It does not change it.

fab

sublime392 commented 3 years ago

Did you find a solution for this? I am having the same problem on Android. The color works fine on iOS.

wuilmerj24 commented 3 years ago

@sublime392 Create a button to which you add a loaded. There specify styles for android.

guillemc23 commented 1 year ago

How exactly did you fix this? I just bumped into this problem.

wuilmerj24 commented 1 year ago

@guillemc23 What I did was create a nativescript button and apply the styles to it. Quit box-shadow borders, backgroundColor. With this it should work

guillemc23 commented 1 year ago

I tried to fix this with a PR, let see if it gets merged it soon enough

wuilmerj24 commented 1 year ago

@guillemc23 Use the FAB Material plugin!