Skip to content

Commit

Permalink
fix(aggrid): set font style globally for theme (#1624)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Maurer <lukas.maurer@siemens.com>
  • Loading branch information
jul-lam and nuke-ellington authored Dec 17, 2024
1 parent de65408 commit b016f93
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-meals-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix-aggrid": patch
---

Set typography globally for **ag-grid** theme.
5 changes: 2 additions & 3 deletions packages/aggrid/scss/ix-aggrid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
@import '@siemens/ix/scss/mixins/fonts';

[class*='ag-theme-ix'] {
@include typography-body;

--ag-background-color: transparent;

--ag-foreground-color: var(--theme-color-std-text);
Expand Down Expand Up @@ -60,7 +62,6 @@
}

.ag-select-list {
@include typography-body;
color: var(--theme-color-std-text);
background-color: var(--ag-control-panel-background-color);
}
Expand Down Expand Up @@ -117,13 +118,11 @@
}

.ag-header-cell {
@include typography-body;
font-weight: 700;
color: var(--theme-table-header-cell--color);
}

.ag-cell {
@include typography-body;
color: var(--theme-table-data-cell--color);
line-height: min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height));
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b016f93

Please sign in to comment.