mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-30 20:24:25 +00:00
* [iOS/Build] Add GoogleUtilities pod to prevent archive errors * (chore) version bump * [Git] Initialize blackbox * [Git] Initialize blackbox * [Git/Blackbox] Add me@jagandeepbrar.io as admin * registered in blackbox: ios/ExportOptions.plist * registered in blackbox: ios/GoogleService-Info.plist * registered in blackbox: android/key.properties * registered in blackbox: android/app/google-services.json * Re-encrypted keys * registered in blackbox: android/key.jks * Updated key.properties, re-encrypted * [Android/Keystore] Update same key.properties * [Tautulli/Activity] Incorrectly localized "Transcodes" string * [Radarr, UI] Implemented quick manual import, Implemented new design of ExpandableTile across UI (#378) * Use local path for radarr package * [Radarr/Manual Import] Browse filesystem, trigger quick import * [UI/Buttons] Normalize the height of all buttons * Update packages * [ListView] Exposed itemExtent property * [Lidarr/Releases] Move from LSExpandable to LunaExpandableListTile implementation * [Tautulli/Logs] Use the new expandable table card styling * [SABnzbd/History] Use the newer expandable table card styling * [NZBGet/History] Use the newer expandable table card styling * [UI/Button] Reduce size of the loader and icon to closer match text size * [Sonarr/Releases] Use the newer expandable table card styling * [Sonarr/Episodes] Use the newer expandable table card styling * [UI/Table] Safe-guard title and body text, show emdash when receiving null data * [Radarr/Details] Show monitor status and properly update the overview table on edit or monitor status changes * Updated changelog * [Sonarr/Queue & Episodes] Cleaned up implementation of expandable tile * Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (14 of 14 strings) Translation: LunaSea/LunaSea Translate-URL: https://hosted.weblate.org/projects/lunasea/lunasea/nb_NO/ * Translated using Weblate (Swedish) Currently translated at 100.0% (14 of 14 strings) Translation: LunaSea/LunaSea Translate-URL: https://hosted.weblate.org/projects/lunasea/lunasea/sv/ * Translated using Weblate (German) Currently translated at 100.0% (68 of 68 strings) Translation: LunaSea/Tautulli Translate-URL: https://hosted.weblate.org/projects/lunasea/tautulli/de/ * Translated using Weblate (Norwegian Bokmål) Currently translated at 80.8% (55 of 68 strings) Translation: LunaSea/Tautulli Translate-URL: https://hosted.weblate.org/projects/lunasea/tautulli/nb_NO/ * Translated using Weblate (Swedish) Currently translated at 100.0% (68 of 68 strings) Translation: LunaSea/Tautulli Translate-URL: https://hosted.weblate.org/projects/lunasea/tautulli/sv/ * Translated using Weblate (Russian) Currently translated at 57.3% (39 of 68 strings) Translation: LunaSea/Tautulli Translate-URL: https://hosted.weblate.org/projects/lunasea/tautulli/ru/ * (chore) Build localizations * [Tautulli/Webhooks] Implement webhook data handlers for all Tautulli webhooks (#380) * [Tautulli/Webhooks] Handle transcode decision change and watched event types * [Radarr/Sonarr] Safe-guard webhooks by pushing the home route on invalid received data blocks * [Tautulli/Webhooks] Implemented all webhooks * Translated using Weblate (French) Currently translated at 100.0% (78 of 78 strings) Translation: LunaSea/Radarr Translate-URL: https://hosted.weblate.org/projects/lunasea/radarr/fr/ * Translated using Weblate (German) Currently translated at 100.0% (78 of 78 strings) Translation: LunaSea/Radarr Translate-URL: https://hosted.weblate.org/projects/lunasea/radarr/de/ * Translated using Weblate (Russian) Currently translated at 92.8% (13 of 14 strings) Translation: LunaSea/LunaSea Translate-URL: https://hosted.weblate.org/projects/lunasea/lunasea/ru/ * [Release] (chore): Dirty v5.0.0+50000013 (#382) * [Radarr/Manual Import] Add search bar for host system path, add stub manual import page * [Radarr/Manual Import] Change path bar text to "File Browser..." * [Radarr/Manual Import] Pass "/" if textController text is null * [Radarr/Import] Stub details state * [Database] Correctly register LunaIndexerIcon hive adapter * [Radarr/Import] Filter directories when typing path, Fetch manual import results with stub cards * [UI/Bottom Bar] Abstract bottom action bar, use on add movie page * [UI/Navigation Bar] Add option to attach stickied top actions to navigation bar * [Radarr/Edit] Use stickied bottom action bar for buttons * [Radarr/Details] use sticky navigation actions for interactive and automatic search * [Dialogs] CheckboxTiles were padded too aggressively in the X-axis * [Sentry] Remove remaining references to Sentry * (chore) Build localizations * (chore) Update changelog * Preparing to shift GitHub repository structure Co-authored-by: Allan Nordhøy <epost@anotheragency.no> Co-authored-by: Patrik Hauguth <patrik.hauguth@gmail.com> Co-authored-by: cpt-kuesel <jln.sltr@pm.me> Co-authored-by: Artem <KovalevArtem.ru@gmail.com> Co-authored-by: Antoine C <contact+weblate@antoinecardon.fr>
63 lines
2.5 KiB
Dart
63 lines
2.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:lunasea/core.dart';
|
|
export 'ui/appbar.dart';
|
|
export 'ui/bottom_bar.dart';
|
|
export 'ui/bottom_modal_sheet.dart';
|
|
export 'ui/button.dart';
|
|
export 'ui/card.dart';
|
|
export 'ui/colors.dart';
|
|
export 'ui/containers.dart';
|
|
export 'ui/controllers.dart';
|
|
export 'ui/decoration.dart';
|
|
export 'ui/deprecated.dart';
|
|
export 'ui/divider.dart';
|
|
export 'ui/drawer.dart';
|
|
export 'ui/header.dart';
|
|
export 'ui/highlighted_node.dart';
|
|
export 'ui/icons.dart';
|
|
export 'ui/input_bar.dart';
|
|
export 'ui/list_tile.dart';
|
|
export 'ui/list_view.dart';
|
|
export 'ui/loader.dart';
|
|
export 'ui/message.dart';
|
|
export 'ui/network_image.dart';
|
|
export 'ui/popup_menu_button.dart';
|
|
export 'ui/refresh_indicator.dart';
|
|
export 'ui/shape.dart';
|
|
export 'ui/sliver_sticky_header.dart';
|
|
export 'ui/snackbar.dart';
|
|
export 'ui/switch.dart';
|
|
export 'ui/table.dart';
|
|
export 'ui/text.dart';
|
|
export 'ui/theme.dart';
|
|
|
|
class LunaUI {
|
|
// Text Constants
|
|
static const String TEXT_ARROW_LEFT = '←';
|
|
static const String TEXT_ARROW_RIGHT = '→';
|
|
static const String TEXT_BULLET = '•';
|
|
static const String TEXT_ELLIPSIS = '…';
|
|
static const String TEXT_EMDASH = '—';
|
|
// Font-Related
|
|
static const double FONT_SIZE_APP_BAR = 18.0;
|
|
static const double FONT_SIZE_BUTTON = 14.0;
|
|
static const double FONT_SIZE_GRAPH_LEGEND = 10.0;
|
|
static const double FONT_SIZE_HEADER = 18.0;
|
|
static const double FONT_SIZE_HIGHLIGHTED_NODE = 12.0;
|
|
static const double FONT_SIZE_MESSAGES = 16.0;
|
|
static const double FONT_SIZE_NAVIGATION_BAR = 13.0;
|
|
static const double FONT_SIZE_SUBHEADER = 12.0;
|
|
static const double FONT_SIZE_SUBTITLE = 13.0;
|
|
static const double FONT_SIZE_TITLE = 16.0;
|
|
static const FontWeight FONT_WEIGHT_BOLD = FontWeight.w600;
|
|
// UI-Related
|
|
static const int ANIMATION_SPEED = 250;
|
|
static const int ANIMATION_IMAGE_FADE_IN_SPEED = 125;
|
|
static const double BORDER_RADIUS = 10.0;
|
|
static const double ELEVATION = 0.0;
|
|
static const EdgeInsets MARGIN_CARD = const EdgeInsets.symmetric(horizontal: 12.0, vertical: 6.0);
|
|
// Border-Related
|
|
static bool get shouldUseBorder => LunaDatabaseValue.THEME_AMOLED.data && LunaDatabaseValue.THEME_AMOLED_BORDER.data;
|
|
static ShapeBorder get shapeBorder => shouldUseBorder ? LunaShapeBorder.roundedWithBorder() : LunaShapeBorder.rounded();
|
|
}
|