Import Kryon's theme modules by their module names
kryon/system_theme and kryon/theme resolve both in a --project build and in an app's module-path build with --module-path kryon=DIR, so an app that compiles KSS from source without the package map can use it.
This commit is contained in:
1 parent
ac8c7e3cdf
commit
0cf25d6c00
3 files changed
+7
-7
No files matched your search
+2
-2
@@ -4,8 +4,8 @@
|
||||
#import "kss_parser"
|
||||
#import "style_pack_classic"
|
||||
#import "style_parse"
|
||||
#import "kryon/SystemTheme"
|
||||
#import "kryon/Theme"
|
||||
#import "kryon/system_theme"
|
||||
#import "kryon/theme"
|
||||
|
||||
using KssStatus;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "kryon/drawing_props"
|
||||
#import "system_style"
|
||||
#import "kryon/SystemTheme"
|
||||
#import "kryon/system_theme"
|
||||
|
||||
Sweet :: "@define-color theme_fg_color #C3C7D1;\n@define-color theme_bg_color #161925;\n@define-color theme_base_color #181b28;\n@define-color theme_selected_bg_color #c50ed2;\n@define-color theme_selected_fg_color #fefefe;\n@define-color error_color #e6133e;\n@define-color warning_color #cc5500;\n@define-color success_color #0096b1;\n";
|
||||
|
||||
|
||||
+4
-4
@@ -11,20 +11,20 @@
|
||||
"url": "https://github.com/raysan5/raylib.git"
|
||||
},
|
||||
{
|
||||
"commit": "29a8d453158131c25e994c5e628e7ce2d412ef03",
|
||||
"commit": "2dacc9eb7c2c023c0cc111b2c4deb210afdb4886",
|
||||
"dependencies": {"raylib": "p5a77c9c35110e925"},
|
||||
"id": "p63ea47daa6d3e9c3",
|
||||
"id": "p83be2ed3d78fa9cf",
|
||||
"name": "Kryon",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
"dependencies": {"kryon": "p63ea47daa6d3e9c3"},
|
||||
"dependencies": {"kryon": "p83be2ed3d78fa9cf"},
|
||||
"name": "Kss"
|
||||
},
|
||||
"toolchain": {
|
||||
"commit": "51abe2b02d10d3b2f273bf96d7249d25fa0981a9",
|
||||
"commit": "18d60d0c467b5afb664e257c3bb28a9004e77f1a",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/ziran.git"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user