/* miMind app theme — single source of truth for the native UI palette.
 *
 * Parsed at startup by ColorManager::LoadThemeCss() (RLib/GUI/ColorManager.cpp).
 * Mirrors the mimind.app website theme.
 *
 *   :root / .night  -> dark theme (default)
 *   .day            -> light theme
 *
 * Colors are #rgb, #rrggbb or #rrggbbaa. Tokens: --button-radius (percent of the
 * shorter side), --button-border (dip), --primary-gradient (linear | radial).
 * Any key that is omitted or unparseable keeps its built-in default, so the app
 * still works if this file is missing.
 */

:root, .night {
  --bg:      #0f1220;   /* main backgrounds (panels, editor)        -> BackgroundLvl3 */
  --card:    #171b2e;   /* menus, collections, panels               -> BackgroundLvl2 */
  --card2:   #1d2238;   /* buttons, checkboxes, sliders             -> BackgroundLvl1 */
  --bar:     #171b2e;   /* top nav / tool bars                      -> BackgroundApp1 */
  --bar2:    #0f1220;   /*                                          -> BackgroundApp2 */
  --accent:  #5b8cff;   /* primary / OK, gradient start             -> Accent1 + BackgroundOK */
  --accent2: #7c5cff;   /* gradient end                             -> Accent2 */
  --err:     #e5484d;   /* cancel / warning / destructive           -> BackgroundNO */
  --ink:     #eef1fb;   /* primary text / icons                     -> ForegroundLvl1 + App1 */
  --muted:   #a7adc6;   /* secondary text                           -> ForegroundLvl2 */
  --muted2:  #6b7192;   /* tertiary text                            -> ForegroundLvl3 */
  --line:    #2a3050;   /* subtle borders / frames                  -> Line */

  --button-radius: 28;       /* percent */
  --button-border: 1;        /* dip */
  --primary-gradient: linear; /* linear | radial */
}

.day {
  --bg:      #ffffff;
  --card:    #eef2fb;
  --card2:   #dbe2f2;
  --bar:     #eef2fb;
  --bar2:    #dbe2f2;
  --accent:  #5b8cff;
  --accent2: #7c5cff;
  --err:     #e5484d;
  --ink:     #1a2035;
  --muted:   #5a6178;
  --muted2:  #8a90a6;
  --line:    #cfd6e6;
}
