Guide generator (#231)

* Replace sw, sns battlesuit images

* Add gen guide page

* Make supports configurable

* Extract DifficultySelect & Improve Ex Signet Ordering style

* Extract BattlesuitSelect

* Use BattlesuitSelect for support valk

* Swap support if duplicated

* Add sigil selector

* Set initial ex signets

* Change layout

* Add sigil icon to single value

* Add equipment select

* Fix difficulty box label

* Implement SignetBox

* Add Signet form control

* Improve rendering perf of stigma and weapon select

* Implement image converter

* Fix signet select

* Remove FontHead

* Remove wrong new line

* Fix warnings

* Add custom style configurator

* Make labels of DiffucltyBox and ValkBox configurable

* Add background and improve layout

* Improve ex signet fontsize

* Style boundaries of left bottom boxes

* Apply fonts directly

* Style signet box

* Add Signet group label

* Style ValkBox

* Add support valk label

* Style layout of SignetBox

* Add shadow to difficulty box

* Add sigil label

* Adjust signet group label

* Add equipment label

* Configure colors of left bottom boxes

* Add tag, rank, signature

* Add icon to current value of battlesuit select

* Adjust form styles

* Add signet group select

* Implement import/export data

* Fix dashed border of difficulty box

* Add gen link to elysian realm home

* Prefix types
This commit is contained in:
Sakura Knoll
2022-08-29 20:08:19 +09:00
committed by GitHub
Unverified
parent 2dd48df340
commit 5c8ed4f603
28 changed files with 3064 additions and 180 deletions
+22
View File
@@ -113,6 +113,26 @@ export const remembranceSigilIds = [
'key-to-the-deep',
]
export function isGeneralSigil(sigilId: string) {
switch (sigilId) {
case 'it-will-be-written':
case 'dreamful-gold':
case 'an-old-pal-s-legacy':
case 'empty-like-shala':
case 'tsukimi-himiko':
case 'boundless-logos':
case 'hometown':
case 'because-of-you':
case 'boundless-feeling':
case 'falling-in-past-light':
case 'out-of-reach':
case 'the-lonely-moon':
case 'awakening':
return false
}
return true
}
export interface SignetData {
id: string
name: string
@@ -127,6 +147,8 @@ export interface SignetGroup {
id: string
name: string
krName: string
altName: string
krAltName: string
setIds: string[]
}
+8
View File
@@ -121,6 +121,11 @@ export const theme: Theme = {
lineHeight: 'heading',
},
},
forms: {
checkbox: {
color: 'border',
},
},
buttons: {
primary: {
color: 'primary',
@@ -144,6 +149,9 @@ export const theme: Theme = {
'&.hidden': {
display: 'none',
},
'&:disabled': {
opacity: 0.5,
},
},
secondary: {
color: 'background',