{"id":15618040,"url":"https://github.com/omnedia/ngx-lamp","last_synced_at":"2026-03-06T19:36:50.540Z","repository":{"id":254756671,"uuid":"847453411","full_name":"omnedia/ngx-lamp","owner":"omnedia","description":"A simple component library to create a lamp. ","archived":false,"fork":false,"pushed_at":"2025-11-29T17:11:25.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-01T20:52:06.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","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/omnedia.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-25T21:27:48.000Z","updated_at":"2025-11-29T17:11:28.000Z","dependencies_parsed_at":"2024-08-25T23:05:44.558Z","dependency_job_id":"62aa993d-5409-4a92-a725-660470364fc0","html_url":"https://github.com/omnedia/ngx-lamp","commit_stats":null,"previous_names":["omnedia/ngx-lamp"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/omnedia/ngx-lamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-lamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-lamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-lamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-lamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-lamp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-lamp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30193651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-03T08:00:54.711Z","updated_at":"2026-03-06T19:36:50.487Z","avatar_url":"https://github.com/omnedia.png","language":"SCSS","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 01, 2024](/content/2024/10/01/README.md)","Visual Effects"],"readme":"# ngx-lamp\n\n\u003ca href=\"https://ngxui.com\" target=\"_blank\" style=\"display: flex;gap: .5rem;align-items: center;cursor: pointer; padding: 0 0 0 0; height: fit-content;\"\u003e\n  \u003cimg src=\"https://ngxui.com/assets/img/ngxui-logo.png\" style=\"width: 64px;height: 64px;\"\u003e\n\u003c/a\u003e\n\nThis Library is part of the NGXUI ecosystem. \u003cbr\u003e\nView all available components at https://ngxui.com\n\n`@omnedia/ngx-lamp` is an Angular library that provides a customizable lamp effect component. The component allows for flexible configuration of the lamp's color and background color, enabling you to create various glowing effects that can enhance the visual appeal of your Angular application.\n\n## Features\n\n- Customizable lamp color and background color.\n- Lightweight and easy to integrate as a standalone component.\n- Allows for full control over styles through custom CSS.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-lamp\n```\n\n## Usage\n\nImport the `NgxLampComponent` in your Angular module or component:\n\n```typescript\nimport {NgxLampComponent} from '@omnedia/ngx-lamp';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxLampComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-lamp [lampColor]=\"'#ffcc00'\" [backgroundColor]=\"'#1e1e1e'\" styleClass=\"custom-lamp\"\u003e\u003c/om-lamp\u003e\n```\n\n## How It Works\n\n- Lamp and Background Color: The lampColor input controls the glowing color of the lamp, while the backgroundColor input allows you to set the background of the lamp effect. This provides flexibility to match the component to your application's theme.\n- Global and Custom Styling: The .om-lamp container can be styled globally or with a custom styleClass. You can easily modify the appearance of the lamp using CSS variables.\n\n## API\n\n```html\n\n\u003com-lamp\n  [lampColor]=\"lampColor\"\n  [backgroundColor]=\"backgroundColor\"\n  styleClass=\"your-custom-class\"\n\u003e\u003c/om-lamp\u003e\n```\n\n- `lampColor` (optional): The color of the lamp's glow. Accepts any valid CSS color value (e.g., '#ffcc00', '#00ffcc').\n- `backgroundColor` (optional): The background color behind the lamp. Accepts any valid CSS color value (e.g., '#1e1e1e', '#000000').\n- `styleClass` (optional): A custom CSS class to apply to the .om-lamp container for additional styling.\n\n## Example\n\n```html\n\n\u003com-lamp [lampColor]=\"'#ff6347'\" [backgroundColor]=\"'#000000'\" styleClass=\"lamp-container\"\u003e\n\u003c/om-lamp\u003e\n```\n\nThis will create a lamp effect with a tomato-colored glow and a black background.\n\n## Styling\n\n`.om-lamp`\n\n- The main container for the lamp effect. You can apply global or custom styles using the styleClass input. The component uses CSS variables for easy control over the lamp's appearance.\n- Make sure to give the `om-lamp` component a width and height of 100% to fit your wrapper size.\n\n### Custom Lamp Styling Example\n\nIn this example, the lamp and its background are styled with custom colors via css instead of API values:\n\n```html\n\n\u003cdiv class=\"lamp-wrapper\"\u003e\n  \u003com-lamp styleClass=\"custom-lamp\"\u003e\u003c/om-lamp\u003e\n\u003c/div\u003e\n```\n\n```css\n.lamp-wrapper {\n  width: 70%;\n  height: 700px;\n}\n\nom-lamp {\n  width: 100%;\n  height: 100%;\n}\n\n.custom-lamp {\n  --om-lamp-color: #ffcc00 !important;\n  --om-lamp-background-color: #1e1e1e !important;\n}\n```\n\nThis will apply a yellowish glow and a dark background to the lamp.\n\n## Contributing\n\nContributions are welcome. Please submit a pull request or open an issue to discuss your ideas.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-lamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-lamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-lamp/lists"}