agentleFS
MicrosoftKnown publishermicrosoft/Resource2Skill/skills_wiki/excel/dark_mode_toggle_sheet_909a8ba0/code/skill.md

code

Skill527 starsChanged 6 months agoMITView on GitHub

Skill Name: Dark Mode Toggle Sheet

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test, plan and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • AWSSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

Files
skill.md

1. High-level Skill Pattern Extraction

Skill Name: Dark Mode Toggle Sheet

  • Tier: sheet_shell
  • Core Mechanism: Implements a UI toggle to switch a worksheet between light and dark modes. While the video uses a VBA/ActiveX Toggle Button, this implementation adapts the pattern to use pure-Excel Data Validation (a dropdown) linked to conditional formatting rules. This provides the exact same UX without requiring macros.
  • Applicability: Best used in dashboards, large data tables, or reporting tools where users may prefer a low-glare dark theme for extended reading or aesthetic preference.

2. Structural Breakdown

  • Data Layout: A dedicated "Theme Mode" toggle cell (e.g., B2) situated above the main data table. A title row that is excluded from the conditional formatting to maintain its distinct styling.
  • Formula Logic: Conditional formatting uses the formula =$B$2="Dark" applied across the table ranges.
  • Visual Design: Dark mode applies a deep blue/grey background (#203764) with white font for the table body, and a slightly lighter dark hue (#2F5597) for the headers to preserve visual hierarchy.
  • Charts/Tables: Applies to standard cell ranges (simulating a table) to allow maximum formatting flexibility.
  • Theme Hooks: Primary dark backgrounds, contrasting text colors, and an accent color for the static title bar.

3. Reproduction Code

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.