How can i define a CSS variable (i.e var(--example) for a SECTION settings?

Hello team, as i creating a CSS variable working fine in theme settings , But how can i create same css variable for a section.
I made theme settings for checking purpose and its working fine (using dawn theme 8.0)
In theme.liquid define variables which is working fine, as a result i can access this settings in theme settings.

Created schema tag in settings_schema.json

Created schema settings in section file ‘custom-category.liquid’ in which i actually want to create that CSS variables.

Setting is showing but NOT WORKING because it’s the section. How can i define css variables for this section settings.

kindly assist.

Hello,

Did you ever figure this out?