Follow us on

Codestar Support Forum » WordPress Plugins » Codestar Framework

how CSS variables work in CSF

  1. I have code in style.css like

    :root {

    --tp-ff-body: 'DM Sans', sans-serif;
    --tp-ff-heading: 'DM Sans', sans-serif;

    --tp-common-white: #ffffff;
    --tp-common-black: #000;
    --tp-heading-primary: #343a40;

    }

    .header {

    background: var(--tp-common-black);

    }

    so now I like to change the main variables color from codestart theme option with the color field, it's possible?

    Posted 1 year ago #

  2. Codestar
    Admin

    Hi,

    Yes, I am planning to add this feature in the next updates. I noted

    Regards, Codestar

    Posted 1 year ago #