Skip to content

Commit 2c03141

Browse files
committed
style: fix code for ColorPicker
1 parent a043960 commit 2c03141

File tree

1 file changed

+91
-91
lines changed

1 file changed

+91
-91
lines changed

src/settings/sections/SettingsSection.ts

Lines changed: 91 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -601,13 +601,13 @@ export class SettingsSection extends PluginSettingTab
601601
.setName( lng( 'cfg_tab_og_cb_light_name' ) )
602602
.setDesc( cfg_tab_og_cb_light_desc )
603603
.then( ( setting ) =>
604-
{
605-
this.new_ColorPicker
606-
(
607-
this.app, this.plugin, elm, setting,
608-
'og_clr_bg_light'
609-
)
610-
} )
604+
{
605+
this.new_ColorPicker
606+
(
607+
this.app, this.plugin, elm, setting,
608+
'og_clr_bg_light'
609+
)
610+
} )
611611

612612
/*
613613
Background color (Dark)
@@ -624,13 +624,13 @@ export class SettingsSection extends PluginSettingTab
624624
.setName( lng( 'cfg_tab_og_cb_dark_name' ) )
625625
.setDesc( cfg_tab_og_cb_dark_desc )
626626
.then( ( setting ) =>
627-
{
628-
this.new_ColorPicker
629-
(
630-
this.app, this.plugin, elm, setting,
631-
'og_clr_bg_dark'
632-
)
633-
} )
627+
{
628+
this.new_ColorPicker
629+
(
630+
this.app, this.plugin, elm, setting,
631+
'og_clr_bg_dark'
632+
)
633+
} )
634634

635635
/*
636636
Text color (Light)
@@ -647,13 +647,13 @@ export class SettingsSection extends PluginSettingTab
647647
.setName( lng( 'cfg_tab_og_tx_light_name' ) )
648648
.setDesc( cfg_tab_og_tx_light_desc )
649649
.then( ( setting ) =>
650-
{
651-
this.new_ColorPicker
652-
(
653-
this.app, this.plugin, elm, setting,
654-
'og_clr_tx_light'
655-
)
656-
} )
650+
{
651+
this.new_ColorPicker
652+
(
653+
this.app, this.plugin, elm, setting,
654+
'og_clr_tx_light'
655+
)
656+
} )
657657

658658
/*
659659
Text color (Dark)
@@ -670,13 +670,13 @@ export class SettingsSection extends PluginSettingTab
670670
.setName( lng( 'cfg_tab_og_tx_dark_name' ) )
671671
.setDesc( cfg_tab_og_tx_dark_desc )
672672
.then( ( setting ) =>
673-
{
674-
this.new_ColorPicker
675-
(
676-
this.app, this.plugin, elm, setting,
677-
'og_clr_tx_dark'
678-
)
679-
} )
673+
{
674+
this.new_ColorPicker
675+
(
676+
this.app, this.plugin, elm, setting,
677+
'og_clr_tx_dark'
678+
)
679+
} )
680680

681681
/*
682682
Scrollbar Track Color (Light)
@@ -693,13 +693,13 @@ export class SettingsSection extends PluginSettingTab
693693
.setName( lng( 'cfg_tab_og_sb_light_name' ) )
694694
.setDesc( cfg_tab_og_sb_light_desc )
695695
.then( ( setting ) =>
696-
{
697-
this.new_ColorPicker
698-
(
699-
this.app, this.plugin, elm, setting,
700-
'og_clr_sb_light'
701-
)
702-
} )
696+
{
697+
this.new_ColorPicker
698+
(
699+
this.app, this.plugin, elm, setting,
700+
'og_clr_sb_light'
701+
)
702+
} )
703703

704704
/*
705705
Scrollbar Track Color (Dark)
@@ -716,13 +716,13 @@ export class SettingsSection extends PluginSettingTab
716716
.setName( lng( 'cfg_tab_og_sb_dark_name' ) )
717717
.setDesc( cfg_tab_og_sb_dark_desc )
718718
.then( ( setting ) =>
719-
{
720-
this.new_ColorPicker
721-
(
722-
this.app, this.plugin, elm, setting,
723-
'og_clr_sb_dark'
724-
)
725-
} )
719+
{
720+
this.new_ColorPicker
721+
(
722+
this.app, this.plugin, elm, setting,
723+
'og_clr_sb_dark'
724+
)
725+
} )
726726

727727
/*
728728
Codeblock Opacity
@@ -1300,13 +1300,13 @@ export class SettingsSection extends PluginSettingTab
13001300
.setName( lng( 'cfg_tab_gh_cb_light_name' ) )
13011301
.setDesc( cfg_tab_gh_cb_light_desc )
13021302
.then( ( setting ) =>
1303-
{
1304-
this.new_ColorPicker
1305-
(
1306-
this.app, this.plugin, elm, setting,
1307-
'gh_clr_bg_light'
1308-
)
1309-
} )
1303+
{
1304+
this.new_ColorPicker
1305+
(
1306+
this.app, this.plugin, elm, setting,
1307+
'gh_clr_bg_light'
1308+
)
1309+
} )
13101310

13111311
/*
13121312
Background color (Dark)
@@ -1323,13 +1323,13 @@ export class SettingsSection extends PluginSettingTab
13231323
.setName( lng( 'cfg_tab_gh_cb_dark_name' ) )
13241324
.setDesc( cfg_tab_gh_cb_dark_desc )
13251325
.then( ( setting ) =>
1326-
{
1327-
this.new_ColorPicker
1328-
(
1329-
this.app, this.plugin, elm, setting,
1330-
'gh_clr_bg_dark'
1331-
)
1332-
} )
1326+
{
1327+
this.new_ColorPicker
1328+
(
1329+
this.app, this.plugin, elm, setting,
1330+
'gh_clr_bg_dark'
1331+
)
1332+
} )
13331333

13341334
/*
13351335
Text color (Light)
@@ -1346,13 +1346,13 @@ export class SettingsSection extends PluginSettingTab
13461346
.setName( lng( 'cfg_tab_gh_tx_light_name' ) )
13471347
.setDesc( cfg_tab_gh_tx_light_desc )
13481348
.then( ( setting ) =>
1349-
{
1350-
this.new_ColorPicker
1351-
(
1352-
this.app, this.plugin, elm, setting,
1353-
'gh_clr_tx_light'
1354-
)
1355-
} )
1349+
{
1350+
this.new_ColorPicker
1351+
(
1352+
this.app, this.plugin, elm, setting,
1353+
'gh_clr_tx_light'
1354+
)
1355+
} )
13561356

13571357
/*
13581358
Text color (Dark)
@@ -1369,13 +1369,13 @@ export class SettingsSection extends PluginSettingTab
13691369
.setName( lng( 'cfg_tab_gh_tx_dark_name' ) )
13701370
.setDesc( cfg_tab_gh_tx_dark_desc )
13711371
.then( ( setting ) =>
1372-
{
1373-
this.new_ColorPicker
1374-
(
1375-
this.app, this.plugin, elm, setting,
1376-
'gh_clr_tx_dark'
1377-
)
1378-
} )
1372+
{
1373+
this.new_ColorPicker
1374+
(
1375+
this.app, this.plugin, elm, setting,
1376+
'gh_clr_tx_dark'
1377+
)
1378+
} )
13791379

13801380

13811381
/*
@@ -1393,13 +1393,13 @@ export class SettingsSection extends PluginSettingTab
13931393
.setName( lng( 'cfg_tab_gh_sb_light_name' ) )
13941394
.setDesc( cfg_tab_gh_sb_light_name )
13951395
.then( ( setting ) =>
1396-
{
1397-
this.new_ColorPicker
1398-
(
1399-
this.app, this.plugin, elm, setting,
1400-
'gh_clr_sb_light'
1401-
)
1402-
} )
1396+
{
1397+
this.new_ColorPicker
1398+
(
1399+
this.app, this.plugin, elm, setting,
1400+
'gh_clr_sb_light'
1401+
)
1402+
} )
14031403

14041404
/*
14051405
Scrollbar Track Color (Dark)
@@ -1416,13 +1416,13 @@ export class SettingsSection extends PluginSettingTab
14161416
.setName( lng( 'cfg_tab_gh_sb_dark_name' ) )
14171417
.setDesc( cfg_tab_gh_sb_dark_desc )
14181418
.then( ( setting ) =>
1419-
{
1420-
this.new_ColorPicker
1421-
(
1422-
this.app, this.plugin, elm, setting,
1423-
'gh_clr_sb_dark'
1424-
)
1425-
} )
1419+
{
1420+
this.new_ColorPicker
1421+
(
1422+
this.app, this.plugin, elm, setting,
1423+
'gh_clr_sb_dark'
1424+
)
1425+
} )
14261426

14271427
/*
14281428
Codeblock Opacity
@@ -1900,13 +1900,13 @@ export class SettingsSection extends PluginSettingTab
19001900
.setName( lng( 'cfg_tab_sy_list_icon_name' ) )
19011901
.setDesc( cfg_tab_sy_list_icon_desc )
19021902
.then( ( setting ) =>
1903-
{
1904-
this.new_ColorPicker
1905-
(
1906-
this.app, this.plugin, elm, setting,
1907-
'sy_clr_lst_icon'
1908-
)
1909-
} )
1903+
{
1904+
this.new_ColorPicker
1905+
(
1906+
this.app, this.plugin, elm, setting,
1907+
'sy_clr_lst_icon'
1908+
)
1909+
} )
19101910

19111911
/*
19121912
Tab Footer Spacer

0 commit comments

Comments
 (0)