diff --git a/android/app/build.gradle b/android/app/build.gradle index c878657..d037c6d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -42,20 +42,33 @@ android { } defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "work.master.qinglongapp" minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName ndk { - abiFilters 'armeabi-v7a' + abiFilters 'armeabi-v7a', 'arm64-v8a' } } + signingConfigs { + + release { + storeFile file("qinglong.jks") + storePassword "jiangyuesong" + keyAlias "jiangyuesong" + keyPassword "jiangyuesong" + + // Optional, specify signing versions used + v1SigningEnabled true + v2SigningEnabled true + } + } buildTypes { release { - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug + signingConfig signingConfigs.release } } } diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index dab2770..c53e71f 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.example.qinglong_app"> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6ba9232..d5f9a14 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,37 +1,28 @@ - - - - - - - - - - + + android:icon="@mipmap/ic_launcher"> + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> - - + + - - - - - - - \ No newline at end of file + + + + + diff --git a/android/app/src/main/res/drawable-xhdpi/splash.png b/android/app/src/main/res/drawable-xhdpi/splash.png deleted file mode 100644 index 653ed9f..0000000 Binary files a/android/app/src/main/res/drawable-xhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxhdpi/splash.png b/android/app/src/main/res/drawable-xxhdpi/splash.png deleted file mode 100644 index d45c476..0000000 Binary files a/android/app/src/main/res/drawable-xxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/splash.png b/android/app/src/main/res/drawable-xxxhdpi/splash.png deleted file mode 100644 index 0c4a272..0000000 Binary files a/android/app/src/main/res/drawable-xxxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/background.png b/android/app/src/main/res/drawable/background.png deleted file mode 100644 index e29b3b5..0000000 Binary files a/android/app/src/main/res/drawable/background.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml index 3fe6b2e..304732f 100644 --- a/android/app/src/main/res/drawable/launch_background.xml +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -1,9 +1,12 @@ + - - - - - - - \ No newline at end of file + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index d6f1ea8..db77bb4 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index 8d1ae9e..17987b7 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 69e3066..09d4391 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 7597f73..d5f1c8d 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 31610cc..4d6372e 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml index 55d3df9..3db14bb 100644 --- a/android/app/src/main/res/values-night/styles.xml +++ b/android/app/src/main/res/values-night/styles.xml @@ -5,7 +5,6 @@ @drawable/launch_background - false @drawable/launch_background - false diff --git a/ios/Podfile b/ios/Podfile index dc28c19..1e8c3c9 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -3,7 +3,7 @@ # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' -platform :ios, '9.0' + project 'Runner', { 'Debug' => :debug, 'Profile' => :release, diff --git a/ios/Podfile.lock b/ios/Podfile.lock deleted file mode 100644 index fb6eca4..0000000 --- a/ios/Podfile.lock +++ /dev/null @@ -1,53 +0,0 @@ -PODS: - - Flutter (1.0.0) - - fluttertoast (0.0.2): - - Flutter - - Toast - - move_to_background (0.0.1): - - Flutter - - package_info_plus (0.4.5): - - Flutter - - shared_preferences_ios (0.0.1): - - Flutter - - Toast (4.0.0) - - url_launcher_ios (0.0.1): - - Flutter - -DEPENDENCIES: - - Flutter (from `Flutter`) - - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`) - - move_to_background (from `.symlinks/plugins/move_to_background/ios`) - - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`) - - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - -SPEC REPOS: - trunk: - - Toast - -EXTERNAL SOURCES: - Flutter: - :path: Flutter - fluttertoast: - :path: ".symlinks/plugins/fluttertoast/ios" - move_to_background: - :path: ".symlinks/plugins/move_to_background/ios" - package_info_plus: - :path: ".symlinks/plugins/package_info_plus/ios" - shared_preferences_ios: - :path: ".symlinks/plugins/shared_preferences_ios/ios" - url_launcher_ios: - :path: ".symlinks/plugins/url_launcher_ios/ios" - -SPEC CHECKSUMS: - Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - fluttertoast: 6122fa75143e992b1d3470f61000f591a798cc58 - move_to_background: 39a5b79b26d577b0372cbe8a8c55e7aa9fcd3a2d - package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e - shared_preferences_ios: aef470a42dc4675a1cdd50e3158b42e3d1232b32 - Toast: 91b396c56ee72a5790816f40d3a94dd357abc196 - url_launcher_ios: 02f1989d4e14e998335b02b67a7590fa34f971af - -PODFILE CHECKSUM: aea2ed8a4b05dec076f6f7cea39202b1133ed51c - -COCOAPODS: 1.11.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 8300e26..06625cf 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -3,12 +3,11 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 50; objects = { /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 2E5B253B8F6E332504CD094A /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8A94003E0C6A5209401E856 /* Pods_Runner.framework */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; @@ -33,7 +32,6 @@ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 6FAEBE56016E57C6396F6C5D /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; @@ -44,9 +42,6 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B72F12A63B85459532204337 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - BE9194DCED1166C78BAC3036 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - D8A94003E0C6A5209401E856 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -54,31 +49,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2E5B253B8F6E332504CD094A /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 2CC5BF901E47A28826DC8B92 /* Pods */ = { - isa = PBXGroup; - children = ( - 6FAEBE56016E57C6396F6C5D /* Pods-Runner.debug.xcconfig */, - B72F12A63B85459532204337 /* Pods-Runner.release.xcconfig */, - BE9194DCED1166C78BAC3036 /* Pods-Runner.profile.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; - 6AC682C528FC3A77A86CCA78 /* Frameworks */ = { - isa = PBXGroup; - children = ( - D8A94003E0C6A5209401E856 /* Pods_Runner.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( @@ -96,8 +72,6 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, - 2CC5BF901E47A28826DC8B92 /* Pods */, - 6AC682C528FC3A77A86CCA78 /* Frameworks */, ); sourceTree = ""; }; @@ -131,14 +105,12 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - 8CB7F14EC4C8F4D08BD21907 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 8939D68CBA57A50D249AF20A /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -211,45 +183,6 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 8939D68CBA57A50D249AF20A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8CB7F14EC4C8F4D08BD21907 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -341,7 +274,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = ""; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -363,8 +295,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = work.master.qinglongApp; + PRODUCT_BUNDLE_IDENTIFIER = com.example.qinglongApp; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -422,7 +353,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = ""; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -471,7 +401,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = ""; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; @@ -495,8 +424,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = work.master.qinglongApp; + PRODUCT_BUNDLE_IDENTIFIER = com.example.qinglongApp; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -519,8 +447,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = work.master.qinglongApp; + PRODUCT_BUNDLE_IDENTIFIER = com.example.qinglongApp; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner 1.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner 1.xcscheme deleted file mode 100644 index 1425b81..0000000 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner 1.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata index 21a3cc1..1d526a1 100644 --- a/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,7 +4,4 @@ - - diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png index 5621d7b..dc9ada4 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png index 966d070..28c6bf0 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png index 4b200ac..2ccbfd9 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png index b827f87..f091b6b 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png index b6d9490..4cde121 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png index 67133b3..d0ef06e 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png index fca047f..dcdc230 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png index 4b200ac..2ccbfd9 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png index 982a653..c8f9ed8 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png index 7252cc1..a6d6b86 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png index 7252cc1..a6d6b86 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png index 89d5776..75b2d16 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png index 710c1ba..c4df70d 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png index 9d1e98c..6a84f41 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png index 5135171..d0e1f58 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/ios/Runner/Assets.xcassets/BrandingImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/BrandingImage.imageset/Contents.json deleted file mode 100644 index 1271227..0000000 --- a/ios/Runner/Assets.xcassets/BrandingImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "filename" : "BrandingImage.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "filename" : "BrandingImage@2x.png", - "idiom" : "universal", - "scale" : "2x" - }, - { - "filename" : "BrandingImage@3x.png", - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json deleted file mode 100644 index fa31327..0000000 --- a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "images" : [ - { - "filename" : "background.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "filename" : "darkbackground.png", - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png deleted file mode 100644 index e29b3b5..0000000 Binary files a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png and /dev/null differ diff --git a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png b/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png deleted file mode 100644 index 1b5df34..0000000 Binary files a/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png and /dev/null differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json index 00cabce..0bedcf2 100644 --- a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -1,23 +1,23 @@ { "images" : [ { - "filename" : "LaunchImage.png", "idiom" : "universal", + "filename" : "LaunchImage.png", "scale" : "1x" }, { - "filename" : "LaunchImage@2x.png", "idiom" : "universal", + "filename" : "LaunchImage@2x.png", "scale" : "2x" }, { - "filename" : "LaunchImage@3x.png", "idiom" : "universal", + "filename" : "LaunchImage@3x.png", "scale" : "3x" } ], "info" : { - "author" : "xcode", - "version" : 1 + "version" : 1, + "author" : "xcode" } } diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png index cda15ae..9da19ea 100644 Binary files a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png index 653ed9f..9da19ea 100644 Binary files a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png index d45c476..9da19ea 100644 Binary files a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard index bcff5e2..f2e259c 100644 --- a/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -16,19 +16,13 @@ - - + + - - - - - - - - + + @@ -38,7 +32,6 @@ - - + - \ No newline at end of file + diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 54ed265..36dd84c 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - 青龙 + Qinglong App CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - 青龙 + qinglong_app CFBundlePackageType APPL CFBundleShortVersionString @@ -28,11 +28,6 @@ LaunchScreen UIMainStoryboardFile Main - LSApplicationQueriesSchemes - - https - http - UISupportedInterfaceOrientations UIInterfaceOrientationPortrait @@ -48,7 +43,5 @@ UIViewControllerBasedStatusBarAppearance - UIStatusBarHidden - diff --git a/lib/base/ui/highlight/flutter_highlight.dart b/lib/base/ui/highlight/flutter_highlight.dart deleted file mode 100644 index d2ebbd9..0000000 --- a/lib/base/ui/highlight/flutter_highlight.dart +++ /dev/null @@ -1,103 +0,0 @@ -import 'dart:ui'; - -import 'package:flutter/material.dart'; -import 'package:flutter/widgets.dart'; -import 'package:highlight/highlight.dart' show highlight, Node; - -/// Highlight Flutter Widget -class HighlightView extends StatelessWidget { - /// The original code to be highlighted - final String source; - - /// Highlight language - /// - /// It is recommended to give it a value for performance - /// - /// [All available languages](https://github.com/pd4d10/highlight/tree/master/highlight/lib/languages) - final String? language; - - /// Highlight theme - /// - /// [All available themes](https://github.com/pd4d10/highlight/blob/master/flutter_highlight/lib/themes) - final Map theme; - - /// Padding - final EdgeInsetsGeometry? padding; - - /// Text styles - /// - /// Specify text styles such as font family and font size - final TextStyle? textStyle; - - HighlightView( - String input, { - this.language, - this.theme = const {}, - this.padding, - this.textStyle, - int tabSize = 8, // TODO: https://github.com/flutter/flutter/issues/50087 - }) : source = input.replaceAll('\t', ' ' * tabSize); - - List _convert(List nodes) { - List spans = []; - var currentSpans = spans; - List> stack = []; - - _traverse(Node node) { - if (node.value != null) { - currentSpans.add(node.className == null ? TextSpan(text: node.value) : TextSpan(text: node.value, style: theme[node.className!])); - } else if (node.children != null) { - List tmp = []; - currentSpans.add(TextSpan(children: tmp, style: theme[node.className!])); - stack.add(currentSpans); - currentSpans = tmp; - - node.children!.forEach((n) { - _traverse(n); - if (n == node.children!.last) { - currentSpans = stack.isEmpty ? spans : stack.removeLast(); - } - }); - } - } - - for (var node in nodes) { - _traverse(node); - } - - return spans; - } - - static const _rootKey = 'root'; - static const _defaultFontColor = Color(0xff000000); - static const _defaultBackgroundColor = Color(0xffffffff); - - // TODO: dart:io is not available at web platform currently - // See: https://github.com/flutter/flutter/issues/39998 - // So we just use monospace here for now - static const _defaultFontFamily = 'monospace'; - - @override - Widget build(BuildContext context) { - var _textStyle = TextStyle( - fontFamily: _defaultFontFamily, - color: theme[_rootKey]?.color ?? _defaultFontColor, - ); - if (textStyle != null) { - _textStyle = _textStyle.merge(textStyle); - } - - return Container( - color: theme[_rootKey]?.backgroundColor ?? _defaultBackgroundColor, - padding: padding, - child: SelectableText.rich( - TextSpan( - style: _textStyle, - children: _convert(highlight.parse(source, language: language).nodes!), - ), - selectionWidthStyle: BoxWidthStyle.max, - selectionHeightStyle: BoxHeightStyle.max, - ), - ); - } -} diff --git a/lib/base/ui/highlight/theme_map.dart b/lib/base/ui/highlight/theme_map.dart deleted file mode 100644 index dbfa044..0000000 --- a/lib/base/ui/highlight/theme_map.dart +++ /dev/null @@ -1,185 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'themes/a11y-dark.dart'; -import 'themes/a11y-light.dart'; -import 'themes/agate.dart'; -import 'themes/an-old-hope.dart'; -import 'themes/androidstudio.dart'; -import 'themes/arduino-light.dart'; -import 'themes/arta.dart'; -import 'themes/ascetic.dart'; -import 'themes/atelier-cave-dark.dart'; -import 'themes/atelier-cave-light.dart'; -import 'themes/atelier-dune-dark.dart'; -import 'themes/atelier-dune-light.dart'; -import 'themes/atelier-estuary-dark.dart'; -import 'themes/atelier-estuary-light.dart'; -import 'themes/atelier-forest-dark.dart'; -import 'themes/atelier-forest-light.dart'; -import 'themes/atelier-heath-dark.dart'; -import 'themes/atelier-heath-light.dart'; -import 'themes/atelier-lakeside-dark.dart'; -import 'themes/atelier-lakeside-light.dart'; -import 'themes/atelier-plateau-dark.dart'; -import 'themes/atelier-plateau-light.dart'; -import 'themes/atelier-savanna-dark.dart'; -import 'themes/atelier-savanna-light.dart'; -import 'themes/atelier-seaside-dark.dart'; -import 'themes/atelier-seaside-light.dart'; -import 'themes/atelier-sulphurpool-dark.dart'; -import 'themes/atelier-sulphurpool-light.dart'; -import 'themes/atom-one-dark-reasonable.dart'; -import 'themes/atom-one-dark.dart'; -import 'themes/atom-one-light.dart'; -import 'themes/brown-paper.dart'; -import 'themes/codepen-embed.dart'; -import 'themes/color-brewer.dart'; -import 'themes/darcula.dart'; -import 'themes/dark.dart'; -import 'themes/default.dart'; -import 'themes/docco.dart'; -import 'themes/dracula.dart'; -import 'themes/far.dart'; -import 'themes/foundation.dart'; -import 'themes/github-gist.dart'; -import 'themes/github.dart'; -import 'themes/gml.dart'; -import 'themes/googlecode.dart'; -import 'themes/gradient-dark.dart'; -import 'themes/grayscale.dart'; -import 'themes/gruvbox-dark.dart'; -import 'themes/gruvbox-light.dart'; -import 'themes/hopscotch.dart'; -import 'themes/hybrid.dart'; -import 'themes/idea.dart'; -import 'themes/ir-black.dart'; -import 'themes/isbl-editor-dark.dart'; -import 'themes/isbl-editor-light.dart'; -import 'themes/kimbie.dark.dart'; -import 'themes/kimbie.light.dart'; -import 'themes/lightfair.dart'; -import 'themes/magula.dart'; -import 'themes/mono-blue.dart'; -import 'themes/monokai-sublime.dart'; -import 'themes/monokai.dart'; -import 'themes/night-owl.dart'; -import 'themes/nord.dart'; -import 'themes/obsidian.dart'; -import 'themes/ocean.dart'; -import 'themes/paraiso-dark.dart'; -import 'themes/paraiso-light.dart'; -import 'themes/pojoaque.dart'; -import 'themes/purebasic.dart'; -import 'themes/qtcreator_dark.dart'; -import 'themes/qtcreator_light.dart'; -import 'themes/railscasts.dart'; -import 'themes/rainbow.dart'; -import 'themes/routeros.dart'; -import 'themes/school-book.dart'; -import 'themes/shades-of-purple.dart'; -import 'themes/solarized-dark.dart'; -import 'themes/solarized-light.dart'; -import 'themes/sunburst.dart'; -import 'themes/tomorrow-night-blue.dart'; -import 'themes/tomorrow-night-bright.dart'; -import 'themes/tomorrow-night-eighties.dart'; -import 'themes/tomorrow-night.dart'; -import 'themes/tomorrow.dart'; -import 'themes/vs.dart'; -import 'themes/vs2015.dart'; -import 'themes/xcode.dart'; -import 'themes/xt256.dart'; -import 'themes/zenburn.dart'; - -const themeMap = { - 'a11y-dark': a11yDarkTheme, - 'a11y-light': a11yLightTheme, - 'agate': agateTheme, - 'an-old-hope': anOldHopeTheme, - 'androidstudio': androidstudioTheme, - 'arduino-light': arduinoLightTheme, - 'arta': artaTheme, - 'ascetic': asceticTheme, - 'atelier-cave-dark': atelierCaveDarkTheme, - 'atelier-cave-light': atelierCaveLightTheme, - 'atelier-dune-dark': atelierDuneDarkTheme, - 'atelier-dune-light': atelierDuneLightTheme, - 'atelier-estuary-dark': atelierEstuaryDarkTheme, - 'atelier-estuary-light': atelierEstuaryLightTheme, - 'atelier-forest-dark': atelierForestDarkTheme, - 'atelier-forest-light': atelierForestLightTheme, - 'atelier-heath-dark': atelierHeathDarkTheme, - 'atelier-heath-light': atelierHeathLightTheme, - 'atelier-lakeside-dark': atelierLakesideDarkTheme, - 'atelier-lakeside-light': atelierLakesideLightTheme, - 'atelier-plateau-dark': atelierPlateauDarkTheme, - 'atelier-plateau-light': atelierPlateauLightTheme, - 'atelier-savanna-dark': atelierSavannaDarkTheme, - 'atelier-savanna-light': atelierSavannaLightTheme, - 'atelier-seaside-dark': atelierSeasideDarkTheme, - 'atelier-seaside-light': atelierSeasideLightTheme, - 'atelier-sulphurpool-dark': atelierSulphurpoolDarkTheme, - 'atelier-sulphurpool-light': atelierSulphurpoolLightTheme, - 'atom-one-dark-reasonable': atomOneDarkReasonableTheme, - 'atom-one-dark': atomOneDarkTheme, - 'atom-one-light': atomOneLightTheme, - 'brown-paper': brownPaperTheme, - 'codepen-embed': codepenEmbedTheme, - 'color-brewer': colorBrewerTheme, - 'darcula': darculaTheme, - 'dark': darkTheme, - 'default': defaultTheme, - 'docco': doccoTheme, - 'dracula': draculaTheme, - 'far': farTheme, - 'foundation': foundationTheme, - 'github-gist': githubGistTheme, - 'github': githubTheme, - 'gml': gmlTheme, - 'googlecode': googlecodeTheme, - 'gradient-dark': gradientDarkTheme, - 'grayscale': grayscaleTheme, - 'gruvbox-dark': gruvboxDarkTheme, - 'gruvbox-light': gruvboxLightTheme, - 'hopscotch': hopscotchTheme, - 'hybrid': hybridTheme, - 'idea': ideaTheme, - 'ir-black': irBlackTheme, - 'isbl-editor-dark': isblEditorDarkTheme, - 'isbl-editor-light': isblEditorLightTheme, - 'kimbie.dark': kimbieDarkTheme, - 'kimbie.light': kimbieLightTheme, - 'lightfair': lightfairTheme, - 'magula': magulaTheme, - 'mono-blue': monoBlueTheme, - 'monokai-sublime': monokaiSublimeTheme, - 'monokai': monokaiTheme, - 'night-owl': nightOwlTheme, - 'nord': nordTheme, - 'obsidian': obsidianTheme, - 'ocean': oceanTheme, - 'paraiso-dark': paraisoDarkTheme, - 'paraiso-light': paraisoLightTheme, - 'pojoaque': pojoaqueTheme, - 'purebasic': purebasicTheme, - 'qtcreator_dark': qtcreatorDarkTheme, - 'qtcreator_light': qtcreatorLightTheme, - 'railscasts': railscastsTheme, - 'rainbow': rainbowTheme, - 'routeros': routerosTheme, - 'school-book': schoolBookTheme, - 'shades-of-purple': shadesOfPurpleTheme, - 'solarized-dark': solarizedDarkTheme, - 'solarized-light': solarizedLightTheme, - 'sunburst': sunburstTheme, - 'tomorrow-night-blue': tomorrowNightBlueTheme, - 'tomorrow-night-bright': tomorrowNightBrightTheme, - 'tomorrow-night-eighties': tomorrowNightEightiesTheme, - 'tomorrow-night': tomorrowNightTheme, - 'tomorrow': tomorrowTheme, - 'vs': vsTheme, - 'vs2015': vs2015Theme, - 'xcode': xcodeTheme, - 'xt256': xt256Theme, - 'zenburn': zenburnTheme, -}; diff --git a/lib/base/ui/highlight/themes/a11y-dark.dart b/lib/base/ui/highlight/themes/a11y-dark.dart deleted file mode 100644 index 75324ea..0000000 --- a/lib/base/ui/highlight/themes/a11y-dark.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const a11yDarkTheme = { - 'comment': TextStyle(color: Color(0xffd4d0ab)), - 'quote': TextStyle(color: Color(0xffd4d0ab)), - 'variable': TextStyle(color: Color(0xffffa07a)), - 'template-variable': TextStyle(color: Color(0xffffa07a)), - 'tag': TextStyle(color: Color(0xffffa07a)), - 'name': TextStyle(color: Color(0xffffa07a)), - 'selector-id': TextStyle(color: Color(0xffffa07a)), - 'selector-class': TextStyle(color: Color(0xffffa07a)), - 'regexp': TextStyle(color: Color(0xffffa07a)), - 'deletion': TextStyle(color: Color(0xffffa07a)), - 'number': TextStyle(color: Color(0xfff5ab35)), - 'built_in': TextStyle(color: Color(0xfff5ab35)), - 'builtin-name': TextStyle(color: Color(0xfff5ab35)), - 'literal': TextStyle(color: Color(0xfff5ab35)), - 'type': TextStyle(color: Color(0xfff5ab35)), - 'params': TextStyle(color: Color(0xfff5ab35)), - 'meta': TextStyle(color: Color(0xfff5ab35)), - 'link': TextStyle(color: Color(0xfff5ab35)), - 'attribute': TextStyle(color: Color(0xffffd700)), - 'string': TextStyle(color: Color(0xffabe338)), - 'symbol': TextStyle(color: Color(0xffabe338)), - 'bullet': TextStyle(color: Color(0xffabe338)), - 'addition': TextStyle(color: Color(0xffabe338)), - 'title': TextStyle(color: Color(0xff00e0e0)), - 'section': TextStyle(color: Color(0xff00e0e0)), - 'keyword': TextStyle(color: Color(0xffdcc6e0)), - 'selector-tag': TextStyle(color: Color(0xffdcc6e0)), - 'root': - TextStyle(backgroundColor: Color(0xff2b2b2b), color: Color(0xfff8f8f2)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/a11y-light.dart b/lib/base/ui/highlight/themes/a11y-light.dart deleted file mode 100644 index 3874dc0..0000000 --- a/lib/base/ui/highlight/themes/a11y-light.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const a11yLightTheme = { - 'comment': TextStyle(color: Color(0xff696969)), - 'quote': TextStyle(color: Color(0xff696969)), - 'variable': TextStyle(color: Color(0xffd91e18)), - 'template-variable': TextStyle(color: Color(0xffd91e18)), - 'tag': TextStyle(color: Color(0xffd91e18)), - 'name': TextStyle(color: Color(0xffd91e18)), - 'selector-id': TextStyle(color: Color(0xffd91e18)), - 'selector-class': TextStyle(color: Color(0xffd91e18)), - 'regexp': TextStyle(color: Color(0xffd91e18)), - 'deletion': TextStyle(color: Color(0xffd91e18)), - 'number': TextStyle(color: Color(0xffaa5d00)), - 'built_in': TextStyle(color: Color(0xffaa5d00)), - 'builtin-name': TextStyle(color: Color(0xffaa5d00)), - 'literal': TextStyle(color: Color(0xffaa5d00)), - 'type': TextStyle(color: Color(0xffaa5d00)), - 'params': TextStyle(color: Color(0xffaa5d00)), - 'meta': TextStyle(color: Color(0xffaa5d00)), - 'link': TextStyle(color: Color(0xffaa5d00)), - 'attribute': TextStyle(color: Color(0xffaa5d00)), - 'string': TextStyle(color: Color(0xff008000)), - 'symbol': TextStyle(color: Color(0xff008000)), - 'bullet': TextStyle(color: Color(0xff008000)), - 'addition': TextStyle(color: Color(0xff008000)), - 'title': TextStyle(color: Color(0xff007faa)), - 'section': TextStyle(color: Color(0xff007faa)), - 'keyword': TextStyle(color: Color(0xff7928a1)), - 'selector-tag': TextStyle(color: Color(0xff7928a1)), - 'root': - TextStyle(backgroundColor: Color(0xfffefefe), color: Color(0xff545454)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/agate.dart b/lib/base/ui/highlight/themes/agate.dart deleted file mode 100644 index 2fe437c..0000000 --- a/lib/base/ui/highlight/themes/agate.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const agateTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff333333), color: Color(0xffffffff)), - 'name': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'code': TextStyle(fontStyle: FontStyle.italic, color: Color(0xff888888)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'tag': TextStyle(color: Color(0xff62c8f3)), - 'variable': TextStyle(color: Color(0xffade5fc)), - 'template-variable': TextStyle(color: Color(0xffade5fc)), - 'selector-id': TextStyle(color: Color(0xffade5fc)), - 'selector-class': TextStyle(color: Color(0xffade5fc)), - 'string': TextStyle(color: Color(0xffa2fca2)), - 'bullet': TextStyle(color: Color(0xffd36363)), - 'type': TextStyle(color: Color(0xffffffaa)), - 'title': TextStyle(color: Color(0xffffffaa)), - 'section': TextStyle(color: Color(0xffffffaa)), - 'attribute': TextStyle(color: Color(0xffffffaa)), - 'quote': TextStyle(color: Color(0xffffffaa)), - 'built_in': TextStyle(color: Color(0xffffffaa)), - 'builtin-name': TextStyle(color: Color(0xffffffaa)), - 'number': TextStyle(color: Color(0xffd36363)), - 'symbol': TextStyle(color: Color(0xffd36363)), - 'keyword': TextStyle(color: Color(0xfffcc28c)), - 'selector-tag': TextStyle(color: Color(0xfffcc28c)), - 'literal': TextStyle(color: Color(0xfffcc28c)), - 'comment': TextStyle(color: Color(0xff888888)), - 'deletion': - TextStyle(color: Color(0xff333333), backgroundColor: Color(0xfffc9b9b)), - 'regexp': TextStyle(color: Color(0xffc6b4f0)), - 'link': TextStyle(color: Color(0xffc6b4f0)), - 'meta': TextStyle(color: Color(0xfffc9b9b)), - 'addition': - TextStyle(backgroundColor: Color(0xffa2fca2), color: Color(0xff333333)), -}; diff --git a/lib/base/ui/highlight/themes/an-old-hope.dart b/lib/base/ui/highlight/themes/an-old-hope.dart deleted file mode 100644 index bbbe782..0000000 --- a/lib/base/ui/highlight/themes/an-old-hope.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const anOldHopeTheme = { - 'comment': TextStyle(color: Color(0xffB6B18B)), - 'quote': TextStyle(color: Color(0xffB6B18B)), - 'variable': TextStyle(color: Color(0xffEB3C54)), - 'template-variable': TextStyle(color: Color(0xffEB3C54)), - 'tag': TextStyle(color: Color(0xffEB3C54)), - 'name': TextStyle(color: Color(0xffEB3C54)), - 'selector-id': TextStyle(color: Color(0xffEB3C54)), - 'selector-class': TextStyle(color: Color(0xffEB3C54)), - 'regexp': TextStyle(color: Color(0xffEB3C54)), - 'deletion': TextStyle(color: Color(0xffEB3C54)), - 'number': TextStyle(color: Color(0xffE7CE56)), - 'built_in': TextStyle(color: Color(0xffE7CE56)), - 'builtin-name': TextStyle(color: Color(0xffE7CE56)), - 'literal': TextStyle(color: Color(0xffE7CE56)), - 'type': TextStyle(color: Color(0xffE7CE56)), - 'params': TextStyle(color: Color(0xffE7CE56)), - 'meta': TextStyle(color: Color(0xffE7CE56)), - 'link': TextStyle(color: Color(0xffE7CE56)), - 'attribute': TextStyle(color: Color(0xffEE7C2B)), - 'string': TextStyle(color: Color(0xff4FB4D7)), - 'symbol': TextStyle(color: Color(0xff4FB4D7)), - 'bullet': TextStyle(color: Color(0xff4FB4D7)), - 'addition': TextStyle(color: Color(0xff4FB4D7)), - 'title': TextStyle(color: Color(0xff78BB65)), - 'section': TextStyle(color: Color(0xff78BB65)), - 'keyword': TextStyle(color: Color(0xffB45EA4)), - 'selector-tag': TextStyle(color: Color(0xffB45EA4)), - 'root': - TextStyle(backgroundColor: Color(0xff1C1D21), color: Color(0xffc0c5ce)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/androidstudio.dart b/lib/base/ui/highlight/themes/androidstudio.dart deleted file mode 100644 index a85533b..0000000 --- a/lib/base/ui/highlight/themes/androidstudio.dart +++ /dev/null @@ -1,32 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const androidstudioTheme = { - 'root': - TextStyle(color: Color(0xffa9b7c6), backgroundColor: Color(0xff282b2e)), - 'number': TextStyle(color: Color(0xff6897BB)), - 'literal': TextStyle(color: Color(0xff6897BB)), - 'symbol': TextStyle(color: Color(0xff6897BB)), - 'bullet': TextStyle(color: Color(0xff6897BB)), - 'keyword': TextStyle(color: Color(0xffcc7832)), - 'selector-tag': TextStyle(color: Color(0xffcc7832)), - 'deletion': TextStyle(color: Color(0xffcc7832)), - 'variable': TextStyle(color: Color(0xff629755)), - 'template-variable': TextStyle(color: Color(0xff629755)), - 'link': TextStyle(color: Color(0xff629755)), - 'comment': TextStyle(color: Color(0xff808080)), - 'quote': TextStyle(color: Color(0xff808080)), - 'meta': TextStyle(color: Color(0xffbbb529)), - 'string': TextStyle(color: Color(0xff6A8759)), - 'attribute': TextStyle(color: Color(0xff6A8759)), - 'addition': TextStyle(color: Color(0xff6A8759)), - 'section': TextStyle(color: Color(0xffffc66d)), - 'title': TextStyle(color: Color(0xffffc66d)), - 'type': TextStyle(color: Color(0xffffc66d)), - 'name': TextStyle(color: Color(0xffe8bf6a)), - 'selector-id': TextStyle(color: Color(0xffe8bf6a)), - 'selector-class': TextStyle(color: Color(0xffe8bf6a)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/arduino-light.dart b/lib/base/ui/highlight/themes/arduino-light.dart deleted file mode 100644 index 63a9034..0000000 --- a/lib/base/ui/highlight/themes/arduino-light.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const arduinoLightTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffFFFFFF), color: Color(0xff434f54)), - 'subst': TextStyle(color: Color(0xff434f54)), - 'keyword': TextStyle(color: Color(0xff00979D)), - 'attribute': TextStyle(color: Color(0xff00979D)), - 'selector-tag': TextStyle(color: Color(0xff00979D)), - 'doctag': TextStyle(color: Color(0xff00979D)), - 'name': TextStyle(color: Color(0xff00979D)), - 'built_in': TextStyle(color: Color(0xffD35400)), - 'literal': TextStyle(color: Color(0xffD35400)), - 'bullet': TextStyle(color: Color(0xffD35400)), - 'code': TextStyle(color: Color(0xffD35400)), - 'addition': TextStyle(color: Color(0xffD35400)), - 'regexp': TextStyle(color: Color(0xff00979D)), - 'symbol': TextStyle(color: Color(0xff00979D)), - 'variable': TextStyle(color: Color(0xff00979D)), - 'template-variable': TextStyle(color: Color(0xff00979D)), - 'link': TextStyle(color: Color(0xff00979D)), - 'selector-attr': TextStyle(color: Color(0xff00979D)), - 'selector-pseudo': TextStyle(color: Color(0xff00979D)), - 'type': TextStyle(color: Color(0xff005C5F)), - 'string': TextStyle(color: Color(0xff005C5F)), - 'selector-id': TextStyle(color: Color(0xff005C5F)), - 'selector-class': TextStyle(color: Color(0xff005C5F)), - 'quote': TextStyle(color: Color(0xff005C5F)), - 'template-tag': TextStyle(color: Color(0xff005C5F)), - 'deletion': TextStyle(color: Color(0xff005C5F)), - 'title': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color.fromRGBO(149, 165, 166, .8)), - 'meta-keyword': TextStyle(color: Color(0xff728E00)), - 'meta': TextStyle(color: Color(0xff434f54)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'function': TextStyle(color: Color(0xff728E00)), - 'number': TextStyle(color: Color(0xff8A7B52)), -}; diff --git a/lib/base/ui/highlight/themes/arta.dart b/lib/base/ui/highlight/themes/arta.dart deleted file mode 100644 index 6b40f01..0000000 --- a/lib/base/ui/highlight/themes/arta.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const artaTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff222222), color: Color(0xffaaaaaa)), - 'subst': TextStyle(color: Color(0xffaaaaaa)), - 'section': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff444444)), - 'quote': TextStyle(color: Color(0xff444444)), - 'meta': TextStyle(color: Color(0xff444444)), - 'string': TextStyle(color: Color(0xffffcc33)), - 'symbol': TextStyle(color: Color(0xffffcc33)), - 'bullet': TextStyle(color: Color(0xffffcc33)), - 'regexp': TextStyle(color: Color(0xffffcc33)), - 'number': TextStyle(color: Color(0xff00cc66)), - 'addition': TextStyle(color: Color(0xff00cc66)), - 'built_in': TextStyle(color: Color(0xff32aaee)), - 'builtin-name': TextStyle(color: Color(0xff32aaee)), - 'literal': TextStyle(color: Color(0xff32aaee)), - 'type': TextStyle(color: Color(0xff32aaee)), - 'template-variable': TextStyle(color: Color(0xff32aaee)), - 'attribute': TextStyle(color: Color(0xff32aaee)), - 'link': TextStyle(color: Color(0xff32aaee)), - 'keyword': TextStyle(color: Color(0xff6644aa)), - 'selector-tag': TextStyle(color: Color(0xff6644aa)), - 'name': TextStyle(color: Color(0xff6644aa)), - 'selector-id': TextStyle(color: Color(0xff6644aa)), - 'selector-class': TextStyle(color: Color(0xff6644aa)), - 'title': TextStyle(color: Color(0xffbb1166)), - 'variable': TextStyle(color: Color(0xffbb1166)), - 'deletion': TextStyle(color: Color(0xffbb1166)), - 'template-tag': TextStyle(color: Color(0xffbb1166)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/ascetic.dart b/lib/base/ui/highlight/themes/ascetic.dart deleted file mode 100644 index 1224811..0000000 --- a/lib/base/ui/highlight/themes/ascetic.dart +++ /dev/null @@ -1,27 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const asceticTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'string': TextStyle(color: Color(0xff888888)), - 'variable': TextStyle(color: Color(0xff888888)), - 'template-variable': TextStyle(color: Color(0xff888888)), - 'symbol': TextStyle(color: Color(0xff888888)), - 'bullet': TextStyle(color: Color(0xff888888)), - 'section': TextStyle(color: Color(0xff888888), fontWeight: FontWeight.bold), - 'addition': TextStyle(color: Color(0xff888888)), - 'attribute': TextStyle(color: Color(0xff888888)), - 'link': TextStyle(color: Color(0xff888888)), - 'comment': TextStyle(color: Color(0xffcccccc)), - 'quote': TextStyle(color: Color(0xffcccccc)), - 'meta': TextStyle(color: Color(0xffcccccc)), - 'deletion': TextStyle(color: Color(0xffcccccc)), - 'keyword': TextStyle(fontWeight: FontWeight.bold), - 'selector-tag': TextStyle(fontWeight: FontWeight.bold), - 'name': TextStyle(fontWeight: FontWeight.bold), - 'type': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/atelier-cave-dark.dart b/lib/base/ui/highlight/themes/atelier-cave-dark.dart deleted file mode 100644 index a1d7588..0000000 --- a/lib/base/ui/highlight/themes/atelier-cave-dark.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierCaveDarkTheme = { - 'comment': TextStyle(color: Color(0xff7e7887)), - 'quote': TextStyle(color: Color(0xff7e7887)), - 'variable': TextStyle(color: Color(0xffbe4678)), - 'template-variable': TextStyle(color: Color(0xffbe4678)), - 'attribute': TextStyle(color: Color(0xffbe4678)), - 'regexp': TextStyle(color: Color(0xffbe4678)), - 'link': TextStyle(color: Color(0xffbe4678)), - 'tag': TextStyle(color: Color(0xffbe4678)), - 'name': TextStyle(color: Color(0xffbe4678)), - 'selector-id': TextStyle(color: Color(0xffbe4678)), - 'selector-class': TextStyle(color: Color(0xffbe4678)), - 'number': TextStyle(color: Color(0xffaa573c)), - 'meta': TextStyle(color: Color(0xffaa573c)), - 'built_in': TextStyle(color: Color(0xffaa573c)), - 'builtin-name': TextStyle(color: Color(0xffaa573c)), - 'literal': TextStyle(color: Color(0xffaa573c)), - 'type': TextStyle(color: Color(0xffaa573c)), - 'params': TextStyle(color: Color(0xffaa573c)), - 'string': TextStyle(color: Color(0xff2a9292)), - 'symbol': TextStyle(color: Color(0xff2a9292)), - 'bullet': TextStyle(color: Color(0xff2a9292)), - 'title': TextStyle(color: Color(0xff576ddb)), - 'section': TextStyle(color: Color(0xff576ddb)), - 'keyword': TextStyle(color: Color(0xff955ae7)), - 'selector-tag': TextStyle(color: Color(0xff955ae7)), - 'deletion': - TextStyle(color: Color(0xff19171c), backgroundColor: Color(0xffbe4678)), - 'addition': - TextStyle(color: Color(0xff19171c), backgroundColor: Color(0xff2a9292)), - 'root': - TextStyle(backgroundColor: Color(0xff19171c), color: Color(0xff8b8792)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-cave-light.dart b/lib/base/ui/highlight/themes/atelier-cave-light.dart deleted file mode 100644 index 5ae0749..0000000 --- a/lib/base/ui/highlight/themes/atelier-cave-light.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierCaveLightTheme = { - 'comment': TextStyle(color: Color(0xff655f6d)), - 'quote': TextStyle(color: Color(0xff655f6d)), - 'variable': TextStyle(color: Color(0xffbe4678)), - 'template-variable': TextStyle(color: Color(0xffbe4678)), - 'attribute': TextStyle(color: Color(0xffbe4678)), - 'tag': TextStyle(color: Color(0xffbe4678)), - 'name': TextStyle(color: Color(0xffbe4678)), - 'regexp': TextStyle(color: Color(0xffbe4678)), - 'link': TextStyle(color: Color(0xffbe4678)), - 'selector-id': TextStyle(color: Color(0xffbe4678)), - 'selector-class': TextStyle(color: Color(0xffbe4678)), - 'number': TextStyle(color: Color(0xffaa573c)), - 'meta': TextStyle(color: Color(0xffaa573c)), - 'built_in': TextStyle(color: Color(0xffaa573c)), - 'builtin-name': TextStyle(color: Color(0xffaa573c)), - 'literal': TextStyle(color: Color(0xffaa573c)), - 'type': TextStyle(color: Color(0xffaa573c)), - 'params': TextStyle(color: Color(0xffaa573c)), - 'string': TextStyle(color: Color(0xff2a9292)), - 'symbol': TextStyle(color: Color(0xff2a9292)), - 'bullet': TextStyle(color: Color(0xff2a9292)), - 'title': TextStyle(color: Color(0xff576ddb)), - 'section': TextStyle(color: Color(0xff576ddb)), - 'keyword': TextStyle(color: Color(0xff955ae7)), - 'selector-tag': TextStyle(color: Color(0xff955ae7)), - 'deletion': - TextStyle(color: Color(0xff19171c), backgroundColor: Color(0xffbe4678)), - 'addition': - TextStyle(color: Color(0xff19171c), backgroundColor: Color(0xff2a9292)), - 'root': - TextStyle(backgroundColor: Color(0xffefecf4), color: Color(0xff585260)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-dune-dark.dart b/lib/base/ui/highlight/themes/atelier-dune-dark.dart deleted file mode 100644 index a87372d..0000000 --- a/lib/base/ui/highlight/themes/atelier-dune-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierDuneDarkTheme = { - 'comment': TextStyle(color: Color(0xff999580)), - 'quote': TextStyle(color: Color(0xff999580)), - 'variable': TextStyle(color: Color(0xffd73737)), - 'template-variable': TextStyle(color: Color(0xffd73737)), - 'attribute': TextStyle(color: Color(0xffd73737)), - 'tag': TextStyle(color: Color(0xffd73737)), - 'name': TextStyle(color: Color(0xffd73737)), - 'regexp': TextStyle(color: Color(0xffd73737)), - 'link': TextStyle(color: Color(0xffd73737)), - 'selector-id': TextStyle(color: Color(0xffd73737)), - 'selector-class': TextStyle(color: Color(0xffd73737)), - 'number': TextStyle(color: Color(0xffb65611)), - 'meta': TextStyle(color: Color(0xffb65611)), - 'built_in': TextStyle(color: Color(0xffb65611)), - 'builtin-name': TextStyle(color: Color(0xffb65611)), - 'literal': TextStyle(color: Color(0xffb65611)), - 'type': TextStyle(color: Color(0xffb65611)), - 'params': TextStyle(color: Color(0xffb65611)), - 'string': TextStyle(color: Color(0xff60ac39)), - 'symbol': TextStyle(color: Color(0xff60ac39)), - 'bullet': TextStyle(color: Color(0xff60ac39)), - 'title': TextStyle(color: Color(0xff6684e1)), - 'section': TextStyle(color: Color(0xff6684e1)), - 'keyword': TextStyle(color: Color(0xffb854d4)), - 'selector-tag': TextStyle(color: Color(0xffb854d4)), - 'root': - TextStyle(backgroundColor: Color(0xff20201d), color: Color(0xffa6a28c)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-dune-light.dart b/lib/base/ui/highlight/themes/atelier-dune-light.dart deleted file mode 100644 index d4b59c4..0000000 --- a/lib/base/ui/highlight/themes/atelier-dune-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierDuneLightTheme = { - 'comment': TextStyle(color: Color(0xff7d7a68)), - 'quote': TextStyle(color: Color(0xff7d7a68)), - 'variable': TextStyle(color: Color(0xffd73737)), - 'template-variable': TextStyle(color: Color(0xffd73737)), - 'attribute': TextStyle(color: Color(0xffd73737)), - 'tag': TextStyle(color: Color(0xffd73737)), - 'name': TextStyle(color: Color(0xffd73737)), - 'regexp': TextStyle(color: Color(0xffd73737)), - 'link': TextStyle(color: Color(0xffd73737)), - 'selector-id': TextStyle(color: Color(0xffd73737)), - 'selector-class': TextStyle(color: Color(0xffd73737)), - 'number': TextStyle(color: Color(0xffb65611)), - 'meta': TextStyle(color: Color(0xffb65611)), - 'built_in': TextStyle(color: Color(0xffb65611)), - 'builtin-name': TextStyle(color: Color(0xffb65611)), - 'literal': TextStyle(color: Color(0xffb65611)), - 'type': TextStyle(color: Color(0xffb65611)), - 'params': TextStyle(color: Color(0xffb65611)), - 'string': TextStyle(color: Color(0xff60ac39)), - 'symbol': TextStyle(color: Color(0xff60ac39)), - 'bullet': TextStyle(color: Color(0xff60ac39)), - 'title': TextStyle(color: Color(0xff6684e1)), - 'section': TextStyle(color: Color(0xff6684e1)), - 'keyword': TextStyle(color: Color(0xffb854d4)), - 'selector-tag': TextStyle(color: Color(0xffb854d4)), - 'root': - TextStyle(backgroundColor: Color(0xfffefbec), color: Color(0xff6e6b5e)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-estuary-dark.dart b/lib/base/ui/highlight/themes/atelier-estuary-dark.dart deleted file mode 100644 index 3c4d30a..0000000 --- a/lib/base/ui/highlight/themes/atelier-estuary-dark.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierEstuaryDarkTheme = { - 'comment': TextStyle(color: Color(0xff878573)), - 'quote': TextStyle(color: Color(0xff878573)), - 'variable': TextStyle(color: Color(0xffba6236)), - 'template-variable': TextStyle(color: Color(0xffba6236)), - 'attribute': TextStyle(color: Color(0xffba6236)), - 'tag': TextStyle(color: Color(0xffba6236)), - 'name': TextStyle(color: Color(0xffba6236)), - 'regexp': TextStyle(color: Color(0xffba6236)), - 'link': TextStyle(color: Color(0xffba6236)), - 'selector-id': TextStyle(color: Color(0xffba6236)), - 'selector-class': TextStyle(color: Color(0xffba6236)), - 'number': TextStyle(color: Color(0xffae7313)), - 'meta': TextStyle(color: Color(0xffae7313)), - 'built_in': TextStyle(color: Color(0xffae7313)), - 'builtin-name': TextStyle(color: Color(0xffae7313)), - 'literal': TextStyle(color: Color(0xffae7313)), - 'type': TextStyle(color: Color(0xffae7313)), - 'params': TextStyle(color: Color(0xffae7313)), - 'string': TextStyle(color: Color(0xff7d9726)), - 'symbol': TextStyle(color: Color(0xff7d9726)), - 'bullet': TextStyle(color: Color(0xff7d9726)), - 'title': TextStyle(color: Color(0xff36a166)), - 'section': TextStyle(color: Color(0xff36a166)), - 'keyword': TextStyle(color: Color(0xff5f9182)), - 'selector-tag': TextStyle(color: Color(0xff5f9182)), - 'deletion': - TextStyle(color: Color(0xff22221b), backgroundColor: Color(0xffba6236)), - 'addition': - TextStyle(color: Color(0xff22221b), backgroundColor: Color(0xff7d9726)), - 'root': - TextStyle(backgroundColor: Color(0xff22221b), color: Color(0xff929181)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-estuary-light.dart b/lib/base/ui/highlight/themes/atelier-estuary-light.dart deleted file mode 100644 index 0b60968..0000000 --- a/lib/base/ui/highlight/themes/atelier-estuary-light.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierEstuaryLightTheme = { - 'comment': TextStyle(color: Color(0xff6c6b5a)), - 'quote': TextStyle(color: Color(0xff6c6b5a)), - 'variable': TextStyle(color: Color(0xffba6236)), - 'template-variable': TextStyle(color: Color(0xffba6236)), - 'attribute': TextStyle(color: Color(0xffba6236)), - 'tag': TextStyle(color: Color(0xffba6236)), - 'name': TextStyle(color: Color(0xffba6236)), - 'regexp': TextStyle(color: Color(0xffba6236)), - 'link': TextStyle(color: Color(0xffba6236)), - 'selector-id': TextStyle(color: Color(0xffba6236)), - 'selector-class': TextStyle(color: Color(0xffba6236)), - 'number': TextStyle(color: Color(0xffae7313)), - 'meta': TextStyle(color: Color(0xffae7313)), - 'built_in': TextStyle(color: Color(0xffae7313)), - 'builtin-name': TextStyle(color: Color(0xffae7313)), - 'literal': TextStyle(color: Color(0xffae7313)), - 'type': TextStyle(color: Color(0xffae7313)), - 'params': TextStyle(color: Color(0xffae7313)), - 'string': TextStyle(color: Color(0xff7d9726)), - 'symbol': TextStyle(color: Color(0xff7d9726)), - 'bullet': TextStyle(color: Color(0xff7d9726)), - 'title': TextStyle(color: Color(0xff36a166)), - 'section': TextStyle(color: Color(0xff36a166)), - 'keyword': TextStyle(color: Color(0xff5f9182)), - 'selector-tag': TextStyle(color: Color(0xff5f9182)), - 'deletion': - TextStyle(color: Color(0xff22221b), backgroundColor: Color(0xffba6236)), - 'addition': - TextStyle(color: Color(0xff22221b), backgroundColor: Color(0xff7d9726)), - 'root': - TextStyle(backgroundColor: Color(0xfff4f3ec), color: Color(0xff5f5e4e)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-forest-dark.dart b/lib/base/ui/highlight/themes/atelier-forest-dark.dart deleted file mode 100644 index 613d8ee..0000000 --- a/lib/base/ui/highlight/themes/atelier-forest-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierForestDarkTheme = { - 'comment': TextStyle(color: Color(0xff9c9491)), - 'quote': TextStyle(color: Color(0xff9c9491)), - 'variable': TextStyle(color: Color(0xfff22c40)), - 'template-variable': TextStyle(color: Color(0xfff22c40)), - 'attribute': TextStyle(color: Color(0xfff22c40)), - 'tag': TextStyle(color: Color(0xfff22c40)), - 'name': TextStyle(color: Color(0xfff22c40)), - 'regexp': TextStyle(color: Color(0xfff22c40)), - 'link': TextStyle(color: Color(0xfff22c40)), - 'selector-id': TextStyle(color: Color(0xfff22c40)), - 'selector-class': TextStyle(color: Color(0xfff22c40)), - 'number': TextStyle(color: Color(0xffdf5320)), - 'meta': TextStyle(color: Color(0xffdf5320)), - 'built_in': TextStyle(color: Color(0xffdf5320)), - 'builtin-name': TextStyle(color: Color(0xffdf5320)), - 'literal': TextStyle(color: Color(0xffdf5320)), - 'type': TextStyle(color: Color(0xffdf5320)), - 'params': TextStyle(color: Color(0xffdf5320)), - 'string': TextStyle(color: Color(0xff7b9726)), - 'symbol': TextStyle(color: Color(0xff7b9726)), - 'bullet': TextStyle(color: Color(0xff7b9726)), - 'title': TextStyle(color: Color(0xff407ee7)), - 'section': TextStyle(color: Color(0xff407ee7)), - 'keyword': TextStyle(color: Color(0xff6666ea)), - 'selector-tag': TextStyle(color: Color(0xff6666ea)), - 'root': - TextStyle(backgroundColor: Color(0xff1b1918), color: Color(0xffa8a19f)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-forest-light.dart b/lib/base/ui/highlight/themes/atelier-forest-light.dart deleted file mode 100644 index da81d88..0000000 --- a/lib/base/ui/highlight/themes/atelier-forest-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierForestLightTheme = { - 'comment': TextStyle(color: Color(0xff766e6b)), - 'quote': TextStyle(color: Color(0xff766e6b)), - 'variable': TextStyle(color: Color(0xfff22c40)), - 'template-variable': TextStyle(color: Color(0xfff22c40)), - 'attribute': TextStyle(color: Color(0xfff22c40)), - 'tag': TextStyle(color: Color(0xfff22c40)), - 'name': TextStyle(color: Color(0xfff22c40)), - 'regexp': TextStyle(color: Color(0xfff22c40)), - 'link': TextStyle(color: Color(0xfff22c40)), - 'selector-id': TextStyle(color: Color(0xfff22c40)), - 'selector-class': TextStyle(color: Color(0xfff22c40)), - 'number': TextStyle(color: Color(0xffdf5320)), - 'meta': TextStyle(color: Color(0xffdf5320)), - 'built_in': TextStyle(color: Color(0xffdf5320)), - 'builtin-name': TextStyle(color: Color(0xffdf5320)), - 'literal': TextStyle(color: Color(0xffdf5320)), - 'type': TextStyle(color: Color(0xffdf5320)), - 'params': TextStyle(color: Color(0xffdf5320)), - 'string': TextStyle(color: Color(0xff7b9726)), - 'symbol': TextStyle(color: Color(0xff7b9726)), - 'bullet': TextStyle(color: Color(0xff7b9726)), - 'title': TextStyle(color: Color(0xff407ee7)), - 'section': TextStyle(color: Color(0xff407ee7)), - 'keyword': TextStyle(color: Color(0xff6666ea)), - 'selector-tag': TextStyle(color: Color(0xff6666ea)), - 'root': - TextStyle(backgroundColor: Color(0xfff1efee), color: Color(0xff68615e)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-heath-dark.dart b/lib/base/ui/highlight/themes/atelier-heath-dark.dart deleted file mode 100644 index 2c9f842..0000000 --- a/lib/base/ui/highlight/themes/atelier-heath-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierHeathDarkTheme = { - 'comment': TextStyle(color: Color(0xff9e8f9e)), - 'quote': TextStyle(color: Color(0xff9e8f9e)), - 'variable': TextStyle(color: Color(0xffca402b)), - 'template-variable': TextStyle(color: Color(0xffca402b)), - 'attribute': TextStyle(color: Color(0xffca402b)), - 'tag': TextStyle(color: Color(0xffca402b)), - 'name': TextStyle(color: Color(0xffca402b)), - 'regexp': TextStyle(color: Color(0xffca402b)), - 'link': TextStyle(color: Color(0xffca402b)), - 'selector-id': TextStyle(color: Color(0xffca402b)), - 'selector-class': TextStyle(color: Color(0xffca402b)), - 'number': TextStyle(color: Color(0xffa65926)), - 'meta': TextStyle(color: Color(0xffa65926)), - 'built_in': TextStyle(color: Color(0xffa65926)), - 'builtin-name': TextStyle(color: Color(0xffa65926)), - 'literal': TextStyle(color: Color(0xffa65926)), - 'type': TextStyle(color: Color(0xffa65926)), - 'params': TextStyle(color: Color(0xffa65926)), - 'string': TextStyle(color: Color(0xff918b3b)), - 'symbol': TextStyle(color: Color(0xff918b3b)), - 'bullet': TextStyle(color: Color(0xff918b3b)), - 'title': TextStyle(color: Color(0xff516aec)), - 'section': TextStyle(color: Color(0xff516aec)), - 'keyword': TextStyle(color: Color(0xff7b59c0)), - 'selector-tag': TextStyle(color: Color(0xff7b59c0)), - 'root': - TextStyle(backgroundColor: Color(0xff1b181b), color: Color(0xffab9bab)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-heath-light.dart b/lib/base/ui/highlight/themes/atelier-heath-light.dart deleted file mode 100644 index 4b2dc85..0000000 --- a/lib/base/ui/highlight/themes/atelier-heath-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierHeathLightTheme = { - 'comment': TextStyle(color: Color(0xff776977)), - 'quote': TextStyle(color: Color(0xff776977)), - 'variable': TextStyle(color: Color(0xffca402b)), - 'template-variable': TextStyle(color: Color(0xffca402b)), - 'attribute': TextStyle(color: Color(0xffca402b)), - 'tag': TextStyle(color: Color(0xffca402b)), - 'name': TextStyle(color: Color(0xffca402b)), - 'regexp': TextStyle(color: Color(0xffca402b)), - 'link': TextStyle(color: Color(0xffca402b)), - 'selector-id': TextStyle(color: Color(0xffca402b)), - 'selector-class': TextStyle(color: Color(0xffca402b)), - 'number': TextStyle(color: Color(0xffa65926)), - 'meta': TextStyle(color: Color(0xffa65926)), - 'built_in': TextStyle(color: Color(0xffa65926)), - 'builtin-name': TextStyle(color: Color(0xffa65926)), - 'literal': TextStyle(color: Color(0xffa65926)), - 'type': TextStyle(color: Color(0xffa65926)), - 'params': TextStyle(color: Color(0xffa65926)), - 'string': TextStyle(color: Color(0xff918b3b)), - 'symbol': TextStyle(color: Color(0xff918b3b)), - 'bullet': TextStyle(color: Color(0xff918b3b)), - 'title': TextStyle(color: Color(0xff516aec)), - 'section': TextStyle(color: Color(0xff516aec)), - 'keyword': TextStyle(color: Color(0xff7b59c0)), - 'selector-tag': TextStyle(color: Color(0xff7b59c0)), - 'root': - TextStyle(backgroundColor: Color(0xfff7f3f7), color: Color(0xff695d69)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-lakeside-dark.dart b/lib/base/ui/highlight/themes/atelier-lakeside-dark.dart deleted file mode 100644 index 4fc9722..0000000 --- a/lib/base/ui/highlight/themes/atelier-lakeside-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierLakesideDarkTheme = { - 'comment': TextStyle(color: Color(0xff7195a8)), - 'quote': TextStyle(color: Color(0xff7195a8)), - 'variable': TextStyle(color: Color(0xffd22d72)), - 'template-variable': TextStyle(color: Color(0xffd22d72)), - 'attribute': TextStyle(color: Color(0xffd22d72)), - 'tag': TextStyle(color: Color(0xffd22d72)), - 'name': TextStyle(color: Color(0xffd22d72)), - 'regexp': TextStyle(color: Color(0xffd22d72)), - 'link': TextStyle(color: Color(0xffd22d72)), - 'selector-id': TextStyle(color: Color(0xffd22d72)), - 'selector-class': TextStyle(color: Color(0xffd22d72)), - 'number': TextStyle(color: Color(0xff935c25)), - 'meta': TextStyle(color: Color(0xff935c25)), - 'built_in': TextStyle(color: Color(0xff935c25)), - 'builtin-name': TextStyle(color: Color(0xff935c25)), - 'literal': TextStyle(color: Color(0xff935c25)), - 'type': TextStyle(color: Color(0xff935c25)), - 'params': TextStyle(color: Color(0xff935c25)), - 'string': TextStyle(color: Color(0xff568c3b)), - 'symbol': TextStyle(color: Color(0xff568c3b)), - 'bullet': TextStyle(color: Color(0xff568c3b)), - 'title': TextStyle(color: Color(0xff257fad)), - 'section': TextStyle(color: Color(0xff257fad)), - 'keyword': TextStyle(color: Color(0xff6b6bb8)), - 'selector-tag': TextStyle(color: Color(0xff6b6bb8)), - 'root': - TextStyle(backgroundColor: Color(0xff161b1d), color: Color(0xff7ea2b4)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-lakeside-light.dart b/lib/base/ui/highlight/themes/atelier-lakeside-light.dart deleted file mode 100644 index 6226204..0000000 --- a/lib/base/ui/highlight/themes/atelier-lakeside-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierLakesideLightTheme = { - 'comment': TextStyle(color: Color(0xff5a7b8c)), - 'quote': TextStyle(color: Color(0xff5a7b8c)), - 'variable': TextStyle(color: Color(0xffd22d72)), - 'template-variable': TextStyle(color: Color(0xffd22d72)), - 'attribute': TextStyle(color: Color(0xffd22d72)), - 'tag': TextStyle(color: Color(0xffd22d72)), - 'name': TextStyle(color: Color(0xffd22d72)), - 'regexp': TextStyle(color: Color(0xffd22d72)), - 'link': TextStyle(color: Color(0xffd22d72)), - 'selector-id': TextStyle(color: Color(0xffd22d72)), - 'selector-class': TextStyle(color: Color(0xffd22d72)), - 'number': TextStyle(color: Color(0xff935c25)), - 'meta': TextStyle(color: Color(0xff935c25)), - 'built_in': TextStyle(color: Color(0xff935c25)), - 'builtin-name': TextStyle(color: Color(0xff935c25)), - 'literal': TextStyle(color: Color(0xff935c25)), - 'type': TextStyle(color: Color(0xff935c25)), - 'params': TextStyle(color: Color(0xff935c25)), - 'string': TextStyle(color: Color(0xff568c3b)), - 'symbol': TextStyle(color: Color(0xff568c3b)), - 'bullet': TextStyle(color: Color(0xff568c3b)), - 'title': TextStyle(color: Color(0xff257fad)), - 'section': TextStyle(color: Color(0xff257fad)), - 'keyword': TextStyle(color: Color(0xff6b6bb8)), - 'selector-tag': TextStyle(color: Color(0xff6b6bb8)), - 'root': - TextStyle(backgroundColor: Color(0xffebf8ff), color: Color(0xff516d7b)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-plateau-dark.dart b/lib/base/ui/highlight/themes/atelier-plateau-dark.dart deleted file mode 100644 index f2a4574..0000000 --- a/lib/base/ui/highlight/themes/atelier-plateau-dark.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierPlateauDarkTheme = { - 'comment': TextStyle(color: Color(0xff7e7777)), - 'quote': TextStyle(color: Color(0xff7e7777)), - 'variable': TextStyle(color: Color(0xffca4949)), - 'template-variable': TextStyle(color: Color(0xffca4949)), - 'attribute': TextStyle(color: Color(0xffca4949)), - 'tag': TextStyle(color: Color(0xffca4949)), - 'name': TextStyle(color: Color(0xffca4949)), - 'regexp': TextStyle(color: Color(0xffca4949)), - 'link': TextStyle(color: Color(0xffca4949)), - 'selector-id': TextStyle(color: Color(0xffca4949)), - 'selector-class': TextStyle(color: Color(0xffca4949)), - 'number': TextStyle(color: Color(0xffb45a3c)), - 'meta': TextStyle(color: Color(0xffb45a3c)), - 'built_in': TextStyle(color: Color(0xffb45a3c)), - 'builtin-name': TextStyle(color: Color(0xffb45a3c)), - 'literal': TextStyle(color: Color(0xffb45a3c)), - 'type': TextStyle(color: Color(0xffb45a3c)), - 'params': TextStyle(color: Color(0xffb45a3c)), - 'string': TextStyle(color: Color(0xff4b8b8b)), - 'symbol': TextStyle(color: Color(0xff4b8b8b)), - 'bullet': TextStyle(color: Color(0xff4b8b8b)), - 'title': TextStyle(color: Color(0xff7272ca)), - 'section': TextStyle(color: Color(0xff7272ca)), - 'keyword': TextStyle(color: Color(0xff8464c4)), - 'selector-tag': TextStyle(color: Color(0xff8464c4)), - 'deletion': - TextStyle(color: Color(0xff1b1818), backgroundColor: Color(0xffca4949)), - 'addition': - TextStyle(color: Color(0xff1b1818), backgroundColor: Color(0xff4b8b8b)), - 'root': - TextStyle(backgroundColor: Color(0xff1b1818), color: Color(0xff8a8585)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-plateau-light.dart b/lib/base/ui/highlight/themes/atelier-plateau-light.dart deleted file mode 100644 index af5db97..0000000 --- a/lib/base/ui/highlight/themes/atelier-plateau-light.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierPlateauLightTheme = { - 'comment': TextStyle(color: Color(0xff655d5d)), - 'quote': TextStyle(color: Color(0xff655d5d)), - 'variable': TextStyle(color: Color(0xffca4949)), - 'template-variable': TextStyle(color: Color(0xffca4949)), - 'attribute': TextStyle(color: Color(0xffca4949)), - 'tag': TextStyle(color: Color(0xffca4949)), - 'name': TextStyle(color: Color(0xffca4949)), - 'regexp': TextStyle(color: Color(0xffca4949)), - 'link': TextStyle(color: Color(0xffca4949)), - 'selector-id': TextStyle(color: Color(0xffca4949)), - 'selector-class': TextStyle(color: Color(0xffca4949)), - 'number': TextStyle(color: Color(0xffb45a3c)), - 'meta': TextStyle(color: Color(0xffb45a3c)), - 'built_in': TextStyle(color: Color(0xffb45a3c)), - 'builtin-name': TextStyle(color: Color(0xffb45a3c)), - 'literal': TextStyle(color: Color(0xffb45a3c)), - 'type': TextStyle(color: Color(0xffb45a3c)), - 'params': TextStyle(color: Color(0xffb45a3c)), - 'string': TextStyle(color: Color(0xff4b8b8b)), - 'symbol': TextStyle(color: Color(0xff4b8b8b)), - 'bullet': TextStyle(color: Color(0xff4b8b8b)), - 'title': TextStyle(color: Color(0xff7272ca)), - 'section': TextStyle(color: Color(0xff7272ca)), - 'keyword': TextStyle(color: Color(0xff8464c4)), - 'selector-tag': TextStyle(color: Color(0xff8464c4)), - 'deletion': - TextStyle(color: Color(0xff1b1818), backgroundColor: Color(0xffca4949)), - 'addition': - TextStyle(color: Color(0xff1b1818), backgroundColor: Color(0xff4b8b8b)), - 'root': - TextStyle(backgroundColor: Color(0xfff4ecec), color: Color(0xff585050)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-savanna-dark.dart b/lib/base/ui/highlight/themes/atelier-savanna-dark.dart deleted file mode 100644 index 6a69fee..0000000 --- a/lib/base/ui/highlight/themes/atelier-savanna-dark.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSavannaDarkTheme = { - 'comment': TextStyle(color: Color(0xff78877d)), - 'quote': TextStyle(color: Color(0xff78877d)), - 'variable': TextStyle(color: Color(0xffb16139)), - 'template-variable': TextStyle(color: Color(0xffb16139)), - 'attribute': TextStyle(color: Color(0xffb16139)), - 'tag': TextStyle(color: Color(0xffb16139)), - 'name': TextStyle(color: Color(0xffb16139)), - 'regexp': TextStyle(color: Color(0xffb16139)), - 'link': TextStyle(color: Color(0xffb16139)), - 'selector-id': TextStyle(color: Color(0xffb16139)), - 'selector-class': TextStyle(color: Color(0xffb16139)), - 'number': TextStyle(color: Color(0xff9f713c)), - 'meta': TextStyle(color: Color(0xff9f713c)), - 'built_in': TextStyle(color: Color(0xff9f713c)), - 'builtin-name': TextStyle(color: Color(0xff9f713c)), - 'literal': TextStyle(color: Color(0xff9f713c)), - 'type': TextStyle(color: Color(0xff9f713c)), - 'params': TextStyle(color: Color(0xff9f713c)), - 'string': TextStyle(color: Color(0xff489963)), - 'symbol': TextStyle(color: Color(0xff489963)), - 'bullet': TextStyle(color: Color(0xff489963)), - 'title': TextStyle(color: Color(0xff478c90)), - 'section': TextStyle(color: Color(0xff478c90)), - 'keyword': TextStyle(color: Color(0xff55859b)), - 'selector-tag': TextStyle(color: Color(0xff55859b)), - 'deletion': - TextStyle(color: Color(0xff171c19), backgroundColor: Color(0xffb16139)), - 'addition': - TextStyle(color: Color(0xff171c19), backgroundColor: Color(0xff489963)), - 'root': - TextStyle(backgroundColor: Color(0xff171c19), color: Color(0xff87928a)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-savanna-light.dart b/lib/base/ui/highlight/themes/atelier-savanna-light.dart deleted file mode 100644 index 422ce94..0000000 --- a/lib/base/ui/highlight/themes/atelier-savanna-light.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSavannaLightTheme = { - 'comment': TextStyle(color: Color(0xff5f6d64)), - 'quote': TextStyle(color: Color(0xff5f6d64)), - 'variable': TextStyle(color: Color(0xffb16139)), - 'template-variable': TextStyle(color: Color(0xffb16139)), - 'attribute': TextStyle(color: Color(0xffb16139)), - 'tag': TextStyle(color: Color(0xffb16139)), - 'name': TextStyle(color: Color(0xffb16139)), - 'regexp': TextStyle(color: Color(0xffb16139)), - 'link': TextStyle(color: Color(0xffb16139)), - 'selector-id': TextStyle(color: Color(0xffb16139)), - 'selector-class': TextStyle(color: Color(0xffb16139)), - 'number': TextStyle(color: Color(0xff9f713c)), - 'meta': TextStyle(color: Color(0xff9f713c)), - 'built_in': TextStyle(color: Color(0xff9f713c)), - 'builtin-name': TextStyle(color: Color(0xff9f713c)), - 'literal': TextStyle(color: Color(0xff9f713c)), - 'type': TextStyle(color: Color(0xff9f713c)), - 'params': TextStyle(color: Color(0xff9f713c)), - 'string': TextStyle(color: Color(0xff489963)), - 'symbol': TextStyle(color: Color(0xff489963)), - 'bullet': TextStyle(color: Color(0xff489963)), - 'title': TextStyle(color: Color(0xff478c90)), - 'section': TextStyle(color: Color(0xff478c90)), - 'keyword': TextStyle(color: Color(0xff55859b)), - 'selector-tag': TextStyle(color: Color(0xff55859b)), - 'deletion': - TextStyle(color: Color(0xff171c19), backgroundColor: Color(0xffb16139)), - 'addition': - TextStyle(color: Color(0xff171c19), backgroundColor: Color(0xff489963)), - 'root': - TextStyle(backgroundColor: Color(0xffecf4ee), color: Color(0xff526057)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-seaside-dark.dart b/lib/base/ui/highlight/themes/atelier-seaside-dark.dart deleted file mode 100644 index a186906..0000000 --- a/lib/base/ui/highlight/themes/atelier-seaside-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSeasideDarkTheme = { - 'comment': TextStyle(color: Color(0xff809980)), - 'quote': TextStyle(color: Color(0xff809980)), - 'variable': TextStyle(color: Color(0xffe6193c)), - 'template-variable': TextStyle(color: Color(0xffe6193c)), - 'attribute': TextStyle(color: Color(0xffe6193c)), - 'tag': TextStyle(color: Color(0xffe6193c)), - 'name': TextStyle(color: Color(0xffe6193c)), - 'regexp': TextStyle(color: Color(0xffe6193c)), - 'link': TextStyle(color: Color(0xffe6193c)), - 'selector-id': TextStyle(color: Color(0xffe6193c)), - 'selector-class': TextStyle(color: Color(0xffe6193c)), - 'number': TextStyle(color: Color(0xff87711d)), - 'meta': TextStyle(color: Color(0xff87711d)), - 'built_in': TextStyle(color: Color(0xff87711d)), - 'builtin-name': TextStyle(color: Color(0xff87711d)), - 'literal': TextStyle(color: Color(0xff87711d)), - 'type': TextStyle(color: Color(0xff87711d)), - 'params': TextStyle(color: Color(0xff87711d)), - 'string': TextStyle(color: Color(0xff29a329)), - 'symbol': TextStyle(color: Color(0xff29a329)), - 'bullet': TextStyle(color: Color(0xff29a329)), - 'title': TextStyle(color: Color(0xff3d62f5)), - 'section': TextStyle(color: Color(0xff3d62f5)), - 'keyword': TextStyle(color: Color(0xffad2bee)), - 'selector-tag': TextStyle(color: Color(0xffad2bee)), - 'root': - TextStyle(backgroundColor: Color(0xff131513), color: Color(0xff8ca68c)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-seaside-light.dart b/lib/base/ui/highlight/themes/atelier-seaside-light.dart deleted file mode 100644 index 1a430ff..0000000 --- a/lib/base/ui/highlight/themes/atelier-seaside-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSeasideLightTheme = { - 'comment': TextStyle(color: Color(0xff687d68)), - 'quote': TextStyle(color: Color(0xff687d68)), - 'variable': TextStyle(color: Color(0xffe6193c)), - 'template-variable': TextStyle(color: Color(0xffe6193c)), - 'attribute': TextStyle(color: Color(0xffe6193c)), - 'tag': TextStyle(color: Color(0xffe6193c)), - 'name': TextStyle(color: Color(0xffe6193c)), - 'regexp': TextStyle(color: Color(0xffe6193c)), - 'link': TextStyle(color: Color(0xffe6193c)), - 'selector-id': TextStyle(color: Color(0xffe6193c)), - 'selector-class': TextStyle(color: Color(0xffe6193c)), - 'number': TextStyle(color: Color(0xff87711d)), - 'meta': TextStyle(color: Color(0xff87711d)), - 'built_in': TextStyle(color: Color(0xff87711d)), - 'builtin-name': TextStyle(color: Color(0xff87711d)), - 'literal': TextStyle(color: Color(0xff87711d)), - 'type': TextStyle(color: Color(0xff87711d)), - 'params': TextStyle(color: Color(0xff87711d)), - 'string': TextStyle(color: Color(0xff29a329)), - 'symbol': TextStyle(color: Color(0xff29a329)), - 'bullet': TextStyle(color: Color(0xff29a329)), - 'title': TextStyle(color: Color(0xff3d62f5)), - 'section': TextStyle(color: Color(0xff3d62f5)), - 'keyword': TextStyle(color: Color(0xffad2bee)), - 'selector-tag': TextStyle(color: Color(0xffad2bee)), - 'root': - TextStyle(backgroundColor: Color(0xfff4fbf4), color: Color(0xff5e6e5e)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-sulphurpool-dark.dart b/lib/base/ui/highlight/themes/atelier-sulphurpool-dark.dart deleted file mode 100644 index f1b6c9b..0000000 --- a/lib/base/ui/highlight/themes/atelier-sulphurpool-dark.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSulphurpoolDarkTheme = { - 'comment': TextStyle(color: Color(0xff898ea4)), - 'quote': TextStyle(color: Color(0xff898ea4)), - 'variable': TextStyle(color: Color(0xffc94922)), - 'template-variable': TextStyle(color: Color(0xffc94922)), - 'attribute': TextStyle(color: Color(0xffc94922)), - 'tag': TextStyle(color: Color(0xffc94922)), - 'name': TextStyle(color: Color(0xffc94922)), - 'regexp': TextStyle(color: Color(0xffc94922)), - 'link': TextStyle(color: Color(0xffc94922)), - 'selector-id': TextStyle(color: Color(0xffc94922)), - 'selector-class': TextStyle(color: Color(0xffc94922)), - 'number': TextStyle(color: Color(0xffc76b29)), - 'meta': TextStyle(color: Color(0xffc76b29)), - 'built_in': TextStyle(color: Color(0xffc76b29)), - 'builtin-name': TextStyle(color: Color(0xffc76b29)), - 'literal': TextStyle(color: Color(0xffc76b29)), - 'type': TextStyle(color: Color(0xffc76b29)), - 'params': TextStyle(color: Color(0xffc76b29)), - 'string': TextStyle(color: Color(0xffac9739)), - 'symbol': TextStyle(color: Color(0xffac9739)), - 'bullet': TextStyle(color: Color(0xffac9739)), - 'title': TextStyle(color: Color(0xff3d8fd1)), - 'section': TextStyle(color: Color(0xff3d8fd1)), - 'keyword': TextStyle(color: Color(0xff6679cc)), - 'selector-tag': TextStyle(color: Color(0xff6679cc)), - 'root': - TextStyle(backgroundColor: Color(0xff202746), color: Color(0xff979db4)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atelier-sulphurpool-light.dart b/lib/base/ui/highlight/themes/atelier-sulphurpool-light.dart deleted file mode 100644 index 502885f..0000000 --- a/lib/base/ui/highlight/themes/atelier-sulphurpool-light.dart +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atelierSulphurpoolLightTheme = { - 'comment': TextStyle(color: Color(0xff6b7394)), - 'quote': TextStyle(color: Color(0xff6b7394)), - 'variable': TextStyle(color: Color(0xffc94922)), - 'template-variable': TextStyle(color: Color(0xffc94922)), - 'attribute': TextStyle(color: Color(0xffc94922)), - 'tag': TextStyle(color: Color(0xffc94922)), - 'name': TextStyle(color: Color(0xffc94922)), - 'regexp': TextStyle(color: Color(0xffc94922)), - 'link': TextStyle(color: Color(0xffc94922)), - 'selector-id': TextStyle(color: Color(0xffc94922)), - 'selector-class': TextStyle(color: Color(0xffc94922)), - 'number': TextStyle(color: Color(0xffc76b29)), - 'meta': TextStyle(color: Color(0xffc76b29)), - 'built_in': TextStyle(color: Color(0xffc76b29)), - 'builtin-name': TextStyle(color: Color(0xffc76b29)), - 'literal': TextStyle(color: Color(0xffc76b29)), - 'type': TextStyle(color: Color(0xffc76b29)), - 'params': TextStyle(color: Color(0xffc76b29)), - 'string': TextStyle(color: Color(0xffac9739)), - 'symbol': TextStyle(color: Color(0xffac9739)), - 'bullet': TextStyle(color: Color(0xffac9739)), - 'title': TextStyle(color: Color(0xff3d8fd1)), - 'section': TextStyle(color: Color(0xff3d8fd1)), - 'keyword': TextStyle(color: Color(0xff6679cc)), - 'selector-tag': TextStyle(color: Color(0xff6679cc)), - 'root': - TextStyle(backgroundColor: Color(0xfff5f7ff), color: Color(0xff5e6687)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atom-one-dark-reasonable.dart b/lib/base/ui/highlight/themes/atom-one-dark-reasonable.dart deleted file mode 100644 index 2981e0f..0000000 --- a/lib/base/ui/highlight/themes/atom-one-dark-reasonable.dart +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atomOneDarkReasonableTheme = { - 'root': - TextStyle(color: Color(0xffabb2bf), backgroundColor: Color(0xff282c34)), - 'keyword': TextStyle(color: Color(0xffF92672)), - 'operator': TextStyle(color: Color(0xffF92672)), - 'pattern-match': TextStyle(color: Color(0xffF92672)), - 'function': TextStyle(color: Color(0xff61aeee)), - 'comment': TextStyle(color: Color(0xffb18eb1), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xffb18eb1), fontStyle: FontStyle.italic), - 'doctag': TextStyle(color: Color(0xffc678dd)), - 'formula': TextStyle(color: Color(0xffc678dd)), - 'section': TextStyle(color: Color(0xffe06c75)), - 'name': TextStyle(color: Color(0xffe06c75)), - 'selector-tag': TextStyle(color: Color(0xffe06c75)), - 'deletion': TextStyle(color: Color(0xffe06c75)), - 'subst': TextStyle(color: Color(0xffe06c75)), - 'literal': TextStyle(color: Color(0xff56b6c2)), - 'string': TextStyle(color: Color(0xff98c379)), - 'regexp': TextStyle(color: Color(0xff98c379)), - 'addition': TextStyle(color: Color(0xff98c379)), - 'attribute': TextStyle(color: Color(0xff98c379)), - 'meta-string': TextStyle(color: Color(0xff98c379)), - 'built_in': TextStyle(color: Color(0xffe6c07b)), - 'attr': TextStyle(color: Color(0xffd19a66)), - 'variable': TextStyle(color: Color(0xffd19a66)), - 'template-variable': TextStyle(color: Color(0xffd19a66)), - 'type': TextStyle(color: Color(0xffd19a66)), - 'selector-class': TextStyle(color: Color(0xffd19a66)), - 'selector-attr': TextStyle(color: Color(0xffd19a66)), - 'selector-pseudo': TextStyle(color: Color(0xffd19a66)), - 'number': TextStyle(color: Color(0xffd19a66)), - 'symbol': TextStyle(color: Color(0xff61aeee)), - 'bullet': TextStyle(color: Color(0xff61aeee)), - 'link': TextStyle(color: Color(0xff61aeee)), - 'meta': TextStyle(color: Color(0xff61aeee)), - 'selector-id': TextStyle(color: Color(0xff61aeee)), - 'title': TextStyle(color: Color(0xff61aeee)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atom-one-dark.dart b/lib/base/ui/highlight/themes/atom-one-dark.dart deleted file mode 100644 index 15ab15f..0000000 --- a/lib/base/ui/highlight/themes/atom-one-dark.dart +++ /dev/null @@ -1,41 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atomOneDarkTheme = { - 'root': - TextStyle(color: Color(0xffabb2bf), backgroundColor: Color(0xff282c34)), - 'comment': TextStyle(color: Color(0xff5c6370), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff5c6370), fontStyle: FontStyle.italic), - 'doctag': TextStyle(color: Color(0xffc678dd)), - 'keyword': TextStyle(color: Color(0xffc678dd)), - 'formula': TextStyle(color: Color(0xffc678dd)), - 'section': TextStyle(color: Color(0xffe06c75)), - 'name': TextStyle(color: Color(0xffe06c75)), - 'selector-tag': TextStyle(color: Color(0xffe06c75)), - 'deletion': TextStyle(color: Color(0xffe06c75)), - 'subst': TextStyle(color: Color(0xffe06c75)), - 'literal': TextStyle(color: Color(0xff56b6c2)), - 'string': TextStyle(color: Color(0xff98c379)), - 'regexp': TextStyle(color: Color(0xff98c379)), - 'addition': TextStyle(color: Color(0xff98c379)), - 'attribute': TextStyle(color: Color(0xff98c379)), - 'meta-string': TextStyle(color: Color(0xff98c379)), - 'built_in': TextStyle(color: Color(0xffe6c07b)), - 'attr': TextStyle(color: Color(0xffd19a66)), - 'variable': TextStyle(color: Color(0xffd19a66)), - 'template-variable': TextStyle(color: Color(0xffd19a66)), - 'type': TextStyle(color: Color(0xffd19a66)), - 'selector-class': TextStyle(color: Color(0xffd19a66)), - 'selector-attr': TextStyle(color: Color(0xffd19a66)), - 'selector-pseudo': TextStyle(color: Color(0xffd19a66)), - 'number': TextStyle(color: Color(0xffd19a66)), - 'symbol': TextStyle(color: Color(0xff61aeee)), - 'bullet': TextStyle(color: Color(0xff61aeee)), - 'link': TextStyle(color: Color(0xff61aeee)), - 'meta': TextStyle(color: Color(0xff61aeee)), - 'selector-id': TextStyle(color: Color(0xff61aeee)), - 'title': TextStyle(color: Color(0xff61aeee)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/atom-one-light.dart b/lib/base/ui/highlight/themes/atom-one-light.dart deleted file mode 100644 index 70afaf0..0000000 --- a/lib/base/ui/highlight/themes/atom-one-light.dart +++ /dev/null @@ -1,41 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const atomOneLightTheme = { - 'root': - TextStyle(color: Color(0xff383a42), backgroundColor: Color(0xfffafafa)), - 'comment': TextStyle(color: Color(0xffa0a1a7), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xffa0a1a7), fontStyle: FontStyle.italic), - 'doctag': TextStyle(color: Color(0xffa626a4)), - 'keyword': TextStyle(color: Color(0xffa626a4)), - 'formula': TextStyle(color: Color(0xffa626a4)), - 'section': TextStyle(color: Color(0xffe45649)), - 'name': TextStyle(color: Color(0xffe45649)), - 'selector-tag': TextStyle(color: Color(0xffe45649)), - 'deletion': TextStyle(color: Color(0xffe45649)), - 'subst': TextStyle(color: Color(0xffe45649)), - 'literal': TextStyle(color: Color(0xff0184bb)), - 'string': TextStyle(color: Color(0xff50a14f)), - 'regexp': TextStyle(color: Color(0xff50a14f)), - 'addition': TextStyle(color: Color(0xff50a14f)), - 'attribute': TextStyle(color: Color(0xff50a14f)), - 'meta-string': TextStyle(color: Color(0xff50a14f)), - 'built_in': TextStyle(color: Color(0xffc18401)), - 'attr': TextStyle(color: Color(0xff986801)), - 'variable': TextStyle(color: Color(0xff986801)), - 'template-variable': TextStyle(color: Color(0xff986801)), - 'type': TextStyle(color: Color(0xff986801)), - 'selector-class': TextStyle(color: Color(0xff986801)), - 'selector-attr': TextStyle(color: Color(0xff986801)), - 'selector-pseudo': TextStyle(color: Color(0xff986801)), - 'number': TextStyle(color: Color(0xff986801)), - 'symbol': TextStyle(color: Color(0xff4078f2)), - 'bullet': TextStyle(color: Color(0xff4078f2)), - 'link': TextStyle(color: Color(0xff4078f2)), - 'meta': TextStyle(color: Color(0xff4078f2)), - 'selector-id': TextStyle(color: Color(0xff4078f2)), - 'title': TextStyle(color: Color(0xff4078f2)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/brown-paper.dart b/lib/base/ui/highlight/themes/brown-paper.dart deleted file mode 100644 index e543939..0000000 --- a/lib/base/ui/highlight/themes/brown-paper.dart +++ /dev/null @@ -1,34 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const brownPaperTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffb7a68e), color: Color(0xff363c69)), - 'keyword': TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'subst': TextStyle(color: Color(0xff363c69)), - 'string': TextStyle(color: Color(0xff2c009f)), - 'title': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xff2c009f)), - 'symbol': TextStyle(color: Color(0xff2c009f)), - 'bullet': TextStyle(color: Color(0xff2c009f)), - 'built_in': TextStyle(color: Color(0xff2c009f)), - 'addition': TextStyle(color: Color(0xff2c009f)), - 'variable': TextStyle(color: Color(0xff2c009f)), - 'template-tag': TextStyle(color: Color(0xff2c009f)), - 'template-variable': TextStyle(color: Color(0xff2c009f)), - 'link': TextStyle(color: Color(0xff2c009f)), - 'name': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff802022)), - 'quote': TextStyle(color: Color(0xff802022)), - 'meta': TextStyle(color: Color(0xff802022)), - 'deletion': TextStyle(color: Color(0xff802022)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/codepen-embed.dart b/lib/base/ui/highlight/themes/codepen-embed.dart deleted file mode 100644 index 57931e6..0000000 --- a/lib/base/ui/highlight/themes/codepen-embed.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const codepenEmbedTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff222222), color: Color(0xffffffff)), - 'comment': TextStyle(color: Color(0xff777777)), - 'quote': TextStyle(color: Color(0xff777777)), - 'variable': TextStyle(color: Color(0xffab875d)), - 'template-variable': TextStyle(color: Color(0xffab875d)), - 'tag': TextStyle(color: Color(0xffab875d)), - 'regexp': TextStyle(color: Color(0xffab875d)), - 'meta': TextStyle(color: Color(0xffab875d)), - 'number': TextStyle(color: Color(0xffab875d)), - 'built_in': TextStyle(color: Color(0xffab875d)), - 'builtin-name': TextStyle(color: Color(0xffab875d)), - 'literal': TextStyle(color: Color(0xffab875d)), - 'params': TextStyle(color: Color(0xffab875d)), - 'symbol': TextStyle(color: Color(0xffab875d)), - 'bullet': TextStyle(color: Color(0xffab875d)), - 'link': TextStyle(color: Color(0xffab875d)), - 'deletion': TextStyle(color: Color(0xffab875d)), - 'section': TextStyle(color: Color(0xff9b869b)), - 'title': TextStyle(color: Color(0xff9b869b)), - 'name': TextStyle(color: Color(0xff9b869b)), - 'selector-id': TextStyle(color: Color(0xff9b869b)), - 'selector-class': TextStyle(color: Color(0xff9b869b)), - 'type': TextStyle(color: Color(0xff9b869b)), - 'attribute': TextStyle(color: Color(0xff9b869b)), - 'string': TextStyle(color: Color(0xff8f9c6c)), - 'keyword': TextStyle(color: Color(0xff8f9c6c)), - 'selector-tag': TextStyle(color: Color(0xff8f9c6c)), - 'addition': TextStyle(color: Color(0xff8f9c6c)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/color-brewer.dart b/lib/base/ui/highlight/themes/color-brewer.dart deleted file mode 100644 index 6c774e8..0000000 --- a/lib/base/ui/highlight/themes/color-brewer.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const colorBrewerTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'string': TextStyle(color: Color(0xff756bb1)), - 'meta': TextStyle(color: Color(0xff756bb1)), - 'symbol': TextStyle(color: Color(0xff756bb1)), - 'template-tag': TextStyle(color: Color(0xff756bb1)), - 'template-variable': TextStyle(color: Color(0xff756bb1)), - 'addition': TextStyle(color: Color(0xff756bb1)), - 'comment': TextStyle(color: Color(0xff636363)), - 'quote': TextStyle(color: Color(0xff636363)), - 'number': TextStyle(color: Color(0xff31a354)), - 'regexp': TextStyle(color: Color(0xff31a354)), - 'literal': TextStyle(color: Color(0xff31a354)), - 'bullet': TextStyle(color: Color(0xff31a354)), - 'link': TextStyle(color: Color(0xff31a354)), - 'deletion': TextStyle(color: Color(0xff8888ff)), - 'variable': TextStyle(color: Color(0xff8888ff)), - 'keyword': TextStyle(color: Color(0xff3182bd)), - 'selector-tag': TextStyle(color: Color(0xff3182bd)), - 'title': TextStyle(color: Color(0xff3182bd)), - 'section': TextStyle(color: Color(0xff3182bd)), - 'built_in': TextStyle(color: Color(0xff3182bd)), - 'doctag': TextStyle(color: Color(0xff3182bd)), - 'type': TextStyle(color: Color(0xff3182bd)), - 'tag': TextStyle(color: Color(0xff3182bd)), - 'name': TextStyle(color: Color(0xff3182bd)), - 'selector-id': TextStyle(color: Color(0xff3182bd)), - 'selector-class': TextStyle(color: Color(0xff3182bd)), - 'strong': TextStyle(color: Color(0xff3182bd)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'attribute': TextStyle(color: Color(0xffe6550d)), -}; diff --git a/lib/base/ui/highlight/themes/darcula.dart b/lib/base/ui/highlight/themes/darcula.dart deleted file mode 100644 index 92248ef..0000000 --- a/lib/base/ui/highlight/themes/darcula.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const darculaTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff2b2b2b), color: Color(0xffbababa)), - 'strong': TextStyle(color: Color(0xffa8a8a2)), - 'emphasis': TextStyle(color: Color(0xffa8a8a2), fontStyle: FontStyle.italic), - 'bullet': TextStyle(color: Color(0xff6896ba)), - 'quote': TextStyle(color: Color(0xff6896ba)), - 'link': TextStyle(color: Color(0xff6896ba)), - 'number': TextStyle(color: Color(0xff6896ba)), - 'regexp': TextStyle(color: Color(0xff6896ba)), - 'literal': TextStyle(color: Color(0xff6896ba)), - 'code': TextStyle(color: Color(0xffa6e22e)), - 'selector-class': TextStyle(color: Color(0xffa6e22e)), - 'keyword': TextStyle(color: Color(0xffcb7832)), - 'selector-tag': TextStyle(color: Color(0xffcb7832)), - 'section': TextStyle(color: Color(0xffcb7832)), - 'attribute': TextStyle(color: Color(0xffcb7832)), - 'name': TextStyle(color: Color(0xffcb7832)), - 'variable': TextStyle(color: Color(0xffcb7832)), - 'params': TextStyle(color: Color(0xffb9b9b9)), - 'string': TextStyle(color: Color(0xff6a8759)), - 'subst': TextStyle(color: Color(0xffe0c46c)), - 'type': TextStyle(color: Color(0xffe0c46c)), - 'built_in': TextStyle(color: Color(0xffe0c46c)), - 'builtin-name': TextStyle(color: Color(0xffe0c46c)), - 'symbol': TextStyle(color: Color(0xffe0c46c)), - 'selector-id': TextStyle(color: Color(0xffe0c46c)), - 'selector-attr': TextStyle(color: Color(0xffe0c46c)), - 'selector-pseudo': TextStyle(color: Color(0xffe0c46c)), - 'template-tag': TextStyle(color: Color(0xffe0c46c)), - 'template-variable': TextStyle(color: Color(0xffe0c46c)), - 'addition': TextStyle(color: Color(0xffe0c46c)), - 'comment': TextStyle(color: Color(0xff7f7f7f)), - 'deletion': TextStyle(color: Color(0xff7f7f7f)), - 'meta': TextStyle(color: Color(0xff7f7f7f)), -}; diff --git a/lib/base/ui/highlight/themes/dark.dart b/lib/base/ui/highlight/themes/dark.dart deleted file mode 100644 index 35542df..0000000 --- a/lib/base/ui/highlight/themes/dark.dart +++ /dev/null @@ -1,34 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const darkTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff444444), color: Color(0xffdddddd)), - 'keyword': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'link': TextStyle(color: Color(0xffffffff)), - 'subst': TextStyle(color: Color(0xffdddddd)), - 'string': TextStyle(color: Color(0xffdd8888)), - 'title': TextStyle(color: Color(0xffdd8888), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xffdd8888), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xffdd8888), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xffdd8888)), - 'symbol': TextStyle(color: Color(0xffdd8888)), - 'bullet': TextStyle(color: Color(0xffdd8888)), - 'built_in': TextStyle(color: Color(0xffdd8888)), - 'addition': TextStyle(color: Color(0xffdd8888)), - 'variable': TextStyle(color: Color(0xffdd8888)), - 'template-tag': TextStyle(color: Color(0xffdd8888)), - 'template-variable': TextStyle(color: Color(0xffdd8888)), - 'comment': TextStyle(color: Color(0xff777777)), - 'quote': TextStyle(color: Color(0xff777777)), - 'deletion': TextStyle(color: Color(0xff777777)), - 'meta': TextStyle(color: Color(0xff777777)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/default.dart b/lib/base/ui/highlight/themes/default.dart deleted file mode 100644 index 0bed4b8..0000000 --- a/lib/base/ui/highlight/themes/default.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const defaultTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffF0F0F0), color: Color(0xff444444)), - 'subst': TextStyle(color: Color(0xff444444)), - 'comment': TextStyle(color: Color(0xff888888)), - 'keyword': TextStyle(fontWeight: FontWeight.bold), - 'attribute': TextStyle(fontWeight: FontWeight.bold), - 'selector-tag': TextStyle(fontWeight: FontWeight.bold), - 'meta-keyword': TextStyle(fontWeight: FontWeight.bold), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'name': TextStyle(fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff880000)), - 'string': TextStyle(color: Color(0xff880000)), - 'number': TextStyle(color: Color(0xff880000)), - 'selector-id': TextStyle(color: Color(0xff880000)), - 'selector-class': TextStyle(color: Color(0xff880000)), - 'quote': TextStyle(color: Color(0xff880000)), - 'template-tag': TextStyle(color: Color(0xff880000)), - 'deletion': TextStyle(color: Color(0xff880000)), - 'title': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'regexp': TextStyle(color: Color(0xffBC6060)), - 'symbol': TextStyle(color: Color(0xffBC6060)), - 'variable': TextStyle(color: Color(0xffBC6060)), - 'template-variable': TextStyle(color: Color(0xffBC6060)), - 'link': TextStyle(color: Color(0xffBC6060)), - 'selector-attr': TextStyle(color: Color(0xffBC6060)), - 'selector-pseudo': TextStyle(color: Color(0xffBC6060)), - 'literal': TextStyle(color: Color(0xff78A960)), - 'built_in': TextStyle(color: Color(0xff397300)), - 'bullet': TextStyle(color: Color(0xff397300)), - 'code': TextStyle(color: Color(0xff397300)), - 'addition': TextStyle(color: Color(0xff397300)), - 'meta': TextStyle(color: Color(0xff1f7199)), - 'meta-string': TextStyle(color: Color(0xff4d99bf)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/docco.dart b/lib/base/ui/highlight/themes/docco.dart deleted file mode 100644 index 3b95786..0000000 --- a/lib/base/ui/highlight/themes/docco.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const doccoTheme = { - 'root': - TextStyle(color: Color(0xff000000), backgroundColor: Color(0xfff8f8ff)), - 'comment': TextStyle(color: Color(0xff408080), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff408080), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xff954121)), - 'selector-tag': TextStyle(color: Color(0xff954121)), - 'literal': TextStyle(color: Color(0xff954121)), - 'subst': TextStyle(color: Color(0xff954121)), - 'number': TextStyle(color: Color(0xff40a070)), - 'string': TextStyle(color: Color(0xff219161)), - 'doctag': TextStyle(color: Color(0xff219161)), - 'selector-id': TextStyle(color: Color(0xff19469d)), - 'selector-class': TextStyle(color: Color(0xff19469d)), - 'section': TextStyle(color: Color(0xff19469d)), - 'type': TextStyle(color: Color(0xff19469d)), - 'params': TextStyle(color: Color(0xff0000ff)), - 'title': TextStyle(color: Color(0xff445588), fontWeight: FontWeight.bold), - 'tag': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'name': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'attribute': - TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'variable': TextStyle(color: Color(0xff008080)), - 'template-variable': TextStyle(color: Color(0xff008080)), - 'regexp': TextStyle(color: Color(0xffbb6688)), - 'link': TextStyle(color: Color(0xffbb6688)), - 'symbol': TextStyle(color: Color(0xff990073)), - 'bullet': TextStyle(color: Color(0xff990073)), - 'built_in': TextStyle(color: Color(0xff0086b3)), - 'builtin-name': TextStyle(color: Color(0xff0086b3)), - 'meta': TextStyle(color: Color(0xff999999), fontWeight: FontWeight.bold), - 'deletion': TextStyle(backgroundColor: Color(0xffffdddd)), - 'addition': TextStyle(backgroundColor: Color(0xffddffdd)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/dracula.dart b/lib/base/ui/highlight/themes/dracula.dart deleted file mode 100644 index 44a9d73..0000000 --- a/lib/base/ui/highlight/themes/dracula.dart +++ /dev/null @@ -1,33 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const draculaTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff282a36), color: Color(0xfff8f8f2)), - 'keyword': TextStyle(color: Color(0xff8be9fd), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff8be9fd), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff8be9fd), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff8be9fd), fontWeight: FontWeight.bold), - 'link': TextStyle(color: Color(0xff8be9fd)), - 'subst': TextStyle(color: Color(0xfff8f8f2)), - 'string': TextStyle(color: Color(0xfff1fa8c)), - 'title': TextStyle(color: Color(0xfff1fa8c), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xfff1fa8c), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xfff1fa8c), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xfff1fa8c)), - 'symbol': TextStyle(color: Color(0xfff1fa8c)), - 'bullet': TextStyle(color: Color(0xfff1fa8c)), - 'addition': TextStyle(color: Color(0xfff1fa8c)), - 'variable': TextStyle(color: Color(0xfff1fa8c)), - 'template-tag': TextStyle(color: Color(0xfff1fa8c)), - 'template-variable': TextStyle(color: Color(0xfff1fa8c)), - 'comment': TextStyle(color: Color(0xff6272a4)), - 'quote': TextStyle(color: Color(0xff6272a4)), - 'deletion': TextStyle(color: Color(0xff6272a4)), - 'meta': TextStyle(color: Color(0xff6272a4)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/far.dart b/lib/base/ui/highlight/themes/far.dart deleted file mode 100644 index 0fe32bd..0000000 --- a/lib/base/ui/highlight/themes/far.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const farTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff000080), color: Color(0xff00ffff)), - 'subst': TextStyle(color: Color(0xff00ffff)), - 'string': TextStyle(color: Color(0xffffff00)), - 'attribute': TextStyle(color: Color(0xffffff00)), - 'symbol': TextStyle(color: Color(0xffffff00)), - 'bullet': TextStyle(color: Color(0xffffff00)), - 'built_in': TextStyle(color: Color(0xffffff00)), - 'builtin-name': TextStyle(color: Color(0xffffff00)), - 'template-tag': TextStyle(color: Color(0xffffff00)), - 'template-variable': TextStyle(color: Color(0xffffff00)), - 'addition': TextStyle(color: Color(0xffffff00)), - 'keyword': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xffffffff)), - 'name': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'selector-id': TextStyle(color: Color(0xffffffff)), - 'selector-class': TextStyle(color: Color(0xffffffff)), - 'variable': TextStyle(color: Color(0xffffffff)), - 'comment': TextStyle(color: Color(0xff888888)), - 'quote': TextStyle(color: Color(0xff888888)), - 'doctag': TextStyle(color: Color(0xff888888)), - 'deletion': TextStyle(color: Color(0xff888888)), - 'number': TextStyle(color: Color(0xff00ff00)), - 'regexp': TextStyle(color: Color(0xff00ff00)), - 'literal': TextStyle(color: Color(0xff00ff00)), - 'link': TextStyle(color: Color(0xff00ff00)), - 'meta': TextStyle(color: Color(0xff008080)), - 'title': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/foundation.dart b/lib/base/ui/highlight/themes/foundation.dart deleted file mode 100644 index 1462432..0000000 --- a/lib/base/ui/highlight/themes/foundation.dart +++ /dev/null @@ -1,36 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const foundationTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffeeeeee), color: Color(0xff000000)), - 'link': TextStyle(color: Color(0xff007700)), - 'emphasis': TextStyle(color: Color(0xff007700), fontStyle: FontStyle.italic), - 'attribute': TextStyle(color: Color(0xff007700)), - 'addition': TextStyle(color: Color(0xff007700)), - 'strong': TextStyle(color: Color(0xffdd1144), fontWeight: FontWeight.bold), - 'string': TextStyle(color: Color(0xffdd1144)), - 'deletion': TextStyle(color: Color(0xffdd1144)), - 'quote': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic), - 'comment': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic), - 'section': TextStyle(color: Color(0xff990000)), - 'title': TextStyle(color: Color(0xff990000)), - 'type': TextStyle(color: Color(0xff445588)), - 'variable': TextStyle(color: Color(0xff336699)), - 'template-variable': TextStyle(color: Color(0xff336699)), - 'bullet': TextStyle(color: Color(0xff997700)), - 'meta': TextStyle(color: Color(0xff3344bb)), - 'code': TextStyle(color: Color(0xff009999)), - 'number': TextStyle(color: Color(0xff009999)), - 'literal': TextStyle(color: Color(0xff009999)), - 'keyword': TextStyle(color: Color(0xff009999)), - 'selector-tag': TextStyle(color: Color(0xff009999)), - 'regexp': - TextStyle(backgroundColor: Color(0xfffff0ff), color: Color(0xff880088)), - 'symbol': TextStyle(color: Color(0xff990073)), - 'tag': TextStyle(color: Color(0xff007700)), - 'name': TextStyle(color: Color(0xff007700)), - 'selector-id': TextStyle(color: Color(0xff007700)), - 'selector-class': TextStyle(color: Color(0xff007700)), -}; diff --git a/lib/base/ui/highlight/themes/github-gist.dart b/lib/base/ui/highlight/themes/github-gist.dart deleted file mode 100644 index fe311f4..0000000 --- a/lib/base/ui/highlight/themes/github-gist.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const githubGistTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff333333)), - 'comment': TextStyle(color: Color(0xff969896)), - 'meta': TextStyle(color: Color(0xff969896)), - 'variable': TextStyle(color: Color(0xffdf5000)), - 'template-variable': TextStyle(color: Color(0xffdf5000)), - 'strong': TextStyle(color: Color(0xffdf5000)), - 'emphasis': TextStyle(color: Color(0xffdf5000)), - 'quote': TextStyle(color: Color(0xffdf5000)), - 'keyword': TextStyle(color: Color(0xffd73a49)), - 'selector-tag': TextStyle(color: Color(0xffd73a49)), - 'type': TextStyle(color: Color(0xffd73a49)), - 'literal': TextStyle(color: Color(0xff0086b3)), - 'symbol': TextStyle(color: Color(0xff0086b3)), - 'bullet': TextStyle(color: Color(0xff0086b3)), - 'attribute': TextStyle(color: Color(0xff0086b3)), - 'section': TextStyle(color: Color(0xff63a35c)), - 'name': TextStyle(color: Color(0xff63a35c)), - 'tag': TextStyle(color: Color(0xff333333)), - 'title': TextStyle(color: Color(0xff6f42c1)), - 'attr': TextStyle(color: Color(0xff6f42c1)), - 'selector-id': TextStyle(color: Color(0xff6f42c1)), - 'selector-class': TextStyle(color: Color(0xff6f42c1)), - 'selector-attr': TextStyle(color: Color(0xff6f42c1)), - 'selector-pseudo': TextStyle(color: Color(0xff6f42c1)), - 'addition': - TextStyle(color: Color(0xff55a532), backgroundColor: Color(0xffeaffea)), - 'deletion': - TextStyle(color: Color(0xffbd2c00), backgroundColor: Color(0xffffecec)), - 'number': TextStyle(color: Color(0xff005cc5)), - 'string': TextStyle(color: Color(0xff032f62)), -}; diff --git a/lib/base/ui/highlight/themes/github.dart b/lib/base/ui/highlight/themes/github.dart deleted file mode 100644 index 0d16c7d..0000000 --- a/lib/base/ui/highlight/themes/github.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const githubTheme = { - 'root': - TextStyle(color: Color(0xff333333), backgroundColor: Color(0xfff8f8f8)), - 'comment': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'subst': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.normal), - 'number': TextStyle(color: Color(0xff008080)), - 'literal': TextStyle(color: Color(0xff008080)), - 'variable': TextStyle(color: Color(0xff008080)), - 'template-variable': TextStyle(color: Color(0xff008080)), - 'string': TextStyle(color: Color(0xffdd1144)), - 'doctag': TextStyle(color: Color(0xffdd1144)), - 'title': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold), - 'selector-id': - TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff445588), fontWeight: FontWeight.bold), - 'tag': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'name': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'attribute': - TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal), - 'regexp': TextStyle(color: Color(0xff009926)), - 'link': TextStyle(color: Color(0xff009926)), - 'symbol': TextStyle(color: Color(0xff990073)), - 'bullet': TextStyle(color: Color(0xff990073)), - 'built_in': TextStyle(color: Color(0xff0086b3)), - 'builtin-name': TextStyle(color: Color(0xff0086b3)), - 'meta': TextStyle(color: Color(0xff999999), fontWeight: FontWeight.bold), - 'deletion': TextStyle(backgroundColor: Color(0xffffdddd)), - 'addition': TextStyle(backgroundColor: Color(0xffddffdd)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/gml.dart b/lib/base/ui/highlight/themes/gml.dart deleted file mode 100644 index fab774d..0000000 --- a/lib/base/ui/highlight/themes/gml.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const gmlTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff222222), color: Color(0xffC0C0C0)), - 'keyword': TextStyle(color: Color(0xffFFB871), fontWeight: FontWeight.bold), - 'built_in': TextStyle(color: Color(0xffFFB871)), - 'literal': TextStyle(color: Color(0xffFF8080)), - 'symbol': TextStyle(color: Color(0xff58E55A)), - 'comment': TextStyle(color: Color(0xff5B995B)), - 'string': TextStyle(color: Color(0xffFFFF00)), - 'number': TextStyle(color: Color(0xffFF8080)), - 'attribute': TextStyle(color: Color(0xffC0C0C0)), - 'selector-tag': TextStyle(color: Color(0xffC0C0C0)), - 'doctag': TextStyle(color: Color(0xffC0C0C0)), - 'name': TextStyle(color: Color(0xffC0C0C0)), - 'bullet': TextStyle(color: Color(0xffC0C0C0)), - 'code': TextStyle(color: Color(0xffC0C0C0)), - 'addition': TextStyle(color: Color(0xffC0C0C0)), - 'regexp': TextStyle(color: Color(0xffC0C0C0)), - 'variable': TextStyle(color: Color(0xffC0C0C0)), - 'template-variable': TextStyle(color: Color(0xffC0C0C0)), - 'link': TextStyle(color: Color(0xffC0C0C0)), - 'selector-attr': TextStyle(color: Color(0xffC0C0C0)), - 'selector-pseudo': TextStyle(color: Color(0xffC0C0C0)), - 'type': TextStyle(color: Color(0xffC0C0C0)), - 'selector-id': TextStyle(color: Color(0xffC0C0C0)), - 'selector-class': TextStyle(color: Color(0xffC0C0C0)), - 'quote': TextStyle(color: Color(0xffC0C0C0)), - 'template-tag': TextStyle(color: Color(0xffC0C0C0)), - 'deletion': TextStyle(color: Color(0xffC0C0C0)), - 'title': TextStyle(color: Color(0xffC0C0C0)), - 'section': TextStyle(color: Color(0xffC0C0C0)), - 'function': TextStyle(color: Color(0xffC0C0C0)), - 'meta-keyword': TextStyle(color: Color(0xffC0C0C0)), - 'meta': TextStyle(color: Color(0xffC0C0C0)), - 'subst': TextStyle(color: Color(0xffC0C0C0)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/googlecode.dart b/lib/base/ui/highlight/themes/googlecode.dart deleted file mode 100644 index b957979..0000000 --- a/lib/base/ui/highlight/themes/googlecode.dart +++ /dev/null @@ -1,43 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const googlecodeTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff880000)), - 'quote': TextStyle(color: Color(0xff880000)), - 'keyword': TextStyle(color: Color(0xff000088)), - 'selector-tag': TextStyle(color: Color(0xff000088)), - 'section': TextStyle(color: Color(0xff000088)), - 'title': TextStyle(color: Color(0xff660066)), - 'name': TextStyle(color: Color(0xff000088)), - 'variable': TextStyle(color: Color(0xff666600)), - 'template-variable': TextStyle(color: Color(0xff666600)), - 'string': TextStyle(color: Color(0xff008800)), - 'selector-attr': TextStyle(color: Color(0xff008800)), - 'selector-pseudo': TextStyle(color: Color(0xff008800)), - 'regexp': TextStyle(color: Color(0xff008800)), - 'literal': TextStyle(color: Color(0xff006666)), - 'symbol': TextStyle(color: Color(0xff006666)), - 'bullet': TextStyle(color: Color(0xff006666)), - 'meta': TextStyle(color: Color(0xff006666)), - 'number': TextStyle(color: Color(0xff006666)), - 'link': TextStyle(color: Color(0xff006666)), - 'doctag': TextStyle(color: Color(0xff660066), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff660066)), - 'attr': TextStyle(color: Color(0xff660066)), - 'built_in': TextStyle(color: Color(0xff660066)), - 'builtin-name': TextStyle(color: Color(0xff660066)), - 'params': TextStyle(color: Color(0xff660066)), - 'attribute': TextStyle(color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'formula': TextStyle( - backgroundColor: Color(0xffeeeeee), fontStyle: FontStyle.italic), - 'selector-id': TextStyle(color: Color(0xff9B703F)), - 'selector-class': TextStyle(color: Color(0xff9B703F)), - 'addition': TextStyle(backgroundColor: Color(0xffbaeeba)), - 'deletion': TextStyle(backgroundColor: Color(0xffffc8bd)), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/gradient-dark.dart b/lib/base/ui/highlight/themes/gradient-dark.dart deleted file mode 100644 index c1b1892..0000000 --- a/lib/base/ui/highlight/themes/gradient-dark.dart +++ /dev/null @@ -1,49 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const gradientDarkTheme = { - 'root': TextStyle(color: Color(0xffe7e4eb)), - 'subtr': TextStyle(color: Color(0xffe7e4eb)), - 'doctag': TextStyle(color: Color(0xffaf8dd9)), - 'meta': TextStyle(color: Color(0xffaf8dd9)), - 'comment': TextStyle(color: Color(0xffaf8dd9)), - 'quote': TextStyle(color: Color(0xffaf8dd9), fontStyle: FontStyle.italic), - 'selector-tag': - TextStyle(color: Color(0xffAEFBFF), fontWeight: FontWeight.bold), - 'selector-id': - TextStyle(color: Color(0xffAEFBFF), fontWeight: FontWeight.bold), - 'template-tag': - TextStyle(color: Color(0xffAEFBFF), fontWeight: FontWeight.bold), - 'regexp': TextStyle(color: Color(0xffAEFBFF)), - 'attr': TextStyle(color: Color(0xffAEFBFF)), - 'tag': TextStyle(color: Color(0xffAEFBFF)), - 'params': TextStyle(color: Color(0xffF19FFF), fontWeight: FontWeight.bold), - 'selector-class': - TextStyle(color: Color(0xffF19FFF), fontWeight: FontWeight.bold), - 'bullet': TextStyle(color: Color(0xffF19FFF)), - 'keyword': TextStyle(color: Color(0xff17fc95), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff17fc95), fontWeight: FontWeight.bold), - 'meta-keyword': TextStyle(color: Color(0xff17fc95)), - 'symbol': TextStyle(color: Color(0xff17fc95)), - 'type': TextStyle(color: Color(0xff17fc95)), - 'addition': TextStyle(color: Color(0xffE7FF9F)), - 'number': TextStyle(color: Color(0xffC5FE00)), - 'link': TextStyle(color: Color(0xffC5FE00)), - 'string': TextStyle(color: Color(0xff38c0ff)), - 'attribute': TextStyle(color: Color(0xffE7FF9F)), - 'variable': TextStyle(color: Color(0xffE447FF)), - 'template-variable': TextStyle(color: Color(0xffE447FF)), - 'builtin-name': TextStyle(color: Color(0xffFFC800)), - 'built_in': TextStyle(color: Color(0xffFFC800)), - 'formula': TextStyle(color: Color(0xffFFC800)), - 'name': TextStyle(color: Color(0xffFFC800)), - 'title': TextStyle(color: Color(0xffFFC800)), - 'class': TextStyle(color: Color(0xffFFC800)), - 'function': TextStyle(color: Color(0xffFFC800)), - 'selector-pseudo': TextStyle(color: Color(0xffFF9E44)), - 'deletion': TextStyle(color: Color(0xffFF9E44)), - 'literal': TextStyle(color: Color(0xffFF9E44)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/grayscale.dart b/lib/base/ui/highlight/themes/grayscale.dart deleted file mode 100644 index f465379..0000000 --- a/lib/base/ui/highlight/themes/grayscale.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const grayscaleTheme = { - 'root': - TextStyle(color: Color(0xff333333), backgroundColor: Color(0xffffffff)), - 'comment': TextStyle(color: Color(0xff777777), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff777777), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'subst': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.normal), - 'number': TextStyle(color: Color(0xff777777)), - 'literal': TextStyle(color: Color(0xff777777)), - 'string': TextStyle(color: Color(0xff333333)), - 'doctag': TextStyle(color: Color(0xff333333)), - 'formula': TextStyle(color: Color(0xff333333)), - 'title': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'selector-id': - TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold), - 'tag': TextStyle(color: Color(0xff333333)), - 'regexp': TextStyle(color: Color(0xff333333)), - 'symbol': TextStyle(color: Color(0xff000000)), - 'bullet': TextStyle(color: Color(0xff000000)), - 'link': TextStyle(color: Color(0xff000000)), - 'built_in': TextStyle(color: Color(0xff000000)), - 'builtin-name': TextStyle(color: Color(0xff000000)), - 'meta': TextStyle(color: Color(0xff999999), fontWeight: FontWeight.bold), - 'deletion': TextStyle(color: Color(0xffffffff)), - 'addition': TextStyle(color: Color(0xff000000)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/gruvbox-dark.dart b/lib/base/ui/highlight/themes/gruvbox-dark.dart deleted file mode 100644 index 4c9d50d..0000000 --- a/lib/base/ui/highlight/themes/gruvbox-dark.dart +++ /dev/null @@ -1,50 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const gruvboxDarkTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff282828), color: Color(0xffebdbb2)), - 'subst': TextStyle(color: Color(0xffebdbb2)), - 'deletion': TextStyle(color: Color(0xfffb4934)), - 'formula': TextStyle(color: Color(0xfffb4934)), - 'keyword': TextStyle(color: Color(0xfffb4934)), - 'link': TextStyle(color: Color(0xfffb4934)), - 'selector-tag': TextStyle(color: Color(0xfffb4934)), - 'built_in': TextStyle(color: Color(0xff83a598)), - 'emphasis': TextStyle(color: Color(0xff83a598), fontStyle: FontStyle.italic), - 'name': TextStyle(color: Color(0xff83a598)), - 'quote': TextStyle(color: Color(0xff83a598)), - 'strong': TextStyle(color: Color(0xff83a598), fontWeight: FontWeight.bold), - 'title': TextStyle(color: Color(0xff83a598)), - 'variable': TextStyle(color: Color(0xff83a598)), - 'attr': TextStyle(color: Color(0xfffabd2f)), - 'params': TextStyle(color: Color(0xfffabd2f)), - 'template-tag': TextStyle(color: Color(0xfffabd2f)), - 'type': TextStyle(color: Color(0xfffabd2f)), - 'builtin-name': TextStyle(color: Color(0xff8f3f71)), - 'doctag': TextStyle(color: Color(0xff8f3f71)), - 'literal': TextStyle(color: Color(0xffd3869b)), - 'number': TextStyle(color: Color(0xffd3869b)), - 'code': TextStyle(color: Color(0xfffe8019)), - 'meta': TextStyle(color: Color(0xfffe8019)), - 'regexp': TextStyle(color: Color(0xfffe8019)), - 'selector-id': TextStyle(color: Color(0xfffe8019)), - 'template-variable': TextStyle(color: Color(0xfffe8019)), - 'addition': TextStyle(color: Color(0xffb8bb26)), - 'meta-string': TextStyle(color: Color(0xffb8bb26)), - 'section': TextStyle(color: Color(0xffb8bb26), fontWeight: FontWeight.bold), - 'selector-attr': TextStyle(color: Color(0xffb8bb26)), - 'selector-class': TextStyle(color: Color(0xffb8bb26)), - 'string': TextStyle(color: Color(0xffb8bb26)), - 'symbol': TextStyle(color: Color(0xffb8bb26)), - 'attribute': TextStyle(color: Color(0xff8ec07c)), - 'bullet': TextStyle(color: Color(0xff8ec07c)), - 'class': TextStyle(color: Color(0xff8ec07c)), - 'function': TextStyle(color: Color(0xff8ec07c)), - 'meta-keyword': TextStyle(color: Color(0xff8ec07c)), - 'selector-pseudo': TextStyle(color: Color(0xff8ec07c)), - 'tag': TextStyle(color: Color(0xff8ec07c), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff928374), fontStyle: FontStyle.italic), - 'link_label': TextStyle(color: Color(0xffd3869b)), -}; diff --git a/lib/base/ui/highlight/themes/gruvbox-light.dart b/lib/base/ui/highlight/themes/gruvbox-light.dart deleted file mode 100644 index 328be82..0000000 --- a/lib/base/ui/highlight/themes/gruvbox-light.dart +++ /dev/null @@ -1,50 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const gruvboxLightTheme = { - 'root': - TextStyle(backgroundColor: Color(0xfffbf1c7), color: Color(0xff3c3836)), - 'subst': TextStyle(color: Color(0xff3c3836)), - 'deletion': TextStyle(color: Color(0xff9d0006)), - 'formula': TextStyle(color: Color(0xff9d0006)), - 'keyword': TextStyle(color: Color(0xff9d0006)), - 'link': TextStyle(color: Color(0xff9d0006)), - 'selector-tag': TextStyle(color: Color(0xff9d0006)), - 'built_in': TextStyle(color: Color(0xff076678)), - 'emphasis': TextStyle(color: Color(0xff076678), fontStyle: FontStyle.italic), - 'name': TextStyle(color: Color(0xff076678)), - 'quote': TextStyle(color: Color(0xff076678)), - 'strong': TextStyle(color: Color(0xff076678), fontWeight: FontWeight.bold), - 'title': TextStyle(color: Color(0xff076678)), - 'variable': TextStyle(color: Color(0xff076678)), - 'attr': TextStyle(color: Color(0xffb57614)), - 'params': TextStyle(color: Color(0xffb57614)), - 'template-tag': TextStyle(color: Color(0xffb57614)), - 'type': TextStyle(color: Color(0xffb57614)), - 'builtin-name': TextStyle(color: Color(0xff8f3f71)), - 'doctag': TextStyle(color: Color(0xff8f3f71)), - 'literal': TextStyle(color: Color(0xff8f3f71)), - 'number': TextStyle(color: Color(0xff8f3f71)), - 'code': TextStyle(color: Color(0xffaf3a03)), - 'meta': TextStyle(color: Color(0xffaf3a03)), - 'regexp': TextStyle(color: Color(0xffaf3a03)), - 'selector-id': TextStyle(color: Color(0xffaf3a03)), - 'template-variable': TextStyle(color: Color(0xffaf3a03)), - 'addition': TextStyle(color: Color(0xff79740e)), - 'meta-string': TextStyle(color: Color(0xff79740e)), - 'section': TextStyle(color: Color(0xff79740e), fontWeight: FontWeight.bold), - 'selector-attr': TextStyle(color: Color(0xff79740e)), - 'selector-class': TextStyle(color: Color(0xff79740e)), - 'string': TextStyle(color: Color(0xff79740e)), - 'symbol': TextStyle(color: Color(0xff79740e)), - 'attribute': TextStyle(color: Color(0xff427b58)), - 'bullet': TextStyle(color: Color(0xff427b58)), - 'class': TextStyle(color: Color(0xff427b58)), - 'function': TextStyle(color: Color(0xff427b58)), - 'meta-keyword': TextStyle(color: Color(0xff427b58)), - 'selector-pseudo': TextStyle(color: Color(0xff427b58)), - 'tag': TextStyle(color: Color(0xff427b58), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff928374), fontStyle: FontStyle.italic), - 'link_label': TextStyle(color: Color(0xff8f3f71)), -}; diff --git a/lib/base/ui/highlight/themes/hopscotch.dart b/lib/base/ui/highlight/themes/hopscotch.dart deleted file mode 100644 index f70a310..0000000 --- a/lib/base/ui/highlight/themes/hopscotch.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const hopscotchTheme = { - 'comment': TextStyle(color: Color(0xff989498)), - 'quote': TextStyle(color: Color(0xff989498)), - 'variable': TextStyle(color: Color(0xffdd464c)), - 'template-variable': TextStyle(color: Color(0xffdd464c)), - 'attribute': TextStyle(color: Color(0xffdd464c)), - 'tag': TextStyle(color: Color(0xffdd464c)), - 'name': TextStyle(color: Color(0xffdd464c)), - 'selector-id': TextStyle(color: Color(0xffdd464c)), - 'selector-class': TextStyle(color: Color(0xffdd464c)), - 'regexp': TextStyle(color: Color(0xffdd464c)), - 'link': TextStyle(color: Color(0xffdd464c)), - 'deletion': TextStyle(color: Color(0xffdd464c)), - 'number': TextStyle(color: Color(0xfffd8b19)), - 'built_in': TextStyle(color: Color(0xfffd8b19)), - 'builtin-name': TextStyle(color: Color(0xfffd8b19)), - 'literal': TextStyle(color: Color(0xfffd8b19)), - 'type': TextStyle(color: Color(0xfffd8b19)), - 'params': TextStyle(color: Color(0xfffd8b19)), - 'string': TextStyle(color: Color(0xff8fc13e)), - 'symbol': TextStyle(color: Color(0xff8fc13e)), - 'bullet': TextStyle(color: Color(0xff8fc13e)), - 'addition': TextStyle(color: Color(0xff8fc13e)), - 'meta': TextStyle(color: Color(0xff149b93)), - 'function': TextStyle(color: Color(0xff1290bf)), - 'section': TextStyle(color: Color(0xff1290bf)), - 'title': TextStyle(color: Color(0xff1290bf)), - 'keyword': TextStyle(color: Color(0xffc85e7c)), - 'selector-tag': TextStyle(color: Color(0xffc85e7c)), - 'root': - TextStyle(backgroundColor: Color(0xff322931), color: Color(0xffb9b5b8)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/hybrid.dart b/lib/base/ui/highlight/themes/hybrid.dart deleted file mode 100644 index 222eeb9..0000000 --- a/lib/base/ui/highlight/themes/hybrid.dart +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const hybridTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff1d1f21), color: Color(0xffc5c8c6)), - '.hljs::selection': TextStyle(backgroundColor: Color(0xff373b41)), - '.hljs::-moz-selection': TextStyle(backgroundColor: Color(0xff373b41)), - 'title': TextStyle(color: Color(0xfff0c674)), - 'name': TextStyle(color: Color(0xfff0c674)), - 'comment': TextStyle(color: Color(0xff707880)), - 'meta': TextStyle(color: Color(0xff707880)), - 'number': TextStyle(color: Color(0xffcc6666)), - 'symbol': TextStyle(color: Color(0xffcc6666)), - 'literal': TextStyle(color: Color(0xffcc6666)), - 'deletion': TextStyle(color: Color(0xffcc6666)), - 'link': TextStyle(color: Color(0xffcc6666)), - 'string': TextStyle(color: Color(0xffb5bd68)), - 'doctag': TextStyle(color: Color(0xffb5bd68)), - 'addition': TextStyle(color: Color(0xffb5bd68)), - 'regexp': TextStyle(color: Color(0xffb5bd68)), - 'selector-attr': TextStyle(color: Color(0xffb5bd68)), - 'selector-pseudo': TextStyle(color: Color(0xffb5bd68)), - 'attribute': TextStyle(color: Color(0xffb294bb)), - 'code': TextStyle(color: Color(0xffb294bb)), - 'selector-id': TextStyle(color: Color(0xffb294bb)), - 'keyword': TextStyle(color: Color(0xff81a2be)), - 'selector-tag': TextStyle(color: Color(0xff81a2be)), - 'bullet': TextStyle(color: Color(0xff81a2be)), - 'tag': TextStyle(color: Color(0xff81a2be)), - 'subst': TextStyle(color: Color(0xff8abeb7)), - 'variable': TextStyle(color: Color(0xff8abeb7)), - 'template-tag': TextStyle(color: Color(0xff8abeb7)), - 'template-variable': TextStyle(color: Color(0xff8abeb7)), - 'type': TextStyle(color: Color(0xffde935f)), - 'built_in': TextStyle(color: Color(0xffde935f)), - 'builtin-name': TextStyle(color: Color(0xffde935f)), - 'quote': TextStyle(color: Color(0xffde935f)), - 'section': TextStyle(color: Color(0xffde935f)), - 'selector-class': TextStyle(color: Color(0xffde935f)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/idea.dart b/lib/base/ui/highlight/themes/idea.dart deleted file mode 100644 index 6965702..0000000 --- a/lib/base/ui/highlight/themes/idea.dart +++ /dev/null @@ -1,48 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const ideaTheme = { - 'root': - TextStyle(color: Color(0xff000000), backgroundColor: Color(0xffffffff)), - 'subst': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff000000)), - 'title': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff808080), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff808080), fontStyle: FontStyle.italic), - 'meta': TextStyle(color: Color(0xff808000)), - 'tag': TextStyle(backgroundColor: Color(0xffefefef)), - 'section': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'name': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'literal': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'keyword': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'selector-tag': - TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'type': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'selector-id': - TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'selector-class': - TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'attribute': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff0000ff)), - 'number': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)), - 'regexp': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)), - 'link': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)), - 'string': TextStyle(color: Color(0xff008000), fontWeight: FontWeight.bold), - 'symbol': TextStyle( - color: Color(0xff000000), - backgroundColor: Color(0xffd0eded), - fontStyle: FontStyle.italic), - 'bullet': TextStyle( - color: Color(0xff000000), - backgroundColor: Color(0xffd0eded), - fontStyle: FontStyle.italic), - 'formula': TextStyle( - color: Color(0xff000000), - backgroundColor: Color(0xffd0eded), - fontStyle: FontStyle.italic), - 'variable': TextStyle(color: Color(0xff660e7a)), - 'template-variable': TextStyle(color: Color(0xff660e7a)), - 'addition': TextStyle(backgroundColor: Color(0xffbaeeba)), - 'deletion': TextStyle(backgroundColor: Color(0xffffc8bd)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/ir-black.dart b/lib/base/ui/highlight/themes/ir-black.dart deleted file mode 100644 index c4530e1..0000000 --- a/lib/base/ui/highlight/themes/ir-black.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const irBlackTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff000000), color: Color(0xfff8f8f8)), - 'comment': TextStyle(color: Color(0xff7c7c7c)), - 'quote': TextStyle(color: Color(0xff7c7c7c)), - 'meta': TextStyle(color: Color(0xff7c7c7c)), - 'keyword': TextStyle(color: Color(0xff96cbfe)), - 'selector-tag': TextStyle(color: Color(0xff96cbfe)), - 'tag': TextStyle(color: Color(0xff96cbfe)), - 'name': TextStyle(color: Color(0xff96cbfe)), - 'attribute': TextStyle(color: Color(0xffffffb6)), - 'selector-id': TextStyle(color: Color(0xffffffb6)), - 'string': TextStyle(color: Color(0xffa8ff60)), - 'selector-attr': TextStyle(color: Color(0xffa8ff60)), - 'selector-pseudo': TextStyle(color: Color(0xffa8ff60)), - 'addition': TextStyle(color: Color(0xffa8ff60)), - 'subst': TextStyle(color: Color(0xffdaefa3)), - 'regexp': TextStyle(color: Color(0xffe9c062)), - 'link': TextStyle(color: Color(0xffe9c062)), - 'title': TextStyle(color: Color(0xffffffb6)), - 'section': TextStyle(color: Color(0xffffffb6)), - 'type': TextStyle(color: Color(0xffffffb6)), - 'doctag': TextStyle(color: Color(0xffffffb6)), - 'symbol': TextStyle(color: Color(0xffc6c5fe)), - 'bullet': TextStyle(color: Color(0xffc6c5fe)), - 'variable': TextStyle(color: Color(0xffc6c5fe)), - 'template-variable': TextStyle(color: Color(0xffc6c5fe)), - 'literal': TextStyle(color: Color(0xffc6c5fe)), - 'number': TextStyle(color: Color(0xffff73fd)), - 'deletion': TextStyle(color: Color(0xffff73fd)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/isbl-editor-dark.dart b/lib/base/ui/highlight/themes/isbl-editor-dark.dart deleted file mode 100644 index 46de320..0000000 --- a/lib/base/ui/highlight/themes/isbl-editor-dark.dart +++ /dev/null @@ -1,47 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const isblEditorDarkTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff404040), color: Color(0xfff0f0f0)), - 'subst': TextStyle(color: Color(0xfff0f0f0)), - 'comment': TextStyle(color: Color(0xffb5b5b5), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'meta-keyword': - TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'doctag': TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xfff0f0f0), fontWeight: FontWeight.bold), - 'string': TextStyle(color: Color(0xff97bf0d)), - 'type': TextStyle(color: Color(0xfff0f0f0)), - 'number': TextStyle(color: Color(0xfff0f0f0)), - 'selector-id': TextStyle(color: Color(0xfff0f0f0)), - 'selector-class': TextStyle(color: Color(0xfff0f0f0)), - 'quote': TextStyle(color: Color(0xfff0f0f0)), - 'template-tag': TextStyle(color: Color(0xfff0f0f0)), - 'deletion': TextStyle(color: Color(0xfff0f0f0)), - 'title': TextStyle(color: Color(0xffdf471e)), - 'section': TextStyle(color: Color(0xffdf471e)), - 'title>.hljs-built_in': - TextStyle(color: Color(0xff81bce9), fontWeight: FontWeight.normal), - 'regexp': TextStyle(color: Color(0xffe2c696)), - 'symbol': TextStyle(color: Color(0xffe2c696)), - 'variable': TextStyle(color: Color(0xffe2c696)), - 'template-variable': TextStyle(color: Color(0xffe2c696)), - 'link': TextStyle(color: Color(0xffe2c696)), - 'selector-attr': TextStyle(color: Color(0xffe2c696)), - 'selector-pseudo': TextStyle(color: Color(0xffe2c696)), - 'built_in': TextStyle(color: Color(0xff97bf0d), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff97bf0d), fontWeight: FontWeight.bold), - 'bullet': TextStyle(color: Color(0xff397300)), - 'code': TextStyle(color: Color(0xff397300)), - 'addition': TextStyle(color: Color(0xff397300)), - 'class': TextStyle(color: Color(0xffce9d4d), fontWeight: FontWeight.bold), - 'meta': TextStyle(color: Color(0xff1f7199)), - 'meta-string': TextStyle(color: Color(0xff4d99bf)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/isbl-editor-light.dart b/lib/base/ui/highlight/themes/isbl-editor-light.dart deleted file mode 100644 index 28650e6..0000000 --- a/lib/base/ui/highlight/themes/isbl-editor-light.dart +++ /dev/null @@ -1,47 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const isblEditorLightTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff555555), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'meta-keyword': - TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'doctag': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'string': TextStyle(color: Color(0xff000080)), - 'type': TextStyle(color: Color(0xff000000)), - 'number': TextStyle(color: Color(0xff000000)), - 'selector-id': TextStyle(color: Color(0xff000000)), - 'selector-class': TextStyle(color: Color(0xff000000)), - 'quote': TextStyle(color: Color(0xff000000)), - 'template-tag': TextStyle(color: Color(0xff000000)), - 'deletion': TextStyle(color: Color(0xff000000)), - 'title': TextStyle(color: Color(0xfffb2c00)), - 'section': TextStyle(color: Color(0xfffb2c00)), - 'title>.hljs-built_in': - TextStyle(color: Color(0xff008080), fontWeight: FontWeight.normal), - 'regexp': TextStyle(color: Color(0xff5e1700)), - 'symbol': TextStyle(color: Color(0xff5e1700)), - 'variable': TextStyle(color: Color(0xff5e1700)), - 'template-variable': TextStyle(color: Color(0xff5e1700)), - 'link': TextStyle(color: Color(0xff5e1700)), - 'selector-attr': TextStyle(color: Color(0xff5e1700)), - 'selector-pseudo': TextStyle(color: Color(0xff5e1700)), - 'built_in': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.bold), - 'bullet': TextStyle(color: Color(0xff397300)), - 'code': TextStyle(color: Color(0xff397300)), - 'addition': TextStyle(color: Color(0xff397300)), - 'class': TextStyle(color: Color(0xff6f1C00), fontWeight: FontWeight.bold), - 'meta': TextStyle(color: Color(0xff1f7199)), - 'meta-string': TextStyle(color: Color(0xff4d99bf)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/kimbie.dark.dart b/lib/base/ui/highlight/themes/kimbie.dark.dart deleted file mode 100644 index 5a24cbc..0000000 --- a/lib/base/ui/highlight/themes/kimbie.dark.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const kimbieDarkTheme = { - 'comment': TextStyle(color: Color(0xffd6baad)), - 'quote': TextStyle(color: Color(0xffd6baad)), - 'variable': TextStyle(color: Color(0xffdc3958)), - 'template-variable': TextStyle(color: Color(0xffdc3958)), - 'tag': TextStyle(color: Color(0xffdc3958)), - 'name': TextStyle(color: Color(0xffdc3958)), - 'selector-id': TextStyle(color: Color(0xffdc3958)), - 'selector-class': TextStyle(color: Color(0xffdc3958)), - 'regexp': TextStyle(color: Color(0xffdc3958)), - 'meta': TextStyle(color: Color(0xffdc3958)), - 'number': TextStyle(color: Color(0xfff79a32)), - 'built_in': TextStyle(color: Color(0xfff79a32)), - 'builtin-name': TextStyle(color: Color(0xfff79a32)), - 'literal': TextStyle(color: Color(0xfff79a32)), - 'type': TextStyle(color: Color(0xfff79a32)), - 'params': TextStyle(color: Color(0xfff79a32)), - 'deletion': TextStyle(color: Color(0xfff79a32)), - 'link': TextStyle(color: Color(0xfff79a32)), - 'title': TextStyle(color: Color(0xfff06431)), - 'section': TextStyle(color: Color(0xfff06431)), - 'attribute': TextStyle(color: Color(0xfff06431)), - 'string': TextStyle(color: Color(0xff889b4a)), - 'symbol': TextStyle(color: Color(0xff889b4a)), - 'bullet': TextStyle(color: Color(0xff889b4a)), - 'addition': TextStyle(color: Color(0xff889b4a)), - 'keyword': TextStyle(color: Color(0xff98676a)), - 'selector-tag': TextStyle(color: Color(0xff98676a)), - 'function': TextStyle(color: Color(0xff98676a)), - 'root': - TextStyle(backgroundColor: Color(0xff221a0f), color: Color(0xffd3af86)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/kimbie.light.dart b/lib/base/ui/highlight/themes/kimbie.light.dart deleted file mode 100644 index 2af1ac7..0000000 --- a/lib/base/ui/highlight/themes/kimbie.light.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const kimbieLightTheme = { - 'comment': TextStyle(color: Color(0xffa57a4c)), - 'quote': TextStyle(color: Color(0xffa57a4c)), - 'variable': TextStyle(color: Color(0xffdc3958)), - 'template-variable': TextStyle(color: Color(0xffdc3958)), - 'tag': TextStyle(color: Color(0xffdc3958)), - 'name': TextStyle(color: Color(0xffdc3958)), - 'selector-id': TextStyle(color: Color(0xffdc3958)), - 'selector-class': TextStyle(color: Color(0xffdc3958)), - 'regexp': TextStyle(color: Color(0xffdc3958)), - 'meta': TextStyle(color: Color(0xffdc3958)), - 'number': TextStyle(color: Color(0xfff79a32)), - 'built_in': TextStyle(color: Color(0xfff79a32)), - 'builtin-name': TextStyle(color: Color(0xfff79a32)), - 'literal': TextStyle(color: Color(0xfff79a32)), - 'type': TextStyle(color: Color(0xfff79a32)), - 'params': TextStyle(color: Color(0xfff79a32)), - 'deletion': TextStyle(color: Color(0xfff79a32)), - 'link': TextStyle(color: Color(0xfff79a32)), - 'title': TextStyle(color: Color(0xfff06431)), - 'section': TextStyle(color: Color(0xfff06431)), - 'attribute': TextStyle(color: Color(0xfff06431)), - 'string': TextStyle(color: Color(0xff889b4a)), - 'symbol': TextStyle(color: Color(0xff889b4a)), - 'bullet': TextStyle(color: Color(0xff889b4a)), - 'addition': TextStyle(color: Color(0xff889b4a)), - 'keyword': TextStyle(color: Color(0xff98676a)), - 'selector-tag': TextStyle(color: Color(0xff98676a)), - 'function': TextStyle(color: Color(0xff98676a)), - 'root': - TextStyle(backgroundColor: Color(0xfffbebd4), color: Color(0xff84613d)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/lightfair.dart b/lib/base/ui/highlight/themes/lightfair.dart deleted file mode 100644 index 1d719ff..0000000 --- a/lib/base/ui/highlight/themes/lightfair.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const lightfairTheme = { - 'name': TextStyle(color: Color(0xff01a3a3), fontWeight: FontWeight.bold), - 'tag': TextStyle(color: Color(0xff778899)), - 'meta': TextStyle(color: Color(0xff778899)), - 'root': TextStyle(color: Color(0xff444444)), - 'subst': TextStyle(color: Color(0xff444444)), - 'comment': TextStyle(color: Color(0xff888888)), - 'keyword': TextStyle(fontWeight: FontWeight.bold), - 'attribute': TextStyle(fontWeight: FontWeight.bold), - 'selector-tag': TextStyle(fontWeight: FontWeight.bold), - 'meta-keyword': TextStyle(fontWeight: FontWeight.bold), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff4286f4)), - 'string': TextStyle(color: Color(0xff4286f4)), - 'number': TextStyle(color: Color(0xff4286f4)), - 'selector-id': TextStyle(color: Color(0xff4286f4)), - 'selector-class': TextStyle(color: Color(0xff4286f4)), - 'quote': TextStyle(color: Color(0xff4286f4)), - 'template-tag': TextStyle(color: Color(0xff4286f4)), - 'deletion': TextStyle(color: Color(0xff4286f4)), - 'title': TextStyle(color: Color(0xff4286f4), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff4286f4), fontWeight: FontWeight.bold), - 'regexp': TextStyle(color: Color(0xffBC6060)), - 'symbol': TextStyle(color: Color(0xffBC6060)), - 'variable': TextStyle(color: Color(0xffBC6060)), - 'template-variable': TextStyle(color: Color(0xffBC6060)), - 'link': TextStyle(color: Color(0xffBC6060)), - 'selector-attr': TextStyle(color: Color(0xffBC6060)), - 'selector-pseudo': TextStyle(color: Color(0xffBC6060)), - 'literal': TextStyle(color: Color(0xff62bcbc)), - 'built_in': TextStyle(color: Color(0xff25c6c6)), - 'bullet': TextStyle(color: Color(0xff25c6c6)), - 'code': TextStyle(color: Color(0xff25c6c6)), - 'addition': TextStyle(color: Color(0xff25c6c6)), - 'meta-string': TextStyle(color: Color(0xff4d99bf)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/magula.dart b/lib/base/ui/highlight/themes/magula.dart deleted file mode 100644 index bed33a9..0000000 --- a/lib/base/ui/highlight/themes/magula.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const magulaTheme = { - 'root': - TextStyle(backgroundColor: Color(0xfff4f4f4), color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'string': TextStyle(color: Color(0xff005500)), - 'title': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.bold), - 'symbol': TextStyle(color: Color(0xff005500)), - 'bullet': TextStyle(color: Color(0xff005500)), - 'attribute': TextStyle(color: Color(0xff005500)), - 'addition': TextStyle(color: Color(0xff005500)), - 'variable': TextStyle(color: Color(0xff005500)), - 'template-tag': TextStyle(color: Color(0xff005500)), - 'template-variable': TextStyle(color: Color(0xff005500)), - 'comment': TextStyle(color: Color(0xff777777)), - 'quote': TextStyle(color: Color(0xff777777)), - 'number': TextStyle(color: Color(0xff880000)), - 'regexp': TextStyle(color: Color(0xff880000)), - 'literal': TextStyle(color: Color(0xff880000)), - 'type': TextStyle(color: Color(0xff880000)), - 'link': TextStyle(color: Color(0xff880000)), - 'deletion': TextStyle(color: Color(0xff0000ee)), - 'meta': TextStyle(color: Color(0xff0000ee)), - 'keyword': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'selector-tag': - TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'doctag': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'section': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'built_in': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'tag': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'name': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/mono-blue.dart b/lib/base/ui/highlight/themes/mono-blue.dart deleted file mode 100644 index 25838c0..0000000 --- a/lib/base/ui/highlight/themes/mono-blue.dart +++ /dev/null @@ -1,36 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const monoBlueTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffeaeef3), color: Color(0xff00193a)), - 'keyword': TextStyle(fontWeight: FontWeight.bold), - 'selector-tag': TextStyle(fontWeight: FontWeight.bold), - 'title': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff0048ab)), - 'section': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff0048ab)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'name': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff0048ab)), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff738191)), - 'string': TextStyle(color: Color(0xff0048ab)), - 'built_in': TextStyle(color: Color(0xff0048ab)), - 'literal': TextStyle(color: Color(0xff0048ab)), - 'type': TextStyle(color: Color(0xff0048ab)), - 'addition': TextStyle(color: Color(0xff0048ab)), - 'tag': TextStyle(color: Color(0xff0048ab)), - 'quote': TextStyle(color: Color(0xff0048ab)), - 'selector-id': TextStyle(color: Color(0xff0048ab)), - 'selector-class': TextStyle(color: Color(0xff0048ab)), - 'meta': TextStyle(color: Color(0xff4c81c9)), - 'subst': TextStyle(color: Color(0xff4c81c9)), - 'symbol': TextStyle(color: Color(0xff4c81c9)), - 'regexp': TextStyle(color: Color(0xff4c81c9)), - 'attribute': TextStyle(color: Color(0xff4c81c9)), - 'deletion': TextStyle(color: Color(0xff4c81c9)), - 'variable': TextStyle(color: Color(0xff4c81c9)), - 'template-variable': TextStyle(color: Color(0xff4c81c9)), - 'link': TextStyle(color: Color(0xff4c81c9)), - 'bullet': TextStyle(color: Color(0xff4c81c9)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/monokai-sublime.dart b/lib/base/ui/highlight/themes/monokai-sublime.dart deleted file mode 100644 index c0d28a3..0000000 --- a/lib/base/ui/highlight/themes/monokai-sublime.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const monokaiSublimeTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff23241f), color: Color(0xfff8f8f2)), - 'tag': TextStyle(color: Color(0xfff8f8f2)), - 'subst': TextStyle(color: Color(0xfff8f8f2)), - 'strong': TextStyle(color: Color(0xffa8a8a2), fontWeight: FontWeight.bold), - 'emphasis': TextStyle(color: Color(0xffa8a8a2), fontStyle: FontStyle.italic), - 'bullet': TextStyle(color: Color(0xffae81ff)), - 'quote': TextStyle(color: Color(0xffae81ff)), - 'number': TextStyle(color: Color(0xffae81ff)), - 'regexp': TextStyle(color: Color(0xffae81ff)), - 'literal': TextStyle(color: Color(0xffae81ff)), - 'link': TextStyle(color: Color(0xffae81ff)), - 'code': TextStyle(color: Color(0xffa6e22e)), - 'title': TextStyle(color: Color(0xffa6e22e)), - 'section': TextStyle(color: Color(0xffa6e22e)), - 'selector-class': TextStyle(color: Color(0xffa6e22e)), - 'keyword': TextStyle(color: Color(0xfff92672)), - 'selector-tag': TextStyle(color: Color(0xfff92672)), - 'name': TextStyle(color: Color(0xfff92672)), - 'attr': TextStyle(color: Color(0xfff92672)), - 'symbol': TextStyle(color: Color(0xff66d9ef)), - 'attribute': TextStyle(color: Color(0xff66d9ef)), - 'params': TextStyle(color: Color(0xfff8f8f2)), - 'string': TextStyle(color: Color(0xffe6db74)), - 'type': TextStyle(color: Color(0xffe6db74)), - 'built_in': TextStyle(color: Color(0xffe6db74)), - 'builtin-name': TextStyle(color: Color(0xffe6db74)), - 'selector-id': TextStyle(color: Color(0xffe6db74)), - 'selector-attr': TextStyle(color: Color(0xffe6db74)), - 'selector-pseudo': TextStyle(color: Color(0xffe6db74)), - 'addition': TextStyle(color: Color(0xffe6db74)), - 'variable': TextStyle(color: Color(0xffe6db74)), - 'template-variable': TextStyle(color: Color(0xffe6db74)), - 'comment': TextStyle(color: Color(0xff75715e)), - 'deletion': TextStyle(color: Color(0xff75715e)), - 'meta': TextStyle(color: Color(0xff75715e)), -}; diff --git a/lib/base/ui/highlight/themes/monokai.dart b/lib/base/ui/highlight/themes/monokai.dart deleted file mode 100644 index f7d8869..0000000 --- a/lib/base/ui/highlight/themes/monokai.dart +++ /dev/null @@ -1,41 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const monokaiTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff272822), color: Color(0xffdddddd)), - 'tag': TextStyle(color: Color(0xfff92672)), - 'keyword': TextStyle(color: Color(0xfff92672), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xfff92672), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xfff92672), fontWeight: FontWeight.bold), - 'strong': TextStyle(color: Color(0xfff92672)), - 'name': TextStyle(color: Color(0xfff92672)), - 'code': TextStyle(color: Color(0xff66d9ef)), - 'attribute': TextStyle(color: Color(0xffbf79db)), - 'symbol': TextStyle(color: Color(0xffbf79db)), - 'regexp': TextStyle(color: Color(0xffbf79db)), - 'link': TextStyle(color: Color(0xffbf79db)), - 'string': TextStyle(color: Color(0xffa6e22e)), - 'bullet': TextStyle(color: Color(0xffa6e22e)), - 'subst': TextStyle(color: Color(0xffa6e22e)), - 'title': TextStyle(color: Color(0xffa6e22e), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xffa6e22e), fontWeight: FontWeight.bold), - 'emphasis': TextStyle(color: Color(0xffa6e22e)), - 'type': TextStyle(color: Color(0xffa6e22e), fontWeight: FontWeight.bold), - 'built_in': TextStyle(color: Color(0xffa6e22e)), - 'builtin-name': TextStyle(color: Color(0xffa6e22e)), - 'selector-attr': TextStyle(color: Color(0xffa6e22e)), - 'selector-pseudo': TextStyle(color: Color(0xffa6e22e)), - 'addition': TextStyle(color: Color(0xffa6e22e)), - 'variable': TextStyle(color: Color(0xffa6e22e)), - 'template-tag': TextStyle(color: Color(0xffa6e22e)), - 'template-variable': TextStyle(color: Color(0xffa6e22e)), - 'comment': TextStyle(color: Color(0xff75715e)), - 'quote': TextStyle(color: Color(0xff75715e)), - 'deletion': TextStyle(color: Color(0xff75715e)), - 'meta': TextStyle(color: Color(0xff75715e)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'selector-id': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/night-owl.dart b/lib/base/ui/highlight/themes/night-owl.dart deleted file mode 100644 index 4bda17f..0000000 --- a/lib/base/ui/highlight/themes/night-owl.dart +++ /dev/null @@ -1,54 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const nightOwlTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff011627), color: Color(0xffd6deeb)), - 'keyword': TextStyle(color: Color(0xffc792ea), fontStyle: FontStyle.italic), - 'built_in': TextStyle(color: Color(0xffaddb67), fontStyle: FontStyle.italic), - 'type': TextStyle(color: Color(0xff82aaff)), - 'literal': TextStyle(color: Color(0xffff5874)), - 'number': TextStyle(color: Color(0xffF78C6C)), - 'regexp': TextStyle(color: Color(0xff5ca7e4)), - 'string': TextStyle(color: Color(0xffecc48d)), - 'subst': TextStyle(color: Color(0xffd3423e)), - 'symbol': TextStyle(color: Color(0xff82aaff)), - 'class': TextStyle(color: Color(0xffffcb8b)), - 'function': TextStyle(color: Color(0xff82AAFF)), - 'title': TextStyle(color: Color(0xffDCDCAA), fontStyle: FontStyle.italic), - 'params': TextStyle(color: Color(0xff7fdbca)), - 'comment': TextStyle(color: Color(0xff637777), fontStyle: FontStyle.italic), - 'doctag': TextStyle(color: Color(0xff7fdbca)), - 'meta': TextStyle(color: Color(0xff82aaff)), - 'meta-keyword': TextStyle(color: Color(0xff82aaff)), - 'meta-string': TextStyle(color: Color(0xffecc48d)), - 'section': TextStyle(color: Color(0xff82b1ff)), - 'tag': TextStyle(color: Color(0xff7fdbca)), - 'name': TextStyle(color: Color(0xff7fdbca)), - 'builtin-name': TextStyle(color: Color(0xff7fdbca)), - 'attr': TextStyle(color: Color(0xff7fdbca)), - 'attribute': TextStyle(color: Color(0xff80cbc4)), - 'variable': TextStyle(color: Color(0xffaddb67)), - 'bullet': TextStyle(color: Color(0xffd9f5dd)), - 'code': TextStyle(color: Color(0xff80CBC4)), - 'emphasis': TextStyle(color: Color(0xffc792ea), fontStyle: FontStyle.italic), - 'strong': TextStyle(color: Color(0xffaddb67), fontWeight: FontWeight.bold), - 'formula': TextStyle(color: Color(0xffc792ea)), - 'link': TextStyle(color: Color(0xffff869a)), - 'quote': TextStyle(color: Color(0xff697098), fontStyle: FontStyle.italic), - 'selector-tag': TextStyle(color: Color(0xffff6363)), - 'selector-id': TextStyle(color: Color(0xfffad430)), - 'selector-class': - TextStyle(color: Color(0xffaddb67), fontStyle: FontStyle.italic), - 'selector-attr': - TextStyle(color: Color(0xffc792ea), fontStyle: FontStyle.italic), - 'selector-pseudo': - TextStyle(color: Color(0xffc792ea), fontStyle: FontStyle.italic), - 'template-tag': TextStyle(color: Color(0xffc792ea)), - 'template-variable': TextStyle(color: Color(0xffaddb67)), - 'addition': - TextStyle(color: Color(0xffaddb67ff), fontStyle: FontStyle.italic), - 'deletion': - TextStyle(color: Color(0xffEF535090), fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/nord.dart b/lib/base/ui/highlight/themes/nord.dart deleted file mode 100644 index 08a0e0e..0000000 --- a/lib/base/ui/highlight/themes/nord.dart +++ /dev/null @@ -1,49 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const nordTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff2E3440), color: Color(0xffD8DEE9)), - 'subst': TextStyle(color: Color(0xffD8DEE9)), - 'selector-tag': TextStyle(color: Color(0xff81A1C1)), - 'selector-id': - TextStyle(color: Color(0xff8FBCBB), fontWeight: FontWeight.bold), - 'selector-class': TextStyle(color: Color(0xff8FBCBB)), - 'selector-attr': TextStyle(color: Color(0xff8FBCBB)), - 'selector-pseudo': TextStyle(color: Color(0xff88C0D0)), - 'addition': TextStyle(backgroundColor: Color.fromRGBO(163, 190, 140, 0.5)), - 'deletion': TextStyle(backgroundColor: Color.fromRGBO(191, 97, 106, 0.5)), - 'built_in': TextStyle(color: Color(0xff8FBCBB)), - 'type': TextStyle(color: Color(0xff8FBCBB)), - 'class': TextStyle(color: Color(0xff8FBCBB)), - 'function': TextStyle(color: Color(0xff88C0D0)), - 'keyword': TextStyle(color: Color(0xff81A1C1)), - 'literal': TextStyle(color: Color(0xff81A1C1)), - 'symbol': TextStyle(color: Color(0xff81A1C1)), - 'number': TextStyle(color: Color(0xffB48EAD)), - 'regexp': TextStyle(color: Color(0xffEBCB8B)), - 'string': TextStyle(color: Color(0xffA3BE8C)), - 'title': TextStyle(color: Color(0xff8FBCBB)), - 'params': TextStyle(color: Color(0xffD8DEE9)), - 'bullet': TextStyle(color: Color(0xff81A1C1)), - 'code': TextStyle(color: Color(0xff8FBCBB)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'formula': TextStyle(color: Color(0xff8FBCBB)), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'quote': TextStyle(color: Color(0xff4C566A)), - 'comment': TextStyle(color: Color(0xff4C566A)), - 'doctag': TextStyle(color: Color(0xff8FBCBB)), - 'meta': TextStyle(color: Color(0xff5E81AC)), - 'meta-keyword': TextStyle(color: Color(0xff5E81AC)), - 'meta-string': TextStyle(color: Color(0xffA3BE8C)), - 'attr': TextStyle(color: Color(0xff8FBCBB)), - 'attribute': TextStyle(color: Color(0xffD8DEE9)), - 'builtin-name': TextStyle(color: Color(0xff81A1C1)), - 'name': TextStyle(color: Color(0xff81A1C1)), - 'section': TextStyle(color: Color(0xff88C0D0)), - 'tag': TextStyle(color: Color(0xff81A1C1)), - 'variable': TextStyle(color: Color(0xffD8DEE9)), - 'template-variable': TextStyle(color: Color(0xffD8DEE9)), - 'template-tag': TextStyle(color: Color(0xff5E81AC)), -}; diff --git a/lib/base/ui/highlight/themes/obsidian.dart b/lib/base/ui/highlight/themes/obsidian.dart deleted file mode 100644 index 7465dd7..0000000 --- a/lib/base/ui/highlight/themes/obsidian.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const obsidianTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff282b2e), color: Color(0xffe0e2e4)), - 'keyword': TextStyle(color: Color(0xff93c763), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff93c763), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff93c763), fontWeight: FontWeight.bold), - 'selector-id': TextStyle(color: Color(0xff93c763)), - 'number': TextStyle(color: Color(0xffffcd22)), - 'attribute': TextStyle(color: Color(0xff668bb0)), - 'code': TextStyle(color: Color(0xffffffff)), - 'section': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), - 'regexp': TextStyle(color: Color(0xffd39745)), - 'link': TextStyle(color: Color(0xffd39745)), - 'meta': TextStyle(color: Color(0xff557182)), - 'tag': TextStyle(color: Color(0xff8cbbad)), - 'name': TextStyle(color: Color(0xff8cbbad), fontWeight: FontWeight.bold), - 'bullet': TextStyle(color: Color(0xff8cbbad)), - 'subst': TextStyle(color: Color(0xff8cbbad)), - 'emphasis': TextStyle(color: Color(0xff8cbbad)), - 'type': TextStyle(color: Color(0xff8cbbad), fontWeight: FontWeight.bold), - 'built_in': TextStyle(color: Color(0xff8cbbad)), - 'selector-attr': TextStyle(color: Color(0xff8cbbad)), - 'selector-pseudo': TextStyle(color: Color(0xff8cbbad)), - 'addition': TextStyle(color: Color(0xff8cbbad)), - 'variable': TextStyle(color: Color(0xff8cbbad)), - 'template-tag': TextStyle(color: Color(0xff8cbbad)), - 'template-variable': TextStyle(color: Color(0xff8cbbad)), - 'string': TextStyle(color: Color(0xffec7600)), - 'symbol': TextStyle(color: Color(0xffec7600)), - 'comment': TextStyle(color: Color(0xff818e96)), - 'quote': TextStyle(color: Color(0xff818e96)), - 'deletion': TextStyle(color: Color(0xff818e96)), - 'selector-class': TextStyle(color: Color(0xffA082BD)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'title': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/ocean.dart b/lib/base/ui/highlight/themes/ocean.dart deleted file mode 100644 index f9db7bf..0000000 --- a/lib/base/ui/highlight/themes/ocean.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const oceanTheme = { - 'comment': TextStyle(color: Color(0xff65737e)), - 'quote': TextStyle(color: Color(0xff65737e)), - 'variable': TextStyle(color: Color(0xffbf616a)), - 'template-variable': TextStyle(color: Color(0xffbf616a)), - 'tag': TextStyle(color: Color(0xffbf616a)), - 'name': TextStyle(color: Color(0xffbf616a)), - 'selector-id': TextStyle(color: Color(0xffbf616a)), - 'selector-class': TextStyle(color: Color(0xffbf616a)), - 'regexp': TextStyle(color: Color(0xffbf616a)), - 'deletion': TextStyle(color: Color(0xffbf616a)), - 'number': TextStyle(color: Color(0xffd08770)), - 'built_in': TextStyle(color: Color(0xffd08770)), - 'builtin-name': TextStyle(color: Color(0xffd08770)), - 'literal': TextStyle(color: Color(0xffd08770)), - 'type': TextStyle(color: Color(0xffd08770)), - 'params': TextStyle(color: Color(0xffd08770)), - 'meta': TextStyle(color: Color(0xffd08770)), - 'link': TextStyle(color: Color(0xffd08770)), - 'attribute': TextStyle(color: Color(0xffebcb8b)), - 'string': TextStyle(color: Color(0xffa3be8c)), - 'symbol': TextStyle(color: Color(0xffa3be8c)), - 'bullet': TextStyle(color: Color(0xffa3be8c)), - 'addition': TextStyle(color: Color(0xffa3be8c)), - 'title': TextStyle(color: Color(0xff8fa1b3)), - 'section': TextStyle(color: Color(0xff8fa1b3)), - 'keyword': TextStyle(color: Color(0xffb48ead)), - 'selector-tag': TextStyle(color: Color(0xffb48ead)), - 'root': - TextStyle(backgroundColor: Color(0xff2b303b), color: Color(0xffc0c5ce)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/paraiso-dark.dart b/lib/base/ui/highlight/themes/paraiso-dark.dart deleted file mode 100644 index 0eae43b..0000000 --- a/lib/base/ui/highlight/themes/paraiso-dark.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const paraisoDarkTheme = { - 'comment': TextStyle(color: Color(0xff8d8687)), - 'quote': TextStyle(color: Color(0xff8d8687)), - 'variable': TextStyle(color: Color(0xffef6155)), - 'template-variable': TextStyle(color: Color(0xffef6155)), - 'tag': TextStyle(color: Color(0xffef6155)), - 'name': TextStyle(color: Color(0xffef6155)), - 'selector-id': TextStyle(color: Color(0xffef6155)), - 'selector-class': TextStyle(color: Color(0xffef6155)), - 'regexp': TextStyle(color: Color(0xffef6155)), - 'link': TextStyle(color: Color(0xffef6155)), - 'meta': TextStyle(color: Color(0xffef6155)), - 'number': TextStyle(color: Color(0xfff99b15)), - 'built_in': TextStyle(color: Color(0xfff99b15)), - 'builtin-name': TextStyle(color: Color(0xfff99b15)), - 'literal': TextStyle(color: Color(0xfff99b15)), - 'type': TextStyle(color: Color(0xfff99b15)), - 'params': TextStyle(color: Color(0xfff99b15)), - 'deletion': TextStyle(color: Color(0xfff99b15)), - 'title': TextStyle(color: Color(0xfffec418)), - 'section': TextStyle(color: Color(0xfffec418)), - 'attribute': TextStyle(color: Color(0xfffec418)), - 'string': TextStyle(color: Color(0xff48b685)), - 'symbol': TextStyle(color: Color(0xff48b685)), - 'bullet': TextStyle(color: Color(0xff48b685)), - 'addition': TextStyle(color: Color(0xff48b685)), - 'keyword': TextStyle(color: Color(0xff815ba4)), - 'selector-tag': TextStyle(color: Color(0xff815ba4)), - 'root': - TextStyle(backgroundColor: Color(0xff2f1e2e), color: Color(0xffa39e9b)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/paraiso-light.dart b/lib/base/ui/highlight/themes/paraiso-light.dart deleted file mode 100644 index 499fc22..0000000 --- a/lib/base/ui/highlight/themes/paraiso-light.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const paraisoLightTheme = { - 'comment': TextStyle(color: Color(0xff776e71)), - 'quote': TextStyle(color: Color(0xff776e71)), - 'variable': TextStyle(color: Color(0xffef6155)), - 'template-variable': TextStyle(color: Color(0xffef6155)), - 'tag': TextStyle(color: Color(0xffef6155)), - 'name': TextStyle(color: Color(0xffef6155)), - 'selector-id': TextStyle(color: Color(0xffef6155)), - 'selector-class': TextStyle(color: Color(0xffef6155)), - 'regexp': TextStyle(color: Color(0xffef6155)), - 'link': TextStyle(color: Color(0xffef6155)), - 'meta': TextStyle(color: Color(0xffef6155)), - 'number': TextStyle(color: Color(0xfff99b15)), - 'built_in': TextStyle(color: Color(0xfff99b15)), - 'builtin-name': TextStyle(color: Color(0xfff99b15)), - 'literal': TextStyle(color: Color(0xfff99b15)), - 'type': TextStyle(color: Color(0xfff99b15)), - 'params': TextStyle(color: Color(0xfff99b15)), - 'deletion': TextStyle(color: Color(0xfff99b15)), - 'title': TextStyle(color: Color(0xfffec418)), - 'section': TextStyle(color: Color(0xfffec418)), - 'attribute': TextStyle(color: Color(0xfffec418)), - 'string': TextStyle(color: Color(0xff48b685)), - 'symbol': TextStyle(color: Color(0xff48b685)), - 'bullet': TextStyle(color: Color(0xff48b685)), - 'addition': TextStyle(color: Color(0xff48b685)), - 'keyword': TextStyle(color: Color(0xff815ba4)), - 'selector-tag': TextStyle(color: Color(0xff815ba4)), - 'root': - TextStyle(backgroundColor: Color(0xffe7e9db), color: Color(0xff4f424c)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/pojoaque.dart b/lib/base/ui/highlight/themes/pojoaque.dart deleted file mode 100644 index 83e4240..0000000 --- a/lib/base/ui/highlight/themes/pojoaque.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const pojoaqueTheme = { - 'root': - TextStyle(color: Color(0xffdccf8f), backgroundColor: Color(0xff181914)), - 'comment': TextStyle(color: Color(0xff586e75), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff586e75), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xffb64926)), - 'selector-tag': TextStyle(color: Color(0xffb64926)), - 'literal': TextStyle(color: Color(0xffb64926)), - 'addition': TextStyle(color: Color(0xffb64926)), - 'number': TextStyle(color: Color(0xff468966)), - 'string': TextStyle(color: Color(0xff468966)), - 'doctag': TextStyle(color: Color(0xff468966)), - 'regexp': TextStyle(color: Color(0xff468966)), - 'title': TextStyle(color: Color(0xffffb03b)), - 'section': TextStyle(color: Color(0xffffb03b)), - 'built_in': TextStyle(color: Color(0xffffb03b)), - 'name': TextStyle(color: Color(0xffffb03b)), - 'variable': TextStyle(color: Color(0xffb58900)), - 'template-variable': TextStyle(color: Color(0xffb58900)), - 'type': TextStyle(color: Color(0xffb58900)), - 'tag': TextStyle(color: Color(0xffb58900)), - 'attribute': TextStyle(color: Color(0xffb89859)), - 'symbol': TextStyle(color: Color(0xffcb4b16)), - 'bullet': TextStyle(color: Color(0xffcb4b16)), - 'link': TextStyle(color: Color(0xffcb4b16)), - 'subst': TextStyle(color: Color(0xffcb4b16)), - 'meta': TextStyle(color: Color(0xffcb4b16)), - 'deletion': TextStyle(color: Color(0xffdc322f)), - 'selector-id': TextStyle(color: Color(0xffd3a60c)), - 'selector-class': TextStyle(color: Color(0xffd3a60c)), - 'formula': TextStyle(backgroundColor: Color(0xff073642)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/purebasic.dart b/lib/base/ui/highlight/themes/purebasic.dart deleted file mode 100644 index dd3a050..0000000 --- a/lib/base/ui/highlight/themes/purebasic.dart +++ /dev/null @@ -1,45 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const purebasicTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffFFFFDF), color: Color(0xff000000)), - 'type': TextStyle(color: Color(0xff000000)), - 'function': TextStyle(color: Color(0xff000000)), - 'name': TextStyle(color: Color(0xff000000), fontWeight: FontWeight.bold), - 'number': TextStyle(color: Color(0xff000000)), - 'attr': TextStyle(color: Color(0xff000000)), - 'params': TextStyle(color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff00AAAA)), - 'regexp': TextStyle(color: Color(0xff00AAAA)), - 'section': TextStyle(color: Color(0xff00AAAA)), - 'selector-pseudo': TextStyle(color: Color(0xff00AAAA)), - 'addition': TextStyle(color: Color(0xff00AAAA)), - 'title': TextStyle(color: Color(0xff006666)), - 'tag': TextStyle(color: Color(0xff006666)), - 'variable': TextStyle(color: Color(0xff006666)), - 'code': TextStyle(color: Color(0xff006666)), - 'keyword': TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'class': TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'meta-keyword': - TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'selector-class': - TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'built_in': TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'builtin-name': - TextStyle(color: Color(0xff006666), fontWeight: FontWeight.bold), - 'string': TextStyle(color: Color(0xff0080FF)), - 'selector-attr': TextStyle(color: Color(0xff0080FF)), - 'symbol': TextStyle(color: Color(0xff924B72)), - 'link': TextStyle(color: Color(0xff924B72)), - 'deletion': TextStyle(color: Color(0xff924B72)), - 'attribute': TextStyle(color: Color(0xff924B72)), - 'meta': TextStyle(color: Color(0xff924B72), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff924B72), fontWeight: FontWeight.bold), - 'selector-id': - TextStyle(color: Color(0xff924B72), fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/qtcreator_dark.dart b/lib/base/ui/highlight/themes/qtcreator_dark.dart deleted file mode 100644 index 63e94b4..0000000 --- a/lib/base/ui/highlight/themes/qtcreator_dark.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const qtcreatorDarkTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff000000), color: Color(0xffaaaaaa)), - 'subst': TextStyle(color: Color(0xffaaaaaa)), - 'tag': TextStyle(color: Color(0xffaaaaaa)), - 'title': TextStyle(color: Color(0xffaaaaaa)), - 'strong': TextStyle(color: Color(0xffa8a8a2)), - 'emphasis': TextStyle(color: Color(0xffa8a8a2), fontStyle: FontStyle.italic), - 'bullet': TextStyle(color: Color(0xffff55ff)), - 'quote': TextStyle(color: Color(0xffff55ff)), - 'number': TextStyle(color: Color(0xffff55ff)), - 'regexp': TextStyle(color: Color(0xffff55ff)), - 'literal': TextStyle(color: Color(0xffff55ff)), - 'stronge': TextStyle(fontStyle: FontStyle.italic), - 'type': TextStyle(fontStyle: FontStyle.italic, color: Color(0xffff55ff)), - 'keyword': TextStyle(color: Color(0xffffff55)), - 'selector-tag': TextStyle(color: Color(0xffffff55)), - 'function': TextStyle(color: Color(0xffffff55)), - 'section': TextStyle(color: Color(0xffffff55)), - 'symbol': TextStyle(color: Color(0xffffff55)), - 'name': TextStyle(color: Color(0xffffff55)), - 'attribute': TextStyle(color: Color(0xffff5555)), - 'variable': TextStyle(color: Color(0xff8888ff)), - 'params': TextStyle(color: Color(0xff8888ff)), - 'string': TextStyle(color: Color(0xffff55ff)), - 'selector-id': TextStyle(color: Color(0xffff55ff)), - 'selector-attr': TextStyle(color: Color(0xffff55ff)), - 'selector-pseudo': TextStyle(color: Color(0xffff55ff)), - 'built_in': TextStyle(color: Color(0xffff55ff)), - 'builtin-name': TextStyle(color: Color(0xffff55ff)), - 'template-tag': TextStyle(color: Color(0xffff55ff)), - 'template-variable': TextStyle(color: Color(0xffff55ff)), - 'addition': TextStyle(color: Color(0xffff55ff)), - 'link': TextStyle(color: Color(0xffff55ff)), - 'comment': TextStyle(color: Color(0xff55ffff)), - 'meta': TextStyle(color: Color(0xff55ffff)), - 'deletion': TextStyle(color: Color(0xff55ffff)), -}; diff --git a/lib/base/ui/highlight/themes/qtcreator_light.dart b/lib/base/ui/highlight/themes/qtcreator_light.dart deleted file mode 100644 index 9e12907..0000000 --- a/lib/base/ui/highlight/themes/qtcreator_light.dart +++ /dev/null @@ -1,42 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const qtcreatorLightTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xff000000)), - 'tag': TextStyle(color: Color(0xff000000)), - 'title': TextStyle(color: Color(0xff000000)), - 'strong': TextStyle(color: Color(0xff000000)), - 'emphasis': TextStyle(color: Color(0xff000000), fontStyle: FontStyle.italic), - 'bullet': TextStyle(color: Color(0xff000080)), - 'quote': TextStyle(color: Color(0xff000080)), - 'number': TextStyle(color: Color(0xff000080)), - 'regexp': TextStyle(color: Color(0xff000080)), - 'literal': TextStyle(color: Color(0xff000080)), - 'stronge': TextStyle(fontStyle: FontStyle.italic), - 'type': TextStyle(fontStyle: FontStyle.italic, color: Color(0xff008000)), - 'keyword': TextStyle(color: Color(0xff808000)), - 'selector-tag': TextStyle(color: Color(0xff808000)), - 'function': TextStyle(color: Color(0xff808000)), - 'section': TextStyle(color: Color(0xff808000)), - 'symbol': TextStyle(color: Color(0xff808000)), - 'name': TextStyle(color: Color(0xff808000)), - 'attribute': TextStyle(color: Color(0xff800000)), - 'variable': TextStyle(color: Color(0xff0055AF)), - 'params': TextStyle(color: Color(0xff0055AF)), - 'string': TextStyle(color: Color(0xff008000)), - 'selector-id': TextStyle(color: Color(0xff008000)), - 'selector-attr': TextStyle(color: Color(0xff008000)), - 'selector-pseudo': TextStyle(color: Color(0xff008000)), - 'built_in': TextStyle(color: Color(0xff008000)), - 'builtin-name': TextStyle(color: Color(0xff008000)), - 'template-tag': TextStyle(color: Color(0xff008000)), - 'template-variable': TextStyle(color: Color(0xff008000)), - 'addition': TextStyle(color: Color(0xff008000)), - 'link': TextStyle(color: Color(0xff008000)), - 'comment': TextStyle(color: Color(0xff008000)), - 'meta': TextStyle(color: Color(0xff008000)), - 'deletion': TextStyle(color: Color(0xff008000)), -}; diff --git a/lib/base/ui/highlight/themes/railscasts.dart b/lib/base/ui/highlight/themes/railscasts.dart deleted file mode 100644 index 21e2202..0000000 --- a/lib/base/ui/highlight/themes/railscasts.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const railscastsTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff232323), color: Color(0xffe6e1dc)), - 'comment': TextStyle(color: Color(0xffbc9458), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xffbc9458), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xffc26230)), - 'selector-tag': TextStyle(color: Color(0xffc26230)), - 'string': TextStyle(color: Color(0xffa5c261)), - 'number': TextStyle(color: Color(0xffa5c261)), - 'regexp': TextStyle(color: Color(0xffa5c261)), - 'variable': TextStyle(color: Color(0xffa5c261)), - 'template-variable': TextStyle(color: Color(0xffa5c261)), - 'subst': TextStyle(color: Color(0xff519f50)), - 'tag': TextStyle(color: Color(0xffe8bf6a)), - 'name': TextStyle(color: Color(0xffe8bf6a)), - 'type': TextStyle(color: Color(0xffda4939)), - 'symbol': TextStyle(color: Color(0xff6d9cbe)), - 'bullet': TextStyle(color: Color(0xff6d9cbe)), - 'built_in': TextStyle(color: Color(0xff6d9cbe)), - 'builtin-name': TextStyle(color: Color(0xff6d9cbe)), - 'attr': TextStyle(color: Color(0xff6d9cbe)), - 'link': TextStyle(color: Color(0xff6d9cbe)), - 'params': TextStyle(color: Color(0xffd0d0ff)), - 'attribute': TextStyle(color: Color(0xffcda869)), - 'meta': TextStyle(color: Color(0xff9b859d)), - 'title': TextStyle(color: Color(0xffffc66d)), - 'section': TextStyle(color: Color(0xffffc66d)), - 'addition': - TextStyle(backgroundColor: Color(0xff144212), color: Color(0xffe6e1dc)), - 'deletion': - TextStyle(backgroundColor: Color(0xff660000), color: Color(0xffe6e1dc)), - 'selector-class': TextStyle(color: Color(0xff9b703f)), - 'selector-id': TextStyle(color: Color(0xff8b98ab)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/rainbow.dart b/lib/base/ui/highlight/themes/rainbow.dart deleted file mode 100644 index 0a3488e..0000000 --- a/lib/base/ui/highlight/themes/rainbow.dart +++ /dev/null @@ -1,39 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const rainbowTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff474949), color: Color(0xffd1d9e1)), - 'comment': TextStyle(color: Color(0xff969896), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff969896), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xffcc99cc)), - 'selector-tag': TextStyle(color: Color(0xffcc99cc)), - 'literal': TextStyle(color: Color(0xffcc99cc)), - 'type': TextStyle(color: Color(0xffcc99cc)), - 'addition': TextStyle(color: Color(0xffcc99cc)), - 'number': TextStyle(color: Color(0xfff99157)), - 'selector-attr': TextStyle(color: Color(0xfff99157)), - 'selector-pseudo': TextStyle(color: Color(0xfff99157)), - 'string': TextStyle(color: Color(0xff8abeb7)), - 'doctag': TextStyle(color: Color(0xff8abeb7)), - 'regexp': TextStyle(color: Color(0xff8abeb7)), - 'title': TextStyle(color: Color(0xffb5bd68)), - 'name': TextStyle(color: Color(0xffb5bd68), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xffb5bd68), fontWeight: FontWeight.bold), - 'built_in': TextStyle(color: Color(0xffb5bd68)), - 'variable': TextStyle(color: Color(0xffffcc66)), - 'template-variable': TextStyle(color: Color(0xffffcc66)), - 'selector-id': TextStyle(color: Color(0xffffcc66)), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'symbol': TextStyle(color: Color(0xfff99157)), - 'bullet': TextStyle(color: Color(0xfff99157)), - 'subst': TextStyle(color: Color(0xfff99157)), - 'meta': TextStyle(color: Color(0xfff99157)), - 'link': TextStyle(color: Color(0xfff99157)), - 'deletion': TextStyle(color: Color(0xffdc322f)), - 'formula': TextStyle(backgroundColor: Color(0xffeee8d5)), - 'attr': TextStyle(color: Color(0xff81a2be)), - 'attribute': TextStyle(color: Color(0xff81a2be)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/routeros.dart b/lib/base/ui/highlight/themes/routeros.dart deleted file mode 100644 index 111e9f6..0000000 --- a/lib/base/ui/highlight/themes/routeros.dart +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const routerosTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffF0F0F0), color: Color(0xff444444)), - 'subst': TextStyle(color: Color(0xff444444)), - 'comment': TextStyle(color: Color(0xff888888)), - 'keyword': TextStyle(fontWeight: FontWeight.bold), - 'selector-tag': TextStyle(fontWeight: FontWeight.bold), - 'meta-keyword': TextStyle(fontWeight: FontWeight.bold), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'name': TextStyle(fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xff0E9A00)), - 'function': TextStyle(color: Color(0xff99069A)), - 'builtin-name': TextStyle(color: Color(0xff99069A)), - 'type': TextStyle(color: Color(0xff880000)), - 'string': TextStyle(color: Color(0xff880000)), - 'number': TextStyle(color: Color(0xff880000)), - 'selector-id': TextStyle(color: Color(0xff880000)), - 'selector-class': TextStyle(color: Color(0xff880000)), - 'quote': TextStyle(color: Color(0xff880000)), - 'template-tag': TextStyle(color: Color(0xff880000)), - 'deletion': TextStyle(color: Color(0xff880000)), - 'title': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff880000), fontWeight: FontWeight.bold), - 'regexp': TextStyle(color: Color(0xffBC6060)), - 'symbol': TextStyle(color: Color(0xffBC6060)), - 'variable': TextStyle(color: Color(0xffBC6060)), - 'template-variable': TextStyle(color: Color(0xffBC6060)), - 'link': TextStyle(color: Color(0xffBC6060)), - 'selector-attr': TextStyle(color: Color(0xffBC6060)), - 'selector-pseudo': TextStyle(color: Color(0xffBC6060)), - 'literal': TextStyle(color: Color(0xff78A960)), - 'built_in': TextStyle(color: Color(0xff0C9A9A)), - 'bullet': TextStyle(color: Color(0xff0C9A9A)), - 'code': TextStyle(color: Color(0xff0C9A9A)), - 'addition': TextStyle(color: Color(0xff0C9A9A)), - 'meta': TextStyle(color: Color(0xff1f7199)), - 'meta-string': TextStyle(color: Color(0xff4d99bf)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/school-book.dart b/lib/base/ui/highlight/themes/school-book.dart deleted file mode 100644 index b3724ad..0000000 --- a/lib/base/ui/highlight/themes/school-book.dart +++ /dev/null @@ -1,36 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const schoolBookTheme = { - 'root': - TextStyle(backgroundColor: Color(0xfff6f6ae), color: Color(0xff3e5915)), - 'keyword': TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'selector-tag': - TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'literal': TextStyle(color: Color(0xff005599), fontWeight: FontWeight.bold), - 'subst': TextStyle(color: Color(0xff3e5915)), - 'string': TextStyle(color: Color(0xff2c009f)), - 'title': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'section': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'type': TextStyle(color: Color(0xff2c009f), fontWeight: FontWeight.bold), - 'symbol': TextStyle(color: Color(0xff2c009f)), - 'bullet': TextStyle(color: Color(0xff2c009f)), - 'attribute': TextStyle(color: Color(0xff2c009f)), - 'built_in': TextStyle(color: Color(0xff2c009f)), - 'builtin-name': TextStyle(color: Color(0xff2c009f)), - 'addition': TextStyle(color: Color(0xff2c009f)), - 'variable': TextStyle(color: Color(0xff2c009f)), - 'template-tag': TextStyle(color: Color(0xff2c009f)), - 'template-variable': TextStyle(color: Color(0xff2c009f)), - 'link': TextStyle(color: Color(0xff2c009f)), - 'comment': TextStyle(color: Color(0xffe60415)), - 'quote': TextStyle(color: Color(0xffe60415)), - 'deletion': TextStyle(color: Color(0xffe60415)), - 'meta': TextStyle(color: Color(0xffe60415)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'name': TextStyle(fontWeight: FontWeight.bold), - 'selector-id': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/shades-of-purple.dart b/lib/base/ui/highlight/themes/shades-of-purple.dart deleted file mode 100644 index 55158f5..0000000 --- a/lib/base/ui/highlight/themes/shades-of-purple.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const shadesOfPurpleTheme = { - 'root': TextStyle( - backgroundColor: Color(0xff2d2b57), - fontWeight: FontWeight.normal, - color: Color(0xffe3dfff)), - 'title': TextStyle(color: Color(0xfffad000), fontWeight: FontWeight.normal), - 'name': TextStyle(color: Color(0xffa1feff), fontWeight: FontWeight.normal), - 'tag': TextStyle(color: Color(0xffffffff)), - 'attr': TextStyle(color: Color(0xfff8d000), fontStyle: FontStyle.italic), - 'built_in': TextStyle(color: Color(0xfffb9e00)), - 'selector-tag': - TextStyle(color: Color(0xfffb9e00), fontWeight: FontWeight.normal), - 'section': TextStyle(color: Color(0xfffb9e00)), - 'keyword': TextStyle(color: Color(0xfffb9e00), fontWeight: FontWeight.normal), - 'subst': TextStyle(color: Color(0xffe3dfff)), - 'string': TextStyle(color: Color(0xff4cd213)), - 'attribute': TextStyle(color: Color(0xff4cd213)), - 'symbol': TextStyle(color: Color(0xff4cd213)), - 'bullet': TextStyle(color: Color(0xff4cd213)), - 'addition': TextStyle(color: Color(0xff4cd213)), - 'code': TextStyle(color: Color(0xff4cd213)), - 'regexp': TextStyle(color: Color(0xff4cd213)), - 'selector-class': TextStyle(color: Color(0xff4cd213)), - 'selector-attr': TextStyle(color: Color(0xff4cd213)), - 'selector-pseudo': TextStyle(color: Color(0xff4cd213)), - 'template-tag': TextStyle(color: Color(0xff4cd213)), - 'quote': TextStyle(color: Color(0xff4cd213)), - 'deletion': TextStyle(color: Color(0xff4cd213)), - 'meta': TextStyle(color: Color(0xfffb9e00)), - 'meta-string': TextStyle(color: Color(0xfffb9e00)), - 'comment': TextStyle(color: Color(0xffac65ff)), - 'literal': TextStyle(fontWeight: FontWeight.normal, color: Color(0xfffa658d)), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'number': TextStyle(color: Color(0xfffa658d)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/solarized-dark.dart b/lib/base/ui/highlight/themes/solarized-dark.dart deleted file mode 100644 index 0263c94..0000000 --- a/lib/base/ui/highlight/themes/solarized-dark.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const solarizedDarkTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff002b36), color: Color(0xff839496)), - 'comment': TextStyle(color: Color(0xff586e75)), - 'quote': TextStyle(color: Color(0xff586e75)), - 'keyword': TextStyle(color: Color(0xff859900)), - 'selector-tag': TextStyle(color: Color(0xff859900)), - 'addition': TextStyle(color: Color(0xff859900)), - 'number': TextStyle(color: Color(0xff2aa198)), - 'string': TextStyle(color: Color(0xff2aa198)), - 'literal': TextStyle(color: Color(0xff2aa198)), - 'doctag': TextStyle(color: Color(0xff2aa198)), - 'regexp': TextStyle(color: Color(0xff2aa198)), - 'title': TextStyle(color: Color(0xff268bd2)), - 'section': TextStyle(color: Color(0xff268bd2)), - 'name': TextStyle(color: Color(0xff268bd2)), - 'selector-id': TextStyle(color: Color(0xff268bd2)), - 'selector-class': TextStyle(color: Color(0xff268bd2)), - 'attribute': TextStyle(color: Color(0xffb58900)), - 'attr': TextStyle(color: Color(0xffb58900)), - 'variable': TextStyle(color: Color(0xffb58900)), - 'template-variable': TextStyle(color: Color(0xffb58900)), - 'type': TextStyle(color: Color(0xffb58900)), - 'symbol': TextStyle(color: Color(0xffcb4b16)), - 'bullet': TextStyle(color: Color(0xffcb4b16)), - 'subst': TextStyle(color: Color(0xffcb4b16)), - 'meta': TextStyle(color: Color(0xffcb4b16)), - 'selector-attr': TextStyle(color: Color(0xffcb4b16)), - 'selector-pseudo': TextStyle(color: Color(0xffcb4b16)), - 'link': TextStyle(color: Color(0xffcb4b16)), - 'built_in': TextStyle(color: Color(0xffdc322f)), - 'deletion': TextStyle(color: Color(0xffdc322f)), - 'formula': TextStyle(backgroundColor: Color(0xff073642)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/solarized-light.dart b/lib/base/ui/highlight/themes/solarized-light.dart deleted file mode 100644 index fae7035..0000000 --- a/lib/base/ui/highlight/themes/solarized-light.dart +++ /dev/null @@ -1,40 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const solarizedLightTheme = { - 'root': - TextStyle(backgroundColor: Color(0xfffdf6e3), color: Color(0xff657b83)), - 'comment': TextStyle(color: Color(0xff93a1a1)), - 'quote': TextStyle(color: Color(0xff93a1a1)), - 'keyword': TextStyle(color: Color(0xff859900)), - 'selector-tag': TextStyle(color: Color(0xff859900)), - 'addition': TextStyle(color: Color(0xff859900)), - 'number': TextStyle(color: Color(0xff2aa198)), - 'string': TextStyle(color: Color(0xff2aa198)), - 'literal': TextStyle(color: Color(0xff2aa198)), - 'doctag': TextStyle(color: Color(0xff2aa198)), - 'regexp': TextStyle(color: Color(0xff2aa198)), - 'title': TextStyle(color: Color(0xff268bd2)), - 'section': TextStyle(color: Color(0xff268bd2)), - 'name': TextStyle(color: Color(0xff268bd2)), - 'selector-id': TextStyle(color: Color(0xff268bd2)), - 'selector-class': TextStyle(color: Color(0xff268bd2)), - 'attribute': TextStyle(color: Color(0xffb58900)), - 'attr': TextStyle(color: Color(0xffb58900)), - 'variable': TextStyle(color: Color(0xffb58900)), - 'template-variable': TextStyle(color: Color(0xffb58900)), - 'type': TextStyle(color: Color(0xffb58900)), - 'symbol': TextStyle(color: Color(0xffcb4b16)), - 'bullet': TextStyle(color: Color(0xffcb4b16)), - 'subst': TextStyle(color: Color(0xffcb4b16)), - 'meta': TextStyle(color: Color(0xffcb4b16)), - 'selector-attr': TextStyle(color: Color(0xffcb4b16)), - 'selector-pseudo': TextStyle(color: Color(0xffcb4b16)), - 'link': TextStyle(color: Color(0xffcb4b16)), - 'built_in': TextStyle(color: Color(0xffdc322f)), - 'deletion': TextStyle(color: Color(0xffdc322f)), - 'formula': TextStyle(backgroundColor: Color(0xffeee8d5)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/sunburst.dart b/lib/base/ui/highlight/themes/sunburst.dart deleted file mode 100644 index c7d7f7e..0000000 --- a/lib/base/ui/highlight/themes/sunburst.dart +++ /dev/null @@ -1,41 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const sunburstTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff000000), color: Color(0xfff8f8f8)), - 'comment': TextStyle(color: Color(0xffaeaeae), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xffaeaeae), fontStyle: FontStyle.italic), - 'keyword': TextStyle(color: Color(0xffe28964)), - 'selector-tag': TextStyle(color: Color(0xffe28964)), - 'type': TextStyle(color: Color(0xffe28964)), - 'string': TextStyle(color: Color(0xff65b042)), - 'subst': TextStyle(color: Color(0xffdaefa3)), - 'regexp': TextStyle(color: Color(0xffe9c062)), - 'link': TextStyle(color: Color(0xffe9c062)), - 'title': TextStyle(color: Color(0xff89bdff)), - 'section': TextStyle(color: Color(0xff89bdff)), - 'tag': TextStyle(color: Color(0xff89bdff)), - 'name': TextStyle(color: Color(0xff89bdff)), - 'symbol': TextStyle(color: Color(0xff3387cc)), - 'bullet': TextStyle(color: Color(0xff3387cc)), - 'number': TextStyle(color: Color(0xff3387cc)), - 'params': TextStyle(color: Color(0xff3e87e3)), - 'variable': TextStyle(color: Color(0xff3e87e3)), - 'template-variable': TextStyle(color: Color(0xff3e87e3)), - 'attribute': TextStyle(color: Color(0xffcda869)), - 'meta': TextStyle(color: Color(0xff8996a8)), - 'formula': TextStyle( - backgroundColor: Color(0xff0e2231), - color: Color(0xfff8f8f8), - fontStyle: FontStyle.italic), - 'addition': - TextStyle(backgroundColor: Color(0xff253b22), color: Color(0xfff8f8f8)), - 'deletion': - TextStyle(backgroundColor: Color(0xff420e09), color: Color(0xfff8f8f8)), - 'selector-class': TextStyle(color: Color(0xff9b703f)), - 'selector-id': TextStyle(color: Color(0xff8b98ab)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/tomorrow-night-blue.dart b/lib/base/ui/highlight/themes/tomorrow-night-blue.dart deleted file mode 100644 index 55060f9..0000000 --- a/lib/base/ui/highlight/themes/tomorrow-night-blue.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const tomorrowNightBlueTheme = { - 'comment': TextStyle(color: Color(0xff7285b7)), - 'quote': TextStyle(color: Color(0xff7285b7)), - 'variable': TextStyle(color: Color(0xffff9da4)), - 'template-variable': TextStyle(color: Color(0xffff9da4)), - 'tag': TextStyle(color: Color(0xffff9da4)), - 'name': TextStyle(color: Color(0xffff9da4)), - 'selector-id': TextStyle(color: Color(0xffff9da4)), - 'selector-class': TextStyle(color: Color(0xffff9da4)), - 'regexp': TextStyle(color: Color(0xffff9da4)), - 'deletion': TextStyle(color: Color(0xffff9da4)), - 'number': TextStyle(color: Color(0xffffc58f)), - 'built_in': TextStyle(color: Color(0xffffc58f)), - 'builtin-name': TextStyle(color: Color(0xffffc58f)), - 'literal': TextStyle(color: Color(0xffffc58f)), - 'type': TextStyle(color: Color(0xffffc58f)), - 'params': TextStyle(color: Color(0xffffc58f)), - 'meta': TextStyle(color: Color(0xffffc58f)), - 'link': TextStyle(color: Color(0xffffc58f)), - 'attribute': TextStyle(color: Color(0xffffeead)), - 'string': TextStyle(color: Color(0xffd1f1a9)), - 'symbol': TextStyle(color: Color(0xffd1f1a9)), - 'bullet': TextStyle(color: Color(0xffd1f1a9)), - 'addition': TextStyle(color: Color(0xffd1f1a9)), - 'title': TextStyle(color: Color(0xffbbdaff)), - 'section': TextStyle(color: Color(0xffbbdaff)), - 'keyword': TextStyle(color: Color(0xffebbbff)), - 'selector-tag': TextStyle(color: Color(0xffebbbff)), - 'root': - TextStyle(backgroundColor: Color(0xff002451), color: Color(0xffffffff)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/tomorrow-night-bright.dart b/lib/base/ui/highlight/themes/tomorrow-night-bright.dart deleted file mode 100644 index 7452a95..0000000 --- a/lib/base/ui/highlight/themes/tomorrow-night-bright.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const tomorrowNightBrightTheme = { - 'comment': TextStyle(color: Color(0xff969896)), - 'quote': TextStyle(color: Color(0xff969896)), - 'variable': TextStyle(color: Color(0xffd54e53)), - 'template-variable': TextStyle(color: Color(0xffd54e53)), - 'tag': TextStyle(color: Color(0xffd54e53)), - 'name': TextStyle(color: Color(0xffd54e53)), - 'selector-id': TextStyle(color: Color(0xffd54e53)), - 'selector-class': TextStyle(color: Color(0xffd54e53)), - 'regexp': TextStyle(color: Color(0xffd54e53)), - 'deletion': TextStyle(color: Color(0xffd54e53)), - 'number': TextStyle(color: Color(0xffe78c45)), - 'built_in': TextStyle(color: Color(0xffe78c45)), - 'builtin-name': TextStyle(color: Color(0xffe78c45)), - 'literal': TextStyle(color: Color(0xffe78c45)), - 'type': TextStyle(color: Color(0xffe78c45)), - 'params': TextStyle(color: Color(0xffe78c45)), - 'meta': TextStyle(color: Color(0xffe78c45)), - 'link': TextStyle(color: Color(0xffe78c45)), - 'attribute': TextStyle(color: Color(0xffe7c547)), - 'string': TextStyle(color: Color(0xffb9ca4a)), - 'symbol': TextStyle(color: Color(0xffb9ca4a)), - 'bullet': TextStyle(color: Color(0xffb9ca4a)), - 'addition': TextStyle(color: Color(0xffb9ca4a)), - 'title': TextStyle(color: Color(0xff7aa6da)), - 'section': TextStyle(color: Color(0xff7aa6da)), - 'keyword': TextStyle(color: Color(0xffc397d8)), - 'selector-tag': TextStyle(color: Color(0xffc397d8)), - 'root': - TextStyle(backgroundColor: Color(0xff000000), color: Color(0xffeaeaea)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/tomorrow-night-eighties.dart b/lib/base/ui/highlight/themes/tomorrow-night-eighties.dart deleted file mode 100644 index ffe7d58..0000000 --- a/lib/base/ui/highlight/themes/tomorrow-night-eighties.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const tomorrowNightEightiesTheme = { - 'comment': TextStyle(color: Color(0xff999999)), - 'quote': TextStyle(color: Color(0xff999999)), - 'variable': TextStyle(color: Color(0xfff2777a)), - 'template-variable': TextStyle(color: Color(0xfff2777a)), - 'tag': TextStyle(color: Color(0xfff2777a)), - 'name': TextStyle(color: Color(0xfff2777a)), - 'selector-id': TextStyle(color: Color(0xfff2777a)), - 'selector-class': TextStyle(color: Color(0xfff2777a)), - 'regexp': TextStyle(color: Color(0xfff2777a)), - 'deletion': TextStyle(color: Color(0xfff2777a)), - 'number': TextStyle(color: Color(0xfff99157)), - 'built_in': TextStyle(color: Color(0xfff99157)), - 'builtin-name': TextStyle(color: Color(0xfff99157)), - 'literal': TextStyle(color: Color(0xfff99157)), - 'type': TextStyle(color: Color(0xfff99157)), - 'params': TextStyle(color: Color(0xfff99157)), - 'meta': TextStyle(color: Color(0xfff99157)), - 'link': TextStyle(color: Color(0xfff99157)), - 'attribute': TextStyle(color: Color(0xffffcc66)), - 'string': TextStyle(color: Color(0xff99cc99)), - 'symbol': TextStyle(color: Color(0xff99cc99)), - 'bullet': TextStyle(color: Color(0xff99cc99)), - 'addition': TextStyle(color: Color(0xff99cc99)), - 'title': TextStyle(color: Color(0xff6699cc)), - 'section': TextStyle(color: Color(0xff6699cc)), - 'keyword': TextStyle(color: Color(0xffcc99cc)), - 'selector-tag': TextStyle(color: Color(0xffcc99cc)), - 'root': - TextStyle(backgroundColor: Color(0xff2d2d2d), color: Color(0xffcccccc)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/tomorrow-night.dart b/lib/base/ui/highlight/themes/tomorrow-night.dart deleted file mode 100644 index d428580..0000000 --- a/lib/base/ui/highlight/themes/tomorrow-night.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const tomorrowNightTheme = { - 'comment': TextStyle(color: Color(0xff969896)), - 'quote': TextStyle(color: Color(0xff969896)), - 'variable': TextStyle(color: Color(0xffcc6666)), - 'template-variable': TextStyle(color: Color(0xffcc6666)), - 'tag': TextStyle(color: Color(0xffcc6666)), - 'name': TextStyle(color: Color(0xffcc6666)), - 'selector-id': TextStyle(color: Color(0xffcc6666)), - 'selector-class': TextStyle(color: Color(0xffcc6666)), - 'regexp': TextStyle(color: Color(0xffcc6666)), - 'deletion': TextStyle(color: Color(0xffcc6666)), - 'number': TextStyle(color: Color(0xffde935f)), - 'built_in': TextStyle(color: Color(0xffde935f)), - 'builtin-name': TextStyle(color: Color(0xffde935f)), - 'literal': TextStyle(color: Color(0xffde935f)), - 'type': TextStyle(color: Color(0xffde935f)), - 'params': TextStyle(color: Color(0xffde935f)), - 'meta': TextStyle(color: Color(0xffde935f)), - 'link': TextStyle(color: Color(0xffde935f)), - 'attribute': TextStyle(color: Color(0xfff0c674)), - 'string': TextStyle(color: Color(0xffb5bd68)), - 'symbol': TextStyle(color: Color(0xffb5bd68)), - 'bullet': TextStyle(color: Color(0xffb5bd68)), - 'addition': TextStyle(color: Color(0xffb5bd68)), - 'title': TextStyle(color: Color(0xff81a2be)), - 'section': TextStyle(color: Color(0xff81a2be)), - 'keyword': TextStyle(color: Color(0xffb294bb)), - 'selector-tag': TextStyle(color: Color(0xffb294bb)), - 'root': - TextStyle(backgroundColor: Color(0xff1d1f21), color: Color(0xffc5c8c6)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/tomorrow.dart b/lib/base/ui/highlight/themes/tomorrow.dart deleted file mode 100644 index b295b51..0000000 --- a/lib/base/ui/highlight/themes/tomorrow.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const tomorrowTheme = { - 'comment': TextStyle(color: Color(0xff8e908c)), - 'quote': TextStyle(color: Color(0xff8e908c)), - 'variable': TextStyle(color: Color(0xffc82829)), - 'template-variable': TextStyle(color: Color(0xffc82829)), - 'tag': TextStyle(color: Color(0xffc82829)), - 'name': TextStyle(color: Color(0xffc82829)), - 'selector-id': TextStyle(color: Color(0xffc82829)), - 'selector-class': TextStyle(color: Color(0xffc82829)), - 'regexp': TextStyle(color: Color(0xffc82829)), - 'deletion': TextStyle(color: Color(0xffc82829)), - 'number': TextStyle(color: Color(0xfff5871f)), - 'built_in': TextStyle(color: Color(0xfff5871f)), - 'builtin-name': TextStyle(color: Color(0xfff5871f)), - 'literal': TextStyle(color: Color(0xfff5871f)), - 'type': TextStyle(color: Color(0xfff5871f)), - 'params': TextStyle(color: Color(0xfff5871f)), - 'meta': TextStyle(color: Color(0xfff5871f)), - 'link': TextStyle(color: Color(0xfff5871f)), - 'attribute': TextStyle(color: Color(0xffeab700)), - 'string': TextStyle(color: Color(0xff718c00)), - 'symbol': TextStyle(color: Color(0xff718c00)), - 'bullet': TextStyle(color: Color(0xff718c00)), - 'addition': TextStyle(color: Color(0xff718c00)), - 'title': TextStyle(color: Color(0xff4271ae)), - 'section': TextStyle(color: Color(0xff4271ae)), - 'keyword': TextStyle(color: Color(0xff8959a8)), - 'selector-tag': TextStyle(color: Color(0xff8959a8)), - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff4d4d4c)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/vs.dart b/lib/base/ui/highlight/themes/vs.dart deleted file mode 100644 index 172b234..0000000 --- a/lib/base/ui/highlight/themes/vs.dart +++ /dev/null @@ -1,36 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const vsTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff008000)), - 'quote': TextStyle(color: Color(0xff008000)), - 'variable': TextStyle(color: Color(0xff008000)), - 'keyword': TextStyle(color: Color(0xff0000ff)), - 'selector-tag': TextStyle(color: Color(0xff0000ff)), - 'built_in': TextStyle(color: Color(0xff0000ff)), - 'name': TextStyle(color: Color(0xff0000ff)), - 'tag': TextStyle(color: Color(0xff0000ff)), - 'string': TextStyle(color: Color(0xffa31515)), - 'title': TextStyle(color: Color(0xffa31515)), - 'section': TextStyle(color: Color(0xffa31515)), - 'attribute': TextStyle(color: Color(0xffa31515)), - 'literal': TextStyle(color: Color(0xffa31515)), - 'template-tag': TextStyle(color: Color(0xffa31515)), - 'template-variable': TextStyle(color: Color(0xffa31515)), - 'type': TextStyle(color: Color(0xffa31515)), - 'addition': TextStyle(color: Color(0xffa31515)), - 'deletion': TextStyle(color: Color(0xff2b91af)), - 'selector-attr': TextStyle(color: Color(0xff2b91af)), - 'selector-pseudo': TextStyle(color: Color(0xff2b91af)), - 'meta': TextStyle(color: Color(0xff2b91af)), - 'doctag': TextStyle(color: Color(0xff808080)), - 'attr': TextStyle(color: Color(0xffff0000)), - 'symbol': TextStyle(color: Color(0xff00b0e8)), - 'bullet': TextStyle(color: Color(0xff00b0e8)), - 'link': TextStyle(color: Color(0xff00b0e8)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/vs2015.dart b/lib/base/ui/highlight/themes/vs2015.dart deleted file mode 100644 index c825aae..0000000 --- a/lib/base/ui/highlight/themes/vs2015.dart +++ /dev/null @@ -1,48 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const vs2015Theme = { - 'root': - TextStyle(backgroundColor: Color(0xff1E1E1E), color: Color(0xffDCDCDC)), - 'keyword': TextStyle(color: Color(0xff569CD6)), - 'literal': TextStyle(color: Color(0xff569CD6)), - 'symbol': TextStyle(color: Color(0xff569CD6)), - 'name': TextStyle(color: Color(0xff569CD6)), - 'link': TextStyle(color: Color(0xff569CD6)), - 'built_in': TextStyle(color: Color(0xff4EC9B0)), - 'type': TextStyle(color: Color(0xff4EC9B0)), - 'number': TextStyle(color: Color(0xffB8D7A3)), - 'class': TextStyle(color: Color(0xffB8D7A3)), - 'string': TextStyle(color: Color(0xffD69D85)), - 'meta-string': TextStyle(color: Color(0xffD69D85)), - 'regexp': TextStyle(color: Color(0xff9A5334)), - 'template-tag': TextStyle(color: Color(0xff9A5334)), - 'subst': TextStyle(color: Color(0xffDCDCDC)), - 'function': TextStyle(color: Color(0xffDCDCDC)), - 'title': TextStyle(color: Color(0xffDCDCDC)), - 'params': TextStyle(color: Color(0xffDCDCDC)), - 'formula': TextStyle(color: Color(0xffDCDCDC)), - 'comment': TextStyle(color: Color(0xff57A64A), fontStyle: FontStyle.italic), - 'quote': TextStyle(color: Color(0xff57A64A), fontStyle: FontStyle.italic), - 'doctag': TextStyle(color: Color(0xff608B4E)), - 'meta': TextStyle(color: Color(0xff9B9B9B)), - 'meta-keyword': TextStyle(color: Color(0xff9B9B9B)), - 'tag': TextStyle(color: Color(0xff9B9B9B)), - 'variable': TextStyle(color: Color(0xffBD63C5)), - 'template-variable': TextStyle(color: Color(0xffBD63C5)), - 'attr': TextStyle(color: Color(0xff9CDCFE)), - 'attribute': TextStyle(color: Color(0xff9CDCFE)), - 'builtin-name': TextStyle(color: Color(0xff9CDCFE)), - 'section': TextStyle(color: Color(0xffffd700)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'bullet': TextStyle(color: Color(0xffD7BA7D)), - 'selector-tag': TextStyle(color: Color(0xffD7BA7D)), - 'selector-id': TextStyle(color: Color(0xffD7BA7D)), - 'selector-class': TextStyle(color: Color(0xffD7BA7D)), - 'selector-attr': TextStyle(color: Color(0xffD7BA7D)), - 'selector-pseudo': TextStyle(color: Color(0xffD7BA7D)), - 'addition': TextStyle(backgroundColor: Color(0xff144212)), - 'deletion': TextStyle(backgroundColor: Color(0xff660000)), -}; diff --git a/lib/base/ui/highlight/themes/xcode.dart b/lib/base/ui/highlight/themes/xcode.dart deleted file mode 100644 index 7347784..0000000 --- a/lib/base/ui/highlight/themes/xcode.dart +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const xcodeTheme = { - 'root': - TextStyle(backgroundColor: Color(0xffffffff), color: Color(0xff000000)), - 'comment': TextStyle(color: Color(0xff007400)), - 'quote': TextStyle(color: Color(0xff007400)), - 'tag': TextStyle(color: Color(0xffaa0d91)), - 'attribute': TextStyle(color: Color(0xffaa0d91)), - 'keyword': TextStyle(color: Color(0xffaa0d91)), - 'selector-tag': TextStyle(color: Color(0xffaa0d91)), - 'literal': TextStyle(color: Color(0xffaa0d91)), - 'name': TextStyle(color: Color(0xffaa0d91)), - 'variable': TextStyle(color: Color(0xff3F6E74)), - 'template-variable': TextStyle(color: Color(0xff3F6E74)), - 'code': TextStyle(color: Color(0xffc41a16)), - 'string': TextStyle(color: Color(0xffc41a16)), - 'meta-string': TextStyle(color: Color(0xffc41a16)), - 'regexp': TextStyle(color: Color(0xff0E0EFF)), - 'link': TextStyle(color: Color(0xff0E0EFF)), - 'title': TextStyle(color: Color(0xff1c00cf)), - 'symbol': TextStyle(color: Color(0xff1c00cf)), - 'bullet': TextStyle(color: Color(0xff1c00cf)), - 'number': TextStyle(color: Color(0xff1c00cf)), - 'section': TextStyle(color: Color(0xff643820)), - 'meta': TextStyle(color: Color(0xff643820)), - 'type': TextStyle(color: Color(0xff5c2699)), - 'built_in': TextStyle(color: Color(0xff5c2699)), - 'builtin-name': TextStyle(color: Color(0xff5c2699)), - 'params': TextStyle(color: Color(0xff5c2699)), - 'attr': TextStyle(color: Color(0xff836C28)), - 'subst': TextStyle(color: Color(0xff000000)), - 'formula': TextStyle( - backgroundColor: Color(0xffeeeeee), fontStyle: FontStyle.italic), - 'addition': TextStyle(backgroundColor: Color(0xffbaeeba)), - 'deletion': TextStyle(backgroundColor: Color(0xffffc8bd)), - 'selector-id': TextStyle(color: Color(0xff9b703f)), - 'selector-class': TextStyle(color: Color(0xff9b703f)), - 'doctag': TextStyle(fontWeight: FontWeight.bold), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), -}; diff --git a/lib/base/ui/highlight/themes/xt256.dart b/lib/base/ui/highlight/themes/xt256.dart deleted file mode 100644 index b1e948e..0000000 --- a/lib/base/ui/highlight/themes/xt256.dart +++ /dev/null @@ -1,38 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const xt256Theme = { - 'root': - TextStyle(color: Color(0xffeaeaea), backgroundColor: Color(0xff000000)), - 'subst': TextStyle(color: Color(0xffeaeaea)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), - 'builtin-name': TextStyle(color: Color(0xffeaeaea)), - 'type': TextStyle(color: Color(0xffeaeaea)), - 'params': TextStyle(color: Color(0xffda0000)), - 'literal': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold), - 'number': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold), - 'name': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold), - 'comment': TextStyle(color: Color(0xff969896)), - 'selector-id': TextStyle(color: Color(0xff00ffff)), - 'quote': TextStyle(color: Color(0xff00ffff)), - 'template-variable': - TextStyle(color: Color(0xff00ffff), fontWeight: FontWeight.bold), - 'variable': TextStyle(color: Color(0xff00ffff), fontWeight: FontWeight.bold), - 'title': TextStyle(color: Color(0xff00ffff), fontWeight: FontWeight.bold), - 'selector-class': TextStyle(color: Color(0xfffff000)), - 'keyword': TextStyle(color: Color(0xfffff000)), - 'symbol': TextStyle(color: Color(0xfffff000)), - 'string': TextStyle(color: Color(0xff00ff00)), - 'bullet': TextStyle(color: Color(0xff00ff00)), - 'tag': TextStyle(color: Color(0xff000fff)), - 'section': TextStyle(color: Color(0xff000fff)), - 'selector-tag': - TextStyle(color: Color(0xff000fff), fontWeight: FontWeight.bold), - 'attribute': TextStyle(color: Color(0xffff00ff)), - 'built_in': TextStyle(color: Color(0xffff00ff)), - 'regexp': TextStyle(color: Color(0xffff00ff)), - 'link': TextStyle(color: Color(0xffff00ff)), - 'meta': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/highlight/themes/zenburn.dart b/lib/base/ui/highlight/themes/zenburn.dart deleted file mode 100644 index 19b0141..0000000 --- a/lib/base/ui/highlight/themes/zenburn.dart +++ /dev/null @@ -1,37 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -import 'package:flutter/painting.dart'; - -const zenburnTheme = { - 'root': - TextStyle(backgroundColor: Color(0xff3f3f3f), color: Color(0xffdcdcdc)), - 'keyword': TextStyle(color: Color(0xffe3ceab)), - 'selector-tag': TextStyle(color: Color(0xffe3ceab)), - 'tag': TextStyle(color: Color(0xffe3ceab)), - 'template-tag': TextStyle(color: Color(0xffdcdcdc)), - 'number': TextStyle(color: Color(0xff8cd0d3)), - 'variable': TextStyle(color: Color(0xffefdcbc)), - 'template-variable': TextStyle(color: Color(0xffefdcbc)), - 'attribute': TextStyle(color: Color(0xffefdcbc)), - 'literal': TextStyle(color: Color(0xffefefaf)), - 'subst': TextStyle(color: Color(0xff8f8f8f)), - 'title': TextStyle(color: Color(0xffefef8f)), - 'name': TextStyle(color: Color(0xffefef8f)), - 'selector-id': TextStyle(color: Color(0xffefef8f)), - 'selector-class': TextStyle(color: Color(0xffefef8f)), - 'section': TextStyle(color: Color(0xffefef8f)), - 'type': TextStyle(color: Color(0xffefef8f)), - 'symbol': TextStyle(color: Color(0xffdca3a3)), - 'bullet': TextStyle(color: Color(0xffdca3a3)), - 'link': TextStyle(color: Color(0xffdca3a3)), - 'deletion': TextStyle(color: Color(0xffcc9393)), - 'string': TextStyle(color: Color(0xffcc9393)), - 'built_in': TextStyle(color: Color(0xffcc9393)), - 'builtin-name': TextStyle(color: Color(0xffcc9393)), - 'addition': TextStyle(color: Color(0xff7f9f7f)), - 'comment': TextStyle(color: Color(0xff7f9f7f)), - 'quote': TextStyle(color: Color(0xff7f9f7f)), - 'meta': TextStyle(color: Color(0xff7f9f7f)), - 'emphasis': TextStyle(fontStyle: FontStyle.italic), - 'strong': TextStyle(fontWeight: FontWeight.bold), -}; diff --git a/lib/base/ui/source_code_view.dart b/lib/base/ui/source_code_view.dart new file mode 100644 index 0000000..4043cd6 --- /dev/null +++ b/lib/base/ui/source_code_view.dart @@ -0,0 +1,170 @@ +import 'dart:math'; + +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_speed_dial/flutter_speed_dial.dart'; +import 'package:google_fonts/google_fonts.dart'; +import 'package:url_launcher/url_launcher.dart' as url_launcher; +import 'syntax_highlighter.dart'; + +class SourceCodeView extends StatefulWidget { + final String filePath; + final String? codeLinkPrefix; + final bool showLabelText; + final Color? iconBackgroundColor; + final Color? iconForegroundColor; + final Color? labelBackgroundColor; + final TextStyle? labelTextStyle; + final SyntaxHighlighterStyle? syntaxHighlighterStyle; + + const SourceCodeView({ + Key? key, + required this.filePath, + this.codeLinkPrefix, + this.showLabelText = false, + this.iconBackgroundColor, + this.iconForegroundColor, + this.labelBackgroundColor, + this.labelTextStyle, + this.syntaxHighlighterStyle, + }) : super(key: key); + + String? get codeLink => codeLinkPrefix == null + ? null + : '$codeLinkPrefix/$filePath'; + + @override + _SourceCodeViewState createState() { + return _SourceCodeViewState(); + } +} + +class _SourceCodeViewState extends State { + double _textScaleFactor = 1.0; + + Widget _getCodeView(String codeContent, BuildContext context) { + codeContent = codeContent.replaceAll('\r\n', '\n'); + final SyntaxHighlighterStyle style = widget.syntaxHighlighterStyle ?? + (Theme.of(context).brightness == Brightness.dark + ? SyntaxHighlighterStyle.darkThemeStyle() + : SyntaxHighlighterStyle.lightThemeStyle()); + return Container( + constraints: BoxConstraints.expand(), + child: Scrollbar( + child: SingleChildScrollView( + child: SingleChildScrollView( + scrollDirection: Axis.horizontal, + child: SelectableText.rich( + TextSpan( + style: GoogleFonts.droidSansMono(fontSize: 12) + .apply(fontSizeFactor: this._textScaleFactor), + children: [ + DartSyntaxHighlighter(style).format(codeContent) + ], + ), + style: DefaultTextStyle.of(context) + .style + .apply(fontSizeFactor: this._textScaleFactor), + ), + ), + ), + ), + ); + } + + List _buildFloatingButtons({ + TextStyle? labelTextStyle, + Color? iconBackgroundColor, + Color? iconForegroundColor, + Color? labelBackgroundColor, + required bool showLabelText, + }) => + [ + if (this.widget.codeLink != null) + SpeedDialChild( + child: Icon(Icons.content_copy), + labelWidget: showLabelText ? Text('Copy code to clipboard') : null, + backgroundColor: iconBackgroundColor, + foregroundColor: iconForegroundColor, + labelBackgroundColor: labelBackgroundColor, + labelStyle: labelTextStyle, + onTap: () async { + Clipboard.setData(ClipboardData( + text: await DefaultAssetBundle.of(context) + .loadString(widget.filePath))); + ScaffoldMessenger.of(context).showSnackBar(SnackBar( + content: Text('Code copied to clipboard!'), + )); + }, + ), + if (this.widget.codeLink != null) + SpeedDialChild( + child: Icon(Icons.open_in_new), + labelWidget: showLabelText ? Text('View code in browser') : null, + backgroundColor: iconBackgroundColor, + foregroundColor: iconForegroundColor, + labelBackgroundColor: labelBackgroundColor, + labelStyle: labelTextStyle, + onTap: () => url_launcher.launch(this.widget.codeLink!), + ), + SpeedDialChild( + child: Icon(Icons.zoom_out), + label: showLabelText ? 'Zoom out' : null, + // labelWidget: showLabelText ? Text('Zoom out') : null, + backgroundColor: iconBackgroundColor, + foregroundColor: iconForegroundColor, + labelBackgroundColor: labelBackgroundColor, + labelStyle: labelTextStyle, + onTap: () => setState(() { + this._textScaleFactor = max(0.8, this._textScaleFactor - 0.1); + }), + ), + SpeedDialChild( + child: Icon(Icons.zoom_in), + labelWidget: showLabelText ? Text('Zoom in') : null, + backgroundColor: iconBackgroundColor, + foregroundColor: iconForegroundColor, + labelBackgroundColor: labelBackgroundColor, + labelStyle: labelTextStyle, + onTap: () => setState(() { + this._textScaleFactor += 0.1; + }), + ), + ]; + + @override + Widget build(BuildContext context) { + return FutureBuilder( + future: DefaultAssetBundle.of(context).loadString(widget.filePath), + builder: (BuildContext context, AsyncSnapshot snapshot) { + if (snapshot.hasData) { + return Scaffold( + body: Padding( + padding: EdgeInsets.all(4.0), + child: _getCodeView(snapshot.data!, context), + ), + floatingActionButton: SpeedDial( + renderOverlay: false, + overlayOpacity: 0, + children: _buildFloatingButtons( + labelTextStyle: widget.labelTextStyle, + iconBackgroundColor: widget.iconBackgroundColor, + iconForegroundColor: widget.iconForegroundColor, + labelBackgroundColor: widget.labelBackgroundColor, + showLabelText: widget.showLabelText, + ), + backgroundColor: Colors.blue, + foregroundColor: Colors.white, + activeBackgroundColor: Colors.red, + activeForegroundColor: Colors.white, + icon: Icons.menu, + activeIcon: Icons.close, + ), + ); + } else { + return Center(child: CircularProgressIndicator()); + } + }, + ); + } +} diff --git a/lib/base/ui/syntax_highlighter.dart b/lib/base/ui/syntax_highlighter.dart new file mode 100644 index 0000000..101ca92 --- /dev/null +++ b/lib/base/ui/syntax_highlighter.dart @@ -0,0 +1,384 @@ +// Copyright 2016 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/material.dart'; +import 'package:string_scanner/string_scanner.dart'; + +class SyntaxHighlighterStyle { + SyntaxHighlighterStyle( + {this.baseStyle, + this.numberStyle, + this.commentStyle, + this.keywordStyle, + this.stringStyle, + this.punctuationStyle, + this.classStyle, + this.constantStyle}); + + static SyntaxHighlighterStyle lightThemeStyle() => SyntaxHighlighterStyle( + baseStyle: const TextStyle(color: const Color(0xFF000000),height: 1,), + numberStyle: const TextStyle(color: const Color(0xFF1565C0)), + commentStyle: const TextStyle(color: const Color(0xFF9E9E9E)), + keywordStyle: const TextStyle(color: const Color(0xFF9C27B0)), + stringStyle: const TextStyle(color: const Color(0xFF43A047)), + punctuationStyle: const TextStyle(color: const Color(0xFF000000)), + classStyle: const TextStyle(color: const Color(0xFF512DA8)), + constantStyle: const TextStyle(color: const Color(0xFF795548)), + ); + + static SyntaxHighlighterStyle darkThemeStyle() => SyntaxHighlighterStyle( + baseStyle: const TextStyle(color: const Color(0xFFFFFFFF)), + numberStyle: const TextStyle(color: const Color(0xFF1565C0)), + commentStyle: const TextStyle(color: const Color(0xFF9E9E9E)), + keywordStyle: const TextStyle(color: const Color(0xFF80CBC4)), + stringStyle: const TextStyle(color: const Color(0xFF009688)), + punctuationStyle: const TextStyle(color: const Color(0xFFFFFFFF)), + classStyle: const TextStyle(color: const Color(0xFF009688)), + constantStyle: const TextStyle(color: const Color(0xFF795548)), + ); + + SyntaxHighlighterStyle copyWith({ + TextStyle? baseStyle, + TextStyle? numberStyle, + TextStyle? commentStyle, + TextStyle? keywordStyle, + TextStyle? stringStyle, + TextStyle? punctuationStyle, + TextStyle? classStyle, + TextStyle? constantStyle, + }) => + SyntaxHighlighterStyle( + baseStyle: baseStyle ?? this.baseStyle, + numberStyle: numberStyle ?? this.numberStyle, + commentStyle: commentStyle ?? this.commentStyle, + keywordStyle: keywordStyle ?? this.keywordStyle, + stringStyle: stringStyle ?? this.stringStyle, + punctuationStyle: punctuationStyle ?? this.punctuationStyle, + classStyle: classStyle ?? this.classStyle, + constantStyle: constantStyle ?? this.constantStyle, + ); + + final TextStyle? baseStyle; + final TextStyle? numberStyle; + final TextStyle? commentStyle; + final TextStyle? keywordStyle; + final TextStyle? stringStyle; + final TextStyle? punctuationStyle; + final TextStyle? classStyle; + final TextStyle? constantStyle; +} + +abstract class SyntaxHighlighter { + // ignore: one_member_abstracts + TextSpan format(String src); +} + +class DartSyntaxHighlighter extends SyntaxHighlighter { + DartSyntaxHighlighter([this._style]) { + _spans = <_HighlightSpan>[]; + _style ??= SyntaxHighlighterStyle.darkThemeStyle(); + } + + SyntaxHighlighterStyle? _style; + + static const List _keywords = const [ + 'abstract', + 'as', + 'assert', + 'async', + 'await', + 'break', + 'case', + 'catch', + 'class', + 'const', + 'continue', + 'default', + 'deferred', + 'do', + 'dynamic', + 'else', + 'enum', + 'export', + 'external', + 'extends', + 'factory', + 'false', + 'final', + 'finally', + 'for', + 'get', + 'if', + 'implements', + 'import', + 'in', + 'is', + 'library', + 'new', + 'null', + 'operator', + 'part', + 'rethrow', + 'return', + 'set', + 'static', + 'super', + 'switch', + 'sync', + 'this', + 'throw', + 'true', + 'try', + 'typedef', + 'var', + 'void', + 'while', + 'with', + 'yield' + ]; + + static const List _builtInTypes = const [ + 'int', + 'double', + 'num', + 'bool' + ]; + + late String _src; + late StringScanner _scanner; + + late List<_HighlightSpan> _spans; + + @override + TextSpan format(String src) { + _src = src; + _scanner = StringScanner(_src); + + if (_generateSpans()) { + // Successfully parsed the code + final List formattedText = []; + int currentPosition = 0; + + for (_HighlightSpan span in _spans) { + if (currentPosition != span.start) + formattedText + .add(TextSpan(text: _src.substring(currentPosition, span.start))); + + formattedText.add(TextSpan( + style: span.textStyle(_style), text: span.textForSpan(_src))); + + currentPosition = span.end; + } + + if (currentPosition != _src.length) + formattedText + .add(TextSpan(text: _src.substring(currentPosition, _src.length))); + + return TextSpan(style: _style!.baseStyle, children: formattedText); + } else { + // Parsing failed, return with only basic formatting + return TextSpan(style: _style!.baseStyle, text: src); + } + } + + bool _generateSpans() { + int lastLoopPosition = _scanner.position; + + while (!_scanner.isDone) { + // Skip White space + _scanner.scan(RegExp(r'\s+')); + + // Block comments + if (_scanner.scan(RegExp(r'/\*(.|\n)*\*/'))) { + _spans.add(_HighlightSpan(_HighlightType.comment, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Line comments + if (_scanner.scan('##')) { + final int startComment = _scanner.lastMatch!.start; + + bool eof = false; + int endComment; + if (_scanner.scan(RegExp(r'.*\n'))) { + endComment = _scanner.lastMatch!.end - 1; + } else { + eof = true; + endComment = _src.length; + } + + _spans.add( + _HighlightSpan(_HighlightType.comment, startComment, endComment)); + + if (eof) break; + + continue; + } + + // Raw r"String" + if (_scanner.scan(RegExp(r'r".*"'))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Raw r'String' + if (_scanner.scan(RegExp(r"r'.*'"))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Multiline """String""" + if (_scanner.scan(RegExp(r'"""(?:[^"\\]|\\(.|\n))*"""'))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Multiline '''String''' + if (_scanner.scan(RegExp(r"'''(?:[^'\\]|\\(.|\n))*'''"))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // "String" + if (_scanner.scan(RegExp(r'"(?:[^"\\]|\\.)*"'))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // 'String' + if (_scanner.scan(RegExp(r"'(?:[^'\\]|\\.)*'"))) { + _spans.add(_HighlightSpan(_HighlightType.string, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Double + if (_scanner.scan(RegExp(r'\d+\.\d+'))) { + _spans.add(_HighlightSpan(_HighlightType.number, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Integer + if (_scanner.scan(RegExp(r'\d+'))) { + _spans.add(_HighlightSpan(_HighlightType.number, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Punctuation + if (_scanner.scan(RegExp(r'[\[\]{}().!=<>&\|\?\+\-\*/%\^~;:,]'))) { + _spans.add(_HighlightSpan(_HighlightType.punctuation, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Meta data + if (_scanner.scan(RegExp(r'@\w+'))) { + _spans.add(_HighlightSpan(_HighlightType.keyword, + _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + continue; + } + + // Words + if (_scanner.scan(RegExp(r'\w+'))) { + _HighlightType? type; + + String word = _scanner.lastMatch![0]!; + if (word.startsWith('_')) word = word.substring(1); + + if (_keywords.contains(word)) + type = _HighlightType.keyword; + else if (_builtInTypes.contains(word)) + type = _HighlightType.keyword; + else if (_firstLetterIsUpperCase(word)) + type = _HighlightType.klass; + else if (word.length >= 2 && + word.startsWith('k') && + _firstLetterIsUpperCase(word.substring(1))) + type = _HighlightType.constant; + + if (type != null) { + _spans.add(_HighlightSpan( + type, _scanner.lastMatch!.start, _scanner.lastMatch!.end)); + } + } + + // Check if this loop did anything + if (lastLoopPosition == _scanner.position) { + // Failed to parse this file, abort gracefully + return false; + } + lastLoopPosition = _scanner.position; + } + + _simplify(); + return true; + } + + void _simplify() { + for (int i = _spans.length - 2; i >= 0; i -= 1) { + if (_spans[i].type == _spans[i + 1].type && + _spans[i].end == _spans[i + 1].start) { + _spans[i] = + _HighlightSpan(_spans[i].type, _spans[i].start, _spans[i + 1].end); + _spans.removeAt(i + 1); + } + } + } + + bool _firstLetterIsUpperCase(String str) { + if (str.isNotEmpty) { + final String first = str.substring(0, 1); + return first == first.toUpperCase(); + } + return false; + } +} + +enum _HighlightType { + number, + comment, + keyword, + string, + punctuation, + klass, + constant +} + +class _HighlightSpan { + _HighlightSpan(this.type, this.start, this.end); + final _HighlightType type; + final int start; + final int end; + + String textForSpan(String src) { + return src.substring(start, end); + } + + TextStyle? textStyle(SyntaxHighlighterStyle? style) { + if (type == _HighlightType.number) + return style!.numberStyle; + else if (type == _HighlightType.comment) + return style!.commentStyle; + else if (type == _HighlightType.keyword) + return style!.keywordStyle; + else if (type == _HighlightType.string) + return style!.stringStyle; + else if (type == _HighlightType.punctuation) + return style!.punctuationStyle; + else if (type == _HighlightType.klass) + return style!.classStyle; + else if (type == _HighlightType.constant) + return style!.constantStyle; + else + return style!.baseStyle; + } +} diff --git a/lib/module/config/config_edit_page.dart b/lib/module/config/config_edit_page.dart index 0d83e89..4ac2d7c 100644 --- a/lib/module/config/config_edit_page.dart +++ b/lib/module/config/config_edit_page.dart @@ -1,3 +1,5 @@ +import 'dart:ui'; + import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -5,9 +7,12 @@ import 'package:qinglong_app/base/http/api.dart'; import 'package:qinglong_app/base/http/http.dart'; import 'package:qinglong_app/base/ql_app_bar.dart'; import 'package:qinglong_app/base/theme.dart'; -import 'package:qinglong_app/base/ui/highlight/flutter_highlight.dart'; +import 'package:qinglong_app/module/config/config_page.dart'; import 'package:qinglong_app/module/config/config_viewmodel.dart'; import 'package:qinglong_app/utils/extension.dart'; +import 'package:google_fonts/google_fonts.dart'; + +import '../../base/ui/syntax_highlighter.dart'; class ConfigEditPage extends ConsumerStatefulWidget { final String content; @@ -61,7 +66,8 @@ class _ConfigEditPageState extends ConsumerState { actions: [ InkWell( onTap: () async { - HttpResponse response = await Api.saveFile(widget.title, text); + HttpResponse response = + await Api.saveFile(widget.title, text); if (response.success) { "提交成功".toast(); ref.read(configProvider).loadContent(widget.title); @@ -96,7 +102,9 @@ class _ConfigEditPageState extends ConsumerState { child: SizedBox( height: 30, child: ListView( - padding: EdgeInsets.symmetric(horizontal: 15,), + padding: EdgeInsets.symmetric( + horizontal: 15, + ), scrollDirection: Axis.horizontal, children: [ GestureDetector( @@ -106,7 +114,9 @@ class _ConfigEditPageState extends ConsumerState { ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), - border: Border.all(color: ref.watch(themeProvider).primaryColor, width: 1), + border: Border.all( + color: ref.watch(themeProvider).primaryColor, + width: 1), ), child: Text( "插入", @@ -135,7 +145,9 @@ class _ConfigEditPageState extends ConsumerState { ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), - border: Border.all(color: ref.watch(themeProvider).primaryColor, width: 1), + border: Border.all( + color: ref.watch(themeProvider).primaryColor, + width: 1), ), child: Text( "替换", @@ -159,7 +171,9 @@ class _ConfigEditPageState extends ConsumerState { ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), - border: Border.all(color: ref.watch(themeProvider).primaryColor, width: 1), + border: Border.all( + color: ref.watch(themeProvider).primaryColor, + width: 1), ), child: Text( "删除", @@ -183,7 +197,9 @@ class _ConfigEditPageState extends ConsumerState { ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), - border: Border.all(color: ref.watch(themeProvider).primaryColor, width: 1), + border: Border.all( + color: ref.watch(themeProvider).primaryColor, + width: 1), ), child: Text( "清空", @@ -208,7 +224,9 @@ class _ConfigEditPageState extends ConsumerState { ), decoration: BoxDecoration( borderRadius: BorderRadius.circular(5), - border: Border.all(color: ref.watch(themeProvider).primaryColor, width: 1), + border: Border.all( + color: ref.watch(themeProvider).primaryColor, + width: 1), ), child: Text( "撤销本次操作", @@ -224,18 +242,7 @@ class _ConfigEditPageState extends ConsumerState { ), ), Expanded( - child: SizedBox( - width: MediaQuery.of(context).size.width, - child: HighlightView( - text, - language: "sh", - padding: const EdgeInsets.symmetric( - horizontal: 15, - ), - theme: ref.watch(themeProvider).themeColor.codeEditorTheme(), - tabSize: 14, - ), - ), + child: CodeWidget(content: text,), ), ], ), diff --git a/lib/module/config/config_page.dart b/lib/module/config/config_page.dart index ead80a0..4332b2d 100644 --- a/lib/module/config/config_page.dart +++ b/lib/module/config/config_page.dart @@ -1,13 +1,15 @@ +import 'dart:ui'; + import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:qinglong_app/base/base_state_widget.dart'; import 'package:qinglong_app/base/routes.dart'; -import 'package:qinglong_app/base/theme.dart'; import 'package:qinglong_app/base/ui/abs_underline_tabindicator.dart'; import 'package:qinglong_app/base/ui/empty_widget.dart'; -import 'package:qinglong_app/base/ui/highlight/flutter_highlight.dart'; import 'package:qinglong_app/main.dart'; +import 'package:google_fonts/google_fonts.dart'; +import '../../base/ui/syntax_highlighter.dart'; import 'config_viewmodel.dart'; class ConfigPage extends StatefulWidget { @@ -18,7 +20,7 @@ class ConfigPage extends StatefulWidget { } class ConfigPageState extends State - with SingleTickerProviderStateMixin { + with SingleTickerProviderStateMixin, AutomaticKeepAliveClientMixin { int _initIndex = 0; BuildContext? childContext; @@ -61,19 +63,8 @@ class ConfigPageState extends State child: TabBarView( children: model.list .map( - (e) => SingleChildScrollView( - child: HighlightView( - model.content[e.title] ?? "", - language: "sh", - padding: const EdgeInsets.symmetric( - horizontal: 15, - ), - theme: ref - .watch(themeProvider) - .themeColor - .codeEditorTheme(), - tabSize: 14, - ), + (e) => CodeWidget( + content: model.content[e.title] ?? "", ), ) .toList(), @@ -109,4 +100,46 @@ class ConfigPageState extends State } }); } + + @override + bool get wantKeepAlive => true; +} + +class CodeWidget extends StatefulWidget { + final String content; + + const CodeWidget({ + Key? key, + required this.content, + }) : super(key: key); + + @override + State createState() => _CodeWidgetState(); +} + +class _CodeWidgetState extends State + with AutomaticKeepAliveClientMixin { + @override + Widget build(BuildContext context) { + return SelectableText.rich( + TextSpan( + style: GoogleFonts.droidSansMono(fontSize: 14).apply( + fontSizeFactor: 1, + ), + children: [ + DartSyntaxHighlighter(SyntaxHighlighterStyle.lightThemeStyle()) + .format(widget.content) + ], + ), + style: DefaultTextStyle.of(context).style.apply( + fontSizeFactor: 1, + ), + selectionWidthStyle: BoxWidthStyle.max, + selectionHeightStyle: BoxHeightStyle.max, + autofocus: true, + ); + } + + @override + bool get wantKeepAlive => true; } diff --git a/lib/module/login/login_page.dart b/lib/module/login/login_page.dart index d932dc3..aac0efb 100644 --- a/lib/module/login/login_page.dart +++ b/lib/module/login/login_page.dart @@ -432,6 +432,7 @@ class _LoginPageState extends ConsumerState { } void dealLoginResponse(int response) { + isLoading = false; if (response == LoginHelper.success) { Navigator.of(context).pushReplacementNamed(Routes.routeHomePage); } else if (response == LoginHelper.failed) { diff --git a/lib/module/others/scripts/script_detail_page.dart b/lib/module/others/scripts/script_detail_page.dart index 6b7755b..a67afab 100644 --- a/lib/module/others/scripts/script_detail_page.dart +++ b/lib/module/others/scripts/script_detail_page.dart @@ -1,3 +1,5 @@ +import 'dart:ui'; + import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -6,9 +8,13 @@ import 'package:qinglong_app/base/http/http.dart'; import 'package:qinglong_app/base/ql_app_bar.dart'; import 'package:qinglong_app/base/routes.dart'; import 'package:qinglong_app/base/theme.dart'; -import 'package:qinglong_app/base/ui/highlight/flutter_highlight.dart'; +import 'package:google_fonts/google_fonts.dart'; import 'package:qinglong_app/base/ui/lazy_load_state.dart'; import 'package:qinglong_app/utils/extension.dart'; +import 'package:google_fonts/google_fonts.dart'; + +import '../../../base/ui/syntax_highlighter.dart'; +import '../../config/config_page.dart'; /// @author NewTab class ScriptDetailPage extends ConsumerStatefulWidget { @@ -25,7 +31,8 @@ class ScriptDetailPage extends ConsumerStatefulWidget { _ScriptDetailPageState createState() => _ScriptDetailPageState(); } -class _ScriptDetailPageState extends ConsumerState with LazyLoadState { +class _ScriptDetailPageState extends ConsumerState + with LazyLoadState { String? content; List actions = []; @@ -103,7 +110,8 @@ class _ScriptDetailPageState extends ConsumerState with LazyLo ), onPressed: () async { Navigator.of(context).pop(); - HttpResponse result = await Api.delScript(widget.title, widget.path ?? ""); + HttpResponse result = + await Api.delScript(widget.title, widget.path ?? ""); if (result.success) { "删除成功".toast(); Navigator.of(context).pop(true); @@ -211,16 +219,8 @@ class _ScriptDetailPageState extends ConsumerState with LazyLo ? const Center( child: CupertinoActivityIndicator(), ) - : SingleChildScrollView( - child: HighlightView( - content ?? "", - language: getLanguageType(widget.title), - padding: const EdgeInsets.symmetric( - horizontal: 15, - ), - theme: ref.watch(themeProvider).themeColor.codeEditorTheme(), - tabSize: 14, - ), + : CodeWidget( + content: content ?? "", ), ); } diff --git a/pubspec.lock b/pubspec.lock index 76fd47d..047cae0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,245 +5,245 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "22.0.0" analyzer: dependency: transitive description: name: analyzer - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.7.2" archive: dependency: transitive description: name: archive - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "3.1.9" + version: "3.3.0" args: dependency: transitive description: name: args - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.3.0" async: dependency: transitive description: name: async - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.8.2" back_button_interceptor: dependency: "direct main" description: name: back_button_interceptor - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "5.0.2" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.0" build: dependency: transitive description: name: build - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" build_config: dependency: transitive description: name: build_config - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.0" build_daemon: dependency: transitive description: name: build_daemon - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.0" build_resolvers: dependency: transitive description: name: build_resolvers - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.4" build_runner: dependency: "direct dev" description: name: build_runner - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.1.7" + version: "2.1.10" build_runner_core: dependency: transitive description: name: build_runner_core - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "7.2.3" built_collection: dependency: transitive description: name: built_collection - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "5.1.1" built_value: dependency: transitive description: name: built_value - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "8.1.4" + version: "8.2.0" change_app_package_name: dependency: "direct dev" description: name: change_app_package_name - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "1.0.0" characters: dependency: transitive description: name: characters - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.2.0" charcode: dependency: transitive description: name: charcode - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.3.1" checked_yaml: dependency: transitive description: name: checked_yaml - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.1" cli_util: dependency: transitive description: name: cli_util - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.3.5" clock: dependency: transitive description: name: clock - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.1.0" code_builder: dependency: transitive description: name: code_builder - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "4.1.0" collection: dependency: transitive description: name: collection - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.15.0" convert: dependency: transitive description: name: convert - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "3.0.1" crypto: dependency: transitive description: name: crypto - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "3.0.1" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.4" dart_style: dependency: transitive description: name: dart_style - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.1" dio: dependency: "direct main" description: name: dio - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "4.0.4" + version: "4.0.6" dio_log: dependency: "direct main" description: name: dio_log - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.2" drag_and_drop_lists: dependency: "direct main" description: name: drag_and_drop_lists - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.3.2+2" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.2.0" ffi: dependency: transitive description: name: ffi - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.1.2" file: dependency: transitive description: name: file - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "6.1.2" fixnum: dependency: transitive description: name: fixnum - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.0" flip_card: dependency: "direct main" description: name: flip_card - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.6.0" flutter: @@ -255,51 +255,63 @@ packages: dependency: "direct dev" description: name: flutter_app_name - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.1.1" flutter_colorpicker: dependency: "direct main" description: name: flutter_colorpicker - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.3" flutter_launcher_icons: dependency: "direct dev" description: name: flutter_launcher_icons - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.9.2" flutter_lints: dependency: "direct dev" description: name: flutter_lints - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.4" + flutter_localizations: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" flutter_native_splash: dependency: "direct dev" description: name: flutter_native_splash - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.3.3" + version: "2.1.6" flutter_riverpod: dependency: "direct main" description: name: flutter_riverpod - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.3" flutter_slidable: dependency: "direct main" description: name: flutter_slidable - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.2.0" + flutter_speed_dial: + dependency: transitive + description: + name: flutter_speed_dial + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.5" flutter_test: dependency: "direct dev" description: flutter @@ -314,371 +326,420 @@ packages: dependency: "direct main" description: name: fluttertoast - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "8.0.8" + version: "8.0.9" frontend_server_client: dependency: transitive description: name: frontend_server_client - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.2" get_it: dependency: "direct main" description: name: get_it - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "7.2.0" glob: dependency: transitive description: name: glob - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.2" + google_fonts: + dependency: transitive + description: + name: google_fonts + url: "https://pub.dartlang.org" + source: hosted + version: "2.3.1" graphs: dependency: transitive description: name: graphs - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.0" highlight: dependency: "direct main" description: name: highlight - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.7.0" http: dependency: transitive description: name: http - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.13.4" http_multi_server: dependency: transitive description: name: http_multi_server - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.2.0" http_parser: dependency: transitive description: name: http_parser - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "4.0.0" image: dependency: transitive description: name: image - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "3.1.1" + version: "3.1.3" intl: dependency: "direct main" description: name: intl - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.17.0" io: dependency: transitive description: name: io - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.3" js: dependency: transitive description: name: js - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.6.3" json_annotation: dependency: transitive description: name: json_annotation - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "4.4.0" json_conversion: dependency: "direct dev" description: name: json_conversion - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.0.4" json_conversion_annotation: dependency: "direct main" description: name: json_conversion_annotation - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.0.4" + lint: + dependency: transitive + description: + name: lint + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.2" lints: dependency: transitive description: name: lints - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.1" logger: dependency: "direct main" description: name: logger - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.1.0" logging: dependency: transitive description: name: logging - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.2" matcher: dependency: transitive description: name: matcher - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" meta: dependency: transitive description: name: meta - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.7.0" mime: dependency: transitive description: name: mime - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.1" move_to_background: dependency: "direct main" description: name: move_to_background - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.2" package_config: dependency: transitive description: name: package_config - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.2" package_info_plus: dependency: "direct main" description: name: package_info_plus - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.4.2" package_info_plus_linux: dependency: transitive description: name: package_info_plus_linux - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.0.3" + version: "1.0.5" package_info_plus_macos: dependency: transitive description: name: package_info_plus_macos - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.3.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.2" package_info_plus_web: dependency: transitive description: name: package_info_plus_web - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" package_info_plus_windows: dependency: transitive description: name: package_info_plus_windows - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" path: dependency: transitive description: name: path - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.8.0" + path_provider: + dependency: transitive + description: + name: path_provider + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.9" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.12" + path_provider_ios: + dependency: transitive + description: + name: path_provider_ios + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.8" path_provider_linux: dependency: transitive description: name: path_provider_linux - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.5" + path_provider_macos: + dependency: transitive + description: + name: path_provider_macos + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.5" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.3" path_provider_windows: dependency: transitive description: name: path_provider_windows - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.5" pedantic: dependency: transitive description: name: pedantic - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.11.1" petitparser: dependency: transitive description: name: petitparser - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "4.4.0" platform: dependency: transitive description: name: platform - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "3.1.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.2" pool: dependency: transitive description: name: pool - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.5.0" process: dependency: transitive description: name: process - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "4.2.4" pub_semver: dependency: transitive description: name: pub_semver - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" pubspec_parse: dependency: transitive description: name: pubspec_parse - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.2.0" riverpod: dependency: transitive description: name: riverpod - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.3" shared_preferences: dependency: "direct main" description: name: shared_preferences - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.12" + version: "2.0.13" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.10" + version: "2.0.11" shared_preferences_ios: dependency: transitive description: name: shared_preferences_ios - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.9" + version: "2.1.0" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.1.0" shared_preferences_macos: dependency: transitive description: name: shared_preferences_macos - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.3" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.0" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.3" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.1.0" shelf: dependency: transitive description: name: shelf - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" shelf_web_socket: dependency: transitive description: name: shelf_web_socket - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.1" sky_engine: @@ -690,198 +751,205 @@ packages: dependency: transitive description: name: source_gen - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.3" source_span: dependency: transitive description: name: source_span - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.8.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.10.0" state_notifier: dependency: transitive description: name: state_notifier - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "0.7.2+1" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.0" stream_transform: dependency: transitive description: name: stream_transform - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.0" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.1.0" synchronized: dependency: "direct main" description: name: synchronized - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.0+2" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.2.0" test_api: dependency: transitive description: name: test_api - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.8" timing: dependency: transitive description: name: timing - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.0" typed_data: dependency: transitive description: name: typed_data - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.3.0" universal_io: dependency: transitive description: name: universal_io - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.4" url_launcher: dependency: "direct main" description: name: url_launcher - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "6.0.18" + version: "6.1.0" url_launcher_android: dependency: transitive description: name: url_launcher_android - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "6.0.14" + version: "6.0.15" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "6.0.14" + version: "6.0.15" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "3.0.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "3.0.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.0.5" url_launcher_web: dependency: transitive description: name: url_launcher_web - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.9" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "3.0.0" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.1" watcher: dependency: transitive description: name: watcher - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "1.0.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "2.1.0" + widget_with_codeview: + dependency: "direct main" + description: + name: widget_with_codeview + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1+2" win32: dependency: transitive description: name: win32 - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "2.3.8" + version: "2.5.1" xdg_directories: dependency: transitive description: name: xdg_directories - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.0+1" xml: dependency: transitive description: name: xml - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "5.3.1" yaml: dependency: transitive description: name: yaml - url: "https://pub.flutter-io.cn" + url: "https://pub.dartlang.org" source: hosted version: "3.1.0" sdks: - dart: ">=2.15.1 <3.0.0" - flutter: ">=2.8.1" + dart: ">=2.16.0 <3.0.0" + flutter: ">=2.10.1" diff --git a/pubspec.yaml b/pubspec.yaml index 761546d..73d5e58 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -33,7 +33,7 @@ dependencies: package_info_plus: ^1.4.0 url_launcher: ^6.0.20 flutter_colorpicker: ^1.0.3 - + widget_with_codeview: ^2.0.1+2 dev_dependencies: flutter_native_splash: ^2.0.5 flutter_launcher_icons: ^0.9.2