Jamboarder (Talk | contribs) m |
|||
| Line 24: | Line 24: | ||
* In Inkscape, '''turn off stroke scaling''' when objects are resized. Inkscape may default to scaling the stroke of an object when changing its size. This may show up in the rendered plasma theme as thin, barely-there, lines you can't seem to get rid of. | * In Inkscape, '''turn off stroke scaling''' when objects are resized. Inkscape may default to scaling the stroke of an object when changing its size. This may show up in the rendered plasma theme as thin, barely-there, lines you can't seem to get rid of. | ||
* If you prefer raster editors like Krita and GIMP, create your particular theme in these programs first then import them into Inkscape (drag and drop of the files works fine). If you're working on a background with multiple elements (e.g. panel-background, widget background, etc.) crop the raster image into the different elements (top, bottom, right, etc.) and save as separate files before importing into Inkscape. | * If you prefer raster editors like Krita and GIMP, create your particular theme in these programs first then import them into Inkscape (drag and drop of the files works fine). If you're working on a background with multiple elements (e.g. panel-background, widget background, etc.) crop the raster image into the different elements (top, bottom, right, etc.) and save as separate files before importing into Inkscape. | ||
| − | * Don't forget to '''embed imported raster images'''. By default Inkscape will import these as linked images which will not show up in plasma. | + | * Don't forget to '''embed imported raster images'''. By default Inkscape will import these as linked images which will not show up in plasma (to embed the images, go to '''Effects > Images > Embed All Images'''). |
* Remember that border elements of backgrounds (top, right, bottom, left) are '''tiled''' if the ''hint-stretch-borders'' element is not present in the svg. | * Remember that border elements of backgrounds (top, right, bottom, left) are '''tiled''' if the ''hint-stretch-borders'' element is not present in the svg. | ||
* Remember that the center element of backgrounds are '''stretched''' if the ''hint-tile center'' element is not present in the svg. | * Remember that the center element of backgrounds are '''stretched''' if the ''hint-tile center'' element is not present in the svg. | ||
* To control how much colorization will be applied by plasma when using the ''hint-apply-color-scheme'' element, make sure the color (HSV) Value/Intensity is closer to 0 or 255 for less colorization, and closer to 127 for more colorization. So, for example, to keep shadows from being colorized, use color (HSV) Value/Intesity of 0. | * To control how much colorization will be applied by plasma when using the ''hint-apply-color-scheme'' element, make sure the color (HSV) Value/Intensity is closer to 0 or 255 for less colorization, and closer to 127 for more colorization. So, for example, to keep shadows from being colorized, use color (HSV) Value/Intesity of 0. | ||
* When testing the theme, if it looks like portions of a multi-element SVG is missing (missing borders, etc.) check the svg again to '''make sure the element ids are correct'''. | * When testing the theme, if it looks like portions of a multi-element SVG is missing (missing borders, etc.) check the svg again to '''make sure the element ids are correct'''. | ||
| + | * Do not use more advanced SVG features since they will not be rendered properly. If you want to add blur or something similar, consider pre-rendering to PNG, and then import the PNG into the final SVG file. | ||
* Perform this quick sanity check for background SVGs to help troubleshoot annoying lines and gaps between elements: | * Perform this quick sanity check for background SVGs to help troubleshoot annoying lines and gaps between elements: | ||
** ''topleft, top and topright'' elements should have the same height | ** ''topleft, top and topright'' elements should have the same height | ||
A feature of Plasma is the ability to theme desktop elements using Scalable Vector Graphics (SVGs). This means there is no need for theme authors to know C++ or any other programming language to create a great looking theme. They need only use common graphics tools many are already familiar with (e.g. Krita, Inkscape, The GIMP, Karbon, etc.). Depending on your prowess with such tools, a great looking plasma theme can be created in under an hour.
Contents |