Aller au contenu
Skillpedia
Interfaces (UI/UX)48k · #4386

color-blocking

Ce qu’il fait

Cet outil aide à créer des mises en page visuelles avec de grands blocs de couleurs unies et contrastées, qui divisent l'espace de façon géométrique, à la manière d'un tableau de Mondrian. Il est idéal pour les designs qui recherchent un fort impact visuel et des séparations nettes.

Quand l’utiliser

  • ✓Lorsque vous voulez un design avec de grandes zones de couleurs vives et opposées.
  • ✓Pour créer une division géométrique claire de l'écran, comme un damier.
  • ✓Lorsque vous recherchez un style inspiré de l'art abstrait, avec des formes rectangulaires et des couleurs audacieuses.

Lien du skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/color-blocking/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/color-blocking/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée une mise en page avec de grands blocs de couleurs vives : jaune, bleu et rouge, avec du texte blanc et noir.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le système divise l'écran en rectangles ou en carrés et remplit chacun d'une couleur unie. Les couleurs sont choisies pour contraster fortement, et le texte est placé avec soin dans ces blocs pour équilibrer le poids visuel.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Color Blocking

"The grid made visible. Large, solid swaths of contrasting color defining the layout."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. Geometric Division: The viewport is divided into large rectangles or squares, each filled with a solid, distinct color.
  2. No Margins Between Blocks: Blocks touch each other directly, often separated only by a stark, 1px or 2px black line (or no line at all, letting the colors clash).
  3. Typography as Texture: Text is placed precisely within these blocks to balance the visual weight of the colors.

Visual DNA

  • Colors: Highly contrasting, bold pairings. Use 3 to 4 strong colors from palettes like Industrial Chic (Red, Black, Grey, White) or custom bold pairings (Yellow, Navy, Pink).
  • Typography: Very clean, bold sans-serifs that can hold their own against massive blocks of color.
  • Borders: Often uses thick black borders (2px solid #000) between blocks to emphasize the grid, reminiscent of Mondrian paintings.

Web Implementation

  • CSS Grid is the only way to effectively build this.
  • CSS Example:
body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: #000;
}

.color-block-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 60vh 40vh;
  /* Thick black lines between blocks */
  gap: 4px;
  background-color: #000; 
  border: 4px solid #000;
  min-height: 100vh;
}

.block {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block-yellow { background-color: #FACC15; }
.block-white  { background-color: #FFFFFF; }
.block-blue   { background-color: #2563EB; color: #FFF; }
.block-red    { background-color: #EF4444; }

.block-title {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

App Implementation

SwiftUI

struct ColorBlockingView: View {
    let gridSpacing: CGFloat = 4 // Thickness of the black lines
    
    var body: some View {
        // Black background acts as the grid lines between blocks
        VStack(spacing: gridSpacing) {
            // Top Row
            HStack(spacing: gridSpacing) {
                ColorBlock(color: .yellow, text: "CREATE", textColor: .black)
                ColorBlock(color: .blue, text: "VISION", textColor: .white)
            }
            .frame(height: 300)
            
            // Bottom Row
            HStack(spacing: gridSpacing) {
                ColorBlock(color: .red, text: "BOLD", textColor: .white)
                    .frame(width: 120) // Fixed narrow block
                ColorBlock(color: .white, text: "MINIMAL", textColor: .black)
            }
        }
        .background(Color.black) // The grid lines
        .border(Color.black, width: gridSpacing) // Outer border
        .ignoresSafeArea()
    }
}

struct ColorBlock: View {
    let color: Color
    let text: String
    let textColor: Color
    var body: some View {
        color
            .overlay(
                Text(text)
                    .font(.system(size: 32, weight: .black))
                    .foregroundColor(textColor)
                    .padding(),
                alignment: .bottomLeading
            )
    }
}
  • In SwiftUI, the easiest way to create Mondrian-style thick black grid lines is to set .background(Color.black) on the parent stack and use spacing: 4. The background peeks through the gaps.
  • .ignoresSafeArea() allows the blocks to bleed to the edge of the physical device.

Flutter

class ColorBlockingScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      // Black background creates the grid lines
      backgroundColor: Colors.black,
      body: SafeArea(
        bottom: false,
        child: Column(
          children: [
            // Top Row
            Expanded(
              flex: 3, // 3/5 of vertical space
              child: Row(
                children: [
                  Expanded(flex: 1, child: ColorBlock(color: const Color(0xFFFACC15), text: 'CREATE', textColor: Colors.black)),
                  const SizedBox(width: 4), // Grid line
                  Expanded(flex: 2, child: ColorBlock(color: const Color(0xFF2563EB), text: 'VISION', textColor: Colors.white)),
                ],

…
Questions fréquentes

Quelle est la différence entre cette technique et une mise en page classique ?

La principale différence est l'utilisation de grands blocs de couleurs unies et contrastées qui définissent la structure, plutôt que des éléments plus discrets ou des dégradés. Les séparations sont géométriques et nettes.

Puis-je utiliser beaucoup de couleurs ?

On utilise généralement 3 à 4 couleurs fortes et contrastées pour conserver l'impact visuel et la clarté du design.

Comment le texte s'intègre-t-il à ce design ?

Le texte est placé dans les blocs de couleur, de façon à bien ressortir et à équilibrer le poids visuel des couleurs sans leur faire concurrence.

Détails

Description originale de l’auteur

Web and App implementation guide for Color Blocking. Trigger when user wants large color sections, striking layout divisions, and Mondrian-style grids.

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#4386
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires