fix: 기념일 배경을 하늘 위 투명 소품으로 — 하늘색·노치·색 덩어리는 원래대로, 소품 그림은 상단바 아래·화면 아래 두 조각으로 폭에 맞춤
This commit is contained in:
1 parent
1c9e15500b
commit
89ad5e1600
15 files changed
+13
-43
No files matched your search
@@ -6,7 +6,7 @@ type GamePiece = { icon: string; name: string }
|
||||
|
||||
/**
|
||||
* 기념일 꾸밈. 기간(KST, 양 끝 포함) 안에만 켜진다. 'MM-DD' 는 해마다, 'YYYY-MM-DD' 는 그해만(음력 기념일).
|
||||
* 새 기념일: 여기에 한 줄 + TalkTopic(backend/common/enums.py) + 게임 그림(public/b/icons, lib.ts OWN) + 배경(public/b/holiday, b.css)
|
||||
* 새 기념일: 여기에 한 줄 + TalkTopic(backend/common/enums.py) + 게임 그림(public/b/icons, lib.ts OWN) + 소품 그림(public/b/holiday, 투명 배경, b.css)
|
||||
*/
|
||||
export type Holiday = {
|
||||
key: 'halloween' | 'pepero' | 'christmas' | 'chuseok'
|
||||
@@ -15,18 +15,12 @@ export type Holiday = {
|
||||
topic: TalkTopic
|
||||
/** 글만 있는 사람 글 배경 (b.css b-bg-*) */
|
||||
bg: string
|
||||
/** 배경 그림(public/b/holiday/<key>.webp) 맨 위 색 = 노치 띠 색 */
|
||||
notch: string
|
||||
/** 밤(그림을 어둡게 누른 색)에 따로 줄 때 */
|
||||
nightNotch?: string
|
||||
game: readonly GamePiece[]
|
||||
}
|
||||
|
||||
export const HOLIDAYS: readonly Holiday[] = [
|
||||
{
|
||||
key: 'halloween',
|
||||
notch: '#9b84d8',
|
||||
nightNotch: '#2c2350',
|
||||
name: '할로윈',
|
||||
ranges: [['10-31', '11-01']],
|
||||
topic: TalkTopic.HALLOWEEN,
|
||||
@@ -44,7 +38,6 @@ export const HOLIDAYS: readonly Holiday[] = [
|
||||
},
|
||||
{
|
||||
key: 'pepero',
|
||||
notch: '#e9c3cf',
|
||||
name: '빼빼로데이',
|
||||
ranges: [['11-11', '11-11']],
|
||||
topic: TalkTopic.PEPERO,
|
||||
@@ -62,7 +55,6 @@ export const HOLIDAYS: readonly Holiday[] = [
|
||||
},
|
||||
{
|
||||
key: 'christmas',
|
||||
notch: '#bfe6d6',
|
||||
name: '크리스마스',
|
||||
ranges: [['12-24', '12-25']],
|
||||
topic: TalkTopic.CHRISTMAS,
|
||||
@@ -80,7 +72,6 @@ export const HOLIDAYS: readonly Holiday[] = [
|
||||
},
|
||||
{
|
||||
key: 'chuseok',
|
||||
notch: '#8a8fd8',
|
||||
name: '추석',
|
||||
ranges: [['2027-09-14', '2027-09-16']],
|
||||
topic: TalkTopic.CHUSEOK,
|
||||
|
||||
Reference in new issue
Block a user