@digipair/skill-web-editor 0.5.13 → 0.5.14

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/index.cjs2.js CHANGED
@@ -3172,7 +3172,7 @@ class EditorElement extends s {
3172
3172
  text: 'Your scene cannot be saved, invalid format',
3173
3173
  position: 'center',
3174
3174
  style: {
3175
- 'font-family': 'Arial, Helvetica, sans- serif',
3175
+ 'font-family': '"Poppins", sans-serif',
3176
3176
  background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
3177
3177
  },
3178
3178
  duration: 3000
@@ -3259,6 +3259,8 @@ class EditorElement extends s {
3259
3259
  render() {
3260
3260
  return x`
3261
3261
  <style>
3262
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3263
+
3262
3264
  .blocklyToolboxDiv {
3263
3265
  background-color: ${this.menuBackgroundColor};
3264
3266
  color: ${this.menuColor};
@@ -3310,7 +3312,7 @@ class EditorElement extends s {
3310
3312
  top: 24px;
3311
3313
  right: 24px;
3312
3314
  border-radius: 100%;
3313
- color: #fff;
3315
+ color: #52DFDB;
3314
3316
  width: 56px;
3315
3317
  height: 56px;
3316
3318
  line-height: 56px;
@@ -3318,7 +3320,7 @@ class EditorElement extends s {
3318
3320
  transition: box-shadow 0.3s ease-in-out;
3319
3321
  text-align: center;
3320
3322
  font-weight: 500;
3321
- background-color:${this.canSave ? 'rgb(66, 133, 244)' : '#5F5F5F'} ;
3323
+ background-color:${this.canSave ? '#242E3B' : '#5F5F5F'} ;
3322
3324
  cursor: pointer;"
3323
3325
  class="material-icons"
3324
3326
  aria-hidden="true"
@@ -3367,8 +3369,8 @@ let EditorService = class EditorService {
3367
3369
  text: message,
3368
3370
  position: 'center',
3369
3371
  style: {
3370
- 'font-family': 'Arial, Helvetica, sans- serif',
3371
- background: 'linear-gradient(90deg, rgba(7,99,101,1) 0%, rgba(4,129,58,1) 100%)'
3372
+ 'font-family': '"Poppins", sans-serif',
3373
+ background: '#52DFDB'
3372
3374
  },
3373
3375
  duration: 3000
3374
3376
  }).showToast();
@@ -3379,7 +3381,7 @@ let EditorService = class EditorService {
3379
3381
  text: message,
3380
3382
  position: 'center',
3381
3383
  style: {
3382
- 'font-family': 'Arial, Helvetica, sans- serif',
3384
+ 'font-family': '"Poppins", sans-serif',
3383
3385
  background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
3384
3386
  },
3385
3387
  duration: 3000
package/index.esm2.js CHANGED
@@ -3170,7 +3170,7 @@ class EditorElement extends s {
3170
3170
  text: 'Your scene cannot be saved, invalid format',
3171
3171
  position: 'center',
3172
3172
  style: {
3173
- 'font-family': 'Arial, Helvetica, sans- serif',
3173
+ 'font-family': '"Poppins", sans-serif',
3174
3174
  background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
3175
3175
  },
3176
3176
  duration: 3000
@@ -3257,6 +3257,8 @@ class EditorElement extends s {
3257
3257
  render() {
3258
3258
  return x`
3259
3259
  <style>
3260
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
3261
+
3260
3262
  .blocklyToolboxDiv {
3261
3263
  background-color: ${this.menuBackgroundColor};
3262
3264
  color: ${this.menuColor};
@@ -3308,7 +3310,7 @@ class EditorElement extends s {
3308
3310
  top: 24px;
3309
3311
  right: 24px;
3310
3312
  border-radius: 100%;
3311
- color: #fff;
3313
+ color: #52DFDB;
3312
3314
  width: 56px;
3313
3315
  height: 56px;
3314
3316
  line-height: 56px;
@@ -3316,7 +3318,7 @@ class EditorElement extends s {
3316
3318
  transition: box-shadow 0.3s ease-in-out;
3317
3319
  text-align: center;
3318
3320
  font-weight: 500;
3319
- background-color:${this.canSave ? 'rgb(66, 133, 244)' : '#5F5F5F'} ;
3321
+ background-color:${this.canSave ? '#242E3B' : '#5F5F5F'} ;
3320
3322
  cursor: pointer;"
3321
3323
  class="material-icons"
3322
3324
  aria-hidden="true"
@@ -3365,8 +3367,8 @@ let EditorService = class EditorService {
3365
3367
  text: message,
3366
3368
  position: 'center',
3367
3369
  style: {
3368
- 'font-family': 'Arial, Helvetica, sans- serif',
3369
- background: 'linear-gradient(90deg, rgba(7,99,101,1) 0%, rgba(4,129,58,1) 100%)'
3370
+ 'font-family': '"Poppins", sans-serif',
3371
+ background: '#52DFDB'
3370
3372
  },
3371
3373
  duration: 3000
3372
3374
  }).showToast();
@@ -3377,7 +3379,7 @@ let EditorService = class EditorService {
3377
3379
  text: message,
3378
3380
  position: 'center',
3379
3381
  style: {
3380
- 'font-family': 'Arial, Helvetica, sans- serif',
3382
+ 'font-family': '"Poppins", sans-serif',
3381
3383
  background: 'linear-gradient(90deg, rgba(121,9,9,1) 0%, rgba(203,62,62,1) 100%)'
3382
3384
  },
3383
3385
  duration: 3000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-editor",
3
- "version": "0.5.13",
3
+ "version": "0.5.14",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"