catppuccin / linear

📏 Soothing pastel theme for Linear
MIT License
8 stars 0 forks source link

Linear changed the import/export JSON format #1

Open klausborges opened 4 months ago

klausborges commented 4 months ago

Hi,

I guess it's expected due to Linear being a proprietary web app, but the settings on the README do not seem to be importable anymore, and the "All colors" section mentioned as part of the instructions is not present at all in the interface.

I gave it a shot at converting the Mocha variant since it's what I personally use on my system:

{
  "base": [11.858911555975908,11.316733254070215,288.18047966235713,1],
  "accent": [77.92023535614784,33.76311418252568,282.1091222265776,1],
  "contrast": 15,
  "sidebar": {
    "accent": [77.92023535614784,33.76311418252568,282.1091222265776,1],
    "base": [8.740545194349792,9.47503299768768,288.0147550692609,1],
    "contrast": 30
  }
}

I picked the contrast values that seemed to make sense, but I'm unsure of how it looked before the UI revamp they rolled out.

Love all the community work porting the theme for a lot of apps and platforms, I'd be glad to open the PR if needed.

Thanks!

uncenter commented 4 months ago

Hey! I'm going through many of the Catppuccin ports at the moment and converting them to use our internal templating tool, Whiskers. I don't have a Linear account (and don't use the product) so feel free to make a PR updating the port! I'd highly recommend using Whiskers to generate the themes as it takes away the hassle of updating the colors in different theme files/places - write a template, and Whiskers will generate it for you! Our documentation should be sufficient but if you have any questions please join our Discord and we'd be happy to help.