color-blocking
यह क्या करती है
यह tool ऐसे visual layouts बनाने में मदद करता है जिनमें बड़े-बड़े ठोस और आपस में टकराने वाले रंगों के blocks होते हैं, और जगह को ज्यामितीय (geometric) ढंग से बांटा जाता है, जैसे Mondrian की पेंटिंग में होता है। यह उन designs के लिए आदर्श है जिन्हें मज़बूत visual असर और साफ़ बंटवारा चाहिए।
कब इस्तेमाल करें
- ✓जब आप ऐसा design चाहते हैं जिसमें बड़े हिस्से चटक और आपस में विरोधी रंगों वाले हों।
- ✓स्क्रीन पर साफ़ और ज्यामितीय बंटवारा बनाने के लिए, जैसे शतरंज के खाने।
- ✓ऐसा स्टाइल चाहिए जो abstract art से प्रेरित हो, जिसमें आयताकार shapes और बोल्ड रंग हों।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/color-blocking/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“बोल्ड color blocks वाला layout बनाओ: पीला, नीला और लाल, साथ में सफ़ेद और काले text के साथ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
सिस्टम स्क्रीन को आयतों (rectangles) या वर्गों (squares) में बांटता है और हर हिस्से को एक ठोस रंग से भरता है। रंग इस तरह चुने जाते हैं कि वे एक-दूसरे से साफ़ अलग दिखें, और text को इन blocks के अंदर सोच-समझकर रखा जाता है ताकि visual वज़न संतुलित रहे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
- Geometric Division: The viewport is divided into large rectangles or squares, each filled with a solid, distinct color.
- 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).
- 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 usespacing: 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)),
],
…
अक्सर पूछे जाने वाले सवाल
इस तकनीक और सामान्य layout में क्या फर्क है?
मुख्य फर्क यह है कि इसमें बड़े, ठोस और विरोधी रंगों के blocks होते हैं, जो ढांचा तय करते हैं, न कि हल्के elements या gradients। बंटवारा ज्यामितीय और सीधा-सपाट होता है।
क्या मैं बहुत सारे रंग इस्तेमाल कर सकता हूं?
आम तौर पर 3 से 4 मज़बूत और विरोधी रंग इस्तेमाल होते हैं, ताकि visual असर और design की साफ़गोई बनी रहे।
Text इस design में कैसे फिट होता है?
Text रंग के blocks के अंदर रखा जाता है, ताकि वह साफ़ दिखे और रंगों के visual वज़न को संतुलित करने में मदद करे, बिना उनसे टकराए।
जानकारी
लेखक का मूल विवरण
Web and App implementation guide for Color Blocking. Trigger when user wants large color sections, striking layout divisions, and Mondrian-style grids.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4386
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।