button-sizing
- **Height**: 24px (`var(--button-height-standard)`) - **Font Size**: 12px (`var(--button-font-size-standard)`) - Use for regular buttons throughout the application
Install / Use
npx skills add StefKors/Commitment-tauriInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubButton Sizing Standards
Standard Buttons
- Height: 24px (
var(--button-height-standard)) - Font Size: 12px (
var(--button-font-size-standard)) - Use for regular buttons throughout the application
Large Buttons (Header Buttons)
- Height: 48px (
var(--button-height-large)) - exactly twice the standard height - Font Size: 12px (
var(--button-font-size-standard)) - same as standard - Use for buttons in the top header (e.g., RepoSelector, BranchSelector triggers)
Implementation
- Use CSS variables from
variables.cssfor consistency - Standard buttons use
.mdsize class by default - Large buttons use
.lgsize class - Always use
heightproperty instead of padding for vertical sizing - Horizontal padding should be applied separately (e.g.,
padding: 0 14px)
Examples
/* Standard button */
.button {
height: var(--button-height-standard);
font-size: var(--button-font-size-standard);
padding: 0 14px;
}
/* Large header button */
.trigger {
height: var(--button-height-large);
font-size: var(--button-font-size-standard);
padding: 0 var(--space-3);
}
Related Skills
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Invalid Date
