Skip to content

Commit 6e272d1

Browse files
committed
chore: upgrade system_theme
1 parent 00f3ad6 commit 6e272d1

10 files changed

Lines changed: 22 additions & 164 deletions

File tree

system_theme/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [3.3.0] - [26/05/2026]
2+
3+
* android: [Migrate to Built-in Kotlin](https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin) ([#49](https://github.com/bdlukaa/system_theme/pull/49))
4+
15
## [3.2.0] - [31/12/2025]
26

37
* feat: Reactive theming for macOS ([#45](https://github.com/bdlukaa/system_theme/pull/45))

system_theme/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
### Supported platforms
1717

18-
| Platform | Accent Color | Listen to Changes | Minimum Version |
19-
| :--- | :---: | :---: | :--- |
20-
| **Android** | ✔️ | | Android 10+ |
21-
| **iOS** | ✔️ | | iOS 14+ |
22-
| **Windows** | ✔️ | ✔️ | Windows 10+ |
23-
| **macOS** | ✔️ | ✔️ | Mojave 10.14+ |
24-
| **Linux** | ✔️ | | GTK 3+ |
25-
| **Web** | ✔️ | | All modern browsers |
18+
| Platform | Accent Color | Listen to Color Changes | Minimum Version |
19+
| :---------- | :----------: | :---------------------: | :------------------ |
20+
| **Android** | ✔️ | | Android 10+ |
21+
| **iOS** | ✔️ | | iOS 14+ |
22+
| **Windows** | ✔️ | ✔️ | Windows 10+ |
23+
| **macOS** | ✔️ | ✔️ | Mojave 10.14+ |
24+
| **Linux** | ✔️ | | GTK 3+ |
25+
| **Web** | ✔️ | | All modern browsers |
2626

2727
## Usage
2828

@@ -105,3 +105,4 @@ Feel free to [open an issue](https://github.com/bdlukaa/system_theme/issues/new)
105105
- [@alexmercerind](https://github.com/alexmercerind) for the Windows implementation
106106
- [@pgiacomo69](https://github.com/pgiacomo69) for the accent color listener
107107
- [@HosamHasanRamadan](https://github.com/HosamHasanRamadan) for the iOS implementation
108+
- [@kjeremy](https://github.com/kjeremy) for the [Android Kotlin Migration](https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
21
#include "Generated.xcconfig"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
21
#include "Generated.xcconfig"

system_theme/example/ios/Podfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

system_theme/example/ios/Podfile.lock

Lines changed: 0 additions & 16 deletions
This file was deleted.

system_theme/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 2 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1111
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
12-
3842C5A76F1A8A2536CD6E7D /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7240557A44A873AE5010901F /* Pods_Runner.framework */; };
1312
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1413
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1514
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
1615
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1716
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1817
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
19-
F416A10B2C2CDDB4A88FC287 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0F736A0A76C45F1F298B8A2 /* Pods_RunnerTests.framework */; };
2018
/* End PBXBuildFile section */
2119

2220
/* Begin PBXContainerItemProxy section */
@@ -48,27 +46,19 @@
4846
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4947
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
5048
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
51-
7240557A44A873AE5010901F /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5249
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
5350
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
51+
784666492D4C4C64000A1A5F /* FlutterFramework */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterFramework; path = Flutter/ephemeral/Packages/.packages/FlutterFramework; sourceTree = "<group>"; };
52+
78DABEA22ED26510000E7860 /* system_theme */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = system_theme; path = ../../ios/system_theme; sourceTree = "<group>"; };
5453
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
5554
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
56-
7B3CC3134AAD0878697C1D5C /* 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 = "<group>"; };
5755
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
5856
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
5957
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
6058
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
6159
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
6260
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
6361
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
64-
9B90DEC16C6359FA7E6CC740 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
65-
A3D7C784D3EE05B722EDC77D /* 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 = "<group>"; };
66-
C0F736A0A76C45F1F298B8A2 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
67-
DE6CE54ADE90A3F4B73B6BC0 /* 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 = "<group>"; };
68-
E19EE2C9BEA2948CB66ECE47 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
69-
E75584638F862C376C074FF4 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
70-
784666492D4C4C64000A1A5F /* FlutterFramework */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterFramework; path = Flutter/ephemeral/Packages/.packages/FlutterFramework; sourceTree = "<group>"; };
71-
78DABEA22ED26510000E7860 /* system_theme */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = system_theme; path = ../../ios/system_theme; sourceTree = "<group>"; };
7262
/* End PBXFileReference section */
7363

7464
/* Begin PBXFrameworksBuildPhase section */
@@ -77,15 +67,13 @@
7767
buildActionMask = 2147483647;
7868
files = (
7969
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
80-
3842C5A76F1A8A2536CD6E7D /* Pods_Runner.framework in Frameworks */,
8170
);
8271
runOnlyForDeploymentPostprocessing = 0;
8372
};
8473
E98FC8AD2224E617178D003A /* Frameworks */ = {
8574
isa = PBXFrameworksBuildPhase;
8675
buildActionMask = 2147483647;
8776
files = (
88-
F416A10B2C2CDDB4A88FC287 /* Pods_RunnerTests.framework in Frameworks */,
8977
);
9078
runOnlyForDeploymentPostprocessing = 0;
9179
};
@@ -121,8 +109,6 @@
121109
97C146F01CF9000F007C117D /* Runner */,
122110
97C146EF1CF9000F007C117D /* Products */,
123111
331C8082294A63A400263BE5 /* RunnerTests */,
124-
E85BAF1839AB16CC128355ED /* Pods */,
125-
AB5280F76C391F95DE1C65B3 /* Frameworks */,
126112
);
127113
sourceTree = "<group>";
128114
};
@@ -150,37 +136,13 @@
150136
path = Runner;
151137
sourceTree = "<group>";
152138
};
153-
AB5280F76C391F95DE1C65B3 /* Frameworks */ = {
154-
isa = PBXGroup;
155-
children = (
156-
7240557A44A873AE5010901F /* Pods_Runner.framework */,
157-
C0F736A0A76C45F1F298B8A2 /* Pods_RunnerTests.framework */,
158-
);
159-
name = Frameworks;
160-
sourceTree = "<group>";
161-
};
162-
E85BAF1839AB16CC128355ED /* Pods */ = {
163-
isa = PBXGroup;
164-
children = (
165-
DE6CE54ADE90A3F4B73B6BC0 /* Pods-Runner.debug.xcconfig */,
166-
A3D7C784D3EE05B722EDC77D /* Pods-Runner.release.xcconfig */,
167-
7B3CC3134AAD0878697C1D5C /* Pods-Runner.profile.xcconfig */,
168-
E75584638F862C376C074FF4 /* Pods-RunnerTests.debug.xcconfig */,
169-
9B90DEC16C6359FA7E6CC740 /* Pods-RunnerTests.release.xcconfig */,
170-
E19EE2C9BEA2948CB66ECE47 /* Pods-RunnerTests.profile.xcconfig */,
171-
);
172-
name = Pods;
173-
path = Pods;
174-
sourceTree = "<group>";
175-
};
176139
/* End PBXGroup section */
177140

