Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing color to text does not work #128

Open
wuilmerj24 opened this issue Nov 9, 2020 · 6 comments
Open

Changing color to text does not work #128

wuilmerj24 opened this issue Nov 9, 2020 · 6 comments

Comments

@wuilmerj24
Copy link

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
Copy link

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

@wuilmerj24
Copy link
Author

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

@guillemc23
Copy link

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

@wuilmerj24
Copy link
Author

wuilmerj24 commented Feb 20, 2023

@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
Copy link

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

@wuilmerj24
Copy link
Author

@guillemc23 Use the FAB Material plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants