@symbo.ls/scratch 2.7.5 → 2.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "2.7.5",
5
+ "version": "2.7.6",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -98,7 +98,7 @@ const switchSequenceOnNegative = (key, base, ratio) => {
98
98
  export const generateSequence = (sequenceProps) => {
99
99
  const { type, base, ratio, range, subSequence } = sequenceProps
100
100
  const n = Math.abs(range[0]) + Math.abs(range[1])
101
- const prefix = '--' + type.replace('.', '-') + '-'
101
+ const prefix = '--' + (type && type.replace('.', '-')) + '-'
102
102
 
103
103
  for (let i = 0; i <= n; i++) {
104
104
  const key = range[1] - i