This commit is contained in:
Bastian Wagner
2026-08-03 14:49:35 +02:00
parent 71d76725a4
commit b21641f37a
24 changed files with 1009 additions and 136 deletions

View File

@@ -0,0 +1,21 @@
import { themeQuartz } from 'ag-grid-community';
// Maps the grid's look onto the app's Material 3 system tokens (see
// src/styles.scss) so it reads as part of the app rather than a bolted-on
// widget. Values are CSS custom properties, resolved at paint time, so this
// theme automatically follows the app's green/orange palette.
export const teamwalletGridTheme = themeQuartz.withParams({
accentColor: 'var(--mat-sys-primary)',
backgroundColor: 'var(--mat-sys-surface)',
foregroundColor: 'var(--mat-sys-on-surface)',
chromeBackgroundColor: 'var(--mat-sys-surface)',
headerBackgroundColor: 'var(--mat-sys-surface)',
headerTextColor: 'var(--mat-sys-on-surface-variant)',
headerFontWeight: 600,
borderColor: 'var(--mat-sys-outline-variant)',
wrapperBorderRadius: 20,
borderRadius: 14,
selectedRowBackgroundColor: 'var(--mat-sys-secondary-container)',
fontFamily: 'Roboto, sans-serif',
spacing: 8,
});