-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test actions for C++ theme detection.
- Loading branch information
1 parent
8dc05a7
commit fff2f58
Showing
5 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Ui | ||
|
||
on: [push] | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
ui: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Example to test our theme detection works at the C++ level. | ||
*/ | ||
|
||
#include <iostream> | ||
#include "../example/breeze_theme.hpp" | ||
|
||
int main() | ||
{ | ||
std::cout << "Theme: " << static_cast<int>(breeze_stylesheets::get_theme()) << std::endl; | ||
std::cout << "Is Dark: " << breeze_stylesheets::is_dark() << std::endl; | ||
std::cout << "Is Light: " << breeze_stylesheets::is_light() << std::endl; | ||
|
||
return 0; | ||
} |