Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Web and App implementation guide for High Contrast Design. Trigger when user wants accessibility-focused design, extreme legibility, or stark visual impact.
.claude/skills/lingxling-high-contrast/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 52% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 64% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 104% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 131% | 0% |
> "Maximum legibility. Stark, powerful, and universally accessible."
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.
#FFFF00 or Cyan #00FFFF) against black.Atkinson Hyperlegible, Inter, Roboto). Large base font sizes (18px+).:focus-visible) and clear active states.css:root { --hc-bg: #ffffff; --hc-text: #000000; --hc-accent: #0000FF; /* Pure blue */ --hc-focus: #FF00FF; /* High visibility focus ring */ } body { background-color: var(--hc-bg); color: var(--hc-text); font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 18px; /* Larger default */ } .hc-card { background-color: #ffffff; border: 3px solid #000000; /* Unmissable boundary */ padding: 32px; border-radius: 8px; } .hc-btn { background-color: var(--hc-accent); color: #ffffff; border: 3px solid transparent; /* Reserve space for focus */ border-radius: 4px; padding: 16px 32px; font-weight: 700; font-size: 1.1rem; cursor: pointer; } /* Crucial for high contrast / accessibility */ .hc-btn:focus-visible, a:focus-visible { outline: 4px solid var(--hc-focus); outline-offset: 4px; } a { color: var(--hc-accent); text-decoration: underline; text-decoration-thickness: 2px; }
swiftstruct HighContrastView: View { var body: some View { VStack(spacing: 32) { // High Contrast Card VStack(alignment: .leading, spacing: 16) { Text("Maximum Legibility") .font(.custom("Atkinson Hyperlegible", size: 24)) .fontWeight(.bold) .foregroundColor(.black) Text("Content is king. Borders are stark. Contrast ratios exceed 7:1.") .font(.custom("Atkinson Hyperlegible", size: 18)) .foregroundColor(.black) } .padding(32) .background(Color.white) .overlay( RoundedRectangle(cornerRadius: 8) .stroke(Color.black, lineWidth: 3) ) // High Contrast Action Button Button(action: {}) { Text("CONFIRM ACTION") .font(.custom("Atkinson Hyperlegible", size: 18)) .fontWeight(.black) .foregroundColor(.white) .padding(.vertical, 16) .padding(.horizontal, 32) .background(Color.blue) // Must be a high-contrast blue, e.g., #0000FF .cornerRadius(4) } } .padding() .frame(maxWidth: .infinity, maxHeight: .infinity) .background(Color.white) } }
.stroke(Color.black, lineWidth: 3) overlays..black on pure .white. Do not use .secondary colors if they drop below a 7:1 contrast ratio.dartclass HighContrastScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.white, body: Center( child: Padding( padding: const EdgeInsets.all(24.0), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ // High Contrast Card Container( width: double.infinity, padding: const EdgeInsets.all(32), decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(8), border: Border.all(color: Colors.black, width: 3), // Unmissable boundary ), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: const [ Text('Maximum Legibility', style: TextStyle(fontFamily: 'Atkinson', fontSize: 24, fontWeight: FontWeight.bold, color: Colors.black)), SizedBox(height: 16), Text('Content is king. Borders are stark. Contrast ratios exceed 7:1.', style: TextStyle(fontFamily: 'Atkinson', fontSize: 18, color: Colors.black)), ], ), ), const SizedBox(height: 32), // High Contrast Button ElevatedButton( onPressed: () {}, style: ElevatedButton.styleFrom( backgroundColor: const Color(0xFF0000FF), // Pure blue foregroundColor: Colors.white, padding: const EdgeInsets.symmetric(horizontal: 32, vertical: 16), shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)), elevation: 0, // No shadows ), child: const Text('CONFIRM ACTION', style: TextStyle(fontFamily: 'Atkinson', fontSize: 18, fontWeight: FontWeight.w900)), ), ], ), ), ), ); } }
elevation on buttons; shadows blur the edges and reduce contrast.Border.all(color: Colors.black, width: 3) on containers to explicitly define spatial boundaries for users with low vision.jsxconst HighContrastScreen = () => { return ( <View style={{ flex: 1, backgroundColor: '#FFFFFF', padding: 24, justifyContent: 'center' }}> {/* High Contrast Card */} <View style={{ backgroundColor: '#FFFFFF', borderColor: '#000000', borderWidth: 3, borderRadius: 8, padding: 32, marginBottom: 32 }}> <Text style={{ fontFamily: 'Atkinson-Bold', fontSize: 24, color: '#000000', marginBottom: 16 }}> Maximum Legibility </Text> <Text style={{ fontFamily: 'Atkinson-Regular', fontSize: 18, color: '#000000' }}> Content is king. Borders are stark. Contrast ratios exceed 7:1. </Text> </View> {/* High Contrast Button */} <TouchableOpacity style={{ backgroundColor: '#0000FF', paddingVertical: 16, paddingHorizontal: 32, borderRadius: 4, alignItems: 'center' }}> <Text style={{ fontFamily: 'Atkinson-Bold', fontSize: 18, color: '#FFFFFF', fontWeight: '900' }}> CONFIRM ACTION </Text> </TouchableOpacity> </View> ); };
borderWidth: 3 and explicit pure #000000 text colors.<TouchableOpacity> areas (minimum 48x48 padding for hit slop).kotlin@Composable fun HighContrastScreen() { Column( modifier = Modifier .fillMaxSize() .background(Color.White) .padding(24.dp), verticalArrangement = Arrangement.Center ) { // High Contrast Card Box( modifier = Modifier .fillMaxWidth() .background(Color.White, RoundedCornerShape(8.dp)) .border(3.dp, Color.Black, RoundedCornerShape(8.dp)) .padding(32.dp) ) { Column { Text( text = "Maximum Legibility", fontSize = 24.sp, fontWeight = FontWeight.Bold, color = Color.Black ) Spacer(Modifier.height(16.dp)) Text( text = "Content is king. Borders are stark. Contrast ratios exceed 7:1.", fontSize = 18.sp, color = Color.Black ) } } Spacer(Modifier.height(32.dp)) // High Contrast Button Button( onClick = { }, colors = ButtonDefaults.buttonColors( containerColor = Color(0xFF0000FF), contentColor = Color.White ), shape = RoundedCornerShape(4.dp), elevation = null, // Disable shadows for stark look modifier = Modifier.fillMaxWidth().height(56.dp) ) { Text("CONFIRM ACTION", fontSize = 18.sp, fontWeight = FontWeight.Black) } } }
Modifier.border(3.dp, Color.Black) around containers.elevation = null) to keep the design perfectly flat and sharp.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-19 | pass→pass | 11,951 | 4,762 | -60% | 1 | 1 | 0% | 1,771 | 3,381 | +91% | 0 | 0 | — |
case-06 | fail→fail | 15,822 | 10,203 | -36% | 1 | 1 | 0% | 2,916 | 4,402 | +51% | 0 | 0 | — |
case-01 | fail→fail | 27,902 | 17,731 | -36% | 1 | 1 | 0% | 4,233 | 5,709 | +35% | 0 | 0 | — |
case-02 | fail→fail | 20,778 | 23,296 | +12% | 1 | 1 | 0% | 3,367 | 6,040 | +79% | 0 | 0 | — |
case-03 | fail→pass | 20,661 | 17,476 | -15% | 1 | 1 | 0% | 4,104 | 6,252 | +52% | 0 | 0 | — |
case-04 | pass→pass | 31,908 | 18,369 | -42% | 1 | 1 | 0% | 4,814 | 6,116 | +27% | 0 | 0 | — |
case-05 | fail→pass | 29,938 | 16,894 | -44% | 1 | 1 | 0% | 4,791 | 6,193 | +29% | 0 | 0 | — |
case-07 | pass→pass | 19,334 | 24,682 | +28% | 1 | 1 | 0% | 3,732 | 6,468 | +73% | 0 | 0 | — |
case-08 | fail→pass | 22,966 | 21,113 | -8% | 1 | 1 | 0% | 3,607 | 5,920 | +64% | 0 | 0 | — |
case-09 | fail→pass | 16,703 | 24,268 | +45% | 1 | 1 | 0% | 3,200 | 6,529 | +104% | 0 | 0 | — |
case-10 | fail→pass | 14,722 | 21,970 | +49% | 1 | 1 | 0% | 2,660 | 6,145 | +131% | 0 | 0 | — |
case-11 | fail→fail | 21,611 | 21,330 | -1% | 1 | 1 | 0% | 3,350 | 6,058 | +81% | 0 | 0 | — |
case-12 | fail→pass | 9,572 | 6,789 | -29% | 1 | 1 | 0% | 1,535 | 3,670 | +139% | 0 | 0 | — |
case-13 | fail→pass | 14,854 | 8,352 | -44% | 1 | 1 | 0% | 2,176 | 3,992 | +83% | 0 | 0 | — |
case-14 | fail→pass | 15,182 | 9,157 | -40% | 1 | 1 | 0% | 2,266 | 3,836 | +69% | 0 | 0 | — |
case-15 | fail→fail | 19,477 | 18,754 | -4% | 1 | 1 | 0% | 3,679 | 6,152 | +67% | 0 | 0 | — |
case-16 | pass→pass | 15,204 | 8,785 | -42% | 1 | 1 | 0% | 2,189 | 4,063 | +86% | 0 | 0 | — |
case-17 | fail→pass | 16,586 | 10,198 | -39% | 1 | 1 | 0% | 2,628 | 4,260 | +62% | 0 | 0 | — |
case-18 | fail→fail | 11,216 | 9,748 | -13% | 1 | 1 | 0% | 2,005 | 4,303 | +115% | 0 | 0 | — |
case-20 | pass→fail | 39,462 | 34,522 | -13% | 1 | 1 | 0% | 6,336 | 8,141 | +28% | 0 | 0 | — |
case-21 | pass→pass | 24,654 | 27,233 | +10% | 1 | 1 | 0% | 4,117 | 6,967 | +69% | 0 | 0 | — |
case-22 | pass→pass | 16,031 | 22,614 | +41% | 1 | 1 | 0% | 3,550 | 6,432 | +81% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +36 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.