@wwtdev/bsds-css 1.6.1 → 1.6.3

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.
@@ -8,7 +8,8 @@ module.exports = {
8
8
  preflight: false
9
9
  },
10
10
  theme: {
11
- backgroundColor: ({ theme }) => theme("colors"),
11
+ // arg will be either theme func by itself or object w/ theme func depending on tw2 vs tw3
12
+ backgroundColor: (theme) => theme.theme ? theme.theme("colors") : theme("colors"),
12
13
  colors: {
13
14
  transparent: "transparent",
14
15
  inherit: 'inherit',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwtdev/bsds-css",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "A new approach to creating a design system at WWT.",
5
5
  "main": "./dist",
6
6
  "files": [