@codecademy/gamut-styles

17.14.017.14.1-alpha.a6e8fa.0
dist/remoteAssets/fonts.js
~dist/remoteAssets/fonts.jsModified
+79−26
Index: package/dist/remoteAssets/fonts.js
===================================================================
--- package/dist/remoteAssets/fonts.js
+++ package/dist/remoteAssets/fonts.js
@@ -31,20 +31,91 @@
   filePath: `${FONT_ASSET_PATH}/SuisseIntlMono-Regular-WebS`,
   extensions,
   name: 'Suisse'
 }];
-export const percipio = [{
+
+/**
+ * Skillsoft Sans (accent) + Skillsoft Text (base).
+ * Weights 400 / 500 / 700 + italics; 500 uses Medium files for title/bold tokens.
+ */
+const skillsoftFamilyFonts = [{
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-Regular`,
+  extensions,
+  name: 'Skillsoft Text'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-RegularItalic`,
+  extensions,
+  name: 'Skillsoft Text',
+  style: 'italic'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-Medium`,
+  extensions,
+  name: 'Skillsoft Text',
+  weight: 500
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-MediumItalic`,
+  extensions,
+  name: 'Skillsoft Text',
+  weight: 500,
+  style: 'italic'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-Bold`,
+  extensions,
+  name: 'Skillsoft Text',
+  weight: 700
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftText-BoldItalic`,
+  extensions,
+  name: 'Skillsoft Text',
+  weight: 700,
+  style: 'italic'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-Regular`,
+  extensions,
+  name: 'Skillsoft Sans'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-RegularItalic`,
+  extensions,
+  name: 'Skillsoft Sans',
+  style: 'italic'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-Medium`,
+  extensions,
+  name: 'Skillsoft Sans',
+  weight: 500
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-MediumItalic`,
+  extensions,
+  name: 'Skillsoft Sans',
+  weight: 500,
+  style: 'italic'
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-Bold`,
+  extensions,
+  name: 'Skillsoft Sans',
+  weight: 700
+}, {
+  filePath: `${FONT_ASSET_PATH}/SkillsoftSans-BoldItalic`,
+  extensions,
+  name: 'Skillsoft Sans',
+  weight: 700,
+  style: 'italic'
+}];
+
+/**
+ * Roboto + Roboto Mono for Percipio `system` and `monospace` theme slots.
+ * The default weight for bold fonts is 700; Percipio uses 500 for the base bold.
+ */
+const percipioRobotoFonts = [{
   filePath: `${FONT_ASSET_PATH}/roboto-regular`,
   extensions,
   name: 'Roboto'
 }, {
   filePath: `${FONT_ASSET_PATH}/roboto-italic`,
   extensions,
   name: 'Roboto',
   style: 'italic'
-},
-// The default weight for bold fonts is 700, Percipio uses 500 for the base bold
-{
+}, {
   filePath: `${FONT_ASSET_PATH}/roboto-bold`,
   extensions,
   name: 'Roboto',
   weight: 'bold'
@@ -74,30 +145,12 @@
   extensions,
   name: 'Roboto Mono',
   weight: 'bold'
 }];
-export const lxStudio = [{
-  filePath: `${FONT_ASSET_PATH}/hanken-grotesk-regular`,
-  extensions,
-  name: 'Hanken Grotesk'
-}, {
-  filePath: `${FONT_ASSET_PATH}/hanken-grotesk-italic`,
-  extensions,
-  name: 'Hanken Grotesk',
-  style: 'italic'
-}, {
-  filePath: `${FONT_ASSET_PATH}/hanken-grotesk-bold`,
-  extensions,
-  name: 'Hanken Grotesk',
-  weight: 'bold'
-}, {
-  filePath: `${FONT_ASSET_PATH}/hanken-grotesk-bold-italic`,
-  extensions,
-  name: 'Hanken Grotesk',
-  weight: 'bold',
-  style: 'italic'
-}];
+
+/** Percipio: Skillsoft (accent/base) plus Roboto system + Roboto Mono monospace. */
+export const percipio = [...skillsoftFamilyFonts, ...percipioRobotoFonts];
 export const webFonts = {
   core,
   percipio,
-  lxStudio
+  lxStudio: percipio
 };
\ No newline at end of file