@symbo.ls/scratch 0.7.6 → 0.7.7

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.6",
5
+ "version": "0.7.7",
6
6
  "files": [
7
7
  "src"
8
8
  ],
@@ -149,6 +149,12 @@ export const getSequenceValue = (value = 'A', sequenceProps) => {
149
149
  absValue = absValue.split('-')[0]
150
150
  }
151
151
 
152
+ // if subsequence is not set but value is applied
153
+ if (absValue.length === 2) {
154
+ if (CONFIG.verbose) console.warn(absValue, '- value is not found because `subSequence` is set to false')
155
+ absValue = absValue.slice(0, 1)
156
+ }
157
+
152
158
  if (useVariable || CONFIG.useVariable) {
153
159
  const varValue = `var(${prefix}${absValue}${mediaName})`
154
160
  return isNegative ? `calc(${varValue} * -1)` : varValue