/* =========================================================================
 * tanin-libadwaita — Fuji LIGHT recolour for libadwaita / GTK4.
 * Warm "Yuki/Fuji" light palette (1:1 with eww.scss light tokens), deeper
 * violet accent so it reads on white. Pair with color-scheme=prefer-light.
 * ========================================================================= */

/* ---- Fuji light palette -------------------------------------------------- */
@define-color fuji_bg     #f3f1ec;   /* soft warm white */
@define-color fuji_bg_alt #e8e4dc;   /* cards / tiles */
@define-color fuji_bg_hi  #ddd8ce;   /* hover */
@define-color fuji_fg     #2a2926;   /* near-black ink */
@define-color fuji_muted  #6f6b62;
@define-color fuji_accent #6f67a8;   /* deeper violet — readable on light */

/* ---- accent -------------------------------------------------------------- */
@define-color accent_color        #6f67a8;
@define-color accent_bg_color     #6f67a8;
@define-color accent_fg_color     #ffffff;

/* ---- window / base surfaces --------------------------------------------- */
@define-color window_bg_color   #f3f1ec;
@define-color window_fg_color   #2a2926;
@define-color view_bg_color     #faf8f4;
@define-color view_fg_color     #2a2926;

/* ---- headerbar ----------------------------------------------------------- */
@define-color headerbar_bg_color       #ece8e1;
@define-color headerbar_fg_color       #2a2926;
@define-color headerbar_border_color   #2a2926;
@define-color headerbar_backdrop_color #f3f1ec;
@define-color headerbar_shade_color    rgba(0, 0, 0, 0.08);

/* ---- cards / dialogs / popovers / sidebar ------------------------------- */
@define-color card_bg_color     #ffffff;
@define-color card_fg_color     #2a2926;
@define-color card_shade_color  rgba(0, 0, 0, 0.07);
@define-color dialog_bg_color   #faf8f4;
@define-color dialog_fg_color   #2a2926;
@define-color popover_bg_color  #ffffff;
@define-color popover_fg_color  #2a2926;
@define-color sidebar_bg_color       #ece8e1;
@define-color sidebar_fg_color       #2a2926;
@define-color sidebar_backdrop_color #f3f1ec;
@define-color sidebar_shade_color    rgba(0, 0, 0, 0.07);

/* ---- semantic ------------------------------------------------------------ */
@define-color destructive_color    #b04848;
@define-color destructive_bg_color #b04848;
@define-color destructive_fg_color #ffffff;
@define-color success_color #4f7a57;
@define-color warning_color #8a7f3a;
@define-color error_color   #b04848;

@define-color shade_color   rgba(0, 0, 0, 0.07);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.08);

/* ---- pill-shaped controls (Fuji house style) --------------------------- */
button,
button.toggle,
menubutton > button,
dropdown > button,
splitbutton > button,
entry,
spinbutton,
.pill {
  border-radius: 999px;
  min-height: 0;
}
.card,
popover > contents,
.osd { border-radius: 14px; }
