{"id":19904374,"url":"https://github.com/alloc/unocss-preset-alloc","last_synced_at":"2025-11-01T10:07:55.346Z","repository":{"id":49357085,"uuid":"455804192","full_name":"alloc/unocss-preset-alloc","owner":"alloc","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-17T00:01:38.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T01:19:30.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/alloc.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}},"created_at":"2022-02-05T07:23:28.000Z","updated_at":"2025-01-17T00:01:39.000Z","dependencies_parsed_at":"2024-01-31T23:35:47.888Z","dependency_job_id":"535a9de9-26cd-4356-a376-9e36f493f7e8","html_url":"https://github.com/alloc/unocss-preset-alloc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Funocss-preset-alloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Funocss-preset-alloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Funocss-preset-alloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Funocss-preset-alloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alloc","download_url":"https://codeload.github.com/alloc/unocss-preset-alloc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241331905,"owners_count":19945484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-12T20:28:07.628Z","updated_at":"2025-11-01T10:07:55.302Z","avatar_url":"https://github.com/alloc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unocss-preset-alloc\n\nA fork of `@unocss/preset-mini`\n\n## Features\n\n- Use `em` units by default\n- Fallback values for CSS variables\n  - i.e. `color-$red|#ff0000` for `color: var(--red, #ff0000)` property\n\n### Rules\n\n- Background images\n  - `bg-image-[…]` for `background-image` property\n  - `bg-repeat-x` for `background-repeat: repeat-x` property\n  - `bg-bottom` for `background-position: bottom` property\n- Containment\n  - `contain-layout`\n  - `contain-paint`\n  - `contain-content`\n- Content visibility\n  - `content-visibility-auto`\n- Object fit\n  - `object-cover`\n  - `object-contain`\n  - `object-fill`\n  - `object-scale-down`\n  - `object-none`\n- Object position\n  - `object-top`, `object-top-left`, etc\n- Scroll snap\n  - `snap-x`, `snap-y`, `snap-both`, or `snap-none` for direction\n  - `snap-mandatory` or `snap-proximity` for strictness\n  - `snap-start`, `snap-end`, `snap-center`, or `snap-align-none` for alignment\n  - `snap-normal` or `snap-always` for “snap stops”\n  - `scroll-m-…` and `scroll-p-…` for margin/padding\n- Overscroll behavior\n  - `no-overscroll` for `overscroll-behavior: contain` property\n- Scrollbar appearance\n  - `no-scrollbars` for `scrollbar-width: none` and `-ms-overflow-style: none` properties\n- Tabular numbers\n  - `tabnum` for `font-feature-settings: tnum` property\n- Line clamping\n  - i.e. `line-clamp-2` to use `-webkit-line-clamp` to limit number of wraps to 2 lines\n- Touch actions\n  - `touch-pan-*` for `touch-action: pan-*` property\n  - `touch-pinch-zoom` for `touch-action: pinch-zoom` property\n  - `touch-auto` for `touch-action: auto` property\n  - `touch-manipulation` for `touch-action: manipulation` property\n  - `touch-none` for `touch-action: none` property\n\n### Variants\n\n- Targeting `\u003cspan\u003e` and `\u003ca\u003e` descendants\n  - i.e. `span:color-red` for `color: red` property on all span and anchor tags within the element\n  - When using `em` as the default, this is most useful when you want to set a default font size for text within an element.\n- Element-level zooming\n  - `zoom-5` applies `font-size: 5em` to all direct children of the element\n  - `zoom-0.5` applies `font-size: 0.5em` to all direct children of the element\n  - This is great for scaling elements on-the-fly without having to update every `em` value of every descendant.\n- Targeting attribute values\n  - i.e. `[data-selected]:color-red` for `color: red` property if the element has a `data-selected` attribute\n  - or `[data-selected=\"true\"]:color-red` for `color: red` property if the element has a `data-selected` attribute with a value of `true`\n\n_And probably some other stuff I forgot to list!_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Funocss-preset-alloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falloc%2Funocss-preset-alloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Funocss-preset-alloc/lists"}