astro-component-kit 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +218 -119
- package/package.json +25 -52
- package/src/components/index.ts +207 -0
- package/src/components/lib/AnimatedGalaxy.astro +185 -0
- package/src/components/lib/Galaxy3D.astro +308 -0
- package/src/components/lib/GlassNavbar.astro +13 -11
- package/src/components/lib/LogoWithGalaxy.astro +63 -0
- package/src/components/lib/buttons/3dPushButton.astro +9 -0
- package/src/components/lib/buttons/AnimatedIconButton.astro +10 -0
- package/src/components/lib/buttons/BorderDrawButton.astro +9 -0
- package/src/components/lib/buttons/CyberpunkButton.astro +10 -0
- package/src/components/lib/buttons/DoubleBorderButton.astro +9 -0
- package/src/components/lib/buttons/GhostOutlineButton.astro +10 -0
- package/src/components/lib/buttons/GlassButton.astro +13 -32
- package/src/components/lib/buttons/GlowButton.astro +9 -0
- package/src/components/lib/buttons/LiquidButton.astro +9 -0
- package/src/components/lib/buttons/LoadingButton.astro +10 -0
- package/src/components/lib/buttons/MagneticButton.astro +10 -0
- package/src/components/lib/buttons/MinimalPillButton.astro +9 -0
- package/src/components/lib/buttons/NeumorphicButton.astro +10 -0
- package/src/components/lib/buttons/PulseButton.astro +10 -0
- package/src/components/lib/buttons/RetroArcadeButton.astro +9 -0
- package/src/components/lib/buttons/RetroShadowButton.astro +9 -0
- package/src/components/lib/buttons/ShimmerButton.astro +9 -0
- package/src/components/lib/buttons/ShinyButton.astro +9 -0
- package/src/components/lib/buttons/TiltGlowButton.astro +10 -0
- package/src/components/lib/cards/BlogHorizontalCard.astro +46 -13
- package/src/components/lib/cards/CyberFeatureCard.astro +50 -6
- package/src/components/lib/cards/EcommerceProductCard.astro +69 -16
- package/src/components/lib/cards/GlassCard.astro +8 -0
- package/src/components/lib/cards/GlassEventCard.astro +53 -12
- package/src/components/lib/cards/GlowPortfolioCard.astro +46 -9
- package/src/components/lib/cards/InteractiveTiltCard.astro +47 -7
- package/src/components/lib/cards/KanbanItemCard.astro +40 -9
- package/src/components/lib/cards/MinimalLinkCard.astro +37 -7
- package/src/components/lib/cards/MusicPlayerMini.astro +54 -14
- package/src/components/lib/cards/NeumorphicCard.astro +32 -2
- package/src/components/lib/cards/NotificationCard.astro +44 -9
- package/src/components/lib/cards/PricingCard.astro +47 -9
- package/src/components/lib/cards/ProfileCard.astro +50 -11
- package/src/components/lib/cards/RetroGameCard.astro +37 -9
- package/src/components/lib/cards/StatCard.astro +43 -8
- package/src/components/lib/cards/TaskKanbanCard.astro +50 -11
- package/src/components/lib/cards/TestimonialCardClean.astro +43 -12
- package/src/components/lib/cards/WeatherWidgetCard.astro +36 -10
- package/src/components/lib/feedback/AnimatedCheckmark.astro +58 -9
- package/src/components/lib/feedback/Badge.astro +47 -12
- package/src/components/lib/feedback/CircleProgress.astro +56 -13
- package/src/components/lib/feedback/ConfettiFeedback.astro +74 -11
- package/src/components/lib/feedback/CyberGlitchAlert.astro +69 -6
- package/src/components/lib/feedback/EmptyStateCard.astro +55 -7
- package/src/components/lib/feedback/GlassAlert.astro +59 -13
- package/src/components/lib/feedback/GlassModal.astro +99 -14
- package/src/components/lib/feedback/GlassProgress.astro +39 -5
- package/src/components/lib/feedback/IndicatorBadgeMinimal.astro +56 -3
- package/src/components/lib/feedback/NeonSpinner.astro +40 -3
- package/src/components/lib/feedback/PulseDot.astro +51 -7
- package/src/components/lib/feedback/RatingPill.astro +38 -8
- package/src/components/lib/feedback/ShakeErrorGroup.astro +44 -3
- package/src/components/lib/feedback/SimpleTooltip.astro +53 -4
- package/src/components/lib/feedback/SkeletonList.astro +59 -13
- package/src/components/lib/feedback/Spotlight.astro +49 -4
- package/src/components/lib/feedback/StepProgress.astro +96 -9
- package/src/components/lib/feedback/ToastNotif.astro +60 -6
- package/src/components/lib/feedback/TypingIndicator.astro +52 -7
- package/src/components/lib/forms/AnimatedInput.astro +47 -5
- package/src/components/lib/forms/ChipInput.astro +116 -8
- package/src/components/lib/forms/ColorPickerInput.astro +53 -6
- package/src/components/lib/forms/CurrencyInput.astro +59 -6
- package/src/components/lib/forms/CustomRadioGroup.astro +61 -9
- package/src/components/lib/forms/CyberpunkCheckbox.astro +64 -8
- package/src/components/lib/forms/DragDropUpload.astro +87 -7
- package/src/components/lib/forms/ErrorInput.astro +31 -4
- package/src/components/lib/forms/FloatingPassword.astro +48 -10
- package/src/components/lib/forms/FormGroupVertical.astro +63 -9
- package/src/components/lib/forms/GlassSlider.astro +84 -3
- package/src/components/lib/forms/GlassTextarea.astro +39 -6
- package/src/components/lib/forms/ModernSelect.astro +66 -10
- package/src/components/lib/forms/NeumorphicSwitch.astro +54 -26
- package/src/components/lib/forms/OTPInput.astro +84 -12
- package/src/components/lib/forms/RatingStars.astro +66 -10
- package/src/components/lib/forms/SearchReveal.astro +44 -6
- package/src/components/lib/forms/SegmentedControl.astro +61 -7
- package/src/components/lib/forms/SimpleFileInput.astro +57 -6
- package/src/components/lib/forms/StepperInput.astro +101 -9
- package/src/components/lib/layout/FeatureHero.astro +70 -6
- package/src/components/lib/layout/FooterCenteredMinimal.astro +5 -2
- package/src/components/lib/navigation/GlassNavbar.astro +10 -5
- package/src/components/lib/navigation/MinimalSidebar.astro +6 -3
- package/src/components/lib/navigation/SimpleFooterGlass.astro +6 -2
- package/src/components/lib/overlays/SplashIntroOverlay.astro +6 -3
- package/src/components/lib/sections/ButtonsShowcase.astro +182 -0
- package/src/components/lib/sections/CardsShowcase.astro +376 -0
- package/src/components/lib/sections/DataShowcase.astro +329 -0
- package/src/components/lib/sections/FeedbackShowcase.astro +320 -0
- package/src/components/lib/sections/FormsShowcase.astro +347 -0
- package/src/components/lib/sections/HeroGlass.astro +202 -0
- package/src/components/lib/sections/HeroGradient.astro +143 -0
- package/src/components/lib/sections/HeroSplit.astro +210 -0
- package/src/components/lib/sections/LayoutShowcase.astro +317 -0
- package/src/components/lib/sections/NavigationShowcase.astro +285 -0
- package/src/components/lib/sections/OverlaysShowcase.astro +373 -0
- package/src/components/lib/sections/TypographyShowcase.astro +239 -0
- package/src/components/lib/sections/index.ts +9 -0
- package/src/components/types.d.ts +6 -0
- package/{dist → src}/styles/global.css +5 -5
- package/dist/AnimatedInput.astro +0 -82
- package/dist/Badge.astro +0 -52
- package/dist/GlassButton.astro +0 -87
- package/dist/GlassCard.astro +0 -72
- package/dist/GlassNavbar.astro +0 -65
- package/dist/GlowButton.astro +0 -60
- package/dist/buttons/3dPushButton.astro +0 -136
- package/dist/buttons/AnimatedIconButton.astro +0 -146
- package/dist/buttons/BorderDrawButton.astro +0 -112
- package/dist/buttons/CyberpunkButton.astro +0 -148
- package/dist/buttons/DoubleBorderButton.astro +0 -131
- package/dist/buttons/GhostOutlineButton.astro +0 -109
- package/dist/buttons/GlassButton.astro +0 -165
- package/dist/buttons/GlowButton.astro +0 -119
- package/dist/buttons/LiquidButton.astro +0 -167
- package/dist/buttons/LoadingButton.astro +0 -148
- package/dist/buttons/MagneticButton.astro +0 -134
- package/dist/buttons/MinimalPillButton.astro +0 -102
- package/dist/buttons/NeumorphicButton.astro +0 -158
- package/dist/buttons/PulseButton.astro +0 -111
- package/dist/buttons/RetroArcadeButton.astro +0 -105
- package/dist/buttons/RetroShadowButton.astro +0 -82
- package/dist/buttons/ShimmerButton.astro +0 -113
- package/dist/buttons/ShinyButton.astro +0 -121
- package/dist/buttons/TiltGlowButton.astro +0 -145
- package/dist/buttons/index.mjs +0 -19
- package/dist/buttons/index.ts +0 -19
- package/dist/cards/BlogHorizontalCard.astro +0 -18
- package/dist/cards/CyberFeatureCard.astro +0 -12
- package/dist/cards/EcommerceProductCard.astro +0 -24
- package/dist/cards/GlassCard.astro +0 -17
- package/dist/cards/GlassEventCard.astro +0 -19
- package/dist/cards/GlowPortfolioCard.astro +0 -16
- package/dist/cards/InteractiveTiltCard.astro +0 -25
- package/dist/cards/KanbanItemCard.astro +0 -15
- package/dist/cards/MinimalLinkCard.astro +0 -12
- package/dist/cards/MusicPlayerMini.astro +0 -21
- package/dist/cards/NeumorphicCard.astro +0 -6
- package/dist/cards/NotificationCard.astro +0 -15
- package/dist/cards/PricingCard.astro +0 -17
- package/dist/cards/ProfileCard.astro +0 -17
- package/dist/cards/RetroGameCard.astro +0 -15
- package/dist/cards/StatCard.astro +0 -15
- package/dist/cards/TaskKanbanCard.astro +0 -18
- package/dist/cards/TestimonialCardClean.astro +0 -20
- package/dist/cards/WeatherWidgetCard.astro +0 -17
- package/dist/cards/index.mjs +0 -19
- package/dist/cards/index.ts +0 -19
- package/dist/data/AccordionGroupGlass.astro +0 -21
- package/dist/data/AvatarGroupStack.astro +0 -15
- package/dist/data/CalendarGridView.astro +0 -18
- package/dist/data/DataChipsGroup.astro +0 -16
- package/dist/data/DescriptionListHoriz.astro +0 -14
- package/dist/data/FileTreeView.astro +0 -22
- package/dist/data/GanttChartMinimal.astro +0 -12
- package/dist/data/GlassTable.astro +0 -23
- package/dist/data/KeyValuePillGroup.astro +0 -12
- package/dist/data/PriceCompareTable.astro +0 -22
- package/dist/data/ProgressListSmall.astro +0 -17
- package/dist/data/RatingBreakdownBar.astro +0 -13
- package/dist/data/SparklineStatCard.astro +0 -16
- package/dist/data/StatsGridDashboard.astro +0 -16
- package/dist/data/StepperDataVertical.astro +0 -15
- package/dist/data/TagCloudData.astro +0 -14
- package/dist/data/TimelineHorizSteps.astro +0 -18
- package/dist/data/TreeItemInteractive.astro +0 -18
- package/dist/data/UserDirectoryItem.astro +0 -15
- package/dist/data/VerticalTimeline.astro +0 -21
- package/dist/data/index.mjs +0 -20
- package/dist/data/index.ts +0 -20
- package/dist/feedback/AnimatedCheckmark.astro +0 -13
- package/dist/feedback/Badge.astro +0 -19
- package/dist/feedback/CircleProgress.astro +0 -22
- package/dist/feedback/ConfettiFeedback.astro +0 -18
- package/dist/feedback/CyberGlitchAlert.astro +0 -11
- package/dist/feedback/EmptyStateCard.astro +0 -13
- package/dist/feedback/GlassAlert.astro +0 -20
- package/dist/feedback/GlassModal.astro +0 -19
- package/dist/feedback/GlassProgress.astro +0 -10
- package/dist/feedback/IndicatorBadgeMinimal.astro +0 -10
- package/dist/feedback/NeonSpinner.astro +0 -7
- package/dist/feedback/PulseDot.astro +0 -12
- package/dist/feedback/RatingPill.astro +0 -13
- package/dist/feedback/ShakeErrorGroup.astro +0 -7
- package/dist/feedback/SimpleTooltip.astro +0 -10
- package/dist/feedback/SkeletonList.astro +0 -20
- package/dist/feedback/Spotlight.astro +0 -9
- package/dist/feedback/StepProgress.astro +0 -14
- package/dist/feedback/ToastNotif.astro +0 -11
- package/dist/feedback/TypingIndicator.astro +0 -12
- package/dist/feedback/index.mjs +0 -20
- package/dist/feedback/index.ts +0 -20
- package/dist/forms/AnimatedInput.astro +0 -16
- package/dist/forms/ChipInput.astro +0 -13
- package/dist/forms/ColorPickerInput.astro +0 -13
- package/dist/forms/CurrencyInput.astro +0 -11
- package/dist/forms/CustomRadioGroup.astro +0 -13
- package/dist/forms/CyberpunkCheckbox.astro +0 -15
- package/dist/forms/DragDropUpload.astro +0 -12
- package/dist/forms/ErrorInput.astro +0 -11
- package/dist/forms/FloatingPassword.astro +0 -20
- package/dist/forms/FormGroupVertical.astro +0 -14
- package/dist/forms/GlassSlider.astro +0 -7
- package/dist/forms/GlassTextarea.astro +0 -14
- package/dist/forms/ModernSelect.astro +0 -16
- package/dist/forms/NeumorphicSwitch.astro +0 -55
- package/dist/forms/OTPInput.astro +0 -22
- package/dist/forms/RatingStars.astro +0 -15
- package/dist/forms/SearchReveal.astro +0 -13
- package/dist/forms/SegmentedControl.astro +0 -13
- package/dist/forms/SimpleFileInput.astro +0 -11
- package/dist/forms/StepperInput.astro +0 -14
- package/dist/forms/index.mjs +0 -20
- package/dist/forms/index.ts +0 -20
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/dist/layout/BentoGrid3.astro +0 -14
- package/dist/layout/CenterFixedBox.astro +0 -6
- package/dist/layout/CenteredContainer.astro +0 -8
- package/dist/layout/ClusterHorizontal.astro +0 -6
- package/dist/layout/FeatureHero.astro +0 -17
- package/dist/layout/FooterCenteredMinimal.astro +0 -11
- package/dist/layout/FullBleedSection.astro +0 -6
- package/dist/layout/GalleryGrid4.astro +0 -7
- package/dist/layout/GlassCardGrid.astro +0 -6
- package/dist/layout/GlassSectionHeader.astro +0 -15
- package/dist/layout/LandingSectionSplit.astro +0 -13
- package/dist/layout/MasonryGrid.astro +0 -7
- package/dist/layout/MinimalFooterGrid.astro +0 -20
- package/dist/layout/ScrollSnapSection.astro +0 -7
- package/dist/layout/SectionDividerText.astro +0 -7
- package/dist/layout/SidebarLayoutWrapper.astro +0 -11
- package/dist/layout/SplitScreenLayout.astro +0 -11
- package/dist/layout/StepLayoutVertical.astro +0 -21
- package/dist/layout/StickySidebarWrapper.astro +0 -10
- package/dist/layout/VerticalStack.astro +0 -8
- package/dist/layout/index.mjs +0 -20
- package/dist/layout/index.ts +0 -20
- package/dist/navigation/AnchorSideNav.astro +0 -13
- package/dist/navigation/BottomNavMobile.astro +0 -13
- package/dist/navigation/BreadcrumbsMinimal.astro +0 -16
- package/dist/navigation/BurgerMorphIcon.astro +0 -12
- package/dist/navigation/CommandPaletteUI.astro +0 -17
- package/dist/navigation/DotNavigationSlider.astro +0 -13
- package/dist/navigation/FloatingTabBar.astro +0 -12
- package/dist/navigation/GlassNavbar.astro +0 -19
- package/dist/navigation/LangSwitcherPill.astro +0 -17
- package/dist/navigation/MegaMenuGlass.astro +0 -25
- package/dist/navigation/MinimalSidebar.astro +0 -18
- package/dist/navigation/PaginationGlass.astro +0 -20
- package/dist/navigation/PaginationInfiniteUI.astro +0 -11
- package/dist/navigation/RadialIconMenu.astro +0 -15
- package/dist/navigation/RetroArcadeMenu.astro +0 -12
- package/dist/navigation/ScrollProgressTop.astro +0 -15
- package/dist/navigation/SimpleFooterGlass.astro +0 -21
- package/dist/navigation/TabUnderline.astro +0 -14
- package/dist/navigation/UserProfileNav.astro +0 -21
- package/dist/navigation/VerticalTabs.astro +0 -14
- package/dist/navigation/index.mjs +0 -20
- package/dist/navigation/index.ts +0 -20
- package/dist/overlays/AgeVerificationOverlay.astro +0 -20
- package/dist/overlays/BackdropBlurMask.astro +0 -6
- package/dist/overlays/BottomSheetMobile.astro +0 -16
- package/dist/overlays/CommandDialog.astro +0 -19
- package/dist/overlays/ContextMenuOverlay.astro +0 -17
- package/dist/overlays/CookieBannerGlass.astro +0 -14
- package/dist/overlays/ExitIntentOverlay.astro +0 -19
- package/dist/overlays/FloatingTrayActions.astro +0 -13
- package/dist/overlays/HelpBubbleOverlay.astro +0 -11
- package/dist/overlays/LightboxOverlay.astro +0 -13
- package/dist/overlays/LoadingOverlayFull.astro +0 -10
- package/dist/overlays/MobileNavOverlay.astro +0 -18
- package/dist/overlays/OverlayModal.astro +0 -24
- package/dist/overlays/PopoverMenuGlass.astro +0 -17
- package/dist/overlays/SearchOverlayFullscreen.astro +0 -15
- package/dist/overlays/SideDrawerRight.astro +0 -16
- package/dist/overlays/SplashIntroOverlay.astro +0 -11
- package/dist/overlays/SpotlightIndicator.astro +0 -6
- package/dist/overlays/ToastStackOverlay.astro +0 -12
- package/dist/overlays/TooltipActionTray.astro +0 -14
- package/dist/overlays/index.mjs +0 -20
- package/dist/overlays/index.ts +0 -20
- package/dist/typography/AnimatedUnderlineLink.astro +0 -10
- package/dist/typography/BackgroundClipMask.astro +0 -7
- package/dist/typography/CodeInlineGlass.astro +0 -6
- package/dist/typography/CyberpunkGlitchText.astro +0 -20
- package/dist/typography/DropCapParagraph.astro +0 -7
- package/dist/typography/FadedVerticalText.astro +0 -6
- package/dist/typography/FloatingTextLabel.astro +0 -10
- package/dist/typography/GlassBlockQuote.astro +0 -13
- package/dist/typography/GlassTextReveal.astro +0 -7
- package/dist/typography/GradientHeading.astro +0 -9
- package/dist/typography/GradientUnderlineLink.astro +0 -7
- package/dist/typography/KbdIndicator.astro +0 -6
- package/dist/typography/LetterSpacingWide.astro +0 -6
- package/dist/typography/MinimalListMarkers.astro +0 -10
- package/dist/typography/MonospaceStatLine.astro +0 -6
- package/dist/typography/NeonTextHighlight.astro +0 -6
- package/dist/typography/ShadowRevealText.astro +0 -7
- package/dist/typography/StrokeHeadingOutline.astro +0 -8
- package/dist/typography/Text3DLayer.astro +0 -7
- package/dist/typography/TypewriterText.astro +0 -15
- package/dist/typography/index.mjs +0 -20
- package/dist/typography/index.ts +0 -20
- package/dist/utilities/AspectRatioBox.astro +0 -11
- package/dist/utilities/BackgroundDotPattern.astro +0 -6
- package/dist/utilities/CircularMask.astro +0 -7
- package/dist/utilities/ClickRippleWrapper.astro +0 -7
- package/dist/utilities/FadeInWrapper.astro +0 -11
- package/dist/utilities/FixedRatioImage.astro +0 -7
- package/dist/utilities/GlassBlurLayer.astro +0 -6
- package/dist/utilities/GradientBorderMask.astro +0 -7
- package/dist/utilities/HoverLift.astro +0 -7
- package/dist/utilities/ResponsiveSpacer.astro +0 -15
- package/dist/utilities/ResponsiveVisToggle.astro +0 -11
- package/dist/utilities/ScrollLockParent.astro +0 -11
- package/dist/utilities/ScrollMarginTarget.astro +0 -10
- package/dist/utilities/SlideUpReveal.astro +0 -7
- package/dist/utilities/SmoothAnchorLink.astro +0 -22
- package/dist/utilities/StackLayering.astro +0 -12
- package/dist/utilities/StickyObserver.astro +0 -8
- package/dist/utilities/TextTruncate.astro +0 -10
- package/dist/utilities/TruncateSingleLine.astro +0 -6
- package/dist/utilities/VisuallyHidden.astro +0 -6
- package/dist/utilities/index.mjs +0 -20
- package/dist/utilities/index.ts +0 -20
- package/src/components/lib/utilities/AspectRatioBox.astro +0 -11
- package/src/components/lib/utilities/BackgroundDotPattern.astro +0 -6
- package/src/components/lib/utilities/CircularMask.astro +0 -7
- package/src/components/lib/utilities/ClickRippleWrapper.astro +0 -7
- package/src/components/lib/utilities/FadeInWrapper.astro +0 -11
- package/src/components/lib/utilities/FixedRatioImage.astro +0 -7
- package/src/components/lib/utilities/GlassBlurLayer.astro +0 -6
- package/src/components/lib/utilities/GradientBorderMask.astro +0 -7
- package/src/components/lib/utilities/HoverLift.astro +0 -7
- package/src/components/lib/utilities/ResponsiveSpacer.astro +0 -15
- package/src/components/lib/utilities/ResponsiveVisToggle.astro +0 -11
- package/src/components/lib/utilities/ScrollLockParent.astro +0 -11
- package/src/components/lib/utilities/ScrollMarginTarget.astro +0 -10
- package/src/components/lib/utilities/SlideUpReveal.astro +0 -7
- package/src/components/lib/utilities/SmoothAnchorLink.astro +0 -22
- package/src/components/lib/utilities/StackLayering.astro +0 -12
- package/src/components/lib/utilities/StickyObserver.astro +0 -8
- package/src/components/lib/utilities/TextTruncate.astro +0 -10
- package/src/components/lib/utilities/TruncateSingleLine.astro +0 -6
- package/src/components/lib/utilities/VisuallyHidden.astro +0 -6
- package/src/components/lib/utilities/index.ts +0 -20
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
---
|
|
2
|
+
// OverlaysShowcase.astro — Premium overlays section with live preview
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const { title = "Overlays", subtitle = "Modals, drawers, and popovers." } = Astro.props;
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<section class="overlays-showcase">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="showcase-header">
|
|
14
|
+
<span class="showcase-eyebrow">🪟 Overlays</span>
|
|
15
|
+
<h2 class="showcase-title">{title}</h2>
|
|
16
|
+
<p class="showcase-subtitle">{subtitle}</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="preview-stage">
|
|
20
|
+
<div class="preview-stage__inner">
|
|
21
|
+
<div class="overlay-demo">
|
|
22
|
+
<!-- Modal Dialog -->
|
|
23
|
+
<div class="overlay-modal">
|
|
24
|
+
<div class="overlay-backdrop"></div>
|
|
25
|
+
<div class="overlay-card">
|
|
26
|
+
<div class="overlay-card__header">
|
|
27
|
+
<span class="overlay-card__title">Confirm Action</span>
|
|
28
|
+
<button class="overlay-close" aria-label="Close">×</button>
|
|
29
|
+
</div>
|
|
30
|
+
<p class="overlay-card__body">Are you sure you want to proceed? This action cannot be undone.</p>
|
|
31
|
+
<div class="overlay-card__actions">
|
|
32
|
+
<button class="btn btn--ghost">Cancel</button>
|
|
33
|
+
<button class="btn btn--primary">Confirm</button>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<!-- Side Drawer -->
|
|
39
|
+
<div class="overlay-drawer">
|
|
40
|
+
<div class="drawer-backdrop"></div>
|
|
41
|
+
<div class="drawer-panel">
|
|
42
|
+
<div class="drawer-header">
|
|
43
|
+
<span class="drawer-title">Settings</span>
|
|
44
|
+
<button class="overlay-close" aria-label="Close">×</button>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="drawer-body">
|
|
47
|
+
<div class="drawer-item">
|
|
48
|
+
<span class="drawer-label">Theme</span>
|
|
49
|
+
<span class="drawer-value">Dark</span>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="drawer-item">
|
|
52
|
+
<span class="drawer-label">Notifications</span>
|
|
53
|
+
<span class="drawer-value">Enabled</span>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="drawer-item">
|
|
56
|
+
<span class="drawer-label">Language</span>
|
|
57
|
+
<span class="drawer-value">English</span>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<!-- Popover -->
|
|
64
|
+
<div class="overlay-popover">
|
|
65
|
+
<div class="popover-target">Hover me</div>
|
|
66
|
+
<div class="popover-content">
|
|
67
|
+
<span class="popover-arrow"></span>
|
|
68
|
+
<p class="popover-text">This is a popover with additional context.</p>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<div class="usage-code">
|
|
76
|
+
<code><Overlay type="modal">Content</Overlay></code>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</section>
|
|
80
|
+
|
|
81
|
+
<style>
|
|
82
|
+
.overlays-showcase {
|
|
83
|
+
padding: var(--sp-16) 0;
|
|
84
|
+
position: relative;
|
|
85
|
+
}
|
|
86
|
+
.showcase-header {
|
|
87
|
+
text-align: center;
|
|
88
|
+
margin-bottom: var(--sp-10);
|
|
89
|
+
}
|
|
90
|
+
.showcase-eyebrow {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
padding: 0.35rem 0.8rem;
|
|
93
|
+
font-size: 0.75rem;
|
|
94
|
+
font-weight: 700;
|
|
95
|
+
text-transform: uppercase;
|
|
96
|
+
letter-spacing: 0.1em;
|
|
97
|
+
color: var(--c-primary-light);
|
|
98
|
+
background: rgba(184,134,11,0.1);
|
|
99
|
+
border: 1px solid rgba(184,134,11,0.25);
|
|
100
|
+
border-radius: var(--r-full);
|
|
101
|
+
margin-bottom: var(--sp-4);
|
|
102
|
+
}
|
|
103
|
+
.showcase-title {
|
|
104
|
+
font-size: clamp(2rem, 4vw, 3rem);
|
|
105
|
+
font-weight: 800;
|
|
106
|
+
color: var(--c-text-1);
|
|
107
|
+
margin-bottom: var(--sp-3);
|
|
108
|
+
}
|
|
109
|
+
.showcase-subtitle {
|
|
110
|
+
font-size: 1.05rem;
|
|
111
|
+
color: var(--c-text-2);
|
|
112
|
+
max-width: 500px;
|
|
113
|
+
margin: 0 auto;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Preview Stage */
|
|
117
|
+
.preview-stage {
|
|
118
|
+
padding: var(--sp-12);
|
|
119
|
+
background: rgba(10, 10, 10, 0.6);
|
|
120
|
+
backdrop-filter: blur(20px);
|
|
121
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
122
|
+
border-radius: var(--r-xl);
|
|
123
|
+
margin-bottom: var(--sp-6);
|
|
124
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
125
|
+
}
|
|
126
|
+
.preview-stage__inner {
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
min-height: 420px;
|
|
131
|
+
position: relative;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.overlay-demo {
|
|
135
|
+
position: relative;
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 100%;
|
|
138
|
+
min-height: 380px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Modal Dialog */
|
|
142
|
+
.overlay-modal {
|
|
143
|
+
position: absolute;
|
|
144
|
+
inset: 0;
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
}
|
|
149
|
+
.overlay-backdrop {
|
|
150
|
+
position: absolute;
|
|
151
|
+
inset: 0;
|
|
152
|
+
background: rgba(0, 0, 0, 0.65);
|
|
153
|
+
backdrop-filter: blur(6px);
|
|
154
|
+
border-radius: var(--r-lg);
|
|
155
|
+
}
|
|
156
|
+
.overlay-card {
|
|
157
|
+
position: relative;
|
|
158
|
+
z-index: 2;
|
|
159
|
+
width: 300px;
|
|
160
|
+
padding: var(--sp-6);
|
|
161
|
+
background: rgba(30, 30, 30, 0.9);
|
|
162
|
+
backdrop-filter: blur(16px);
|
|
163
|
+
border: 1px solid rgba(255,255,255,0.1);
|
|
164
|
+
border-radius: var(--r-lg);
|
|
165
|
+
box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
|
|
166
|
+
transform: scale(1) translateY(0);
|
|
167
|
+
}
|
|
168
|
+
.overlay-card__header {
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: space-between;
|
|
172
|
+
margin-bottom: var(--sp-3);
|
|
173
|
+
}
|
|
174
|
+
.overlay-card__title {
|
|
175
|
+
font-size: 1.1rem;
|
|
176
|
+
font-weight: 700;
|
|
177
|
+
color: var(--c-text-1);
|
|
178
|
+
}
|
|
179
|
+
.overlay-close {
|
|
180
|
+
width: 28px;
|
|
181
|
+
height: 28px;
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
background: transparent;
|
|
186
|
+
border: none;
|
|
187
|
+
color: var(--c-text-2);
|
|
188
|
+
font-size: 1.2rem;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
border-radius: var(--r-sm);
|
|
191
|
+
transition: all 0.2s ease;
|
|
192
|
+
}
|
|
193
|
+
.overlay-close:hover {
|
|
194
|
+
background: rgba(255,255,255,0.1);
|
|
195
|
+
color: var(--c-text-1);
|
|
196
|
+
}
|
|
197
|
+
.overlay-card__body {
|
|
198
|
+
font-size: 0.9rem;
|
|
199
|
+
color: var(--c-text-2);
|
|
200
|
+
line-height: 1.5;
|
|
201
|
+
margin-bottom: var(--sp-5);
|
|
202
|
+
}
|
|
203
|
+
.overlay-card__actions {
|
|
204
|
+
display: flex;
|
|
205
|
+
gap: var(--sp-3);
|
|
206
|
+
justify-content: flex-end;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Side Drawer */
|
|
210
|
+
.overlay-drawer {
|
|
211
|
+
position: absolute;
|
|
212
|
+
inset: 0;
|
|
213
|
+
pointer-events: none;
|
|
214
|
+
}
|
|
215
|
+
.drawer-backdrop {
|
|
216
|
+
position: absolute;
|
|
217
|
+
inset: 0;
|
|
218
|
+
background: rgba(0, 0, 0, 0.35);
|
|
219
|
+
border-radius: var(--r-lg);
|
|
220
|
+
}
|
|
221
|
+
.drawer-panel {
|
|
222
|
+
position: absolute;
|
|
223
|
+
right: var(--sp-4);
|
|
224
|
+
top: var(--sp-4);
|
|
225
|
+
bottom: var(--sp-4);
|
|
226
|
+
width: 200px;
|
|
227
|
+
background: rgba(25, 25, 25, 0.95);
|
|
228
|
+
backdrop-filter: blur(18px);
|
|
229
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
230
|
+
border-radius: var(--r-lg);
|
|
231
|
+
box-shadow: -12px 0 40px rgba(0,0,0,0.4);
|
|
232
|
+
transform: translateX(0);
|
|
233
|
+
padding: var(--sp-5);
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: column;
|
|
236
|
+
pointer-events: auto;
|
|
237
|
+
}
|
|
238
|
+
.drawer-header {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
justify-content: space-between;
|
|
242
|
+
margin-bottom: var(--sp-4);
|
|
243
|
+
}
|
|
244
|
+
.drawer-title {
|
|
245
|
+
font-size: 0.95rem;
|
|
246
|
+
font-weight: 700;
|
|
247
|
+
color: var(--c-text-1);
|
|
248
|
+
}
|
|
249
|
+
.drawer-body {
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
gap: var(--sp-4);
|
|
253
|
+
}
|
|
254
|
+
.drawer-item {
|
|
255
|
+
display: flex;
|
|
256
|
+
justify-content: space-between;
|
|
257
|
+
align-items: center;
|
|
258
|
+
}
|
|
259
|
+
.drawer-label {
|
|
260
|
+
font-size: 0.8rem;
|
|
261
|
+
color: var(--c-text-2);
|
|
262
|
+
}
|
|
263
|
+
.drawer-value {
|
|
264
|
+
font-size: 0.8rem;
|
|
265
|
+
font-weight: 600;
|
|
266
|
+
color: var(--c-primary-light);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* Popover */
|
|
270
|
+
.overlay-popover {
|
|
271
|
+
position: absolute;
|
|
272
|
+
left: 50%;
|
|
273
|
+
bottom: var(--sp-8);
|
|
274
|
+
transform: translateX(-50%);
|
|
275
|
+
}
|
|
276
|
+
.popover-target {
|
|
277
|
+
padding: 0.5rem 1rem;
|
|
278
|
+
font-size: 0.8rem;
|
|
279
|
+
font-weight: 600;
|
|
280
|
+
color: var(--c-text-2);
|
|
281
|
+
background: rgba(255,255,255,0.04);
|
|
282
|
+
border: 1px solid rgba(255,255,255,0.1);
|
|
283
|
+
border-radius: var(--r-md);
|
|
284
|
+
cursor: pointer;
|
|
285
|
+
transition: all 0.2s ease;
|
|
286
|
+
}
|
|
287
|
+
.popover-target:hover {
|
|
288
|
+
color: var(--c-text-1);
|
|
289
|
+
border-color: rgba(184,134,11,0.3);
|
|
290
|
+
}
|
|
291
|
+
.popover-content {
|
|
292
|
+
position: absolute;
|
|
293
|
+
bottom: calc(100% + 12px);
|
|
294
|
+
left: 50%;
|
|
295
|
+
transform: translateX(-50%);
|
|
296
|
+
width: 200px;
|
|
297
|
+
padding: var(--sp-3) var(--sp-4);
|
|
298
|
+
background: rgba(40, 40, 40, 0.95);
|
|
299
|
+
backdrop-filter: blur(14px);
|
|
300
|
+
border: 1px solid rgba(255,255,255,0.1);
|
|
301
|
+
border-radius: var(--r-md);
|
|
302
|
+
box-shadow: 0 12px 32px rgba(0,0,0,0.4);
|
|
303
|
+
}
|
|
304
|
+
.popover-arrow {
|
|
305
|
+
position: absolute;
|
|
306
|
+
top: 100%;
|
|
307
|
+
left: 50%;
|
|
308
|
+
transform: translateX(-50%);
|
|
309
|
+
width: 10px;
|
|
310
|
+
height: 10px;
|
|
311
|
+
background: rgba(40, 40, 40, 0.95);
|
|
312
|
+
border-right: 1px solid rgba(255,255,255,0.1);
|
|
313
|
+
border-bottom: 1px solid rgba(255,255,255,0.1);
|
|
314
|
+
transform: translateX(-50%) rotate(45deg);
|
|
315
|
+
}
|
|
316
|
+
.popover-text {
|
|
317
|
+
font-size: 0.75rem;
|
|
318
|
+
color: var(--c-text-2);
|
|
319
|
+
line-height: 1.4;
|
|
320
|
+
margin: 0;
|
|
321
|
+
text-align: center;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Shared button styles reused from ButtonsShowcase */
|
|
325
|
+
.btn {
|
|
326
|
+
padding: 0.5rem 1rem;
|
|
327
|
+
font-size: 0.8rem;
|
|
328
|
+
font-weight: 600;
|
|
329
|
+
font-family: var(--font-sans);
|
|
330
|
+
border: none;
|
|
331
|
+
border-radius: var(--r-md);
|
|
332
|
+
cursor: pointer;
|
|
333
|
+
transition: all 0.25s ease;
|
|
334
|
+
}
|
|
335
|
+
.btn--primary {
|
|
336
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
|
|
337
|
+
color: #0a0a0a;
|
|
338
|
+
box-shadow: 0 4px 20px rgba(184,134,11,0.3);
|
|
339
|
+
}
|
|
340
|
+
.btn--primary:hover {
|
|
341
|
+
transform: translateY(-2px);
|
|
342
|
+
box-shadow: 0 8px 30px rgba(184,134,11,0.4);
|
|
343
|
+
}
|
|
344
|
+
.btn--ghost {
|
|
345
|
+
background: transparent;
|
|
346
|
+
color: var(--c-text-2);
|
|
347
|
+
border: 1px solid var(--c-border);
|
|
348
|
+
}
|
|
349
|
+
.btn--ghost:hover {
|
|
350
|
+
color: var(--c-text-1);
|
|
351
|
+
border-color: var(--c-primary-light);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.usage-code {
|
|
355
|
+
text-align: center;
|
|
356
|
+
padding: var(--sp-4);
|
|
357
|
+
background: rgba(255,255,255,0.02);
|
|
358
|
+
border-radius: var(--r-md);
|
|
359
|
+
}
|
|
360
|
+
.usage-code code {
|
|
361
|
+
font-family: var(--font-mono);
|
|
362
|
+
font-size: 0.85rem;
|
|
363
|
+
color: var(--c-primary-light);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
@media (max-width: 640px) {
|
|
367
|
+
.preview-stage { padding: var(--sp-8) var(--sp-4); }
|
|
368
|
+
.overlay-card { width: 240px; padding: var(--sp-4); }
|
|
369
|
+
.drawer-panel { width: 160px; right: var(--sp-2); }
|
|
370
|
+
.popover-content { width: 160px; }
|
|
371
|
+
.overlay-demo { min-height: 340px; }
|
|
372
|
+
}
|
|
373
|
+
</style>
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
---
|
|
2
|
+
// TypographyShowcase.astro — Premium typography section with live preview
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const { title = "Typography", subtitle = "Headings and text patterns." } = Astro.props;
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<section class="typography-showcase">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="showcase-header">
|
|
14
|
+
<span class="showcase-eyebrow">✍️ Typography</span>
|
|
15
|
+
<h2 class="showcase-title">{title}</h2>
|
|
16
|
+
<p class="showcase-subtitle">{subtitle}</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="preview-stage">
|
|
20
|
+
<div class="preview-stage__inner">
|
|
21
|
+
<div class="typo-stack">
|
|
22
|
+
<!-- Gradient Heading Mockup -->
|
|
23
|
+
<div class="typo-mockup typo-mockup--gradient">
|
|
24
|
+
<h3 class="gradient-heading">Premium Design System</h3>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- Blockquote Mockup -->
|
|
28
|
+
<div class="typo-mockup typo-mockup--blockquote">
|
|
29
|
+
<blockquote class="blockquote">
|
|
30
|
+
<p>Great design is invisible. It simply feels right.</p>
|
|
31
|
+
<cite>— Design Philosophy</cite>
|
|
32
|
+
</blockquote>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<!-- Animated Text Reveal Mockup -->
|
|
36
|
+
<div class="typo-mockup typo-mockup--reveal">
|
|
37
|
+
<span class="text-reveal">Shimmer Reveal Effect</span>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<!-- Link Styles Mockup -->
|
|
41
|
+
<div class="typo-mockup typo-mockup--links">
|
|
42
|
+
<div class="link-group">
|
|
43
|
+
<a href="#" class="styled-link">Hover Underline</a>
|
|
44
|
+
<a href="#" class="styled-link">Animated Link</a>
|
|
45
|
+
<a href="#" class="styled-link">Gold Accent</a>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div class="usage-code">
|
|
53
|
+
<code><Typography variant="heading" size="xl">Premium Design</Typography></code>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</section>
|
|
57
|
+
|
|
58
|
+
<style>
|
|
59
|
+
.typography-showcase {
|
|
60
|
+
padding: var(--sp-16) 0;
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
.showcase-header {
|
|
64
|
+
text-align: center;
|
|
65
|
+
margin-bottom: var(--sp-10);
|
|
66
|
+
}
|
|
67
|
+
.showcase-eyebrow {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
padding: 0.35rem 0.8rem;
|
|
70
|
+
font-size: 0.75rem;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
text-transform: uppercase;
|
|
73
|
+
letter-spacing: 0.1em;
|
|
74
|
+
color: var(--c-primary-light);
|
|
75
|
+
background: rgba(184,134,11,0.1);
|
|
76
|
+
border: 1px solid rgba(184,134,11,0.25);
|
|
77
|
+
border-radius: var(--r-full);
|
|
78
|
+
margin-bottom: var(--sp-4);
|
|
79
|
+
}
|
|
80
|
+
.showcase-title {
|
|
81
|
+
font-size: clamp(2rem, 4vw, 3rem);
|
|
82
|
+
font-weight: 800;
|
|
83
|
+
color: var(--c-text-1);
|
|
84
|
+
margin-bottom: var(--sp-3);
|
|
85
|
+
}
|
|
86
|
+
.showcase-subtitle {
|
|
87
|
+
font-size: 1.05rem;
|
|
88
|
+
color: var(--c-text-2);
|
|
89
|
+
max-width: 500px;
|
|
90
|
+
margin: 0 auto;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Preview Stage */
|
|
94
|
+
.preview-stage {
|
|
95
|
+
padding: var(--sp-12);
|
|
96
|
+
background: rgba(10, 10, 10, 0.6);
|
|
97
|
+
backdrop-filter: blur(20px);
|
|
98
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
99
|
+
border-radius: var(--r-xl);
|
|
100
|
+
margin-bottom: var(--sp-6);
|
|
101
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
102
|
+
}
|
|
103
|
+
.preview-stage__inner {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
min-height: 200px;
|
|
108
|
+
}
|
|
109
|
+
.typo-stack {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
gap: var(--sp-8);
|
|
113
|
+
width: 100%;
|
|
114
|
+
max-width: 600px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Typography Mockups */
|
|
118
|
+
.typo-mockup {
|
|
119
|
+
padding: var(--sp-6);
|
|
120
|
+
background: rgba(255,255,255,0.02);
|
|
121
|
+
border-radius: var(--r-md);
|
|
122
|
+
border: 1px solid rgba(255,255,255,0.05);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Gradient Heading */
|
|
126
|
+
.gradient-heading {
|
|
127
|
+
font-size: clamp(1.8rem, 4vw, 2.8rem);
|
|
128
|
+
font-weight: 800;
|
|
129
|
+
font-family: var(--font-sans);
|
|
130
|
+
margin: 0;
|
|
131
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary), #d4a017);
|
|
132
|
+
-webkit-background-clip: text;
|
|
133
|
+
-webkit-text-fill-color: transparent;
|
|
134
|
+
background-clip: text;
|
|
135
|
+
line-height: 1.2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Blockquote */
|
|
139
|
+
.blockquote {
|
|
140
|
+
margin: 0;
|
|
141
|
+
padding-left: var(--sp-5);
|
|
142
|
+
border-left: 3px solid var(--c-primary);
|
|
143
|
+
font-family: var(--font-sans);
|
|
144
|
+
}
|
|
145
|
+
.blockquote p {
|
|
146
|
+
font-size: 1.15rem;
|
|
147
|
+
font-style: italic;
|
|
148
|
+
color: var(--c-text-1);
|
|
149
|
+
margin: 0 0 var(--sp-2) 0;
|
|
150
|
+
line-height: 1.6;
|
|
151
|
+
}
|
|
152
|
+
.blockquote cite {
|
|
153
|
+
font-size: 0.85rem;
|
|
154
|
+
font-style: normal;
|
|
155
|
+
color: var(--c-text-2);
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
letter-spacing: 0.02em;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Animated Text Reveal */
|
|
161
|
+
.text-reveal {
|
|
162
|
+
font-size: clamp(1.4rem, 3vw, 2rem);
|
|
163
|
+
font-weight: 700;
|
|
164
|
+
font-family: var(--font-sans);
|
|
165
|
+
background: linear-gradient(
|
|
166
|
+
110deg,
|
|
167
|
+
var(--c-text-1) 0%,
|
|
168
|
+
var(--c-text-1) 40%,
|
|
169
|
+
var(--c-primary-light) 50%,
|
|
170
|
+
var(--c-text-1) 60%,
|
|
171
|
+
var(--c-text-1) 100%
|
|
172
|
+
);
|
|
173
|
+
background-size: 200% 100%;
|
|
174
|
+
-webkit-background-clip: text;
|
|
175
|
+
-webkit-text-fill-color: transparent;
|
|
176
|
+
background-clip: text;
|
|
177
|
+
animation: textShimmer 3.5s linear infinite;
|
|
178
|
+
}
|
|
179
|
+
@keyframes textShimmer {
|
|
180
|
+
0% { background-position: 200% 0; }
|
|
181
|
+
100% { background-position: -200% 0; }
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Link Styles */
|
|
185
|
+
.link-group {
|
|
186
|
+
display: flex;
|
|
187
|
+
flex-wrap: wrap;
|
|
188
|
+
gap: var(--sp-4);
|
|
189
|
+
align-items: center;
|
|
190
|
+
}
|
|
191
|
+
.styled-link {
|
|
192
|
+
font-size: 1rem;
|
|
193
|
+
font-weight: 500;
|
|
194
|
+
font-family: var(--font-sans);
|
|
195
|
+
color: var(--c-text-1);
|
|
196
|
+
text-decoration: none;
|
|
197
|
+
position: relative;
|
|
198
|
+
padding-bottom: 2px;
|
|
199
|
+
transition: color 0.25s ease;
|
|
200
|
+
}
|
|
201
|
+
.styled-link::after {
|
|
202
|
+
content: '';
|
|
203
|
+
position: absolute;
|
|
204
|
+
bottom: 0;
|
|
205
|
+
left: 0;
|
|
206
|
+
width: 100%;
|
|
207
|
+
height: 1px;
|
|
208
|
+
background: var(--c-primary);
|
|
209
|
+
transform: scaleX(0);
|
|
210
|
+
transform-origin: right;
|
|
211
|
+
transition: transform 0.35s ease;
|
|
212
|
+
}
|
|
213
|
+
.styled-link:hover {
|
|
214
|
+
color: var(--c-primary-light);
|
|
215
|
+
}
|
|
216
|
+
.styled-link:hover::after {
|
|
217
|
+
transform: scaleX(1);
|
|
218
|
+
transform-origin: left;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.usage-code {
|
|
222
|
+
text-align: center;
|
|
223
|
+
padding: var(--sp-4);
|
|
224
|
+
background: rgba(255,255,255,0.02);
|
|
225
|
+
border-radius: var(--r-md);
|
|
226
|
+
}
|
|
227
|
+
.usage-code code {
|
|
228
|
+
font-family: var(--font-mono);
|
|
229
|
+
font-size: 0.85rem;
|
|
230
|
+
color: var(--c-primary-light);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@media (max-width: 640px) {
|
|
234
|
+
.typo-stack { gap: var(--sp-5); }
|
|
235
|
+
.typo-mockup { padding: var(--sp-4); }
|
|
236
|
+
.preview-stage { padding: var(--sp-8) var(--sp-4); }
|
|
237
|
+
.link-group { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
|
|
238
|
+
}
|
|
239
|
+
</style>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as ButtonsShowcase } from './ButtonsShowcase.astro';
|
|
2
|
+
export { default as FormsShowcase } from './FormsShowcase.astro';
|
|
3
|
+
export { default as CardsShowcase } from './CardsShowcase.astro';
|
|
4
|
+
export { default as FeedbackShowcase } from './FeedbackShowcase.astro';
|
|
5
|
+
export { default as NavigationShowcase } from './NavigationShowcase.astro';
|
|
6
|
+
export { default as LayoutShowcase } from './LayoutShowcase.astro';
|
|
7
|
+
export { default as OverlaysShowcase } from './OverlaysShowcase.astro';
|
|
8
|
+
export { default as DataShowcase } from './DataShowcase.astro';
|
|
9
|
+
export { default as TypographyShowcase } from './TypographyShowcase.astro';
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
--c-primary-glow: rgba(184,134,11,0.12);
|
|
23
23
|
--c-accent: #fef3c7;
|
|
24
24
|
|
|
25
|
-
--c-text-1: #
|
|
26
|
-
--c-text-2: #
|
|
27
|
-
--c-text-3: #
|
|
25
|
+
--c-text-1: #ffffff;
|
|
26
|
+
--c-text-2: #a3a3a3;
|
|
27
|
+
--c-text-3: #737373;
|
|
28
28
|
|
|
29
29
|
/* Typography */
|
|
30
30
|
--font-sans: 'Inter', system-ui, sans-serif;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
/* Sidebar */
|
|
51
51
|
--sidebar-w: 260px;
|
|
52
|
-
--header-h:
|
|
52
|
+
--header-h: 85px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* ── Base ────────────────────────────────────────────────── */
|
|
@@ -104,7 +104,7 @@ body::before {
|
|
|
104
104
|
|
|
105
105
|
/* ── Utility classes ─────────────────────────────────────── */
|
|
106
106
|
.container {
|
|
107
|
-
max-width:
|
|
107
|
+
max-width: 1400px;
|
|
108
108
|
margin: 0 auto;
|
|
109
109
|
padding: 0 var(--sp-6);
|
|
110
110
|
}
|