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

bug: Cannot change ion-fab-button background using the provided css variables #29318

Closed
3 tasks done
djbanana1 opened this issue Apr 10, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels

Comments

@djbanana1
Copy link

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

If i add the ion-fab-button:

I am not able to change it's background style using the provided variable:
ion-fab-button {
--background: #b7f399;
--background-activated: #87d361;
--background-hover: #a3e681;
--background-focused: #87d361;
}

It seems that they are not used in the fab-button:

image

Expected Behavior

When setting the mentioned css from above, i would expect the background color to change.

Steps to Reproduce

  1. Add the ion-fab-button in the code
  2. Add the style properties in a global file
  3. Background is not changing

Code Reproduction URL

Not existing

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.8.4
@angular-devkit/build-angular : 17.1.2
@angular-devkit/schematics : 17.1.2
@angular/cli : 17.1.2
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 5.6.0
@capacitor/android : 5.6.0
@capacitor/core : 5.6.0
@capacitor/ios : 5.6.0

Cordova:

Cordova CLI : not installed
Cordova Platforms : not available
Cordova Plugins : not available

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v20.11.0 (/Users/lucaderivaz/.nvm/versions/node/v20.11.0/bin/node)
npm : 10.2.4
OS : macOS Unknown
Xcode : Xcode 15.2 Build version 15C500b

Additional Information

I also updated it to the latest v7.8.4 and it didn't fix the problem

@ionitron-bot ionitron-bot bot added the triage label Apr 10, 2024
@djbanana1 djbanana1 changed the title bug: bug: Cannot change ion-fab-button background using the provided css variables Apr 10, 2024
@liamdebeasi
Copy link
Contributor

Thanks for the issue! This issue is being closed due to the lack of a code reproduction. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. As noted in the issue template, all bug reports require a reproduction URL that the team can run. This allows us to effectively root-cause issues.

Thank you for using Ionic!

@liamdebeasi liamdebeasi closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
Copy link

ionitron-bot bot commented May 10, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants