1
0
Fork 0
mirror of https://github.com/Findus23/AlternativeSparklines.git synced 2024-09-18 14:13:46 +02:00

initial commit

This commit is contained in:
Lukas Winkler 2017-11-24 12:58:33 +01:00
commit a343f25e57
8 changed files with 68 additions and 0 deletions

3
CHANGELOG.md Normal file
View file

@ -0,0 +1,3 @@
## Changelog
Here goes the changelog text.

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Piwik AlternativeSparklines Theme
## Description
Add your theme description here.

5
docs/faq.md Normal file
View file

@ -0,0 +1,5 @@
## FAQ
__My question?__
My answer

1
docs/index.md Normal file
View file

@ -0,0 +1 @@
## Documentation

0
images/.gitkeep Normal file
View file

30
plugin.json Normal file
View file

@ -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"
}
]
}

0
screenshots/.gitkeep Normal file
View file

24
stylesheets/theme.less Normal file
View file

@ -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);
}