wiki-plugin-linkitylink 0.0.8 → 0.0.9

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.
@@ -30,26 +30,31 @@
30
30
  function renderVersionStatus(data) {
31
31
  const { installed, published, updateAvailable } = data;
32
32
 
33
- // Determine status color
34
- let statusColor, statusIcon, statusText;
33
+ // Plugmatic-style colors
34
+ const color = {
35
+ gray: '#ccc',
36
+ red: '#f55',
37
+ yellow: '#fb0',
38
+ green: '#0e0',
39
+ };
40
+
41
+ // Determine status color (matching plugmatic)
42
+ let statusColor, statusText;
35
43
  if (!installed) {
36
- statusColor = '#f44336'; // red
37
- statusIcon = '🔴';
44
+ statusColor = color.red;
38
45
  statusText = 'Not installed';
39
46
  } else if (updateAvailable) {
40
- statusColor = '#ff9800'; // orange/yellow
41
- statusIcon = '🟡';
47
+ statusColor = color.yellow;
42
48
  statusText = 'Update available';
43
49
  } else {
44
- statusColor = '#4caf50'; // green
45
- statusIcon = '🟢';
50
+ statusColor = color.green;
46
51
  statusText = 'Up to date';
47
52
  }
48
53
 
49
54
  let html = `
50
55
  <div style="border: 2px solid ${statusColor}; padding: 15px; border-radius: 8px; background-color: #fafafa;">
51
56
  <h3 style="margin-top: 0;">
52
- ${statusIcon} Linkitylink Service ${statusText}
57
+ <span style="color: ${statusColor}; font-size: 20px;">◉</span> Linkitylink Service ${statusText}
53
58
  </h3>
54
59
  <table style="width: 100%; border-collapse: collapse;">
55
60
  <tr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-plugin-linkitylink",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Linkitylink integration plugin for federated wiki",
5
5
  "keywords": [
6
6
  "wiki",