{"id":49017429,"url":"https://github.com/eshlox/termcss","last_synced_at":"2026-04-19T02:34:29.388Z","repository":{"id":349310027,"uuid":"1201260465","full_name":"eshlox/termcss","owner":"eshlox","description":"A minimal, classless CSS framework with terminal aesthetics.","archived":false,"fork":false,"pushed_at":"2026-04-05T09:46:45.000Z","size":468,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-05T10:19:18.632Z","etag":null,"topics":["classless-css","css","css-framework","minimal","terminal"],"latest_commit_sha":null,"homepage":"","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eshlox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-04T12:38:37.000Z","updated_at":"2026-04-05T09:46:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eshlox/termcss","commit_stats":null,"previous_names":["eshlox/termcss"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/eshlox/termcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshlox%2Ftermcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshlox%2Ftermcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshlox%2Ftermcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshlox%2Ftermcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshlox","download_url":"https://codeload.github.com/eshlox/termcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshlox%2Ftermcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classless-css","css","css-framework","minimal","terminal"],"created_at":"2026-04-19T02:34:27.069Z","updated_at":"2026-04-19T02:34:29.381Z","avatar_url":"https://github.com/eshlox.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# term.css\n\nA minimal, classless CSS framework with terminal aesthetics.\n\nWrite semantic HTML. Get a styled page. No classes required.\n\nDesigned for blogs, docs, personal sites, and technical writing. Not a component framework or browser TUI kit.\n\n## Quick Start\n\n```bash\nnpm install @eshlox/termcss\n```\n\nImport in your CSS or bundler:\n\n```css\n@import \"@eshlox/termcss\";\n```\n\nOr link directly in HTML:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"node_modules/@eshlox/termcss/dist/term.min.css\"\u003e\n```\n\n## Features\n\n- **Classless** - styles every HTML element out of the box\n- **Terminal aesthetic** - monospace, dark-first design\n- **Themeable** - 10 CSS variables control the entire look\n- **13 themes** - a default plus 12 popular schemes: dracula, nord, solarized, one-dark, monokai, tokyo-night, catppuccin, rosé pine, gruvbox, everforest, github, kanagawa\n- **Theme generator** - create themes from a single hue value with WCAG validation\n- **Accessible** - WCAG 2.1 AA contrast ratios, focus rings, reduced motion support\n- **Dark \u0026 Light** - auto-detects system preference, or set manually with `data-theme`\n- **Tiny** - single CSS file, no JavaScript\n- **Responsive** - works on all screen sizes\n- **Components** - optional `t-` prefixed classes for cards, badges, callouts, and more\n\n## Themes\n\nAdd a theme after the base stylesheet:\n\n```css\n@import \"@eshlox/termcss\";\n@import \"@eshlox/termcss/themes/dracula.min.css\";\n```\n\nAvailable: `dracula`, `nord`, `solarized`, `one-dark`, `monokai`, `tokyo-night`, `catppuccin`, `rose-pine`, `gruvbox`, `everforest`, `github`, `kanagawa`.\n\n### Generate a custom theme\n\n```bash\nnpx @eshlox/termcss --hue 200 --name ocean\n```\n\nThe generator validates WCAG AA contrast ratios and fails if any pair doesn't meet the threshold.\n\n## Dark / Light Mode\n\nterm.css auto-detects via `prefers-color-scheme`. To override:\n\n```html\n\u003chtml data-theme=\"dark\"\u003e  \u003c!-- force dark --\u003e\n\u003chtml data-theme=\"light\"\u003e \u003c!-- force light --\u003e\n```\n\n## CSS Variables\n\n| Variable | Purpose |\n|----------|---------|\n| `--t-bg` | Page background |\n| `--t-fg` | Body text |\n| `--t-muted` | Secondary text |\n| `--t-accent` | Links, headings, primary accent |\n| `--t-accent2` | Badges, marks, secondary accent |\n| `--t-surface` | Code blocks, cards, inputs |\n| `--t-border` | Borders, dividers |\n| `--t-red` | Error, danger states |\n| `--t-yellow` | Warning, caution states |\n| `--t-green` | Success, confirmed states |\n\n## Components\n\nOptional class-based UI patterns (all prefixed `t-`):\n\n`.t-card` `.t-grid` `.t-badge` `.t-callout` `.t-table-bordered` `.t-error` `.t-warn` `.t-success` `.t-info`\n\n## Browser Support\n\nChrome 123+, Firefox 121+, Safari 18+.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshlox%2Ftermcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshlox%2Ftermcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshlox%2Ftermcss/lists"}