import { themeQuartz } from 'ag-grid-community'

// AG Grid v33+ Theming API adapter. Business modules never import a grid theme directly.
export const kbxGridTheme = themeQuartz.withParams({
  spacing: 4,
  foregroundColor: 'var(--kbx-color-text)',
  backgroundColor: 'var(--kbx-color-surface)',
  accentColor: 'var(--kbx-color-primary)',
  borderColor: 'var(--kbx-color-border)',
  headerBackgroundColor: 'var(--kbx-color-surface-subtle)',
  headerTextColor: 'var(--kbx-color-text)',
  rowHoverColor: 'var(--kbx-color-surface-hover)',
  selectedRowBackgroundColor: 'var(--kbx-color-info-surface)',
})
