Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

feat: set scene theme #35

Merged
merged 10 commits into from
Aug 25, 2021
60 changes: 60 additions & 0 deletions pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,66 @@ extensions:
title: Maximum zoom level
min: 0
max: 30
- id: reTheme
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
title: Publish Theme
description: Set your theme.
fields:
- id: reThemeMode
type: string
title: Mode
defaultValue: preMadeTheme
description: Select the theme mode.
choices:
- key: preMadeTheme
label: Pre-made theme
- key: customTheme
label: Custom theme
- id: preMadeThemeId
type: string
title: Pre-made theme
description: Select a theme.
defaultValue: reEarthDark
choices:
- key: reEarthDark
label: Re:Earth Dark
- key: reEarthLight
label: Re:Earth Light
- key: forest
label: Forest
availableIf:
field: reThemeMode
type: string
value: preMadeTheme
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
- id: textColor
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
type: string
ui: color
title: Text color
description: Select a color.
defaultValue: '#434343'
availableIf:
field: reThemeMode
type: string
value: customTheme
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
- id: selectColor
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
type: string
ui: color
title: Select color
description: Select a color.
defaultValue: '#C52C63'
availableIf:
field: reThemeMode
type: string
value: customTheme
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
- id: backgroundColor
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
type: string
ui: color
title: Background color
description: Select a color.
defaultValue: '#DFE5F0'
availableIf:
field: reThemeMode
type: string
value: customTheme
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
- id: atmosphere
title: Atmospheric Conditions
description: Set the look and feel of the Earth.
Expand Down
26 changes: 26 additions & 0 deletions pkg/builtin/manifest_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,32 @@ extensions:
trackingCode:
title: トラッキングID
description: ここにグーグルアナリティクスのトラッキングIDを貼り付けることで、公開プロジェクトにこのコードが埋め込まれます。
reTheme:
title: Publish Theme
description: Set your theme.
fields:
reThemeMode:
title: Mode
description: Select the theme mode.
choices:
preMadeTheme: Pre-made theme
customTheme: Custom theme
preMadeThemeId:
title: Pre-made theme
description: Select a theme.
choices:
reEarthDark: Re:Earth Dark
reEarthLight: Re:Earth Light
forest: Forest
textColor:
title: Text color
description: Select a color.
selectColor:
title: Select color
description: Select a color.
backgroundColor:
title: Background color
description: Select a color.
yk-eukarya marked this conversation as resolved.
Show resolved Hide resolved
infobox:
title: インフォボックス
description: 閲覧者が地図上のレイヤーをクリックした時に表示されるボックスです。テキストや画像、動画などのコンテンツを表示することができます。
Expand Down