TASK-057: 자매 상세 설정 탭 제거 (개요/세션/활동/하네스/로그만 유지) TASK-058: 관리 > 자매 관리 카드 이모지 제거, SisterAvatar 적용 TASK-059: 프로젝트 상세 이력 API/history 추가, Sprint + Hotfix timeline 표시 TASK-060: GlobalStyle에 user-select 정책 추가 (기본 none, 편집/로그/입력/코드만 text) 테스트 23/23 pass, FE 16 routes build 성공
84 lines
1.8 KiB
TypeScript
84 lines
1.8 KiB
TypeScript
import { createGlobalStyle } from 'styled-components';
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
|
:root {
|
|
--bg-main: #151515;
|
|
--bg-surface: #151515;
|
|
--bg-input: #1a1a1a;
|
|
--bg-code: #0d0d0d;
|
|
--text-primary: #F5F5F5;
|
|
--text-secondary: #8A8A8A;
|
|
--border-color: #333333;
|
|
--border-hover: #555555;
|
|
--accent-hover: #FFFFFF;
|
|
--font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
--space-xs: 4px;
|
|
--space-sm: 8px;
|
|
--space-md: 16px;
|
|
--space-lg: 24px;
|
|
--space-xl: 40px;
|
|
--space-xxl: 64px;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
font-family: var(--font-sans);
|
|
background-color: var(--bg-main);
|
|
color: var(--text-primary);
|
|
line-height: 1.5;
|
|
font-size: 14px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 기본적으로 관제 UI 텍스트 드래그 방지 */
|
|
body {
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
/* 편집/로그/입력/코드 영역은 선택 허용 */
|
|
input, textarea, select, pre, code, [contenteditable="true"], .cm-editor, .cm-content {
|
|
font-family: inherit;
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-main);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border-color);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--border-hover);
|
|
}
|
|
`;
|
|
|
|
export default GlobalStyle;
|