Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zhanghandong/makepad-2.0-theme
CRITICAL:
Passed 23 of 23 test cases with the skill, and 4 of 23 without it.
and 23 more in the full report
19 fixed4 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
In Makepad 2.0 Splash scripts, what global parameter controls the base spacing multiplier, and what is its default value?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies space_factor | Missed | Passed |
| States the default value is 6.0 | Missed | Passed |
The instructions your model reads when the skill loads.
The Makepad 2.0 theme system provides a comprehensive set of design tokens accessed
through theme.* variables in Splash scripts. It delivers consistent styling for
colors, typography, spacing, and widget states across your entire application.
Three built-in themes are available:
mod.themes.dark -- dark desktop theme (default)mod.themes.light -- light desktop thememod.themes.skeleton -- minimal skeleton theme with hardcoded valuesGolden rule: Always use theme.* variables instead of hardcoded values for any
color, font size, or spacing in production UIs. This ensures your app automatically
supports theme switching and maintains visual consistency.
The theme must be loaded before widgets are loaded. The standard pattern is:
impl App {
fn run(vm: &mut ScriptVm) -> Self {
// Step 1: Load theme definitions (dark, light, skeleton)
crate::makepad_widgets::theme_mod(vm);
// Step 2: Select active theme (MUST come before widgets_mod)
script_eval!(vm, {
mod.theme = mod.themes.light // or mod.themes.dark
});
// Step 3: Load widget definitions (they reference mod.theme)
crate::makepad_widgets::widgets_mod(vm);
// Step 4: Load your app's script_mod
App::from_script_mod(vm, self::script_mod)
}
}
test cases passed, vs 4 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.