Dark Mode Patches across the board for Calendar TinyMCE additonal dark mode css fixed and fixing autofocus on modal close when modal is open without a form autofocus

This commit is contained in:
johnnyq
2026-08-16 15:57:37 -04:00
parent 0f69ef8e19
commit 92377b918a
8 changed files with 527 additions and 19 deletions

View File

@@ -806,8 +806,7 @@ if ($user_config_dashboard_technical_enable == 1) {
<script>
// Bootstrap-like defaults for Chart.js v4
Chart.defaults.font.family = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
Chart.defaults.color = '#292b2c';
var itflowChart = itflowChartDefaults();
// CASH FLOW
(function () {
@@ -882,11 +881,11 @@ if ($user_config_dashboard_technical_enable == 1) {
{
label: "Projected",
fill: false,
borderColor: "black",
pointBackgroundColor: "black",
pointBorderColor: "black",
borderColor: itflowChart.text,
pointBackgroundColor: itflowChart.text,
pointBorderColor: itflowChart.text,
pointHoverRadius: 5,
pointHoverBackgroundColor: "black",
pointHoverBackgroundColor: itflowChart.text,
pointBorderWidth: 2,
data: [
<?php
@@ -945,7 +944,7 @@ if ($user_config_dashboard_technical_enable == 1) {
min: 0,
max: <?php $max = max(1000, $largest_expense_month, $largest_income_month, $largest_invoice_month); echo roundUpToNearestMultiple($max); ?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
}
},
plugins: {
@@ -1006,7 +1005,7 @@ if ($user_config_dashboard_technical_enable == 1) {
min: 0,
max: <?php $max = max(1000, $largest_trip_miles_month); echo roundUpToNearestMultiple($max); ?>,
ticks: { maxTicksLimit: 5 },
grid: { color: "rgba(0, 0, 0, .125)" }
grid: { color: itflowChart.grid }
},
},
plugins: {