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

use different colors for field names and argument names #2757

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

thomasheyenbrock
Copy link
Collaborator

It was noted that we use the same colors for field and argument names in the explorer plugin. This stems from the colors we chose for the editor theme. To avoid using the same color in the explorer and also keep it consistent with the editor theme, we update the color for argument names. (I double-checked that this introduces no "color conflicts" where we would show two different adjacent tokens in the same color.)

@changeset-bot
Copy link

changeset-bot bot commented Sep 7, 2022

🦋 Changeset detected

Latest commit: 6ebbd43

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@graphiql/plugin-explorer Patch
@graphiql/react Patch
graphiql Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

The latest changes of this PR are available as canary in npm (based on the declared changesets):

@thomasheyenbrock thomasheyenbrock merged commit 32a7006 into main Sep 7, 2022
@thomasheyenbrock thomasheyenbrock deleted the fix/argument-field-coloring branch September 7, 2022 08:13
@acao acao mentioned this pull request Sep 7, 2022
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.

1 participant