% Copyright 2026 Open-Guji (https://github.com/open-guji)
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
%     http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.

% luatex-cn-guji-SiKuQuanShu-colored.cfg
% Siku Quanshu Colored Layout (四库全书彩色版)
% Inherits from default (black & white) and adds color settings

% =============================================================================
% Load base configuration (black & white version)
% =============================================================================
\gujiSetup{ template = default }

% =============================================================================
% Document-level defaults (base style for all content)
% =============================================================================
\documentSetup{
    % Default font color (RGB 0-255 format) - Siku Quanshu traditional colors
    font-color = {35, 25, 20},
}

% =============================================================================
% Content-level overrides (optional, can override document defaults)
% =============================================================================
\contentSetup{
    % Border color (content-specific)
    border-color = {180, 95, 75},
}

% =============================================================================
% Default Background Color
% =============================================================================
% Use \pagecolor for the global background so that per-page overrides
% (e.g. \begin{封面}[底色=...]) can take effect via a later \pagecolor call.
\pageSetup{ background-color = {244, 241, 225} }

% =============================================================================
% Default Stamp Color for Colored Template
% =============================================================================
% Define a color matching the traditional Siku Quanshu seal color: RGB(160, 65, 50)
\definecolor{印章红}{RGB}{160, 65, 50}


\endinput

