/*
Theme Name: Greenlight Child
Theme URI: https://example.com/
Description: Child theme for Greenlight. Provides theme.json palette presets and optional CSS variable bridging for Gutenberg/WPML consistency.
Author: Joro
Template: greenlight
Version: 1.0.0
Text Domain: greenlight-child
*/

/* -----------------------------------------------------------
   Optional bridge: make Greenlight CSS variables follow WP
   theme.json preset variables (Gutenberg/WPML source of truth).
   Remove any lines that don't match your parent theme var names.
------------------------------------------------------------ */
:root {
  --greenlight-brand: var(--wp--preset--color--brand);
  --greenlight-brand-hover: var(--wp--preset--color--brand-hover);
  --greenlight-text-on-brand: var(--wp--preset--color--text-on-brand);
  --greenlight-text-on-brand-hover: var(--wp--preset--color--text-on-brand-hover);

  --greenlight-secondary: var(--wp--preset--color--secondary);
  --greenlight-secondary-hover: var(--wp--preset--color--secondary-hover);
  --greenlight-text-on-secondary: var(--wp--preset--color--text-on-secondary);
  --greenlight-text-on-secondary-hover: var(--wp--preset--color--text-on-secondary-hover);

  --greenlight-text: var(--wp--preset--color--textcolor);
  --greenlight-heading: var(--wp--preset--color--heading);
  --greenlight-border: var(--wp--preset--color--border);
  --greenlight-background: var(--wp--preset--color--background);

  --greenlight-card-bg: var(--wp--preset--color--card-base);
  --greenlight-card-border: var(--wp--preset--color--card-border);
  --greenlight-card-text: var(--wp--preset--color--card-text);

  --greenlight-base: var(--wp--preset--color--base);
  --greenlight-contrast: var(--wp--preset--color--contrast);
}
