Skip to content

Comments

[DPEDE-5316] Adjusted styles to new connect styles in solid tabs#1934

Open
wojciechwlodarczyklumen wants to merge 3 commits intoCenturyLink:masterfrom
wojciechwlodarczyklumen:DPEDE-5316-investigate-new-solid-connect-tabs
Open

[DPEDE-5316] Adjusted styles to new connect styles in solid tabs#1934
wojciechwlodarczyklumen wants to merge 3 commits intoCenturyLink:masterfrom
wojciechwlodarczyklumen:DPEDE-5316-investigate-new-solid-connect-tabs

Conversation

@wojciechwlodarczyklumen
Copy link
Contributor

@wojciechwlodarczyklumen wojciechwlodarczyklumen commented Jan 30, 2026

IMPORTANDO!

This PR doesnt change the borders around new tabs - only it added focus. As for now it was left for other task. We need to adjust how we use the borders (now we use :before to show a line, instead of borders).


This pull request updates the styling and variables for the "solid" variant of the Tabs component, enhancing its appearance and state handling (active, hover, disabled) across multiple themes. The changes introduce new SCSS variables for more granular control and update the component's styles to utilize these variables, ensuring consistent behavior and easier theme customization.

Tabs Component Styling Enhancements:

  • Added and updated styles for the solid variant of tabs, including explicit color, background, border, and opacity handling for normal, hover, active, and disabled states in tabs.scss. This improves accessibility and visual feedback for users. [1] [2]

Theme Variable Updates:

  • Introduced new SCSS variables for the solid tab variant in all major themes (brightspeed, centurylink, colt, connect, lumen, portal, test). These variables provide fine-grained control over colors, borders, radii, font sizes, and opacities for various tab states, and remove or replace older, less specific variables. [1] [2] [3] [4] [5] [6] [7]

Build and Integrity Updates:

  • Updated the Subresource Integrity (SRI) hashes in sri.json to reflect the new CSS and JS builds generated by these styling changes, ensuring clients can verify the integrity of the assets. [1] [2]

Minor Code Clean-up:

  • Removed some unnecessary blank lines in tabs.scss for improved code clarity. [1] [2]

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines the “solid” variant of the Tabs component to align with updated Connect visual styles while making the state styling fully theme-driven via new SCSS variables. It also refreshes SRI hashes to match the rebuilt CSS/JS bundles.

Changes:

  • Added detailed state-specific styles (default, hover, active, disabled) for .chi-tabs.-solid in tabs.scss, wired to new SCSS variables instead of hard-coded values.
  • Introduced a full set of tabs-solid-* variables across all major themes (lumen, connect, brightspeed, centurylink, colt, portal, test) to control colors, borders, radii, font sizes, and opacities per state.
  • Updated sri.json SRI hashes for CSS and JS assets to reflect the new builds.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sri.json Updates SRI hashes for theme CSS bundles and CE JS bundles so integrity checks match the new compiled assets.
src/chi/components/tabs/tabs.scss Implements theme-variable-driven styling for solid tabs, covering base, hover, active, disabled, and active+disabled states plus solid sliding border colors.
src/chi/themes/lumen/_variables.scss Defines the new tabs-solid-* variables for the lumen (default) theme, keeping the existing visual style but exposing more granular control.
src/chi/themes/connect/_variables.scss Defines connect-specific tabs-solid-* variables (e.g., primary-light background, rounded top radius, custom disabled styles) to match the new Connect solid tab look.
src/chi/themes/test/_variables.scss Mirrors the connect tabs-solid-* variables for the test theme so visual regression tests reflect the new Connect styling.
src/chi/themes/portal/_variables.scss Adds portal-theme tabs-solid-* variables preserving its existing appearance while aligning to the new variable contract.
src/chi/themes/brightspeed/_variables.scss Adds brightspeed-theme tabs-solid-* variables for solid tabs, mapping prior hard-coded values into the new variable set.
src/chi/themes/centurylink/_variables.scss Adds centurylink-theme tabs-solid-* variables, maintaining the existing centurylink look via the new configuration knobs.
src/chi/themes/colt/_variables.scss Adds colt-theme tabs-solid-* variables to drive solid tab colors, borders, and disabled styling via the shared pattern.

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1934/1/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1934/2/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1934/3/. ❌

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