178141
/* Begin PBXNativeTarget section */
179142
331C8080294A63A400263BE5 /* RunnerTests */ = {
180143
isa = PBXNativeTarget;
181144
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
182145
buildPhases = (
183-
6E697593CE81B278DC6B1E05 /* [CP] Check Pods Manifest.lock */,
184146
331C807D294A63A400263BE5 /* Sources */,
185147
331C807F294A63A400263BE5 /* Resources */,
186148
E98FC8AD2224E617178D003A /* Frameworks */,
@@ -199,7 +161,6 @@
199161
isa = PBXNativeTarget;
200162
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
201163
buildPhases = (
202-
5EB818CAF3454B056CA55900 /* [CP] Check Pods Manifest.lock */,
203164
9740EEB61CF901F6004384FC /* Run Script */,
204165
97C146EA1CF9000F007C117D /* Sources */,
205166
97C146EB1CF9000F007C117D /* Frameworks */,
@@ -298,50 +259,6 @@
298259
shellPath = /bin/sh;
299260
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
300261
};
301-
5EB818CAF3454B056CA55900 /* [CP] Check Pods Manifest.lock */ = {
302-
isa = PBXShellScriptBuildPhase;
303-
buildActionMask = 2147483647;
304-
files = (
305-
);
306-
inputFileListPaths = (
307-
);
308-
inputPaths = (
309-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
310-
"${PODS_ROOT}/Manifest.lock",
311-
);
312-
name = "[CP] Check Pods Manifest.lock";
313-
outputFileListPaths = (
314-
);
315-
outputPaths = (
316-
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
317-
);
318-
runOnlyForDeploymentPostprocessing = 0;
319-
shellPath = /bin/sh;
320-
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";
321-
showEnvVarsInLog = 0;
322-
};
323-
6E697593CE81B278DC6B1E05 /* [CP] Check Pods Manifest.lock */ = {
324-
isa = PBXShellScriptBuildPhase;
325-
buildActionMask = 2147483647;
326-
files = (
327-
);
328-
inputFileListPaths = (
329-
);
330-
inputPaths = (
331-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
332-
"${PODS_ROOT}/Manifest.lock",
333-
);
334-
name = "[CP] Check Pods Manifest.lock";
335-
outputFileListPaths = (
336-
);
337-
outputPaths = (
338-
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
339-
);
340-
runOnlyForDeploymentPostprocessing = 0;
341-
shellPath = /bin/sh;
342-
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";
343-
showEnvVarsInLog = 0;
344-
};
345262
9740EEB61CF901F6004384FC /* Run Script */ = {
346263
isa = PBXShellScriptBuildPhase;
347264
alwaysOutOfDate = 1;
@@ -480,7 +397,6 @@
480397
};
481398
331C8088294A63A400263BE5 /* Debug */ = {
482399
isa = XCBuildConfiguration;
483-
baseConfigurationReference = E75584638F862C376C074FF4 /* Pods-RunnerTests.debug.xcconfig */;
484400
buildSettings = {
485401
BUNDLE_LOADER = "$(TEST_HOST)";
486402
CODE_SIGN_STYLE = Automatic;
@@ -498,7 +414,6 @@
498414
};
499415
331C8089294A63A400263BE5 /* Release */ = {
500416
isa = XCBuildConfiguration;
501-
baseConfigurationReference = 9B90DEC16C6359FA7E6CC740 /* Pods-RunnerTests.release.xcconfig */;
502417
buildSettings = {
503418
BUNDLE_LOADER = "$(TEST_HOST)";
504419
CODE_SIGN_STYLE = Automatic;
@@ -514,7 +429,6 @@
514429
};
515430
331C808A294A63A400263BE5 /* Profile */ = {
516431
isa = XCBuildConfiguration;
517-
baseConfigurationReference = E19EE2C9BEA2948CB66ECE47 /* Pods-RunnerTests.profile.xcconfig */;
518432
buildSettings = {
519433
BUNDLE_LOADER = "$(TEST_HOST)";
520434
CODE_SIGN_STYLE = Automatic;

system_theme/example/pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ packages:
179179
path: ".."
180180
relative: true
181181
source: path
182-
version: "3.2.0"
182+
version: "3.3.0"
183183
system_theme_web:
184184
dependency: transitive
185185
description:
186186
name: system_theme_web
187-
sha256: a354b25ff0788ed802b48b632187d344a841b2034f16e4f6cdaa295e4a41a8aa
187+
sha256: ae9fce643da035c9af16cc79e0bf598fa4751da91dcfe240da309ef5d78eec5f
188188
url: "https://pub.dev"
189189
source: hosted
190-
version: "0.0.4"
190+
version: "0.0.5"
191191
term_glyph:
192192
dependency: transitive
193193
description:

system_theme/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ packages:
177177
dependency: "direct main"
178178
description:
179179
name: system_theme_web
180-
sha256: a354b25ff0788ed802b48b632187d344a841b2034f16e4f6cdaa295e4a41a8aa
180+
sha256: ae9fce643da035c9af16cc79e0bf598fa4751da91dcfe240da309ef5d78eec5f
181181
url: "https://pub.dev"
182182
source: hosted
183-
version: "0.0.4"
183+
version: "0.0.5"
184184
term_glyph:
185185
dependency: transitive
186186
description:

system_theme/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: system_theme
22
description: A Flutter Plugin to retrieve and listen to the system's accent color. Supports Android, iOS, Web, Windows, macOS, and Linux.
3-
version: 3.2.0
3+
version: 3.3.0
44
repository: https://github.com/bdlukaa/system_theme
55
homepage: https://github.com/bdlukaa/system_theme/tree/master/system_theme
66

@@ -9,7 +9,7 @@ environment:
99
flutter: ">=3.44.0"
1010

1111
dependencies:
12-
system_theme_web: ^0.0.4
12+
system_theme_web: ^0.0.5
1313
# path: ../system_theme_web/
1414
flutter:
1515
sdk: flutter

0 commit comments

Comments
 (0)