commit a343f25e5719f058e9d8dfe0961bbae00968b7ea Author: Lukas Winkler Date: Fri Nov 24 12:58:33 2017 +0100 initial commit diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8546318 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## Changelog + +Here goes the changelog text. diff --git a/README.md b/README.md new file mode 100644 index 0000000..e4da7e3 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Piwik AlternativeSparklines Theme + +## Description + +Add your theme description here. diff --git a/docs/faq.md b/docs/faq.md new file mode 100644 index 0000000..dde17aa --- /dev/null +++ b/docs/faq.md @@ -0,0 +1,5 @@ +## FAQ + +__My question?__ + +My answer \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..70135e8 --- /dev/null +++ b/docs/index.md @@ -0,0 +1 @@ +## Documentation \ No newline at end of file diff --git a/images/.gitkeep b/images/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/plugin.json b/plugin.json new file mode 100644 index 0000000..b5ee674 --- /dev/null +++ b/plugin.json @@ -0,0 +1,30 @@ +{ + "name": "AlternativeSparklines", + "description": "a minimalistic alternative to the default sparkline style", + "version": "0.1.0", + "theme": true, + "require": { + "piwik": ">=3.2.1,<4.0.0-b1" + }, + "stylesheet": "stylesheets/theme.less", + "homepage": "", + "license": "GPL v3+", + "keywords": ["theme", "sparkline", "modern"], + "support": { + "email": "lukas@piwik.org", + "issues": "https://github.com/Findus23/AlternativeSparklines/issues", + "forum": "https://forum.piwik.org/", + "irc": "", + "source": "https://github.com/Findus23/AlternativeSparklines", + "docs": "", + "wiki": "", + "rss": "" + }, + "authors": [ + { + "name": "Lukas Winkler", + "email": "lukas@piwik.org", + "homepage": "https://github.com/Findus23" + } + ] +} \ No newline at end of file diff --git a/screenshots/.gitkeep b/screenshots/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/stylesheets/theme.less b/stylesheets/theme.less new file mode 100644 index 0000000..9c03769 --- /dev/null +++ b/stylesheets/theme.less @@ -0,0 +1,24 @@ +// sparkline colors +.sparkline-colors[data-name=backgroundColor] { + color: white; +} + +.sparkline-colors[data-name=lineColor] { + color: @graph-colors-data-series1; +} + +.sparkline-colors[data-name=minPointColor] { + color: darken(@graph-colors-data-series1, 10); +} + +.sparkline-colors[data-name=maxPointColor] { + color: darken(@graph-colors-data-series1, 10); +} + +.sparkline-colors[data-name=lastPointColor] { + color: white; //hidden +} + +.sparkline-colors[data-name=fillColor] { + color: lighten(@graph-colors-data-series1, 47); +} \ No newline at end of file