Skip to content

Commit

Permalink
feat: add --facet-font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwsgray committed Dec 18, 2024
1 parent 9eeda09 commit 3923e3b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/facets-core/src/facet-container/FacetContainer.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
.facet-container-header {
height: 20px;
color: var(--facet-container-surface-foreground, #1A1B1C);
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 600;
Expand All @@ -45,7 +45,7 @@
.facet-container-footer {
height: 20px;
color: var(--facet-container-surface-foreground, #1A1B1C);
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 600;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
height: 10px;
margin-top: 2px;
color: var(--facet-bars-labels-foreground, #B2B3B4);
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 10px;
line-height: 10px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

.facet-timeline-labels-label {
position: absolute;
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 10px;
font-style: normal;
line-height: 13px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
top: 2px;

color: var(--facet-timeline-date-foreground, #050D5C);
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 600;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,15 @@
}

.facet-term-label {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.02em;
color: var(--facet-term-label, #1A1B1C);
}

.facet-term-annotation {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.02em;
Expand All @@ -216,7 +216,7 @@
}

.facet-term-value {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans"), sans-serif;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.02em;
Expand Down
6 changes: 3 additions & 3 deletions packages/facets-docs/src/basic/examples/facet-list/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

.histogram-header {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans") sans-serif;
font-size: 14px;
line-height: 16px;
margin: 5px;
Expand All @@ -69,7 +69,7 @@
}

.inspired-header {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans") sans-serif;
font-size: 14px;
line-height: 35px;
height: 35px;
Expand All @@ -89,7 +89,7 @@
height: 45px;
color: white;

font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans") sans-serif;
font-size: 28px;
line-height: 45px;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

.histogram-header {
font-family: "IBM Plex Sans", sans-serif;
font-family: var(--facet-font-family, "IBM Plex Sans") sans-serif;
font-size: 14px;
line-height: 16px;
border-top: 5px solid white;
Expand Down

0 comments on commit 3923e3b

Please sign in to comment.