@bbl-digital/snorre 3.1.9 → 3.1.11

Sign up to get free protection for your applications and to get access to all the features.
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.11",
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: {