Browse Source

docs(app): document public members

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/978/head
Nikolas Rimikis 1 year ago
parent
commit
2a7ec854dd
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 1
      packages/app/lib/apps.dart
  2. 3
      packages/app/lib/branding.dart

1
packages/app/lib/apps.dart

@ -4,6 +4,7 @@ import 'package:neon_news/neon_news.dart';
import 'package:neon_notes/neon_notes.dart'; import 'package:neon_notes/neon_notes.dart';
import 'package:neon_notifications/neon_notifications.dart'; import 'package:neon_notifications/neon_notifications.dart';
/// The collection of clients enabled for the Neon app.
final Set<AppImplementation> appImplementations = { final Set<AppImplementation> appImplementations = {
FilesApp(), FilesApp(),
NewsApp(), NewsApp(),

3
packages/app/lib/branding.dart

@ -3,11 +3,13 @@ import 'dart:ui';
import 'package:neon/theme.dart'; import 'package:neon/theme.dart';
import 'package:vector_graphics/vector_graphics.dart'; import 'package:vector_graphics/vector_graphics.dart';
/// The custom theme used in the Neon app.
const neonTheme = NeonTheme( const neonTheme = NeonTheme(
branding: branding, branding: branding,
colorScheme: colorScheme, colorScheme: colorScheme,
); );
/// The custom branding used in the Neon app.
const branding = Branding( const branding = Branding(
name: 'Nextcloud Neon', name: 'Nextcloud Neon',
logo: VectorGraphic( logo: VectorGraphic(
@ -22,6 +24,7 @@ const branding = Branding(
legalese: 'Copyright © 2023, provokateurin\nUnder GPLv3 license', legalese: 'Copyright © 2023, provokateurin\nUnder GPLv3 license',
); );
/// The custom color scheme used in the Neon app.
const colorScheme = NeonColorScheme( const colorScheme = NeonColorScheme(
primary: Color(0xFFF37736), primary: Color(0xFFF37736),
); );

Loading…
Cancel
Save