Skip to content

Commit

Permalink
Merge pull request #526 from AlejandroSuero/feature/fix-linting-errors
Browse files Browse the repository at this point in the history
Feature/fix linting errors
  • Loading branch information
midudev authored Mar 14, 2024
2 parents accdfe3 + 9582bbb commit d102308
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/Glow.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const { as: Tag, class: className, ...props } = Astro.props
--spotlight-size: calc(var(--size, 150) * 1px);
--hue: calc(var(--base) + (var(--xp, 0) * var(--spread, 0)));
background-image: radial-gradient(
var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 0) * 1px)
calc(var(--y, 0) * 1px),
hsl(
var(--hue, 70) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 50) * 1%) /
var(--bg-spot-opacity, 0.1)
Expand Down Expand Up @@ -90,8 +91,8 @@ const { as: Tag, class: className, ...props } = Astro.props

[data-glow]::after {
background-image: radial-gradient(
calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--x, 0) * 1px)
calc(var(--y, 0) * 1px),
calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
hsl(0 100% 100% / var(--border-light-opacity, 1)),
transparent 100%
);
Expand Down Expand Up @@ -119,7 +120,5 @@ const { as: Tag, class: className, ...props } = Astro.props
will-change: filter;
opacity: var(--outer, 1);
}

}

</style>

0 comments on commit d102308

Please sign in to comment.