Skip to content

Commit

Permalink
💄 improve grain styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Graf committed Feb 13, 2024
1 parent 2d40bee commit b42c393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Image.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (!img)
<figure class:list={['relative overflow-clip bg-neutral-900 isolate', classes]}>
<div
aria-hidden
class="absolute inset-0 z-10 bg-[url(../assets/images/grain.gif)] mix-blend-soft-light opacity-30"
class="absolute inset-0 z-10 bg-[url(../assets/images/grain.gif)] mix-blend-soft-light opacity-25 [background-size:125px] md:[background-size:150px]"
>
</div>
<Picture
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const defaultTheme = require('tailwindcss/defaultTheme');

export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
safelist: ['animate-spin'],
safelist: ['animate-spin', 'origin-center'],
theme: {
colors: {
core: '#C69754',
Expand Down

0 comments on commit b42c393

Please sign in to comment.