From 323f5b61ee0b63b36d8971f3617c12508370cb63 Mon Sep 17 00:00:00 2001 From: prototypa Date: Fri, 9 Sep 2022 22:19:00 -0400 Subject: [PATCH] Move to Inter font and minimal details --- src/assets/styles/base.css | 11 +++++++++++ src/components/atoms/Fonts.astro | 2 +- src/components/core/ToggleMenu.astro | 15 +-------------- src/components/widgets/CallToAction.astro | 2 +- src/components/widgets/Features3.astro | 2 +- src/components/widgets/Hero.astro | 6 +++--- tailwind.config.cjs | 2 +- 7 files changed, 19 insertions(+), 21 deletions(-) diff --git a/src/assets/styles/base.css b/src/assets/styles/base.css index 442e39e..5b4af3a 100644 --- a/src/assets/styles/base.css +++ b/src/assets/styles/base.css @@ -14,4 +14,15 @@ [astro-icon].icon-bold > * { stroke-width: 2; +} + +[data-aw-toggle-menu] path { + @apply transition; +} +[data-aw-toggle-menu].expanded g > path:first-child { + @apply -rotate-45 translate-y-[15px] translate-x-[-3px]; +} + +[data-aw-toggle-menu].expanded g > path:last-child { + @apply rotate-45 translate-y-[-8px] translate-x-[14px]; } \ No newline at end of file diff --git a/src/components/atoms/Fonts.astro b/src/components/atoms/Fonts.astro index ecaabbd..0de8a82 100644 --- a/src/components/atoms/Fonts.astro +++ b/src/components/atoms/Fonts.astro @@ -4,4 +4,4 @@ - + diff --git a/src/components/core/ToggleMenu.astro b/src/components/core/ToggleMenu.astro index 9e75c5b..9682ddb 100644 --- a/src/components/core/ToggleMenu.astro +++ b/src/components/core/ToggleMenu.astro @@ -12,17 +12,4 @@ const { - - + \ No newline at end of file diff --git a/src/components/widgets/CallToAction.astro b/src/components/widgets/CallToAction.astro index 7c0a9c9..169a8d2 100644 --- a/src/components/widgets/CallToAction.astro +++ b/src/components/widgets/CallToAction.astro @@ -18,7 +18,7 @@ const {} = Astro.props;

AstroWind is a production ready template to start your new website using Astro + Tailwind CSS. It has been - designed following Best Practices, SEO, Accessibility, Dark Mode, great Page Speed, image optimization, - sitemap generation and more. + designed following Best Practices, SEO, Accessibility, ...