Prompt utilisé pour régénérer cette page :
Page "Variables CSS" du theme-debugger de web-cylian-org.
Catégorie : Theme Debugger — documentation et référentiel visuel de toutes
les variables CSS custom du thème Cylian.
=== FRONT MATTER (index.md) ===
title: "Variables CSS"
description: "Documentation des variables CSS du thème Cylian"
icon: "cog"
tags: ["css", "theme"]
Pas de JavaScript.
=== FRAGMENT LEFT (_fragment.left.md) ===
Navigation partagée du theme-debugger (identique sur toutes les pages).
Front matter : title "Navigation", weight 100, _build render/list: never.
Contenu : h5 "Theme Components" + 9 liens.
=== SCSS (default.scss) ===
Debug statement : @debug "Bundle: theme-debugger/variables";
Mêmes classes que typography mais préfixées var- au lieu de typo- :
.var-section : border 1px solid var(--draw-color-surface), padding 1.5rem,
margin-bottom 2rem, border-radius 4px
> header : flex row nowrap, gap 0.5rem, margin-bottom 1rem,
padding-bottom 0.5rem, border-bottom 1px solid var(--draw-color-surface)
> .spacer : flex 1 1 auto
.var-table : width 100%
.var-col-grow : width 100%
.var-col-nowrap : white-space nowrap
.var-col-left : text-align left
.var-color-preview : display block, border 0, height 1rem, min-width 192px
&.var-color-light : border 1px solid var(--draw-color-surface)
=== CONTENU HTML (index.md) — 16 sections ===
Chaque section : <section class="var-section"> avec <header> contenant
<strong>Titre</strong><span class="spacer"></span>
{{< tag label="Validé" color="success" icon="check" >}}
Les sections sont séparées par des commentaires HTML décoratifs.
Toutes les tables utilisent class="var-table".
Section 1 "Greyscale" :
- 3 colonnes : var-col-grow "Variable" | var-col-nowrap "Valeur" | var-col-nowrap "Aperçu"
- 11 lignes : --color-white (rgb(255,255,255)) avec .var-color-light,
--color-grey-100 (rgb(248,249,250)) avec .var-color-light,
--color-grey-200 (rgb(233,236,239)) avec .var-color-light,
--color-grey-300 à --color-grey-900 (sans .var-color-light),
--color-black (rgb(16,16,16))
- Chaque aperçu : <span class="var-color-preview [var-color-light]"
style="background-color: var(--variable-name);"></span>
Section 2 "Greyscale (alias)" :
- 3 colonnes identiques, 3 lignes :
--color-gray-light → var(--color-grey-300)
--color-gray → var(--color-grey-500)
--color-gray-dark → var(--color-grey-700)
Section 3 "Couleurs chromatiques" :
- 14 lignes avec RGB : navy(0,31,63), blue(0,116,217), aqua(127,219,255),
teal(57,204,204), olive(61,153,112), green(46,204,64), lime(1,255,112),
yellow(255,220,0), orange(255,133,27), red(255,65,54), fuchsia(240,18,190),
purple(177,13,201), maroon(133,20,75), silver(221,221,221)
Section 4 "Couleurs sémantiques (alias)" :
- 6 lignes : danger→red, success→green, warning→orange, notice→yellow,
info→aqua, muted→grey-500
Section 5 "Couleurs de texte (thème)" :
- 4 colonnes : Variable | Thème | Valeur | Aperçu
- Variables avec rowspan=2 pour light/dark :
--text-color-surface : light rgb(88,89,91) / dark rgb(160,161,162)
--text-color-primary : light rgb(49,112,149) / dark rgb(94,170,221)
--text-color-secondary : light rgb(94,170,221) / dark rgb(49,112,149)
- Variables sans thème (* = les deux) :
--text-color-danger → var(--color-danger)
--text-color-success → var(--color-success)
Section 6 "Couleurs de trait (thème)" :
- Même format 4 colonnes avec rowspan light/dark :
--draw-color-primary : light rgb(94,170,221) / dark rgb(49,112,149)
--draw-color-secondary : light rgb(170,210,235) / dark rgb(35,80,110)
--draw-color-surface : light rgb(235,235,235) / dark rgb(40,40,40)
--draw-color-danger/success → var(--color-*)
Section 7 "Couleurs de fond (thème)" :
- --background-color-ground : light rgb(255,254,253) .var-color-light / dark rgb(20,18,21)
- --background-color-surface : light rgb(255,255,255) .var-color-light / dark rgb(20,18,21)
Section 8 "Couleurs tableaux (thème)" :
- table-body-text-color → var(--text-color-surface)
- table-body-background-color → var(--background-color-surface)
- table-body-draw-color : light rgb(220,220,220) / dark rgb(50,50,50)
- table-header-background-color : light rgb(245,245,245) .var-color-light / dark rgb(30,28,31)
- table-body-stripe-color : light rgb(250,250,250) .var-color-light / dark rgb(25,23,26)
Section 9 "Couleurs tags (thème)" :
- tag-text-color → var(--text-color-surface)
- tag-background-color → var(--background-color-surface)
- tag-draw-color → var(--draw-color-primary)
Section 10 "Couleurs liens (thème)" :
- link-text-color → var(--text-color-primary)
- link-text-hover-color → var(--text-color-secondary)
- link-text-visited-color → var(--text-color-primary)
- link-text-external-color → var(--text-color-primary)
Section 11 "Couleurs menu header (thème)" :
- menu-header-text-color → var(--text-color-surface)
- menu-header-draw-color → var(--draw-color-primary)
- menu-header-text-hover-color → var(--text-color-primary)
Section 12 "Couleurs menu footer (thème)" :
- menu-footer-text-color → var(--text-color-primary)
- menu-footer-draw-color → var(--draw-color-surface)
- menu-footer-text-hover-color → var(--text-color-secondary)
Section 13 "Couleurs slogan (thème)" :
- slogan-draw-color → var(--draw-color-primary)
Section 14 "Couleurs sous-menu header (thème)" :
- submenu-header-text-color → var(--text-color-surface)
- submenu-header-text-hover-color → var(--text-color-primary)
- submenu-header-background-color → var(--background-color-surface)
- submenu-header-draw-color → var(--draw-color-surface)
- submenu-header-background-hover-color : light rgb(235,245,252) / dark rgb(30,45,60)
- submenu-header-draw-hover-color : light rgb(200,220,240) / dark rgb(60,90,120)
Section 15 "Couleurs sélection (thème)" :
- selection-color : light rgb(210,230,245) / dark rgb(50,90,130)
- separator-color : light linear-gradient(to right, rgb(210,230,245),
rgb(170,210,235), rgb(210,230,245)) / dark linear-gradient(to right,
rgb(50,90,130), rgb(49,112,149), rgb(50,90,130))
Aperçu utilise style="background: linear-gradient(...)" au lieu de background-color
Section 16 "Layout (responsive)" :
- 3 colonnes : Variable | Breakpoint | Valeur (pas de colonne Aperçu)
- --layout-spacing avec rowspan=5 :
T (<575px) : 10px, S (575-767px) : 12px, M (768-991px) : 14px,
L (992-1199px) : 16px, W (≥1200px) : 18px
=== OBJECTIF ===
Documentation visuelle de référence pour toutes les CSS custom properties
du thème Cylian. Chaque variable est affichée avec sa valeur et un aperçu
coloré live (via inline style utilisant var()). Les variables dépendantes
du thème montrent leurs valeurs light et dark côte à côte. Les noms de
variables SCSS ($light-*, $dark-*) sont affichés en <small> pour référence.
Page entièrement générée et maintenue par IA, sans intervention humaine.