|
|
@ -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. |
|
|
|