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

How to generate the Dawn and Moon variants from the default #2

Closed
ubmit opened this issue Sep 19, 2022 · 3 comments
Closed

How to generate the Dawn and Moon variants from the default #2

ubmit opened this issue Sep 19, 2022 · 3 comments

Comments

@ubmit
Copy link

ubmit commented Sep 19, 2022

I'm creating a theme for bat and since its themes are *.tmTheme files I used the one from https://github.com/rose-pine/sublime-text.

However, I'm not understanding how I can generate the Dawn and Moon variants from the default one which I've taken form the Sublime repo.

Here is the current repository in which I'm working on https://github.com/guilhermedeandrade/bat/tree/main. Also, here is a quick demo from the Rosé Pine bat theme:

image

Colors are off, actually. As you can see the import keywords are red/pink (I'm colorblind lol), when they should have the color that both App and useState have.

@mvllow
Copy link
Member

mvllow commented Sep 19, 2022

On mobile at the moment but in short:

  1. Rename Rosé Pine.tmThemetemplate.tmTheme
  2. Replace hex values with their named equivalent, e.g. #c4a7e7$iris
  3. Build via npx @rose-pine/build -t ./template.tmTheme -o ./themes

Hope that helps :) If you have questions please ask!

@ubmit
Copy link
Author

ubmit commented Sep 19, 2022

On mobile at the moment but in short:

  1. Rename Rosé Pine.tmThemetemplate.tmTheme
  2. Replace hex values with their named equivalent, e.g. #c4a7e7$iris
  3. Build via npx @rose-pine/build -t ./template.tmTheme -o ./themes

Hope that helps :) If you have questions please ask!

Thanks for the tips, I appreciate! However, looks like the colors being used here are from an old palette I guess. I say this because I've not found the colors on the palette available at the website.

What do you suggest in this case?

@mvllow
Copy link
Member

mvllow commented Sep 19, 2022

Perhaps start with http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai and update it using our palette while referencing https://rosepinetheme.com/docs/usage :)

@mvllow mvllow closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2023
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

No branches or pull requests

2 participants