浏览代码

Update lm font spacings and fonts

Imran Hossain 2 年之前
父节点
当前提交
ffe0813ac2
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      course/styles/gold.json

+ 6 - 5
course/styles/gold.json

@@ -254,12 +254,12 @@
 					"fontWeight": "400",
 					"fontWeight": "400",
 					"letterSpacing": "-0.01em"
 					"letterSpacing": "-0.01em"
 				},
 				},
-				"css": "& .sensei-lms-course-navigation-module__title { font-family: var(--wp--preset--font-family--system); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; text-transform: none; } .sensei-lms-course-navigation-lesson__title { font-weight: 400; line-height: 1.21; opacity:unset; letter-spacing: 0.05em; } .sensei-lms-course-navigation-module__summary, .sensei-lms-course-navigation-lesson__extra { color: var(--wp--preset--color--course-navigation-summary) } .sensei-lms-course-navigation-lesson.status-locked a { color: var(--wp--preset--color--course-navigation-locked) }"
+				"css": "& .sensei-lms-course-navigation-module__title { font-family: var(--wp--preset--font-family--system); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.053em; text-transform: none; } .sensei-lms-course-navigation-lesson__title { font-weight: 400; line-height: 1.21; opacity:unset; letter-spacing: 0.041em; } .sensei-lms-course-navigation-module__summary, .sensei-lms-course-navigation-lesson__extra { color: var(--wp--preset--color--course-navigation-summary) } .sensei-lms-course-navigation-lesson.status-locked a { color: var(--wp--preset--color--course-navigation-locked) }"
 			},
 			},
 			"sensei-lms/course-theme-course-progress-counter": {
 			"sensei-lms/course-theme-course-progress-counter": {
 				"typography": {
 				"typography": {
 					"fontFamily": "var(--wp--preset--font-family--heading)",
 					"fontFamily": "var(--wp--preset--font-family--heading)",
-					"letterSpacing": "-0.001em",
+					"letterSpacing": "-0.0001em",
 					"fontWeight": "500",
 					"fontWeight": "500",
 					"fontSize": "var(--wp--preset--font-size--small)",
 					"fontSize": "var(--wp--preset--font-size--small)",
 					"lineHeight": "1.6"
 					"lineHeight": "1.6"
@@ -276,10 +276,10 @@
 			},
 			},
 			"sensei-lms/course-title": {
 			"sensei-lms/course-title": {
 				"typography": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--system)",
+					"fontFamily": "var(--wp--preset--font-family--heading)",
 					"fontSize": "var(--wp--preset--font-size--x-small)",
 					"fontSize": "var(--wp--preset--font-size--x-small)",
 					"fontWeight": "800",
 					"fontWeight": "800",
-					"letterSpacing": "0.04em",
+					"letterSpacing": "0.002em",
 					"lineHeight": "1",
 					"lineHeight": "1",
 					"textTransform": "uppercase"
 					"textTransform": "uppercase"
 				}
 				}
@@ -299,7 +299,8 @@
 			},
 			},
 			"button": {
 			"button": {
 				"typography": {
 				"typography": {
-					"fontWeight": "700"
+					"fontWeight": "700",
+					"letterSpacing": "0.001em"
 				}
 				}
 			}
 			}
 		},
 		},