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

don't use custom light blue color for copy icon #104

Conversation

pankaj512
Copy link

Why

Currently copy icon of address component uses custom light blue color but this cause issue when some custom background is used. The issue is icon not clearly visible against some background.

What

Change copy icon of address component to not use custom icon color but keep it default so that it auto adjust against background.

How

Remove custom tailwind css text property.

Test method - add a new address component in debug tab under contact variable so see different against 3 different background.

What to Notice - 3rd address copy button in dark mode before and after

Before Light

Screenshot from Screencast from 02-10-23 11:18:02 AM IST webm - 1

After Light

Screenshot from Screencast from 02-10-23 11:17:03 AM IST webm_1

Before Dark

Screenshot from Screencast from 02-10-23 11:17:51 AM IST webm - 3

After Dark

Screenshot from Screencast from 02-10-23 11:17:17 AM IST webm

@rin-st
Copy link
Member

rin-st commented Oct 3, 2023

Looks good! Thanks!

Copy link
Collaborator

@Pabl0cks Pabl0cks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job @pankaj512!! This dark mode icon color was catching my eye during my last tests and just realized you fixed it! ♥

@rin-st Do you think it could be interesting to merge this and backmerge to all the active se-2-challenges PRs so it's fixed on the next merge of each Challenge?
Or it's easier to just change that couple of lines on each PR? I'm still a bit git-noob with merges/backmerges

@technophile-04
Copy link
Collaborator

Thanks @pankaj512 for this !!

backmerge to all the active se-2-challenges PRs so it's fixed on the next merge of each Challenge

Yeah I think we can do it 🙌 switch PR branch and run git merge base-challenge-template should do the job but lol if there are many bad conflicts then your other suggestion makes more sense

will try to backmerge this in all PR 🙌

@technophile-04 technophile-04 merged commit c64b175 into scaffold-eth:base-challenge-template Oct 3, 2023
rin-st added a commit that referenced this pull request Oct 4, 2023
* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: lock nextjs

* fix: header lg -> xl

* fix: remove vercel:yolo

* fix: delete mock test file

* remove use of custom light blue color for copy icon (#104)

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

---------

Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Oct 4, 2023
* fix: install duplicate (#24)

* Homogenize Checkpoint titles and Checkpoint 0 extra info (#32)

* Ignore typescript/eslint errors on build (#39)

* fix: sepolia and wc2 (#47)

* fix: theme toggle styles (#46)

* migration to wagmi V1, Viem and daisyUI v3 (#73)

* remove vercel:yolo from root pacakge.json (#77)

* Update useScaffoldContractWrite.ts - Error message typos

* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* fix: delete mock test file

* remove use of custom light blue color for copy icon (#104)

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

---------

Co-authored-by: Pablo Alayeto <55535804+Pabl0cks@users.noreply.github.com>
Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>
Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Zak G <zakgriffith@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Oct 11, 2023
* Update README to add a Guide to create New Challenges (#9)

* Update base template README with guide and hints to create new challenges

* README tweaks and add TODO questions

* Remove initial hints (will move it main)

---------

Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>

* Install section fromn Challenge 0

* fix: install duplicate (#24)

* Homogenize Checkpoint titles and Checkpoint 0 extra info (#32)

* Ignore typescript/eslint errors on build (#39)

* fix: sepolia and wc2 (#47)

* fix: theme toggle styles (#46)

* migration to wagmi V1, Viem and daisyUI v3 (#73)

* remove vercel:yolo from root pacakge.json (#77)

* Update useScaffoldContractWrite.ts - Error message typos

* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* feat: backmerge challenge 4

* fix: yarn lock

* remove use of custom light blue color for copy icon (#104)

* fix: remove mock test file

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

---------

Co-authored-by: Pablo Alayeto <55535804+Pabl0cks@users.noreply.github.com>
Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>
Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Zak G <zakgriffith@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Oct 15, 2023
* Ignore typescript/eslint errors on build (#39)

* fix: sepolia and wc2 (#47)

* fix: theme toggle styles (#46)

* migration to wagmi V1, Viem and daisyUI v3 (#73)

* remove vercel:yolo from root pacakge.json (#77)

* Update useScaffoldContractWrite.ts - Error message typos

* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* fix: new interval api

* remove use of custom light blue color for copy icon (#104)

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

* fix: infinite useEffect

* fix: two rubes received bug

* fix: last event emitting bug

* fix: double setChannels bug 🤯

* Comment Checkpoint 5 code

---------

Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>
Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Zak G <zakgriffith@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Oct 23, 2023
* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* feat: backmerge challenge 3

* remove use of custom light blue color for copy icon (#104)

* fix: remove mock test file

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

* fix: timing

* update retryCount to 0

* fix: move mining interval to hardhat

* increase winning numbers from [0..2] -> [0..5]

* fix: update readme and tests for 2 -> 5

---------

Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Apr 12, 2024
* Update README to add a Guide to create New Challenges (#9)

* Update base template README with guide and hints to create new challenges

* README tweaks and add TODO questions

* Remove initial hints (will move it main)

---------

Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>

* Install section fromn Challenge 0

* fix: install duplicate (#24)

* Homogenize Checkpoint titles and Checkpoint 0 extra info (#32)

* Ignore typescript/eslint errors on build (#39)

* fix: sepolia and wc2 (#47)

* fix: theme toggle styles (#46)

* migration to wagmi V1, Viem and daisyUI v3 (#73)

* remove vercel:yolo from root pacakge.json (#77)

* Update useScaffoldContractWrite.ts - Error message typos

* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* remove use of custom light blue color for copy icon (#104)

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

* Base challenge next 14 migration (#126)

* fix: return space-grotesk font (#129)

* feat: migrate next-theme (#132)

* fix: remove redundant logs

* feat: challenge test example (#156)

* feat: backmerge 21/03/2024 (#158)

* fix: remove ChallengeN test file

* feat: fn try catch wrapper

* feat: wrap write functions

* fix: update wrapInTryCatch

* feat: update wrapped functions

---------

Co-authored-by: Pablo Alayeto <55535804+Pabl0cks@users.noreply.github.com>
Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>
Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Zak G <zakgriffith@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
rin-st added a commit that referenced this pull request Apr 12, 2024
* Ignore typescript/eslint errors on build (#39)

* fix: sepolia and wc2 (#47)

* fix: theme toggle styles (#46)

* migration to wagmi V1, Viem and daisyUI v3 (#73)

* remove vercel:yolo from root pacakge.json (#77)

* Update useScaffoldContractWrite.ts - Error message typos

* fix 0 price on sepolia network (#85)

* fix: side quest heading (#87)

* Pre-app-router se-2 backmerge (#96)

* fix: remove vercel:yolo

* remove use of custom light blue color for copy icon (#104)

* Delete light blue color on txhash copy icons

* Increase placeholder readability in dark mode

* Base challenge next 14 migration (#126)

* fix: return space-grotesk font (#129)

* feat: migrate next-theme (#132)

* fix: remove redundant logs

* feat: challenge test example (#156)

* feat: backmerge 21/03/2024 (#158)

* fix: remove ChallengeN test file

* feat: fn try catch wrapper

* fix: update wrapInTryCatch

* fix: wrap write functions

---------

Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com>
Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com>
Co-authored-by: Zak G <zakgriffith@gmail.com>
Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com>
Co-authored-by: tokodev <pablo@asdloop.com>
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.

4 participants