critique 0.0.1 → 0.0.2
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/package.json +1 -1
- package/src/diff.tsx +2 -3
package/package.json
CHANGED
package/src/diff.tsx
CHANGED
|
@@ -14,10 +14,9 @@ import {
|
|
|
14
14
|
type ThemedToken,
|
|
15
15
|
} from "shiki";
|
|
16
16
|
|
|
17
|
-
|
|
18
17
|
const UNCHANGED_CODE_BG = RGBA.fromInts(15, 15, 15, 255);
|
|
19
|
-
const ADDED_BG_LIGHT =
|
|
20
|
-
const REMOVED_BG_LIGHT =
|
|
18
|
+
const ADDED_BG_LIGHT = RGBA.fromInts(100, 250, 120, 12);
|
|
19
|
+
const REMOVED_BG_LIGHT = RGBA.fromInts(255, 0, 0, 32);
|
|
21
20
|
|
|
22
21
|
const LINE_NUMBER_BG = RGBA.fromInts(5, 5, 5, 255);
|
|
23
22
|
const REMOVED_LINE_NUMBER_BG = RGBA.fromInts(60, 0, 0, 255);
|