HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Y2K
Style Catalog/千禧风格

千禧风格

Y2K

D
53/100Poor

Early-2000s futuristic aesthetic with metallic textures, transparent plastics, bubble elements, silver and rainbow gradients, brimming with optimistic visions of the digital age.

Y2K千禧未来主义金属透明气泡2000年代retrovintagenostalgic
View Full Showcase →Templates

Best For

Y2K / 千禧 / 未来主义

Primary Move

Use silver/metallic gradients bg-gradient-to-r from-gray-300 via-white to-gray-300

Watch Out

Do not use dull, muted color schemes

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#c0c0c0

Secondary

#ff69b4

Accent 1

#00ffff

Accent 2

#ff00ff

Accent 3

#87ceeb

Accent 4

#93c4ff

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Y2K
style_slug: y2k
style_source: /styles/y2k

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

## Style Rules
You are a Y2K design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Dull, muted color schemes
- Overly flat design
- Omitting gloss and reflection effects
- Sharp right angles

## Must Follow

- Metallic gradients bg-gradient-to-b from-gray-200 via-white to-gray-300
- Rounded shapes rounded-full, rounded-3xl
- Transparent effects bg-white/60 backdrop-blur
- Rainbow gradients from-pink-400 via-purple-400 to-cyan-400
- Bubble/sphere decorative elements

## Color Palette

Primary:
- Silver: #c0c0c0, from-gray-300
- Pink: #ff69b4, from-pink-400
- Cyan: #00ffff, from-cyan-400
- Purple: #ff00ff, from-purple-400

## Decorative Elements

- Star/sparkle decorations
- Bubble spheres
- Rainbow gradients
- Transparent plastic textures

## Animation & Interaction Rules

- Chrome Liquid: Interactions must convey a "liquid metal" or "plastic jelly" texture. On hover, metallic gradients enhance through highlight inner shadows (e.g., hover:shadow-[inset_0_4px_8px_rgba(255,255,255,1)]), simulating a 3D reflective sheen sliding across a metallic surface.
- Bubble Pop: Y2K is full of optimism and toy-like feel. Must use elastic custom easing ease-[cubic-bezier(0.34,1.56,0.64,1)], exaggerated scaling on hover (hover:scale-105 or hover:-translate-y-1), and jelly-like squish on click (active:scale-90).
- CD Glare: Shadow colors must use high-saturation cyan (#00ffff) and pink (#ff69b4) mixed glow, simulating CD disc laser reflections. No black shadows allowed.
- Lava Lamp Effect: Circular bubble decorations inside cards produce asymmetric movement or stretching on hover, like liquid droplets rising in a lava lamp.

Component Templates

Component Preview

按钮

Y2K风格按钮,金属光泽

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.
Global Styles

Global CSS

css
/* Y2K 全局样式 */

:root {
  --y2k-silver: #c0c0c0;
  --y2k-pink: #ff69b4;
  --y2k-cyan: #00ffff;
  --y2k-purple: #ff00ff;
}

/* 金属光泽效果 */
.y2k-metallic {
  background: linear-gradient(
    135deg,
    #e8e8e8 0%,
    #ffffff 25%,
    #e8e8e8 50%,
    #ffffff 75%,
    #e8e8e8 100%
  );
}

/* 彩虹渐变文字 */
.y2k-rainbow-text {
  background: linear-gradient(90deg, #ff69b4, #00ffff, #ff00ff, #ff69b4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  to { background-position: 200% center; }
}

/* 气泡效果 */
.y2k-bubble {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent);
  border-radius: 50%;
}
.y2k-card {
  position: relative;
  overflow: hidden;
}

.y2k-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), transparent);
  pointer-events: none;
}

.y2k-card:hover::before {
  opacity: 1;
}

.y2k-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(192, 192, 192, 0.08);
}

.y2k-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.y2k-animate-in {
  animation: y2k-fade-in 0.5s ease-out both;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

Y2K is the design aesthetic of the late 1990s to early 2000s, reflecting people's optimistic imagination of the new millennium and the digital future.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

53

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 38/100Average Ratio: 3.88:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#333333 / #e0e0e0
9.57:1
Secondary text on background
/#ff69b4 / #e0e0e0
2.01:1
Muted text on background
/#808080 / #e0e0e0
2.99:1
Text on secondary background
/#333333 / #c0c0c0
6.94:1
Secondary text on secondary
/#ff69b4 / #c0c0c0
1.46:1
Text on accent 1
/#333333 / #ff69b4
4.77:1
Alt text on accent 1
/#ff69b4 / #ff69b4
1:1
Text on accent 2
/#333333 / #00bfff
5.95:1
Alt text on accent 2
/#ff69b4 / #00bfff
1.25:1
Text on accent 3
/#333333 / #c0c0c0
6.94:1
Alt text on accent 3
/#ff69b4 / #c0c0c0
1.46:1
Text on accent 4
/#333333 / #ff6ec7
5:1
Alt text on accent 4
/#ff69b4 / #ff6ec7
1.05:1

Readability

Score

87/100

Font Size

text-sm md:text-base

Font Weight

font-bold tracking-wide

Line Height

default

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3