Skip to content

chore(LXStudio + Percipio): update theme#3341

Open
dreamwasp wants to merge 6 commits intomainfrom
cass-gmt-1560
Open

chore(LXStudio + Percipio): update theme#3341
dreamwasp wants to merge 6 commits intomainfrom
cass-gmt-1560

Conversation

@dreamwasp
Copy link
Copy Markdown
Contributor

@dreamwasp dreamwasp commented May 5, 2026

Overview

For LXStudio:

Color updates ([figma link](https://www.figma.com/design/ReGfRNillGABAj5SlITalN/%F0%9F%93%90-Gamut?node-id=78900-79438&t=hNl3ImjAAGa9pw4G-4)):

lxStudioPurple: #1C50BB

rename lxStudioPurple to sapphire

lxStudioPurpleHover: Remove 

primary-hover: navy-800

For Percipio theme:

change primary => sapphire

For both:
Font updates (figma link):

accent: “Skillsoft Sans”

base: “Skillsoft Text”

fontWeight: bold + title are 500, 700 is still available.

PR Checklist

  • Related to designs:
  • Related to JIRA ticket: [ABC-123]
  • Version plan added/updated (or not needed)
  • I have run this code to verify it works
  • This PR includes unit tests for the code change
  • This PR includes testing instructions tests for the code change
  • The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

  1. Check out the Text page and see the correct 500 font-weight on titles + bold for both Percipio + LXStudio theme
  2. See buttons now using sapphire (and navy-800 on hover for LXStudio theme)

PR Links and Envs

Repository PR Link
Monolith Monolith PR
Mono Mono PR

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 5, 2026

View your CI Pipeline Execution ↗ for commit b16d349


☁️ Nx Cloud last updated this comment at 2026-05-07 19:48:41 UTC

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.29%. Comparing base (4c69a0f) to head (b16d349).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3341      +/-   ##
==========================================
- Coverage   90.40%   90.29%   -0.12%     
==========================================
  Files         405      384      -21     
  Lines        6649     6263     -386     
  Branches     2154     2014     -140     
==========================================
- Hits         6011     5655     -356     
+ Misses        630      600      -30     
  Partials        8        8              
Flag Coverage Δ
main ?
pull-request 90.29% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dreamwasp dreamwasp marked this pull request as ready for review May 6, 2026 15:57
@dreamwasp dreamwasp requested a review from a team as a code owner May 6, 2026 15:57
@dreamwasp
Copy link
Copy Markdown
Contributor Author

@dreamwasp dreamwasp marked this pull request as draft May 6, 2026 19:55
Comment on lines +12 to +26
/**
* Storybook docs chrome (`parameters.docs.theme`) uses `fontBase` for MDX canvas
* typography. It must match the toolbar-selected Gamut theme’s `fontFamily.base`
* (see DocsContainer); otherwise e.g. LX Studio shows Skillsoft Text on `body`
* from Reboot but Apercu inside addon-docs div rules.
*/
export function createGamutDocsTheme(
fontBase: string = gamutTheme.fontFamily.base
) {
return create({
base: 'light',
brandTitle: isLocalhost ? 'Gamut Local' : 'Gamut',
brandImage: logo,
brandUrl: '/',
fontBase,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there was a bug with themes with different fonts inheriting Apercu, this fixes that

@dreamwasp dreamwasp changed the title chore(LXStudio): update theme chore(LXStudio + Percipio): update theme May 7, 2026
@codecademydev
Copy link
Copy Markdown
Collaborator

📬 Published Alpha Packages:

Package Version npm Diff
@codecademy/gamut 68.5.1-alpha.a6e8fa.0 npm diff
@codecademy/gamut-icons 9.57.5-alpha.a6e8fa.0 npm diff
@codecademy/gamut-illustrations 0.58.11-alpha.a6e8fa.0 npm diff
@codecademy/gamut-kit 0.6.597-alpha.a6e8fa.0 npm diff
@codecademy/gamut-patterns 0.10.30-alpha.a6e8fa.0 npm diff
@codecademy/gamut-styles 17.14.1-alpha.a6e8fa.0 npm diff
@codecademy/gamut-tests 6.0.1-alpha.a6e8fa.0 npm diff
@codecademy/variance 0.26.2-alpha.a6e8fa.0 npm diff
eslint-plugin-gamut 2.4.4-alpha.a6e8fa.0 npm diff

@dreamwasp dreamwasp marked this pull request as ready for review May 7, 2026 19:51
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants