pika icon indicating copy to clipboard operation
pika copied to clipboard

Colours formatted for CSS

Open MMMikeM opened this issue 3 years ago • 7 comments

It'd be really nice if we were able to have an option to allow pre-formatted colours, specifically for HSL

MDN Docs on the topic

Currently, HSL is copied in the format hsl(0, 0, 0), it would be ideal to have an option in the preferences that would preformat it as hsl(0, 0%, 0%) as this would improve workflow for developers.

General Settings

  • [X] Launch at login
  • [ ] Hide menu bar icon
  • [ ] Hide color names
  • [X] Subscribe to beta releases
  • [X] Format for CSS

It's a pretty minor change, but I've been loving Pika and this would make it even more enjoyable to use!

MMMikeM avatar Jan 28 '22 16:01 MMMikeM

Hey @MMMikeM—thanks for flagging. I wonder if this should be the paired with "hide format when copying"? 🤔

image

For example, moving this into the settings as a dropdown with:

General settings:

  • Export format

    • Format for design applications
    • Format for CSS
  • [ ] Hide formatting on export

I also wonder if the first two options in the dropdown should move into the settings, too. Settings are a little confusing in that they exist in both the dropdown and the settings menu.

Curious to get feedback, too!

superhighfives avatar Feb 11 '22 09:02 superhighfives

That's an excellent point. Thinking about this, I feel as though usage frequency could be a determining factor and adjacent to this, whether the option has a shortcut or not.

How frequently do you think the hide format option is toggled?

I do have a bias towards fewer options in the context/drop down menu, so gotta try argue against myself here 😂

On Fri, 11 Feb 2022, 11:43 Charlie Gleason, @.***> wrote:

Hey @MMMikeM https://github.com/MMMikeM—thanks for flagging. I wonder if this should be the paired with "hide format when copying"? 🤔

[image: image] https://user-images.githubusercontent.com/449385/153568874-06f7c5f9-c895-4b97-b0a3-1c26f3b8f59c.png

For example, moving this into the settings as a dropdown with:

General settings:

Export format

  • Format for design applications
    • Format for CSS

Hide formatting on export

I also wonder if the first two options in the dropdown should move into the settings, too. Settings are a little confusing in that they exist in both the dropdown and the settings menu.

Curious to get feedback, too!

— Reply to this email directly, view it on GitHub https://github.com/superhighfives/pika/issues/74#issuecomment-1036027825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMDBSRUCUNIAYOJMSPIVAB3U2TK3PANCNFSM5NBGIMIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

MMMikeM avatar Feb 11 '22 09:02 MMMikeM

Been a minute, but working on a new beta with this feature. Will keep you posted, but just wanted to give an update. ☺️

superhighfives avatar Apr 11 '22 22:04 superhighfives

Amazing, really looking forward to it!

MMMikeM avatar Apr 30 '22 19:04 MMMikeM

Awesome, took my sweet time, but got a fancy shiny beta for you to check out, @MMMikeM: https://github.com/superhighfives/pika/releases/tag/0.0.13-beta1

You can also get it by checking for updates in the app (just make sure "subscribe to beta releases" is enabled in the preferences). I tidied up the preferences pane, consolidated the menu items, and added the export / copy settings option for CSS, design applications, and unformatted. Looking forward to hearing your thoughts and feedback, and thanks for the encouragement.

There are some known issues with preferences and the window display when the language is set to French, so will resolve that before release.

superhighfives avatar May 09 '22 22:05 superhighfives

This is great, wow!! I like the changes to the preferences page and this option is a huge help for devs.

Thanks to much for adding this!

Whoops commented from my work account 😂

MMurrayDVT avatar May 10 '22 06:05 MMurrayDVT

Awesome, thanks @MMMikeM! Really appreciate it.

The issues are all sorted on the French language display and have been released as part of 0.0.13-beta2, but let me know if you have any other feedback. Aiming to release it later this week.

superhighfives avatar May 16 '22 07:05 superhighfives

Sweeeeet, this is now live. 👍

superhighfives avatar Jan 25 '23 14:01 superhighfives