@@ -35,7 +35,7 @@ import { IProductService } from 'vs/platform/product/common/productService';
3535import { IStorageService , StorageScope } from 'vs/platform/storage/common/storage' ;
3636import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry' ;
3737import { badgeBackground , badgeForeground , contrastBorder , editorForeground } from 'vs/platform/theme/common/colorRegistry' ;
38- import { attachStylerCallback } from 'vs/platform/theme/common/styler' ;
38+ import { attachStylerCallback , attachButtonStyler } from 'vs/platform/theme/common/styler' ;
3939import { IThemeService } from 'vs/platform/theme/common/themeService' ;
4040import { IStorageKeysSyncRegistryService } from 'vs/platform/userDataSync/common/storageKeys' ;
4141import { getUserDataSyncStore , IUserDataSyncService , SyncStatus , IUserDataAutoSyncService } from 'vs/platform/userDataSync/common/userDataSync' ;
@@ -1402,13 +1402,15 @@ class SyncControls extends Disposable {
14021402 container : HTMLElement ,
14031403 @ICommandService private readonly commandService : ICommandService ,
14041404 @IUserDataSyncService private readonly userDataSyncService : IUserDataSyncService ,
1405- @IUserDataAutoSyncService private readonly userDataAutoSyncService : IUserDataAutoSyncService
1405+ @IUserDataAutoSyncService private readonly userDataAutoSyncService : IUserDataAutoSyncService ,
1406+ @IThemeService themeService : IThemeService ,
14061407 ) {
14071408 super ( ) ;
14081409
14091410 const headerRightControlsContainer = DOM . append ( container , $ ( '.settings-right-controls' ) ) ;
14101411 const turnOnSyncButtonContainer = DOM . append ( headerRightControlsContainer , $ ( '.turn-on-sync' ) ) ;
14111412 this . turnOnSyncButton = this . _register ( new Button ( turnOnSyncButtonContainer , { title : true } ) ) ;
1413+ this . _register ( attachButtonStyler ( this . turnOnSyncButton , themeService ) ) ;
14121414 this . lastSyncedLabel = DOM . append ( headerRightControlsContainer , $ ( '.last-synced-label' ) ) ;
14131415 DOM . hide ( this . lastSyncedLabel ) ;
14141416
0 commit comments