A Regex file extension that makes it way easier to edit large regex.
all highlights have opacity
1 file changed, +30 -30
+30-30src/decorationGenerator.ts
| @@ -1,36 +1,36 @@ | ||
| 1 | 1 | import * as vscode from "vscode"; |
| 2 | 2 | |
| 3 | 3 | const BACKGROUND_COLORS = [ |
| 4 | - "#FF0000", // Red | |
| 5 | - "#00FF00", // Lime | |
| 6 | - "#0000FF", // Blue | |
| 7 | - "#FFFF00", // Yellow | |
| 8 | - "#FF00FF", // Magenta | |
| 9 | - "#00FFFF", // Cyan | |
| 10 | - "#FFA500", // Orange | |
| 11 | - "#FF1493", // Deep Pink | |
| 12 | - "#4B0082", // Indigo | |
| 13 | - "#EE82EE", // Violet | |
| 14 | - "#8A2BE2", // Blue Violet | |
| 15 | - "#5F9EA0", // Cadet Blue | |
| 16 | - "#7FFF00", // Chartreuse | |
| 17 | - "#D2691E", // Chocolate | |
| 18 | - "#FF7F50", // Coral | |
| 19 | - "#6495ED", // Cornflower Blue | |
| 20 | - "#DC143C", // Crimson | |
| 21 | - "#00CED1", // Dark Turquoise | |
| 22 | - "#9400D3", // Dark Violet | |
| 23 | - "#FFD700", // Gold | |
| 24 | - "#ADFF2F", // Green Yellow | |
| 25 | - "#FF69B4", // Hot Pink | |
| 26 | - "#CD5C5C", // Indian Red | |
| 27 | - "#F0E68C", // Khaki | |
| 28 | - "#E6E6FA", // Lavender | |
| 29 | - "#7CFC00", // Lawn Green | |
| 30 | - "#20B2AA", // Light Sea Green | |
| 31 | - "#87CEFA", // Light Sky Blue | |
| 32 | - "#FF6347", // Tomato | |
| 33 | - "#32CD32", // Lime Green | |
| 4 | + "rgba(255, 0, 0, 0.5)", // Red | |
| 5 | + "rgba(0, 255, 0, 0.5)", // Lime | |
| 6 | + "rgba(0, 0, 255, 0.5)", // Blue | |
| 7 | + "rgba(255, 255, 0, 0.5)", // Yellow | |
| 8 | + "rgba(255, 0, 255, 0.5)", // Magenta | |
| 9 | + "rgba(0, 255, 255, 0.5)", // Cyan | |
| 10 | + "rgba(255, 165, 0, 0.5)", // Orange | |
| 11 | + "rgba(255, 20, 147, 0.5)", // Deep Pink | |
| 12 | + "rgba(75, 0, 130, 0.5)", // Indigo | |
| 13 | + "rgba(238, 130, 238, 0.5)", // Violet | |
| 14 | + "rgba(138, 43, 226, 0.5)", // Blue Violet | |
| 15 | + "rgba(95, 158, 160, 0.5)", // Cadet Blue | |
| 16 | + "rgba(127, 255, 0, 0.5)", // Chartreuse | |
| 17 | + "rgba(210, 105, 30, 0.5)", // Chocolate | |
| 18 | + "rgba(255, 127, 80, 0.5)", // Coral | |
| 19 | + "rgba(100, 149, 237, 0.5)", // Cornflower Blue | |
| 20 | + "rgba(220, 20, 60, 0.5)", // Crimson | |
| 21 | + "rgba(0, 206, 209, 0.5)", // Dark Turquoise | |
| 22 | + "rgba(148, 0, 211, 0.5)", // Dark Violet | |
| 23 | + "rgba(255, 215, 0, 0.5)", // Gold | |
| 24 | + "rgba(173, 255, 47, 0.5)", // Green Yellow | |
| 25 | + "rgba(255, 105, 180, 0.5)", // Hot Pink | |
| 26 | + "rgba(205, 92, 92, 0.5)", // Indian Red | |
| 27 | + "rgba(240, 230, 140, 0.5)", // Khaki | |
| 28 | + "rgba(230, 230, 250, 0.5)", // Lavender | |
| 29 | + "rgba(124, 252, 0, 0.5)", // Lawn Green | |
| 30 | + "rgba(32, 178, 170, 0.5)", // Light Sea Green | |
| 31 | + "rgba(135, 206, 250, 0.5)", // Light Sky Blue | |
| 32 | + "rgba(255, 99, 71, 0.5)", // Tomato | |
| 33 | + "rgba(50, 205, 50, 0.5)", // Lime Green | |
| 34 | 34 | ]; |
| 35 | 35 | |
| 36 | 36 | class DecorationGenerator { |