@qti-components/theme 1.3.2 → 1.4.0

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/item.css +22 -2
  2. package/package.json +1 -1
package/dist/item.css CHANGED
@@ -1582,8 +1582,8 @@
1582
1582
  --qti-border-active: #f86d70;
1583
1583
 
1584
1584
  /* Correct colors */
1585
- --qti-correct-light: #c8e6c9;
1586
- --qti-correct: #66bb6a;
1585
+ --qti-correct-light: #e8f5e9;
1586
+ --qti-correct: #2e7d32;
1587
1587
 
1588
1588
  /** Partially correct colors */
1589
1589
  --qti-partially-correct-light: #fff3e0;
@@ -3534,6 +3534,26 @@
3534
3534
  }
3535
3535
  }
3536
3536
 
3537
+ /* Apply .rubric-block for styling qti-rubric-block content */
3538
+
3539
+ .rubric-block {
3540
+ display: block;
3541
+ border-left: 4px solid var(--qti-correct);
3542
+ background-color: var(--qti-correct-light);
3543
+ color: var(--qti-correct);
3544
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3545
+ border-radius: var(--qti-border-radius);
3546
+ }
3547
+
3548
+ qti-rubric-block {
3549
+ display: block;
3550
+ border-left: 4px solid var(--qti-correct);
3551
+ background-color: var(--qti-correct-light);
3552
+ color: var(--qti-correct);
3553
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3554
+ border-radius: var(--qti-border-radius);
3555
+ }
3556
+
3537
3557
  [view],
3538
3558
  qti-outcome-declaration,
3539
3559
  qti-response-declaration {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qti-components/theme",
3
3
  "description": "QTI theme utilities",
4
- "version": "1.3.2",
4
+ "version": "1.4.0",
5
5
  "author": "",
6
6
  "exports": {
7
7
  "./item.css": "./dist/item.css",