Browse Source

refactor(neon): Align colors with design guidelines

pull/534/head
jld3103 1 year ago
parent
commit
6c22b8f9e5
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 18
      packages/neon/neon/lib/src/theme/colors.dart

18
packages/neon/neon/lib/src/theme/colors.dart

@ -6,10 +6,24 @@ import 'package:nextcloud/nextcloud.dart';
abstract final class NcColors { abstract final class NcColors {
/// Nextcloud blue. /// Nextcloud blue.
/// ///
/// The default primary clolor as specified by the /// The default primary color as specified by the [design guidelines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#primary-color).
/// [design guidlines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#primary-color).
static const Color primary = Color(0xFF0082C9); static const Color primary = Color(0xFF0082C9);
/// Nextcloud success.
///
/// The success color as specified by the [design guidelines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#status-and-indicators).
static const Color success = Colors.green;
/// Nextcloud error.
///
/// The error color as specified by the [design guidelines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#status-and-indicators).
static const Color error = Colors.red;
/// Nextcloud warning.
///
/// The warning color as specified by the [design guidelines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#status-and-indicators).
static const Color warning = Colors.orange;
/// The [ColorScheme.background] color used on OLED devices. /// The [ColorScheme.background] color used on OLED devices.
/// ///
/// This color is only used at the users discretion. /// This color is only used at the users discretion.

Loading…
Cancel
Save