Jump to content

Vector Themes


Slice
 Share

455 posts in this topic

Recommended Posts

(OK, have a good mood finally..)

I've done rebuilding Clover logo from scratch, yey..!!!

It has about 20 paths, and produces @8KB only (SVG1.1)

Oh, ignore the screenshot.. attached *.ai file is in "Green"

(Export it / save as *.svg your self with Inkscape / Illustrator, etc.)

 

Clover_Logo_Green_ai.zip

Clover-Logo-Inkscape.png

 

#EDIT: This one is bit different from @JrCs has (just take a look).

Edited by Badruzeus
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Since rev.4638 I have more or less good SVG support including

1. <rect>, <circle>, <ellipse>, <line>, <polyline>, <polygon>, <path> -- as in nanosvg

2. <use> -- not in nanosvg

3. "style"=fill, stroke, gradient -- as in nanosvg

4. <linearGradient>, <radialGradient> -- as in nanosvg

4a. <conicGradient> -- not in nanosvg, not in GoogleChrome, not in Adobe Illustrator

5. <style> and "class" -- as CSS -- not in nanosvg

6. <font>, <font-face>, <text>, <tspan> -- not in nanosvg

7. <clipPath> -- not in nanosvg

So sorry for the delay, it was really huge work. I have much more advanced SVG support then initial and I had to implement float mathematics.

Снимок экрана 2018-08-08 в 21.03.38.png

Now it is a time to support vector themes. But I still have no one to test.

  • Like 4
Link to comment
Share on other sites

On 8/12/2018 at 11:47 PM, Badruzeus said:

Just another reference for free Vector graphics editor: Gravit Designer.

  Reveal hidden contents

 

It is interesting but 

Your request produced an error. 
[newNullResponse]

 

 

Clovy made a template to create Vector Theme.

The idea is the one file will contain layout, all icons and a preview of the theme

It made by Adobe Illustrator.

CloverThemeTemplateAI.svg

  • Like 3
Link to comment
Share on other sites

Hi all,

How do you think what will be the best icon size for OS compared to screen height in percents?

128/768 = 16.6%

256/1200 = 21.3%

Or some other value? Or other idea for scaling?

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
2 hours ago, blackosx said:

hmmm.. changes have been made to Clover which I notice affect my svg files.... :(

Could it have been commit #4699?

 

r4674
 

r4703
 

This commit is right. I got good image using radialGradients, but yes, something is wrong. If you compile Clover with debug enabled in nanosvg and nanosvgrast then we can see what is the issue.

line 73

#define DEBUG_SVG 0

change to 1

 

Out af that. Did you propose Clover Theme Manager can show SVG themes set as one file?

Folder Clovy as a theme name, and file theme.svg inside containg full image and all settings.

Example of the file here

https://www.insanelymac.com/forum/topic/334659-vector-themes/?do=findComment&comment=2630031

Link to comment
Share on other sites

 Share

×
×
  • Create New...