Skip to content
Agentmart
Submit a tool

expo-theme

Patrones de estilos: theme tokens, StyleSheet.create, colores, spacing.

Skill by myquota

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cabrerojas-expo-theme

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Patrones de estilos: theme tokens, StyleSheet.create, colores, spacing. Trigger: Cuando se estilizan componentes, se usan tokens de tema, o se crean StyleSheets.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/expo-theme

What's inside

Skill name
expo-theme
Description
Patrones de estilos: theme tokens, StyleSheet.create, colores, spacing. Trigger: Cuando se estilizan componentes, se usan tokens de tema, o se crean StyleSheets.
License
MIT
Metadata
author: myquota · version: 1.0
Instructions
297 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Propósito

Mantener estilos consistentes usando theme tokens y StyleSheet.create().

---

## Theme Tokens

Ubicación: `src/shared/theme/tokens.ts`

```typescript
export const colors = {
  primary: "#007BFF",
  danger: "#DC3545",
  success: "#28A745",
  warning: "#FFC107",
  bgLight: "#F8F9FA",
  textPrimary: "#212529",
  textSecondary: "#495057",
  textMuted: "#868E96",
  white: "#FFFFFF",
  border: "#DEE2E6",
} as const;

export const spacing = {
  xs: 4,
  sm: 8,
  md: 16,
  lg: 24,
  xl: 32,
} as const;

export const fontSizes = {
  xs: 11,
  sm: 13,
  md: 15,
  lg: 18,
  xl: 22,
  xxl: 28,
} as const;

export const borderRadius = {
  sm: 4,
  md: 8,
  lg: 12,
  full: 9999,
} as const;
```

---

## Importar Tokens

```typescript
import { colors, spacing, fontSizes } from "@/shared/theme/tokens";
```

**NUNCA** hardcodear colores:

```typescript
// ❌ Incorrecto
backgroundColor: "#007BFF",

// ✅ Correcto
backgroundColor: colors.primary,
```

---

## StyleSheet Pattern

```tsx
import React from "react";
import { View, Text, StyleSheet } from "react-native";
import { colors, spacing, fontSizes } from "@/shared/theme/tokens";

export default function MyComponent() {
  return (
    <View style={styles.container}>
      <Text style={styles.title}>Título</Text>
      <Text style={styles.subtitle}>Subtítulo</Text>
    </View>
  );
}

// Siempre al final del archivo
const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: colors.bgLight,
    padding: spacing.md,
  },
  title: {
    fontSize: fontSizes.xl,
    fontWeight: "700",
    color: colors.textPrimary,
    marginBottom: spacing.sm,
  },
  subtitle: {
    fontSize: fontSizes.md,
    color: colors.textSecondary,
  },
});
```

---

## Patrones Comunes

### Container Centrado

```typescript
centered: {
  flex: 1,
  justifyContent: "center",
  alignItems: "center",
},
```

From cabrerojas/myquota-app, MIT.

More from cabrerojas/myquota-app

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Aug 15, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from myquota

Cite this page

expo-theme skill. Agent Mart. https://agentmart.dev/skills/cabrerojas-expo-theme (last updated 2026-10-24)