Skip to content

Commit

Permalink
fix(aggrid/style): use theme variables in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Sep 15, 2022
1 parent f67e02c commit 79a1e87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions packages/aggrid/scss/ix-aggrid.scss
Expand Up @@ -99,4 +99,13 @@
letter-spacing: normal;
color: var(--theme-table-data-cell--color);
}

.ag-filter-wrapper {
background-color: var(--theme-color-1);

.ag-checkbox .ag-input-wrapper,
.ag-radio-button .ag-input-wrapper {
color: var(--theme-color-primary);
}
}
}
2 changes: 1 addition & 1 deletion packages/aggrid/src/components/ix-ag-grid/ix-ag-grid.tsx
Expand Up @@ -33,7 +33,7 @@ export class IxAgGrid {
}

if (!this.grid) {
const gridDiv = this.host.querySelector('div.ag-theme-ix-brand-dark') as HTMLElement;
const gridDiv = this.host.querySelector('div.ag-theme-ix') as HTMLElement;
this.grid = new Grid(gridDiv, this.gridOptions);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/aggrid/src/index.html
Expand Up @@ -20,7 +20,7 @@
<link rel="stylesheet" href="/build/ix/dist/siemens-ix/siemens-ix.css" />
<link rel="stylesheet" href="/build/ix-icons/css/ix-icons.css" />
</head>
<body class="theme-brand-dark" style="height: 100vh; width: 100vw">
<body class="theme-classic-dark" style="height: 100vh; width: 100vw">
<my-component first="Stencil" last="'Don't call me a framework' JS"></my-component>
</body>
</html>

0 comments on commit 79a1e87

Please sign in to comment.