فهرست منبع

Update style for learning mode

Imran Hossain 2 سال پیش
والد
کامیت
974669ba04
1فایلهای تغییر یافته به همراه50 افزوده شده و 0 حذف شده
  1. 50 0
      course/styles/gold.json

+ 50 - 0
course/styles/gold.json

@@ -213,6 +213,56 @@
 						}
 					}
 				}
+			},
+			"core/paragraph": {
+				"typography": {
+					"lineHeight": "1.6"
+				}
+			},
+			"sensei-lms/course-theme-lesson-module": {
+				"typography": {
+					"fontWeight": "700",
+					"lineHeight": "1.21"
+				}
+			},
+			"core/post-title": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--x-large)"
+				}
+			},
+			"sensei-lms/course-navigation": {
+				"typography": {
+					"fontFamily": "var(--wp--preset--font-family--heading)",
+					"fontWeight": "400",
+					"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; } .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": {
+				"typography": {
+					"letterSpacing": "-0.01em",
+					"fontWeight": "500",
+					"fontSize": "var(--wp--preset--font-size--small)",
+					"lineHeight": "1.6"
+				}
+			},
+			"sensei-lms/exit-course": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--x-small)",
+					"letterSpacing": "-0.01em",
+					"fontWeight": "500",
+					"lineHeight": "1.6"
+				}
+			},
+			"sensei-lms/course-title": {
+				"typography": {
+					"fontFamily": "var(--wp--preset--font-family--system)",
+					"fontSize": "var(--wp--preset--font-size--x-small)",
+					"fontWeight": "700",
+					"letterSpacing": "-0.01em",
+					"lineHeight": "1",
+					"textTransform": "uppercase"
+				}
 			}
 		},
 		"elements": {