Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@hcc/api-base": "workspace:*",
"@hcc/icons": "workspace:*",
"@hcc/ui": "workspace:*",
"@hcc/style": "workspace:*",
"@lukemorales/query-key-factory": "^1.3.4",
"@vercel/analytics": "^1.5.0",
"next": "^15.4.6",
Expand Down
39 changes: 2 additions & 37 deletions apps/manager/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
@import "tailwindcss";
@import "./utilities.css";

@theme {
--breakpoint-*: initial;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;

--z-index-header: 10;
--z-index-above: 1;

--app-max-width: 560px;

--color-primary-100: #F2F8FF;
--color-primary-600: #007AFF;
}

@layer base {
html, body {
height: 100%;
}

body {
display: flex;
flex-direction: column;
min-height: 100%;
padding-bottom: env(safe-area-inset-bottom);
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
overflow-y: scroll;
scrollbar-gutter: stable;
background-color: var(--color-neutral-50);
}
}
@import "@hcc/style/utilities.css";
@import "@hcc/style/theme.css";
1 change: 1 addition & 0 deletions apps/spectator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@bprogress/next": "^3.2.12",
"@hcc/api-base": "workspace:*",
"@hcc/icons": "workspace:*",
"@hcc/style": "workspace:*",
"@vercel/analytics": "^1.5.0",
"next": "^15.4.6",
"react": "^19.1.1",
Expand Down
39 changes: 2 additions & 37 deletions apps/spectator/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
@import "tailwindcss";
@import "./utilities.css";

@theme {
--breakpoint-*: initial;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;

--z-index-header: 10;
--z-index-above: 1;

--app-max-width: 560px;

--color-primary-100: #F2F8FF;
--color-primary-600: #007AFF;
}

@layer base {
html, body {
height: 100%;
}

body {
display: flex;
flex-direction: column;
min-height: 100%;
padding-bottom: env(safe-area-inset-bottom);
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
overflow-y: scroll;
scrollbar-gutter: stable;
background-color: var(--color-neutral-50);
}
}
@import "@hcc/style/utilities.css";
@import "@hcc/style/theme.css";
37 changes: 0 additions & 37 deletions apps/spectator/src/styles/utilities.css

This file was deleted.

1 change: 1 addition & 0 deletions packages/style/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## `@hcc/style`
36 changes: 36 additions & 0 deletions packages/style/css/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

@theme {
--breakpoint-*: initial;
--breakpoint-md: 768px;
--breakpoint-lg: 1024px;

--z-index-above: 1;
--z-index-header: 10;

--app-max-width: 560px;

--color-primary-100: #F2F8FF;
--color-primary-600: #007AFF;
}

@layer base {
html, body {
height: 100%;
}

body {
display: flex;
flex-direction: column;
min-height: 100%;
padding-bottom: env(safe-area-inset-bottom);
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
overflow-y: scroll;
scrollbar-gutter: stable;
background-color: var(--color-neutral-50);
}
}
File renamed without changes.
15 changes: 15 additions & 0 deletions packages/style/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@hcc/style",
"version": "0.0.1",
"private": true,
"scripts": {},
"sideEffects": false,
"type": "module",
"exports": {
"./theme.css": "./css/theme.css",
"./utilities.css": "./css/utilities.css"
},
"files": [
"css"
]
}
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.