/*
 * Copyright (c) 2026 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export default class CommonConstants {
  static readonly COLOR_PRIMARY = '#4A90E2';
  static readonly COLOR_BACKGROUND = '#F7F8FA';
  static readonly COLOR_WHITE = '#FFFFFF';
  static readonly COLOR_TEXT_GRAY = '#666666';
  static readonly COLOR_TEXT_PRIMARY = '#333333';
  static readonly COLOR_DANGER = '#FF3B30';
  static readonly COLOR_WARNING = '#FF9500';
  static readonly COLOR_SUCCESS = '#34C759';
  static readonly FONT_SIZE_SMALL = 12;
  static readonly FONT_SIZE_NORMAL = 14;
  static readonly FONT_SIZE_TITLE = 18;
  static readonly FONT_SIZE_LARGE = 24;
  static readonly FULL_WIDTH = '100%';
  static readonly FULL_HEIGHT = '100%';
  static readonly DEFAULT_MARGIN = 10;
  static readonly DEFAULT_PADDING = 15;
  static readonly BORDER_RADIUS_SMALL = 8;
  static readonly BORDER_RADIUS_LARGE = 16;
  static readonly KEY_USER_ID = 'current_user_id';
  static readonly KEY_APP_ACCOUNT = 'app_account';
  static readonly KEY_APP_PASSWORD = 'app_password';
  static readonly KEY_CUSTOM_CATEGORIES = 'custom_categories';
  static readonly TEXT_LOGIN_SUCCESS = '登录成功';
  static readonly TEXT_LOGIN_FAILED = '账号或密码错误';
  static readonly TEXT_REGISTER_SUCCESS = '注册成功,请登录';
  static readonly TEXT_DELETE_CONFIRM = '确定要删除吗?';
  static readonly DATE_FORMAT = 'YYYY-MM-DD';
}