@mathscan/math-exercise-engine 1.2.3 → 1.2.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.
package/dist/style.css CHANGED
@@ -794,8 +794,14 @@ button.drag-option {
794
794
  color: var(--exercise-text);
795
795
  }
796
796
 
797
+ /*
798
+ * --exercise-table-border-color is always set inline by LayoutRenderer, which
799
+ * falls back to DEFAULT_TABLE_BORDER_COLOR. No literal default here: the color
800
+ * has one source of truth in src/constants/table-constants.ts.
801
+ */
802
+
797
803
  .exercise-table-container {
798
- border: 2px solid #7c6cf2;
804
+ border: 2px solid var(--exercise-table-border-color);
799
805
  border-radius: 8px;
800
806
  overflow: hidden;
801
807
  }
@@ -807,19 +813,19 @@ table.exercise-table {
807
813
 
808
814
  td.exercise-table-cell,
809
815
  th.exercise-table-cell {
810
- box-shadow: inset -2px -2px 0 0 #7c6cf2;
816
+ box-shadow: inset -2px -2px 0 0 var(--exercise-table-border-color);
811
817
  }
812
818
 
813
819
  td.exercise-table-cell:last-child,
814
820
  th.exercise-table-cell:last-child {
815
- box-shadow: inset 0 -2px 0 0 #7c6cf2;
821
+ box-shadow: inset 0 -2px 0 0 var(--exercise-table-border-color);
816
822
  }
817
823
 
818
824
  tr.exercise-table-row:last-child td.exercise-table-cell,
819
825
  tr.exercise-table-row:last-child th.exercise-table-cell,
820
826
  td.exercise-table-cell.exercise-table-cell--last-row,
821
827
  th.exercise-table-cell.exercise-table-cell--last-row {
822
- box-shadow: inset -2px 0 0 0 #7c6cf2;
828
+ box-shadow: inset -2px 0 0 0 var(--exercise-table-border-color);
823
829
  }
824
830
 
825
831
  tr.exercise-table-row:last-child td.exercise-table-cell:last-child,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathscan/math-exercise-engine",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A DSL parser and validator for math exercises - transforms text-based exercise definitions into structured AST and JSON",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",