{"id":47699229,"url":"https://github.com/elemental-mind/aesthetium","last_synced_at":"2026-04-02T17:02:30.343Z","repository":{"id":345871403,"uuid":"1182135596","full_name":"elemental-mind/aesthetium","owner":"elemental-mind","description":"A classless \u0026 customizable CSS framework for clean semantic html.","archived":false,"fork":false,"pushed_at":"2026-03-21T03:43:13.000Z","size":3531,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T19:23:31.187Z","etag":null,"topics":["classless","classless-css","classless-css-framework","minimalist-design","minimalist-ui"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elemental-mind.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-15T04:47:52.000Z","updated_at":"2026-03-21T03:43:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/elemental-mind/aesthetium","commit_stats":null,"previous_names":["elemental-mind/aesthetium"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/elemental-mind/aesthetium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Faesthetium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Faesthetium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Faesthetium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Faesthetium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elemental-mind","download_url":"https://codeload.github.com/elemental-mind/aesthetium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Faesthetium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","classless-css","classless-css-framework","minimalist-design","minimalist-ui"],"created_at":"2026-04-02T17:01:42.458Z","updated_at":"2026-04-02T17:02:30.338Z","avatar_url":"https://github.com/elemental-mind.png","language":"CSS","readme":"# Aesthetium\n\nA very lightweight CSS framework with a clean and minimalistic black \u0026 white aesthetic by default (think OpenAI style):\n\n- **Classless** — semantic HTML styled out of the box, zero class names required\n- **Attribute-based** — expressive attributes for variants and states\n- **Customizable** — tweak the entire design system through CSS variables\n\nThis framework helps you keep your DOM clean, helping drive the separation between *what* to display and *how* to display it. In the very few cases where the HTML element's native name does not allow for fully expressing the *what*, Aesthetium provides a few well considered semantic intent-driven attributes. Take a button for example:\n\n```html\n\u003cbutton\u003eDefault Button\u003c/button\u003e\n\u003cbutton highlight\u003eCall to Action Button\u003c/button\u003e\n\u003cbutton negative\u003eDelete the internet\u003c/button\u003e\n```\n\n## Installation\n\n### CDN\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/aesthetium/distribution/aesthetium.css\"\u003e\n```\n\n### npm\n\n```bash\nnpm install aesthetium\n```\n\n```html\n\u003clink rel=\"stylesheet\" href=\"node_modules/aesthetium/distribution/aesthetium.css\"\u003e\n```\n\nOr with a bundler:\n\n```css\n@import 'aesthetium';\n```\n\n## Attributes\n\nAesthetium uses boolean HTML attributes for variants — no class names needed.\n\n### `\u003cbutton\u003e`\n\n| Attribute | Effect |\n|---|---|\n| *(none)* | Neutral secondary button |\n| `highlight` | Primary / brand-colored button |\n| `ghost` | Transparent background, border only |\n| `positive` | Green — confirm, save |\n| `negative` | Red — delete, destructive |\n| `alert` | Amber — warning action |\n| `small` | Reduced padding and font size |\n| `large` | Increased padding and font size |\n| `pill` | Fully rounded corners |\n\n```html\n\u003cbutton highlight\u003eSave\u003c/button\u003e\n\u003cbutton ghost\u003eCancel\u003c/button\u003e\n\u003cbutton negative pill\u003eDelete account\u003c/button\u003e\n```\n\n### `\u003caside\u003e`\n\n| Attribute | Effect |\n|---|---|\n| *(none)* | Neutral callout |\n| `positive` | Green tint — success message |\n| `negative` | Red tint — error message |\n| `alert` | Amber tint — warning message |\n\n```html\n\u003caside positive\u003eChanges saved.\u003c/aside\u003e\n\u003caside negative\u003eSomething went wrong.\u003c/aside\u003e\n\u003caside alert\u003eYour trial expires in 3 days.\u003c/aside\u003e\n```\n\n### `\u003cinput\u003e`, `\u003ctextarea\u003e`, `\u003cselect\u003e`\n\n| Attribute | Effect |\n|---|---|\n| `valid` | Green border — field passes validation |\n| `invalid` | Red border + glow — field fails validation |\n\n```html\n\u003cinput type=\"email\" valid\u003e\n\u003cinput type=\"email\" invalid\u003e\n```\n\n### `\u003cprogress\u003e`\n\n| Attribute | Effect |\n|---|---|\n| *(none)* | Accent color fill |\n| `positive` | Green fill |\n| `negative` | Red fill |\n\n```html\n\u003cprogress value=\"80\" max=\"100\" positive\u003e\u003c/progress\u003e\n```\n\n### `\u003cnav\u003e \u003ca\u003e`\n\n| Attribute | Effect |\n|---|---|\n| `active` | Marks the current page link (bold, filled background) |\n\n```html\n\u003cnav\u003e\n  \u003ca href=\"/about\"\u003eAbout\u003c/a\u003e\n  \u003ca href=\"/docs\" active\u003eDocs\u003c/a\u003e\n\u003c/nav\u003e\n```\n\n### `[badge]`\n\nApply `badge` to any inline element to render it as a pill badge. Combine with a semantic attribute for color.\n\n| Attribute | Effect |\n|---|---|\n| `badge` | Default gray badge |\n| `badge accent` | Accent-colored badge |\n| `badge positive` | Green badge |\n| `badge negative` | Red badge |\n| `badge alert` | Amber badge |\n\n```html\n\u003cspan badge\u003eDraft\u003c/span\u003e\n\u003cspan badge accent\u003eNew\u003c/span\u003e\n\u003cspan badge positive\u003eActive\u003c/span\u003e\n\u003cspan badge negative\u003eExpired\u003c/span\u003e\n```\n\n## Customization\n\nAesthetium is built on CSS custom properties. Override any token in your own `:root` block **after** the framework stylesheet to apply your theme — no build step required.\n\n```css\n:root {\n  --color-accent:    #6366f1; /* your brand color for CTAs, links, focus rings */\n  --color-accent-fg: #ffffff; /* text on top of the accent color               */\n\n  --font-heading: 'Playfair Display', serif;\n  --font-body:    'Inter', sans-serif;\n}\n```\n\n### Key tokens\n\n| Token | Default | Purpose |\n|---|---|---|\n| `--color-accent` | `#000000` | CTAs, links, focus rings |\n| `--color-accent-fg` | `#ffffff` | Text on accent backgrounds |\n| `--color-positive` | `#16a34a` | Success states |\n| `--color-negative` | `#dc2626` | Error states |\n| `--color-alert` | `#d97706` | Warning states |\n| `--font-heading` | Inter | Heading font |\n| `--font-body` | Inter | Body font |\n| `--container-width` | `72rem` | Max page width |\n| `--content-width` | `68ch` | Max paragraph width |\n\nThe full token list is in [`source/system.css`](source/system.css) and documented in the [Tokens guide](documentation/guide/tokens.html).\n\nDark mode is supported automatically via `prefers-color-scheme`.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemental-mind%2Faesthetium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felemental-mind%2Faesthetium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemental-mind%2Faesthetium/lists"}