Find a file
Andreas Gohr 1072ee525d first go at a dispatcher to dynamically recolor SVGs
The script accepts the following parameters:

svg - the SVG to load. Either an image in the img directory next to the
      script or a media file id. ACLs are checked
f   - wanted fill color
s   - wanted stroke color
fh  - wanted fill color on hover
sh  - wanted stroke color on hover

Colors are to be given in hex in the following formats:

RGB
RRGGBB
RRGGBBAA

What's missing:

* being able to define what is styled, currently hardcoded to 'path'
  elements only
* caching - no need to do all the processing every time
* background setting - that would require wrapping an additional <g>
  or <rect> element around all content and style. I'm not sure how to do
  that best.
* unit tests
2017-01-10 17:31:34 +01:00
conf Vorbereitung sprint meeting 2017-01-10 09:18:01 +01:00
css Merge branch 'spis-master' into 'master' 2017-01-10 16:05:21 +01:00
fonts edit svgs for page tools 2017-01-04 12:29:19 +01:00
images template redesign 2017-01-02 09:14:38 +01:00
js toggler 2017-01-10 10:02:01 +01:00
lang Vorbereitung sprint meeting 2017-01-10 09:18:01 +01:00
tpl Vorbereitung sprint meeting 2017-01-10 09:18:01 +01:00
.gitignore ignore unzipped fontello folder 2017-01-04 15:28:47 +01:00
COPYING initial commit starter template 2016-10-31 11:48:20 +01:00
detail.php initial commit starter template 2016-10-31 11:48:20 +01:00
main.php Merge branch 'spis-master' into 'master' 2017-01-10 16:05:21 +01:00
mediamanager.php side-tools, user links, admin panel 2017-01-05 13:38:12 +01:00
README basic less structure, template main doc head changes 2016-10-31 17:07:38 +01:00
README.md template redesign 2017-01-02 09:14:38 +01:00
script.js toggler 2017-01-10 10:02:01 +01:00
style.ini message area + admin part 1 2017-01-10 16:04:58 +01:00
svg.php first go at a dispatcher to dynamically recolor SVGs 2017-01-10 17:31:34 +01:00
template.info.txt fontello icons added 2016-12-06 12:05:57 +01:00
tpl_functions.php initial commit starter template 2016-10-31 11:48:20 +01:00

sprintDoc Template for dokuwiki