carbon-design-system / design-language-website

IBM Design Language website
https://www.ibm.com/design/language/
82 stars 227 forks source link

Cut-n-paste hex codes #1200

Closed sethjohnsonIBM closed 1 year ago

sethjohnsonIBM commented 1 year ago

On the https://www.ibm.com/design/language/color/#specifications page, double-clicking on the hex code numbers (erroneously?) selects the 2-digit number in the color's name, making it difficult to easily cut-n-paste just the hex code.

https://user-images.githubusercontent.com/32574988/226635726-02084858-6d54-40cf-9537-ba54b913985e.mov

tay1orjones commented 1 year ago

@sethjohnsonIBM Thanks for reporting this! It looks like this could be solved by placing user-select: all on the element containing the hex code. Here I added it to red 30. red 40 does not have the property set.

https://user-images.githubusercontent.com/3360588/226739137-42b874ce-dbbd-4a0d-84fc-47c1704a670f.mov

sethjohnsonIBM commented 1 year ago

Looks great! Thank you.

Seth Johnson Design Program Director IBM


From: Taylor Jones @.> Sent: Tuesday, March 21, 2023 4:58 PM To: carbon-design-system/design-language-website @.> Cc: Seth Johnson @.>; Mention @.> Subject: [EXTERNAL] Re: [carbon-design-system/design-language-website] Cut-n-paste hex codes (Issue #1200)

@sethjohnsonIBM Thanks for reporting this! It looks like this could be solved by placing user-select: all on the element containing the hex code. Here I added it to red 30. red 40 does not have the property set. https: //user-images. githubusercontent. com/3360588/226739137-42b874ce-dbbd-4a0d-84fc-47c1704a670f. mov ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

@sethjohnsonIBMhttps://github.com/sethjohnsonIBM Thanks for reporting this! It looks like this could be solved by placing user-select: all on the element containing the hex code. Here I added it to red 30. red 40 does not have the property set.

https://user-images.githubusercontent.com/3360588/226739137-42b874ce-dbbd-4a0d-84fc-47c1704a670f.movhttps://user-images.githubusercontent.com/3360588/226739137-42b874ce-dbbd-4a0d-84fc-47c1704a670f.mov

— Reply to this email directly, view it on GitHubhttps://github.com/carbon-design-system/design-language-website/issues/1200#issuecomment-1478570969, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHYQ4DGIMXN6XJ7SWGQGXHLW5IJBBANCNFSM6AAAAAAWC7BUYI. You are receiving this because you were mentioned.Message ID: @.***>

sethjohnsonIBM commented 1 year ago

This still isn't fixed in Safari.

Seth Johnson Design Program Director IBM


From: Alison Joseph @.> Sent: Friday, July 28, 2023 12:01 PM To: carbon-design-system/design-language-website @.> Cc: Seth Johnson @.>; Mention @.> Subject: [EXTERNAL] Re: [carbon-design-system/design-language-website] Cut-n-paste hex codes (Issue #1200)

Closed #1200 as completed via #1225. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. Message ID: carbon-design-system/design-language-website/issue/1200/issue_event/9949780534@ github. com ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. https://us-phishalarm-ewt.proofpoint.com/EWT/v1/PjiDSg!1I-rqJY1AVJZEK8Ts6uuTbR81fods7lzCQqvn1-qPZQU6Ls5tKZdfo2SAHcxWAU8MGmUXdt_Yv-_bkr1R3jRCQ2Dun-nmUAVoqLSPcOxeELXqrdbrdk04rDqbXI5fAm2wD0gPVAt1gPrkpD0bpXxd5U9YAp0$ Report Suspicious

ZjQcmQRYFpfptBannerEnd

Closed #1200https://github.com/carbon-design-system/design-language-website/issues/1200 as completed via #1225https://github.com/carbon-design-system/design-language-website/pull/1225.

— Reply to this email directly, view it on GitHubhttps://github.com/carbon-design-system/design-language-website/issues/1200#event-9949780534, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHYQ4DBQHZPAOEJWKLZ2WLTXSPO57ANCNFSM6AAAAAAWC7BUYI. You are receiving this because you were mentioned.Message ID: @.***>