Skip to content

Commit

Permalink
chore: update shadow styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cvgellhorn committed Jul 22, 2024
1 parent 042f5d8 commit 4244f1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/widgets/CallToAction.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const {

<WidgetWrapper id={id} isDark={isDark} containerClass={`max-w-6xl mx-auto ${classes?.container ?? ''}`} bg={bg}>
<div
class="max-w-3xl mx-auto text-center p-6 rounded-md shadow-xl dark:shadow-none dark:border dark:border-slate-600"
class="max-w-3xl mx-auto text-center p-6 rounded-md shadow-glow backdrop-blur border border-[#ffffff29] dark:border-slate-600"
>
<Headline
title={title}
Expand Down
3 changes: 1 addition & 2 deletions src/components/widgets/Features2.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const {
defaultIcon={defaultIcon}
classes={{
container: 'gap-4 md:gap-6',
panel:
'rounded-lg shadow-[0_4px_30px_rgba(0,0,0,0.1)] dark:shadow-[0_4px_30px_rgba(0,0,0,0.1)] backdrop-blur border border-[#ffffff29] bg-white dark:bg-slate-900 p-6',
panel: 'rounded-lg shadow-glow backdrop-blur border border-[#ffffff29] bg-white dark:bg-slate-900 p-6',
// panel:
// "text-center bg-page items-center md:text-left rtl:md:text-right md:items-start p-6 p-6 rounded-md shadow-xl dark:shadow-none dark:border dark:border-slate-800",
icon: 'w-12 h-12 mb-6 text-primary',
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = {
serif: ['var(--aw-font-serif, ui-serif)', ...defaultTheme.fontFamily.serif],
heading: ['var(--aw-font-heading, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
},
boxShadow: {
'glow': '0 4px 30px rgba(0,0,0,0.1)',
},
},
},
plugins: [typographyPlugin],
Expand Down

0 comments on commit 4244f1a

Please sign in to comment.