Skip to content

Commit 28878d9

Browse files
committed
feat(coachmark): font token revisions
1 parent a24e3c5 commit 28878d9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.changeset/nice-cows-shout.md

-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ This migrates the `coachmark` component to S2. Custom properties have been remap
88

99
| Before | After |
1010
| ------------------------------------------ | ----------------------------------------------- |
11-
| --spectrum-sans-serif-font | --spectrum-title-sans-serif-font-family |
12-
| --spectrum-heading-serif-font-style | --spectrum-title-serif-font-style |
1311
| --spectrum-heading-sans-serif-font-weight | --spectrum-title-sans-serif-font-weight |
1412
| --spectrum-coach-mark-title-size | --spectrum-coach-mark-title-font-size |
1513
| --spectrum-heading-line-height | --spectrum-title-line-height |
1614
| --spectrum-coach-mark-body-size | --spectrum-coach-mark-body-font-size |
17-
| --spectrum-sans-serif-font | --spectrum-body-sans-serif-font-family |
1815
| --spectrum-body-sans-serif-font-style | --spectrum-body-serif-font-style |
1916
| --spectrum-coach-mark-pagination-body-size | --spectrum-coach-mark-pagination-body-font-size |

components/coachmark/index.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ governing permissions and limitations under the License.
2929

3030
/* font */
3131
--spectrum-coachmark-title-color: var(--spectrum-heading-color);
32-
--spectrum-coachmark-title-font-family: var(--spectrum-title-sans-serif-font-family);
32+
--spectrum-coachmark-title-font-family: var(--spectrum-sans-serif-font);
3333
--spectrum-coachmark-title-font-style: var(--spectrum-title-serif-font-style);
3434
--spectrum-coachmark-title-text-font-weight: var(--spectrum-title-sans-serif-font-weight);
3535
--spectrum-coachmark-title-font-size: var(--spectrum-coach-mark-title-font-size);
@@ -44,7 +44,7 @@ governing permissions and limitations under the License.
4444

4545
--spectrum-coachmark-step-color: var(--spectrum-coach-mark-pagination-color);
4646
--spectrum-coachmark-step-font-weight: var(--spectrum-body-medium-font-weight);
47-
--spectrum-coachmark-step-font-family: var(--spectrum-body-sans-serif-font-family);
47+
--spectrum-coachmark-step-font-family: var(--spectrum-sans-serif-font);
4848
--spectrum-coachmark-step-font-style: var(--spectrum-body-serif-font-style);
4949
--spectrum-coachmark-step-line-height: var(--spectrum-line-height-200);
5050
--spectrum-coachmark-step-font-size: var(--spectrum-coach-mark-pagination-body-font-size);

0 commit comments

Comments
 (0)