Refactor theme system and remove unused platforms

- Overhaul theme system with Svrnty design and WCAG AAA compliance
- Remove android, macos, and web platform files (iOS-only focus)
- Update components with improved dark mode map and UI refinements
- Enhance settings page with additional configuration options
- Add theme system documentation in lib/theme/README.md
- Update CLAUDE.md with comprehensive theme guidelines

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-26 14:47:51 -05:00
parent 554b26cfd1
commit edb106a7fd
102 changed files with 1225 additions and 2785 deletions
+10 -3
View File
@@ -32,9 +32,16 @@ class GrpcCqrsApiClient {
ClientChannel get channel {
if (_channel == null) {
final credentials = config.useTls
? const ChannelCredentials.secure()
: const ChannelCredentials.insecure();
final ChannelCredentials credentials;
if (!config.useTls) {
credentials = const ChannelCredentials.insecure();
} else if (config.allowSelfSignedCertificate) {
credentials = ChannelCredentials.secure(
onBadCertificate: (certificate, host) => true,
);
} else {
credentials = const ChannelCredentials.secure();
}
_channel = ClientChannel(
config.host,
+3 -3
View File
@@ -34,12 +34,12 @@ class GrpcConfig {
/// Development configuration pointing to local/development gRPC server.
///
/// Uses plaintext (insecure) credentials for development convenience.
/// Uses TLS with self-signed certificate support for local HTTPS.
static const GrpcConfig development = GrpcConfig(
host: '192.168.88.228',
host: 'localhost',
port: 5011,
timeout: Duration(seconds: 30),
useTls: false,
useTls: true,
allowSelfSignedCertificate: true,
);