Open krugazul opened 3 months ago
Currently we are using a custom set of values for our spacing, we need to change this to use the same slugs as WordPress
NB we will not utilise the 2X-Small, or 2X-Large.
--wp--preset--spacing--20: 0.44rem;
--wp--preset--spacing--30: 0.67rem;
--wp--preset--spacing--40: 1rem;
--wp--preset--spacing--50: 1.5rem;
--wp--preset--spacing--60: 2.25rem;
--wp--preset--spacing--70: 3.38rem;
--wp--preset--spacing--80: 5.06rem;
--wp--preset--spacing--x-small: 20px;
--wp--preset--spacing--small: clamp(20px, 4vw, 40px);
--wp--preset--spacing--medium: clamp(30px, 6vw, 60px);
--wp--preset--spacing--large: clamp(40px, 8vw, 80px);
--wp--preset--spacing--x-large: clamp(50px, 10vw, 100px);
Find --wp--preset--spacing--small in all CSS and SCSS files in LSX and replace with --wp--preset--spacing--30
--wp--preset--spacing--small
--wp--preset--spacing--30
Description
Currently we are using a custom set of values for our spacing, we need to change this to use the same slugs as WordPress
Tasks
NB we will not utilise the 2X-Small, or 2X-Large.
WordPress Spacing
--wp--preset--spacing--20: 0.44rem;
--wp--preset--spacing--30: 0.67rem;
--wp--preset--spacing--40: 1rem;
--wp--preset--spacing--50: 1.5rem;
--wp--preset--spacing--60: 2.25rem;
--wp--preset--spacing--70: 3.38rem;
--wp--preset--spacing--80: 5.06rem;
LightSpeed Spacing
--wp--preset--spacing--x-small: 20px;
--wp--preset--spacing--small: clamp(20px, 4vw, 40px);
--wp--preset--spacing--medium: clamp(30px, 6vw, 60px);
--wp--preset--spacing--large: clamp(40px, 8vw, 80px);
--wp--preset--spacing--x-large: clamp(50px, 10vw, 100px);
Additional Content
Find
--wp--preset--spacing--small
in all CSS and SCSS files in LSX and replace with--wp--preset--spacing--30