• Resolved wcohen

    (@wcohen)


    Currently, when using getwid content timeline on twenty twentyone and toggling between regular/dark mode, text correctly inherits the switched colors, but the background/progress colors only have one setting. This means that it’s possible to have timeline look correct either on light or dark, but not both. Is there a way to either set separate background/progress colors for light and dark, or to have them inherit the light and dark options from the parent theme?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor motopress

    (@motopress)

    You can choose progress color that looks good in both modes or add custom css-styles in customizer:

    
    /* bar */
    body.is-dark-theme .wp-block-getwid-content-timeline__line {
        background: var(--global--color-gray);
    }
    
    /* progress */
    body.is-dark-theme .wp-block-getwid-content-timeline__bar {
        background-color: var(--global--color-primary);
    }
    body.is-dark-theme .wp-block-getwid-content-timeline-item.is-active .wp-block-getwid-content-timeline-item__point-content {
        border-color: var(--global--color-primary);
    }
    /* dot */
    body.is-dark-theme .wp-block-getwid-content-timeline-item__point-content {
    	background-color: var(--global--color-background);
    	border-color: var(--global--color-gray);
    }
    
    Thread Starter wcohen

    (@wcohen)

    Many thanks!

    Plugin Contributor motopress

    (@motopress)

    Hi @wcohen,
    You are welcome. It would be helpful if you review the plugin here https://wordpress.org/support/plugin/getwid/reviews/

    Feel free to contact us if you have any further questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content timeline and dark mode’ is closed to new replies.