@symbo.ls/scratch 0.7.20 → 0.7.21

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": "0.7.20",
5
+ "version": "0.7.21",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
 
3
3
  import { toDashCase } from '@symbo.ls/utils'
4
- import { SEQUENCE, SPACING, UNIT } from '../defaultConfig'
4
+ import { UNIT } from '../defaultConfig'
5
5
  import { CONFIG } from '../factory'
6
6
  import { isString } from './object'
7
7
 
@@ -83,14 +83,14 @@ export const generateSubSequence = (props, sequenceProps) => {
83
83
  }
84
84
 
85
85
  const switchSequenceOnNegative = (key, base, ratio) => {
86
- const values = Object.values(SEQUENCE)
87
- const index = values.indexOf(ratio)
88
- const diffRatio = ratio / SPACING.ratio
89
- const total = values[values.length - 1] - values[0]
90
- const avg = total / 2
91
- const diff = avg - ratio
92
- const scale = total / ratio
93
- const finalDiff = avg + avg / diffRatio
86
+ // const values = Object.values(SEQUENCE)
87
+ // const index = values.indexOf(ratio)
88
+ // const diffRatio = ratio / SPACING.ratio
89
+ // const total = values[values.length - 1] - values[0]
90
+ // const avg = total / 2
91
+ // const diff = avg - ratio
92
+ // const scale = total / ratio
93
+ // const finalDiff = avg + avg / diffRatio
94
94
 
95
95
  // if (key < 0) return base * Math.pow(avg, key)
96
96
  return base * Math.pow(ratio, key)