Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@omnedia/ngx-aurora
Advanced tools
A simple component library to create a container with an aurora background.
@omnedia/ngx-aurora
is an Angular library that creates a mesmerizing aurora background effect. This component provides an animated, gradient-based light effect with customizable inversion and two different animation styles. It's a perfect addition for enhancing the visual aesthetics of your Angular application.
Install the library using npm:
npm install @omnedia/ngx-aurora
Import the NgxAuroraComponent
in your Angular module or component:
import { NgxAuroraComponent } from '@omnedia/ngx-aurora';
@Component({
...
imports: [
...
NgxAuroraComponent,
],
...
})
Use the component in your template:
<om-aurora [invert]="true" [versionTwo]="false" styleClass="custom-aurora">
<h1>Your Content Here</h1>
</om-aurora>
<om-aurora
[invert]="invert"
[versionTwo]="versionTwo"
styleClass="your-custom-class"
>
<ng-content></ng-content>
</om-aurora>
invert
(optional): A boolean to toggle the inversion of the aurora effect. When true, the aurora colors are inverted. Defaults to false.versionTwo
(optional): A boolean to toggle the second version of the aurora animation. When true, a different set of gradients is applied. Defaults to false.styleClass
(optional): A custom CSS class to apply to the .om-aurora container for additional styling.<om-aurora [invert]="false" [versionTwo]="true" styleClass="custom-aurora-style">
<div class="inner-content">
<h2>Welcome to the Aurora Experience</h2>
</div>
</om-aurora>
This will create an aurora background with the second version of the animation and no inversion.
.om-aurora
In this example, the aurora container is customized with additional padding and background color:
<om-aurora styleClass="custom-aurora-background">
<div class="inner-content">
<h2>Aurora Background with Custom Styling</h2>
</div>
</om-aurora>
.custom-aurora-background {
background-color: #1e1e1e;
padding: 2rem;
border-radius: 10px;
}
.inner-content {
text-align: center;
color: white;
}
Contributions are welcome. Please submit a pull request or open an issue to discuss your ideas.
This project is licensed under the MIT License.
FAQs
A simple component library to create a container with an aurora background.
The npm package @omnedia/ngx-aurora receives a total of 13 weekly downloads. As such, @omnedia/ngx-aurora popularity was classified as not popular.
We found that @omnedia/ngx-aurora demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.