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

Fix for #1768 - Use of secondary color in certain form element #1796

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

jhanavigera
Copy link

This PR aims to resolve the issue mentioned in #1768

Steps taken to resolve the issue:

  • I created a new variable called $form-secondary-color which would allow us to have a globally initialzed secondary color value for the forms.scss file.
  • I also declared this variable to be equal to the gray-500 as it was the value for the previous variable(var(--#{$prefix}secondary)).
  • I replaced the definition of var(--#{$prefix}secondary) to var(--#{$prefix}gray-500) in the _variables.scss file.
  • I noticed that on local developmental environment, some of the colours are being taken from the demo\dist\css\tabler.css file and I was wondering whether I should change the definition within this file. As based on my understanding, this file is used to deploy a specific version of the application and shouldn't be modified during development.

This change was tested on a Windows environment using the Google Chrome browser. All variables mentioned under the src/ directory are being displayed as expected.

Copy link

changeset-bot bot commented Dec 11, 2023

⚠️ No Changeset found

Latest commit: 6ab5aa0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Dec 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tabler ✅ Ready (Inspect) Visit Preview Dec 11, 2023 4:06pm

@jhanavigera
Copy link
Author

@codecalm can you please have a look at my PR when you get a chance. Let me know if any changes are required and I'll be more than happy to make them. This is my first ever contribution to open source and I am really looking forward to your input!

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

Successfully merging this pull request may close these issues.

None yet

1 participant