{"id":18989319,"url":"https://github.com/chanan/blazorstyled","last_synced_at":"2025-04-04T14:10:04.056Z","repository":{"id":56263745,"uuid":"188077989","full_name":"chanan/BlazorStyled","owner":"chanan","description":"CSS in Blazor Components","archived":false,"fork":false,"pushed_at":"2024-07-09T21:22:47.000Z","size":68973,"stargazers_count":192,"open_issues_count":27,"forks_count":19,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-28T13:09:37.037Z","etag":null,"topics":["blazor","css","styled-components"],"latest_commit_sha":null,"homepage":"https://blazorstyled.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chanan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"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}},"created_at":"2019-05-22T16:43:27.000Z","updated_at":"2025-02-11T19:17:18.000Z","dependencies_parsed_at":"2024-10-29T19:04:55.233Z","dependency_job_id":null,"html_url":"https://github.com/chanan/BlazorStyled","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanan%2FBlazorStyled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanan%2FBlazorStyled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanan%2FBlazorStyled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanan%2FBlazorStyled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanan","download_url":"https://codeload.github.com/chanan/BlazorStyled/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190254,"owners_count":20898702,"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":["blazor","css","styled-components"],"created_at":"2024-11-08T17:06:15.999Z","updated_at":"2025-04-04T14:10:04.031Z","avatar_url":"https://github.com/chanan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlazorStyled\n\n_CSS in Blazor Components_\n\n## Docs\n\nView the detailed [docs](https://blazorstyled.io) at https://blazorstyled.io.\n\n## Install\n\n[![NuGet Pre Release](https://img.shields.io/nuget/vpre/BlazorStyled.svg)](https://www.nuget.org/packages/BlazorStyled/)\n\n## Why BlazorStyled?\n\n* Maintain your css inside your component instead of a seperate file\n* Eliminate all collisions - no need to use !important\n* No need to worry about depoying css files - great for libraries\n* css are C# strings - use variables instead of solutions like sass\n\n### Insperation\n\n* [Emotion](https://emotion.sh/docs/introduction)\n* [Glamorous](https://glamorous.rocks/)\n* [Glamor](https://github.com/threepointone/glamor)\n\n## Short Example\n\n```\n\u003cStyled @bind-Classname=\"@hover\"\u003e\n    label: hover-example;\n    padding: 32px;\n    background-color: hotpink;\n    font-size: 24px;\n    border-radius: 4px;\n\u003c/Styled\u003e\n\n\u003cStyled Classname=\"@hover\" PseudoClass=\"PseudoClasses.Hover\"\u003e\n    color: @color;\n\u003c/Styled\u003e\n\n\u003cdiv class=\"@hover\"\u003e\n    Hover to change color.\n\u003c/div\u003e\n\n@code {\n    private string hover;\n    private string color = \"white\";\n}\n```\n\nSee more in the [docs](https://chanan.github.io/BlazorStyled/) at https://chanan.github.io/BlazorStyled/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanan%2Fblazorstyled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanan%2Fblazorstyled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanan%2Fblazorstyled/lists"}