Browse Source

Merge pull request #534 from provokateurin/refactor/align-colors

refactor(neon): Align colors with design guidelines
pull/541/head
Kate 1 year ago committed by GitHub
parent
commit
3ded9eaa85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 {
/// Nextcloud blue.
///
/// The default primary clolor as specified by the
/// [design guidlines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#primary-color).
/// The default primary color as specified by the [design guidelines](https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#primary-color).
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.
///
/// This color is only used at the users discretion.

Loading…
Cancel
Save