This commit is contained in:
seb
2026-10-05 01:01:03 +02:00
parent 81b59fd309
commit b766769634
59 changed files with 903 additions and 280 deletions

View File

@@ -22,6 +22,7 @@ import PublicIcon from '@mui/icons-material/Public';
import BarChartIcon from '@mui/icons-material/BarChart';
import { isKategorienPath } from './components/category/categoryRoute';
import { deliveryEditorAutomat } from './automats/deliveryEditorAutomat';
import { NAV_ITEM_ACTIVE_ACCENT } from './colors';
class DeliveryNavIcon extends PureComponent {
constructor(props) {
@@ -53,7 +54,7 @@ class DeliveryNavIcon extends PureComponent {
...rest,
sx: [
...(Array.isArray(sx) ? sx : sx ? [sx] : []),
(theme) => (hasDraft ? { color: theme.nav?.itemActiveAccent || '#2dd4bf' } : null),
(theme) => (hasDraft ? { color: theme.nav?.itemActiveAccent || NAV_ITEM_ACTIVE_ACCENT } : null),
],
});
}