Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
825e58e5fd | ||
|
|
9232c14971 |
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -54,6 +54,7 @@ jobs:
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
yarn build:action
|
||||
rm -r svg-only/dist
|
||||
mv packages/action/dist svg-only/dist
|
||||
|
||||
- name: bump package version
|
||||
|
||||
@@ -4,7 +4,7 @@ author: "platane"
|
||||
|
||||
runs:
|
||||
using: docker
|
||||
image: docker://platane/snk@sha256:368d5c159c47ebfe2c8afa2e2029fe4820e5fdfb80d69e499f327f895c5c2a00
|
||||
image: docker://platane/snk@sha256:9c3604282bdf9cf367dc955545fff9e4a893e5716ee88701d8924fd2377dbc72
|
||||
|
||||
inputs:
|
||||
github_user_name:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "snk",
|
||||
"description": "Generates a snake game from a github user contributions grid",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"private": true,
|
||||
"repository": "github:platane/snk",
|
||||
"devDependencies": {
|
||||
|
||||
4
svg-only/dist/index.js
vendored
4
svg-only/dist/index.js
vendored
@@ -36516,7 +36516,7 @@ var createGrid = function (cells, _a, duration) {
|
||||
var sizeBorderRadius = _a.sizeBorderRadius, sizeDot = _a.sizeDot, sizeCell = _a.sizeCell;
|
||||
var svgElements = [];
|
||||
var styles = [
|
||||
".c{\n shape-rendering: geometricPrecision;\n rx: ".concat(sizeBorderRadius, ";\n ry: ").concat(sizeBorderRadius, ";\n fill: var(--ce);\n stroke-width: 1px;\n stroke: var(--cb);\n animation: none ").concat(duration, "ms linear infinite;\n }"),
|
||||
".c{\n shape-rendering: geometricPrecision;\n fill: var(--ce);\n stroke-width: 1px;\n stroke: var(--cb);\n animation: none ".concat(duration, "ms linear infinite;\n }"),
|
||||
];
|
||||
var i = 0;
|
||||
for (var _i = 0, cells_1 = cells; _i < cells_1.length; _i++) {
|
||||
@@ -36536,6 +36536,8 @@ var createGrid = function (cells, _a, duration) {
|
||||
"class": ["c", id].filter(Boolean).join(" "),
|
||||
x: x * s + m,
|
||||
y: y * s + m,
|
||||
rx: sizeBorderRadius,
|
||||
ry: sizeBorderRadius,
|
||||
width: d,
|
||||
height: d
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user