Skip to content

Commit

Permalink
fix: bad json syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
palage4a committed Feb 10, 2021
1 parent 293a07d commit 33f884e
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions theme.go
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
package tdproto

type ButtonColors struct {
BrandStatic string `json:brand_static`
BrandActive string `json:brand_active`
BrandDisable string `json:brand_disable`
SimpleStatic string `json:simple_static`
SimpleActive string `json:simple_active`
SimpleDisable string `json:simple_disable`
BrandStatic string `json:"brand_static"`
BrandActive string `json:"brand_active"`
BrandDisable string `json:"brand_disable"`
SimpleStatic string `json:"simple_static"`
SimpleActive string `json:"simple_active"`
SimpleDisable string `json:"simple_disable"`
}

type InputColors struct {
Static string `json:static`
Active string `json:active`
Disable string `json:disable`
Error string `json:error`
Static string `json:"static"`
Active string `json:"active"`
Disable string `json:"disable"`
Error string `json:"error"`
}
type SwitcherColors struct {
On string `json:on`
Off string `json:off`
On string `json:"on"`
Off string `json:"off"`
}

// Color theme
Expand All @@ -39,22 +39,22 @@ type Theme struct {
AppAccentColor string
AppPrimaryColor string

Brand string `json:brand`
BrandDark string `json:brand_dark`
BrandLight string `json:brand_light`
Text string `json:text`
Sub string `json:sub`
Back string `json:back`
BackLight string `json:back_light`
BackDark string `json:back_dark`
Error string `json:error`
ErrorLight string `json:error_light`
Success string `json:success`
SuccessLight string `json:success_light`
Background string `json:background`
Attention string `json:attention`
AttentionLight string `json:attention_light`
Button *ButtonColors `json:button`
Input *InputColors `json:input`
Switcher *SwitcherColors `json:switcher`
Brand string `json:"brand"`
BrandDark string `json:"brand_dark"`
BrandLight string `json:"brand_light"`
Text string `json:"text"`
Sub string `json:"sub"`
Back string `json:"back"`
BackLight string `json:"back_light"`
BackDark string `json:"back_dark"`
Error string `json:"error"`
ErrorLight string `json:"error_light"`
Success string `json:"success"`
SuccessLight string `json:"success_light"`
Background string `json:"background"`
Attention string `json:"attention"`
AttentionLight string `json:"attention_light"`
Button *ButtonColors `json:"button"`
Input *InputColors `json:"input"`
Switcher *SwitcherColors `json:"switcher"`
}

0 comments on commit 33f884e

Please sign in to comment.