Search the Community: Showing results for tags 'vector themes'.
Found 2 results
Vector themes for Clover are new and currently still under development. Setting out to re-create my BGM theme to vector I realised there was some learning needed in order to create a theme.svg file for Clover to use. As SVG files are text based, I quickly realised that they could be manipulated from the command line and looking at the Clovy theme I decided to break it down in to parts for creating other themes. As a result, I've been working on Clover SVG Theme Builder https://bitbucket.org/blackosx/cloversvgthemebuilder Current Version: 0.3.2 Latest Updates: - Allow just two checkboxes, instead of expecting night icons also. - Include Selection Indicator. - Can now process multiple themes from Themes directory. - Improved logging. Overview The idea is to allow a theme designer to work on individual images and not worry about the required overall file structure which Clover expects. The designer can populate a Theme directory with a settings file and individual .svg files and let the script generate a final theme.svg file for using with Clover. I've created a basic sample theme to help demonstrate the script. https://bitbucket.org/blackosx/cloversvgthemebuilder/downloads/Theme.zip The Theme directory contains Adobe Illustrator and SVG files for each image in the required folder structure for the script. Using this sample theme, the script will generate this theme from the files. The idea is these can be used to build new themes and I'm currently using it to build my BGM_SVG theme. I can imagine far more complicated themes will be generated in the future, but for now I hope this may serve to help kickstart basic vector theme development. Notes: • Clover's SVG theme development is still underway and things are likely to change so this script and it's supporting template file will need to change with Clover. • I've only tested this using SVG files saved from Adobe Illustrator using the following settings, for files from other apps may need added support. • For the script to correctly inject SVG code in to the template, each SVG image must contain a group of elements. • Font files are currently not included in the final theme file but this can be an option. • In time, maybe other templates can be added which have different layouts?? These are early days, so I'll update this post when necessary.
I've created a new tool to help with Clover vector themes. It's a perl script that will search and globally replace RGB hex colours in the format #000000 and replace them with new calculated RGB hex colours using the adjustments you ask for. https://bitbucket.org/blackosx/cloversvgthemeadjuster You can download it using: git clone https://bitbucket.org/blackosx/cloversvgthemeadjuster.git See the usage instructions on the README. Current Version 0.0.5 (changelog) Overview The script identifies all colours in the theme file and applies adjustments to the hue, saturation and lightness before saving a new file. The adjustments can be progressively increased in a loop to generate multiple files. Example: Using the following commands to adjust the hue: perl AdjustThemeColour.pl -20 0 0 10 perl AdjustThemeColour.pl +20 0 0 10 Against my original Silver theme Can generate multiple variations and choose one I like Say, this one... ** Of course, this type of adjustment will not work on all themes. It all depends on what colours have been used in the design. Or how about a de-saturated BGM_SVG? Known Issues - There's always a possibility that a newly replaced hex value may match an already existing hex value which is due to be changed afterwards. This would mean that the newly replaced colours will then be replaced incorrectly. The likely hood of this happening increases with the more colours used in the theme.