Update minimum Node.js version for Vartheme Claro to >=18, SASS, PostCSS, and Webpack version to ~5. With preloaded and adopted --gin-font for RTL

Created on 25 May 2023, about 1 year ago
Updated 29 May 2023, about 1 year ago

Problem/Motivation

πŸ“Œ Require Node.js 18 for development in 10.1.x Fixed

Proposed resolution

  • Align Varbase 10.0.x with the efforts of the Drupal core team for Drupal 10.1.x by updating the minimum Node.js version to >=18.
  • Switch to Webpack ~5.0
  • Drop Gulp in favor of Webpack, SASS, and PostCSS
  • Use preload for the RTL font
  • Change the following for the --gin-font for RTL and adopt the RTL font to the Gin design
    	[dir=rtl]:root {
    	  --gin-font: "Tajawal", sans-serif;
    	  --gin-font-size-xxs: .75rem;
    	  --gin-font-size-xs: small;
    	  --gin-font-size-s: .875rem;
    	  --gin-font-size: 1rem;
    	  --gin-font-size-m: var(--gin-font-size);
    	  --gin-font-size-l: 1.125rem;
    	  --gin-font-size-xl: 1.25rem;
    	  --gin-font-size-h3: 1.5rem;
    	  --gin-font-size-h2: 1.75rem;
    	  --gin-font-size-h1: 1.6rem;
    	  --gin-font-size-quote: 1.1em;
    	  --gin-font-weight-normal: 500;
    	  --gin-font-weight-semibold: 626;
    	  --gin-font-weight-bold: 600;
    	  --gin-font-weight-heavy: 700;
    	}
        

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Addition/Change/Update/Fix to this project
  • βœ… Testing to ensure no regression
  • βž– Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βœ… Accessibility and Readability
  • βœ… Code review from 1 Varbase core team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Update Release Notes and Update Helper on new feature change/addition
  • βœ… Release varbase-10.0.0-alpha1 β†’ , vartheme_claro-4.0.0-alpha2 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3362682: Updated minimum Node.js version for Vartheme Claro to >=18, SASS, PostCSS, and Webpack version to ~5. With preloaded and adopted --gin-font for RTL
πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024