chore: add proton theme [skip e2e]
This commit is contained in:
@@ -28,6 +28,7 @@ export class NativeFeatureIdentifier extends ValueObject<NativeFeatureIdentifier
|
||||
MidnightTheme: 'org.standardnotes.theme-midnight',
|
||||
SolarizedDarkTheme: 'org.standardnotes.theme-solarized-dark',
|
||||
TitaniumTheme: 'org.standardnotes.theme-titanium',
|
||||
ProtonTheme: 'com.standardnotes.theme-proton',
|
||||
|
||||
PlainEditor: 'com.standardnotes.plain-text',
|
||||
SuperEditor: 'com.standardnotes.super-editor',
|
||||
|
||||
@@ -97,5 +97,18 @@ export function themes(): ThemeFeatureDescription[] {
|
||||
no_mobile: true,
|
||||
})
|
||||
|
||||
return [midnight, futura, solarizedDark, autobiography, dark, titanium, dynamic]
|
||||
const proton: ThemeFeatureDescription = FillThemeComponentDefaults({
|
||||
availableInRoles: [RoleName.NAMES.PlusUser, RoleName.NAMES.ProUser],
|
||||
name: 'Proton',
|
||||
identifier: NativeFeatureIdentifier.TYPES.ProtonTheme,
|
||||
permission_name: PermissionName.ProtonTheme,
|
||||
dock_icon: {
|
||||
type: 'circle',
|
||||
background_color: '#16141c',
|
||||
foreground_color: '#ffffff',
|
||||
border_color: '#4a4658',
|
||||
},
|
||||
})
|
||||
|
||||
return [midnight, futura, solarizedDark, autobiography, dark, proton, titanium, dynamic]
|
||||
}
|
||||
|
||||
@@ -40,4 +40,5 @@ export enum PermissionName {
|
||||
Clipper = 'app:clipper',
|
||||
Vaults = 'app:vaults',
|
||||
SharedVaults = 'server:shared-vaults',
|
||||
ProtonTheme = 'theme:proton',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user