tuimon 0.3.33 → 0.3.34

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.
@@ -104,10 +104,10 @@ export function generateJs(layout, t) {
104
104
  options: {
105
105
  responsive: true, maintainAspectRatio: false, animation: false,
106
106
  scales: {
107
- y: { grid: { color: theme.border + '22' }, ticks: { color: theme.textMuted } },
107
+ y: { grid: { color: theme.border + '22' }, ticks: { color: theme.text, font: { size: 12 } } },
108
108
  x: { display: false },
109
109
  },
110
- plugins: { legend: { labels: { color: theme.text, font: { size: 10 } } } },
110
+ plugins: { legend: { labels: { color: theme.text, font: { size: 12 } } } },
111
111
  },
112
112
  });
113
113
  return charts[id];
@@ -158,7 +158,7 @@ export function generateJs(layout, t) {
158
158
  data: { labels: [], datasets: [{ data: [], backgroundColor: [], borderWidth: 0 }] },
159
159
  options: {
160
160
  responsive: true, maintainAspectRatio: false, animation: false, cutout: '60%',
161
- plugins: { legend: { position: 'bottom', labels: { color: theme.text, font: { size: 10 }, padding: 12,
161
+ plugins: { legend: { position: 'bottom', labels: { color: theme.text, font: { size: 12 }, padding: 12,
162
162
  generateLabels: function(chart) {
163
163
  var data = chart.data;
164
164
  return (data.labels || []).map(function(label, i) {
@@ -193,8 +193,8 @@ export function generateJs(layout, t) {
193
193
  options: {
194
194
  responsive: true, maintainAspectRatio: false, animation: false,
195
195
  scales: {
196
- y: { grid: { color: theme.border + '22' }, ticks: { color: theme.textMuted } },
197
- x: { ticks: { color: theme.textMuted, font: { size: 10 } } },
196
+ y: { grid: { color: theme.border + '22' }, ticks: { color: theme.text, font: { size: 12 } } },
197
+ x: { ticks: { color: theme.text, font: { size: 12 } } },
198
198
  },
199
199
  plugins: { legend: { display: false } },
200
200
  },
@@ -2,8 +2,8 @@ export const DEFAULT_THEME = {
2
2
  bg: '#0a0e1a',
3
3
  panelBg: '#0f1629',
4
4
  border: '#00e5ff',
5
- text: '#e0e6ed',
6
- textMuted: '#5a6a7a',
5
+ text: '#ffffff',
6
+ textMuted: '#8a9ab0',
7
7
  accent: '#00e5ff',
8
8
  success: '#00e676',
9
9
  warning: '#ffab40',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuimon",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "description": "Render beautiful HTML dashboards directly in your terminal.",
5
5
  "type": "module",
6
6
  "bin": {