Skip to content

Instantly share code, notes, and snippets.

View shawn-sandy's full-sized avatar
💭
I may be slow to respond.

Shawn Sandy shawn-sandy

💭
I may be slow to respond.
View GitHub Profile
@shawn-sandy
shawn-sandy / form-acss.md
Created October 25, 2025 17:23
Form Components - WCAG 2.1 AA Accessibility Review

Form Components - WCAG 2.1 AA Accessibility Review

Review Date: 2025-10-25 Components Reviewed: Form, Field, Input, Select, Textarea WCAG Version: 2.1 Level AA Files Analyzed:

  • form.tsx
  • fields.tsx
  • inputs.tsx
  • select.tsx
@shawn-sandy
shawn-sandy / nav-acss.md
Last active October 24, 2025 23:51
Nav Component - WCAG 2.1 AA Accessibility Review

Nav Component - WCAG 2.1 AA Accessibility Review

Review Date: 2025-10-24 Component: Nav, NavList, NavItem WCAG Version: 2.1 Level AA Overall Rating: A (95/100)


Executive Summary

@shawn-sandy
shawn-sandy / dialog-accs.md
Created October 24, 2025 20:31
Dialog Component - WCAG 2.1 AA Accessibility Review

Dialog Component - WCAG 2.1 AA Accessibility Review

Component: Dialog (packages/fpkit/src/components/dialog/dialog.tsx) Review Date: 2025-10-24 WCAG Version: 2.1 Level AA Reviewer: Claude Code - WCAG Compliance Reviewer


Executive Summary

---
description:
globs:
alwaysApply: false
---
# Generate convential commit messages
- Review the `git-diff` and write a commit messages in the conventional commits format.
- Write an extremely detailed list of the file changes and the reason for the change in the commit message description.
- Add a list of changed files in the footer
# Project Rules
You are an expert in Astro, React, TypeScript, JavaScript, and CSS.
Code Style and Structure
- Write concise, technical TypeScript/JavaScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names.
- Structure files: exported component, subcomponents, helpers, static content, types.
@shawn-sandy
shawn-sandy / commit.js
Created November 25, 2023 12:14
cli tools
import inquirer from "inquirer";
import { exec } from "child_process";
// Define the questions
const questions = [
{
type: "list",
name: "type",
message: "Select the type of change that you're committing:",
choices: ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
@shawn-sandy
shawn-sandy / BaseTheme.js
Last active October 30, 2023 03:19
storybook
// .storybook/FirstPaint.js
import { create } from '@storybook/theming'
export default create({
base: 'light',
brandTitle: 'FPKIT',
brandUrl: '/',
brandImage:
'https://res.cloudinary.com/dqjs95c7n/image/upload/v1647385126/fp-text-logo-sm_efd59g.svg',
@shawn-sandy
shawn-sandy / pixesl-to-rem.js
Last active January 15, 2024 21:08
script-kit
// Name: Pixels to Rem
/*
# Pixels to rems converter
- This script converts pixels to rems and copies the result to the clipboard
- It uses the entered base/root font size to calculate the conversion
- The default root font size is 16px
## Author: @shawnsandy
@shawn-sandy
shawn-sandy / README.md
Last active June 2, 2023 21:06
Starters

Documented starters/setups guides for building frontend applications

.divider {
position: relative;
text-align: center;
/* padding-bottom: 20px; adjust as needed */
height: 16px; /* adjust as needed */
}
.divider span {
background-color: #FFF;
padding: 0 10px;