Skip to content

Commit

Permalink
fix(aggrid): use default font fallbacks from core (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux authored Aug 22, 2023
1 parent 6cc51f6 commit 5eed3b3
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions packages/aggrid/scss/ix-aggrid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@import '~@siemens/ix/scss/mixins/font';

[class*='ag-theme-ix'] {
--ag-background-color: transparent;
Expand Down Expand Up @@ -51,15 +52,9 @@
}

.ag-select-list {
@include typography-body;
color: var(--theme-color-std-text);
background-color: var(--ag-control-panel-background-color);
font-family: Siemens Sans;
font-size: 0.875rem;
font-weight: normal;
font-stretch: normal;
font-style: normal;
line-height: 1.43;
letter-spacing: normal;
}

.ag-header-cell .ag-header-cell-resize::after {
Expand Down Expand Up @@ -114,24 +109,15 @@
}

.ag-header-cell {
font-family: Siemens Sans;
font-size: 0.875rem;
font-weight: bold;
font-stretch: normal;
font-style: normal;
line-height: 1.43;
letter-spacing: normal;
@include typography-body;
font-weight: 700;
color: var(--theme-table-header-cell--color);
}

.ag-cell {
font-family: Siemens Sans;
font-size: 0.875rem;
font-weight: normal;
font-stretch: normal;
font-style: normal;
letter-spacing: normal;
@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));
}

.ag-filter-wrapper {
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.
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 5eed3b3

Please sign in to comment.