Files
web-temp/layers/assets/css/base/_theme.css
2025-09-16 19:44:29 +09:00

49 lines
1.4 KiB
CSS

/* CSS 변수 정의 - @layer 밖에 위치 */
:root {
--foreground: #ffffff;
--foreground-10: #ffffff;
--foreground-reversal: #1f1f1f;
--foreground-reversal-10: rgba(0, 0, 0, 0.1);
--foreground-reversal-30: #ebebeb; /* gray-80 */
--foreground-reversal-40: rgba(0, 0, 0, 0.4);
--foreground-reversal-70: #666666; /* gray-700 */
/* 게임별 동적 색상 기본값 (API 로드 실패 시 fallback) */
--game-primary: #3b82f6;
--game-alternative-01: #64748b;
--game-alternative-02: #64748b;
--game-text-primary: #1f2937;
--game-text-secondary: #6b7280;
}
/* 다크 테마 색상 */
[data-theme='dark'] {
--foreground: #191919;
--foreground-10: #292929;
--foreground-reversal: #ebebeb;
--foreground-reversal-10: rgba(255, 255, 255, 0.1);
--foreground-reversal-30: #404040; /* gray-750 */
--foreground-reversal-40: rgba(255, 255, 255, 0.4);
--foreground-reversal-70: #b2b2b2; /* gray-300 */
/* 다크 테마 게임별 동적 색상 기본값 (API 로드 실패 시 fallback) */
--game-primary: #60a5fa;
--game-alternative-01: #94a3b8;
--game-alternative-02: #94a3b8;
--game-text-primary: #f9fafb;
--game-text-secondary: #d1d5db;
}
/* 커스텀 컴포넌트 스타일 */
@layer components {
.text-gradient-pink {
background: linear-gradient(270deg, #e872ff 0%, #ff357e 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}
}