@siladev/qalam 0.1.2 → 0.1.4

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/dist/styles.css +22 -2
  2. package/package.json +2 -1
package/dist/styles.css CHANGED
@@ -47,7 +47,9 @@ ol[data-list-type="abjad"] {
47
47
  --qalam-shadow: rgba(0, 0, 0, 0.15);
48
48
  }
49
49
 
50
- .qalam-dark {
50
+ .qalam-dark,
51
+ .dark .qalam-renderer,
52
+ .dark .qalam-editor {
51
53
  --qalam-bg: #303030;
52
54
  --qalam-bg-alt: #3a3a3a;
53
55
  --qalam-bg-segment: #3a3a3a;
@@ -452,9 +454,27 @@ ol[data-list-type="abjad"] {
452
454
  line-height: 2;
453
455
  }
454
456
 
457
+ .qalam-renderer ul {
458
+ list-style-type: disc !important;
459
+ padding-right: 24px !important;
460
+ padding-left: 0 !important;
461
+ margin: 8px 0 !important;
462
+ }
463
+
464
+ .qalam-renderer ol {
465
+ list-style-type: decimal !important;
466
+ padding-right: 24px !important;
467
+ padding-left: 0 !important;
468
+ margin: 8px 0 !important;
469
+ }
470
+
471
+ .qalam-renderer li {
472
+ display: list-item !important;
473
+ }
474
+
455
475
  .qalam-renderer ul ul,
456
476
  .qalam-renderer ol ul {
457
- list-style-type: "- ";
477
+ list-style-type: "- " !important;
458
478
  }
459
479
 
460
480
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siladev/qalam",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Islamic content editor with Quran verse references",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,6 +28,7 @@
28
28
  "types": "./dist/resolver/index.d.ts"
29
29
  },
30
30
  "./styles.css": "./dist/styles.css",
31
+ "./fonts/*": "./dist/*",
31
32
  "./quran-data": "./dist/quran-data.json"
32
33
  },
33
34
  "files": [