@bbl-digital/snorre 3.1.9 → 3.1.10

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.
Files changed (2) hide show
  1. package/package.json +2 -1
  2. package/theme-generator.js +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "3.1.9",
3
+ "version": "3.1.10",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -25,6 +25,7 @@
25
25
  "date-fns": "^2.29.3",
26
26
  "focus-trap-react": "^10.0.0",
27
27
  "match-sorter": "^6.3.1",
28
+ "mdx-state": "^0.0.4",
28
29
  "react-beautiful-dnd": "^13.1.0",
29
30
  "react-day-picker": "^8.3.4",
30
31
  "react-test-renderer": "^18.2.0",
@@ -222,13 +222,15 @@ const updateBbl = (
222
222
  customBgColor,
223
223
  customPortalFooterColor,
224
224
  customFooter
225
- )
225
+ ),
226
+ null,
227
+ 2
226
228
  )
227
229
  console.log(data)
228
230
  fs.writeFileSync('themes/' + bbl + '/styles.json', data)
229
231
  }
230
232
 
231
- const bbls = [
233
+ export const bbls = [
232
234
  {
233
235
  bbl: 'arendal',
234
236
  theme: {
@@ -429,6 +431,14 @@ const bbls = [
429
431
  alpha: '0.02',
430
432
  },
431
433
  },
434
+ {
435
+ bbl: 'sobo',
436
+ theme: {
437
+ primary: '#006ED2',
438
+ secondary: '#001A41',
439
+ alpha: '0.04',
440
+ },
441
+ },
432
442
  {
433
443
  bbl: 'bate',
434
444
  theme: {