├── themes ├── git │ └── .empty-folder └── local │ ├── omega_dark │ ├── exam_icon.png │ ├── logo_icon.png │ ├── apps │ │ ├── atom_icon.png │ │ ├── code_icon.png │ │ ├── rpn_icon.png │ │ ├── stat_icon.png │ │ ├── graph_icon.png │ │ ├── solver_icon.png │ │ ├── external_icon.png │ │ ├── sequence_icon.png │ │ ├── settings_icon.png │ │ ├── calculation_icon.png │ │ ├── probability_icon.png │ │ └── regression_icon.png │ └── probability │ │ ├── calcul1_icon.png │ │ ├── calcul2_icon.png │ │ ├── calcul3_icon.png │ │ ├── calcul4_icon.png │ │ ├── fisher_icon.png │ │ ├── normal_icon.png │ │ ├── poisson_icon.png │ │ ├── student_icon.png │ │ ├── uniform_icon.png │ │ ├── binomial_icon.png │ │ ├── geometric_icon.png │ │ ├── chi_squared_icon.png │ │ ├── exponential_icon.png │ │ ├── focused_calcul1_icon.png │ │ ├── focused_calcul2_icon.png │ │ ├── focused_calcul3_icon.png │ │ ├── focused_calcul4_icon.png │ │ ├── focused_fisher_icon.png │ │ ├── focused_normal_icon.png │ │ ├── focused_poisson_icon.png │ │ ├── focused_student_icon.png │ │ ├── focused_uniform_icon.png │ │ ├── focused_binomial_icon.png │ │ ├── focused_geometric_icon.png │ │ ├── focused_chi_squared_icon.png │ │ └── focused_exponential_icon.png │ ├── epsilon_light │ ├── exam_icon.png │ ├── logo_icon.png │ ├── apps │ │ ├── atom_icon.png │ │ ├── code_icon.png │ │ ├── rpn_icon.png │ │ ├── stat_icon.png │ │ ├── graph_icon.png │ │ ├── solver_icon.png │ │ ├── external_icon.png │ │ ├── sequence_icon.png │ │ ├── settings_icon.png │ │ ├── calculation_icon.png │ │ ├── probability_icon.png │ │ └── regression_icon.png │ └── probability │ │ ├── calcul1_icon.png │ │ ├── calcul2_icon.png │ │ ├── calcul3_icon.png │ │ ├── calcul4_icon.png │ │ ├── fisher_icon.png │ │ ├── normal_icon.png │ │ ├── poisson_icon.png │ │ ├── student_icon.png │ │ ├── uniform_icon.png │ │ ├── binomial_icon.png │ │ ├── geometric_icon.png │ │ ├── chi_squared_icon.png │ │ ├── exponential_icon.png │ │ ├── focused_fisher_icon.png │ │ ├── focused_normal_icon.png │ │ ├── focused_binomial_icon.png │ │ ├── focused_calcul1_icon.png │ │ ├── focused_calcul2_icon.png │ │ ├── focused_calcul3_icon.png │ │ ├── focused_calcul4_icon.png │ │ ├── focused_geometric_icon.png │ │ ├── focused_poisson_icon.png │ │ ├── focused_student_icon.png │ │ ├── focused_uniform_icon.png │ │ ├── focused_chi_squared_icon.png │ │ └── focused_exponential_icon.png │ ├── omega_light │ ├── exam_icon.png │ ├── logo_icon.png │ ├── apps │ │ ├── rpn_icon.png │ │ ├── atom_icon.png │ │ ├── code_icon.png │ │ ├── graph_icon.png │ │ ├── solver_icon.png │ │ ├── stat_icon.png │ │ ├── external_icon.png │ │ ├── sequence_icon.png │ │ ├── settings_icon.png │ │ ├── calculation_icon.png │ │ ├── probability_icon.png │ │ └── regression_icon.png │ └── probability │ │ ├── fisher_icon.png │ │ ├── normal_icon.png │ │ ├── binomial_icon.png │ │ ├── calcul1_icon.png │ │ ├── calcul2_icon.png │ │ ├── calcul3_icon.png │ │ ├── calcul4_icon.png │ │ ├── geometric_icon.png │ │ ├── poisson_icon.png │ │ ├── student_icon.png │ │ ├── uniform_icon.png │ │ ├── chi_squared_icon.png │ │ ├── exponential_icon.png │ │ ├── focused_fisher_icon.png │ │ ├── focused_normal_icon.png │ │ ├── focused_binomial_icon.png │ │ ├── focused_calcul1_icon.png │ │ ├── focused_calcul2_icon.png │ │ ├── focused_calcul3_icon.png │ │ ├── focused_calcul4_icon.png │ │ ├── focused_poisson_icon.png │ │ ├── focused_student_icon.png │ │ ├── focused_uniform_icon.png │ │ ├── focused_chi_squared_icon.png │ │ ├── focused_exponential_icon.png │ │ └── focused_geometric_icon.png │ ├── omega_dark.json │ ├── omega_light.json │ ├── epsilon_dark.json │ └── epsilon_light.json ├── .gitignore ├── Omega.png ├── .github └── ISSUE_TEMPLATE │ ├── other.md │ ├── feature_request.md │ ├── bug_report.md │ └── new_theme.md ├── README.md ├── icons.json ├── themes_manager.py └── LICENSE.md /themes/git/.empty-folder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | themes/git 3 | -------------------------------------------------------------------------------- /Omega.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/Omega.png -------------------------------------------------------------------------------- /themes/local/omega_dark/exam_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/exam_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/logo_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/logo_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/exam_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/exam_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/logo_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/logo_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/exam_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/exam_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/logo_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/logo_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/atom_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/atom_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/code_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/code_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/rpn_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/rpn_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/stat_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/stat_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/rpn_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/rpn_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/atom_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/atom_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/code_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/code_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/rpn_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/rpn_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/stat_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/stat_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/graph_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/graph_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/solver_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/solver_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/atom_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/atom_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/code_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/code_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/graph_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/graph_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/solver_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/solver_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/stat_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/stat_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/graph_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/graph_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/solver_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/solver_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/external_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/external_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/sequence_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/sequence_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/settings_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/settings_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/external_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/external_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/sequence_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/sequence_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/settings_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/settings_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/external_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/external_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/sequence_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/sequence_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/settings_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/settings_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/calculation_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/calculation_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/probability_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/probability_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/apps/regression_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/apps/regression_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/calculation_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/calculation_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/probability_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/probability_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/apps/regression_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/apps/regression_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/calculation_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/calculation_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/probability_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/probability_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/apps/regression_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/apps/regression_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/fisher_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/normal_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/poisson_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/student_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/uniform_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/fisher_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/normal_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/fisher_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/normal_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/poisson_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/student_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/uniform_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/binomial_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/geometric_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/binomial_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/geometric_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/poisson_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/student_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/uniform_icon.png -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/other.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Other 3 | about: A question? A problem? ... 4 | title: '' 5 | labels: Triage 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/binomial_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/geometric_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/exponential_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/exponential_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/exponential_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_fisher_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_normal_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_poisson_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_student_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_uniform_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_fisher_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_normal_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_fisher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_fisher_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_normal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_normal_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_binomial_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_geometric_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_binomial_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_poisson_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_student_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_uniform_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_binomial_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_binomial_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_calcul1_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_calcul1_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_calcul2_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_calcul2_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_calcul3_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_calcul3_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_calcul4_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_calcul4_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_geometric_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_poisson_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_poisson_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_student_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_student_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_uniform_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_uniform_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/omega_dark/probability/focused_exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_dark/probability/focused_exponential_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_exponential_icon.png -------------------------------------------------------------------------------- /themes/local/omega_light/probability/focused_geometric_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/omega_light/probability/focused_geometric_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_chi_squared_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_chi_squared_icon.png -------------------------------------------------------------------------------- /themes/local/epsilon_light/probability/focused_exponential_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omega-Numworks/Omega-Themes/HEAD/themes/local/epsilon_light/probability/focused_exponential_icon.png -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for an improvement 4 | title: '' 5 | labels: Triage 6 | assignees: '' 7 | 8 | --- 9 | 10 | #### What I want to see in the next version 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Not working like it should? Let us know! 4 | title: '' 5 | labels: Triage 6 | assignees: '' 7 | 8 | --- 9 | 10 | #### Describe the bug 11 | 12 | 13 | #### Environment 14 | - Omega Version: { go to settings > about > Omega Version and type version here} 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/new_theme.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Suggest a new theme 3 | about: Suggest a new theme 4 | title: '' 5 | labels: New Theme 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### {The color palette name goes here} 11 | 12 | #### The color palette 13 | 14 | (Upload some images of the palette here) 15 | 16 | #### Link of the palette 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > THIS REPO IS DEPRECATED: EEVERYTHING RELATED TO THE THEME ENGINE IS NOW INCLUDED IN THE MAIN REPOSITORY (OMEGA-NUMWORKS/OMEGA). 2 | 3 |

4 | 5 |

6 | cc by-nc-sa 4.0 7 | Issues 8 |

9 | 10 | ## About 11 | 12 | Omega-Themes `BETA` is the theme engine of [Omega](https://github.com/Omega-Numworks/Omega), an extension to Numworks' Epsilon. This engine allows you to change the theme of Omega easily before installing the OS. 13 | 14 | ## Installation 15 | 16 | While compiling Omega, add the `THEME_NAME` flag : 17 | 18 | ``` 19 | make THEME_NAME=the_name_of_the_theme -j4 20 | ``` 21 | 22 | There are 4 themes: 23 | * Omega Light (`THEME_NAME=omega_light`) 24 | * Omega Dark (`THEME_NAME=omega_dark`) 25 | * Epsilon Light (`THEME_NAME=epsilon_light`) 26 | * Epsilon Dark (`THEME_NAME=epsilon_dark`) 27 | 28 | ## 3rd party themes 29 | 30 | To make your own theme, you can use our 3rd party theme system : 31 | * Create a new repository with your theme (there is an example [here](https://github.com/Omega-Numworks/Omega-Theme-Example)). Note: You can put several themes in the same repository. 32 | * It's done! 33 | 34 | To install your new theme, use these flags during the compilation: 35 | 36 | ``` 37 | make THEME_REPO={your repository url} THEME_NAME={Your theme name} 38 | ``` 39 | 40 | Example: 41 | ``` 42 | make THEME_REPO=https://github.com/Omega-Numworks/Omega-Theme-Example.git THEME_NAME=omega_blue 43 | ``` 44 | 45 | ## License 46 | 47 | Omega-Themes is released under a [CC BY-NC-SA License](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode). NumWorks is a registered trademark. 48 | -------------------------------------------------------------------------------- /icons.json: -------------------------------------------------------------------------------- 1 | { 2 | "apps/exam_icon.png" : "exam_icon.png", 3 | "apps/on_boarding/logo_icon.png" : "logo_icon.png", 4 | 5 | "apps/atom/atom_icon.png" : "apps/atom_icon.png", 6 | "apps/calculation/calculation_icon.png" : "apps/calculation_icon.png", 7 | "apps/code/code_icon.png" : "apps/code_icon.png", 8 | "apps/external/external_icon.png" : "apps/external_icon.png", 9 | "apps/graph/graph_icon.png" : "apps/graph_icon.png", 10 | "apps/probability/probability_icon.png" : "apps/probability_icon.png", 11 | "apps/regression/regression_icon.png" : "apps/regression_icon.png", 12 | "apps/rpn/rpn_icon.png" : "apps/rpn_icon.png", 13 | "apps/sequence/sequence_icon.png" : "apps/sequence_icon.png", 14 | "apps/settings/settings_icon.png" : "apps/settings_icon.png", 15 | "apps/solver/solver_icon.png" : "apps/solver_icon.png", 16 | "apps/statistics/stat_icon.png" : "apps/stat_icon.png", 17 | 18 | "apps/probability/images/binomial_icon.png" : "probability/binomial_icon.png", 19 | "apps/probability/images/calcul1_icon.png" : "probability/calcul1_icon.png", 20 | "apps/probability/images/calcul2_icon.png" : "probability/calcul2_icon.png", 21 | "apps/probability/images/calcul3_icon.png" : "probability/calcul3_icon.png", 22 | "apps/probability/images/calcul4_icon.png" : "probability/calcul4_icon.png", 23 | "apps/probability/images/chi_squared_icon.png" : "probability/chi_squared_icon.png", 24 | "apps/probability/images/exponential_icon.png" : "probability/exponential_icon.png", 25 | "apps/probability/images/fisher_icon.png" : "probability/fisher_icon.png", 26 | "apps/probability/images/focused_binomial_icon.png" : "probability/focused_binomial_icon.png", 27 | "apps/probability/images/focused_calcul1_icon.png" : "probability/focused_calcul1_icon.png", 28 | "apps/probability/images/focused_calcul2_icon.png" : "probability/focused_calcul2_icon.png", 29 | "apps/probability/images/focused_calcul3_icon.png" : "probability/focused_calcul3_icon.png", 30 | "apps/probability/images/focused_calcul4_icon.png" : "probability/focused_calcul4_icon.png", 31 | "apps/probability/images/focused_chi_squared_icon.png" : "probability/focused_chi_squared_icon.png", 32 | "apps/probability/images/focused_exponential_icon.png" : "probability/focused_exponential_icon.png", 33 | "apps/probability/images/focused_fisher_icon.png" : "probability/focused_fisher_icon.png", 34 | "apps/probability/images/focused_geometric_icon.png" : "probability/focused_geometric_icon.png", 35 | "apps/probability/images/focused_normal_icon.png" : "probability/focused_normal_icon.png", 36 | "apps/probability/images/focused_poisson_icon.png" : "probability/focused_poisson_icon.png", 37 | "apps/probability/images/focused_student_icon.png" : "probability/focused_student_icon.png", 38 | "apps/probability/images/focused_uniform_icon.png" : "probability/focused_uniform_icon.png", 39 | "apps/probability/images/geometric_icon.png" : "probability/geometric_icon.png", 40 | "apps/probability/images/normal_icon.png" : "probability/normal_icon.png", 41 | "apps/probability/images/poisson_icon.png" : "probability/poisson_icon.png", 42 | "apps/probability/images/student_icon.png" : "probability/student_icon.png", 43 | "apps/probability/images/uniform_icon.png" : "probability/uniform_icon.png" 44 | } 45 | -------------------------------------------------------------------------------- /themes/local/omega_dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Omega Dark", 3 | "icons": "omega_dark", 4 | "colors": { 5 | "PrimaryText": "ffffff", 6 | "SecondaryText": "949494", 7 | "AccentText": "00857f", 8 | "ApproximateSignText": "a6a6a6", 9 | "ApproximateExpressionText": "a6a6a6", 10 | "Background": { 11 | "Hard": "000000", 12 | "Apps": "050505", 13 | "AppsSecondary": "0f0f0f" 14 | }, 15 | "Toolbar": { 16 | "": "c03535", 17 | "Text": "ffffff" 18 | }, 19 | "ExpressionInput": { 20 | "Background": "1f1f1f", 21 | "Border": "262626" 22 | }, 23 | "Grid": { 24 | "PrimaryLine": "262626", 25 | "SecondaryLine": "0a0a0a" 26 | }, 27 | "Battery": { 28 | "": "ffffff", 29 | "InCharge": "179e1f", 30 | "Low": "992321" 31 | }, 32 | "ScrollBar": { 33 | "Foreground": "b5b5b5", 34 | "Background": "262626" 35 | }, 36 | "Control": { 37 | "": "00857f", 38 | "Enabled": "00b2b0", 39 | "Disabled": "616161" 40 | }, 41 | "Calculation": { 42 | "BackgroundOdd": "050505", 43 | "BackgroundEven": "000000", 44 | "EmptyBox": "3b3b3b", 45 | "EmptyBoxNeeded": "00857f", 46 | "TrigoAndComplexForeground": "ff000c" 47 | }, 48 | "Code": { 49 | "Background": "000000", 50 | "BackgroundSelected": "1f1f1f", 51 | "Text": "ffffff", 52 | "Comment": "999988", 53 | "Number": "009999", 54 | "Keyword": "ff000c", 55 | "Operator": "d73a49", 56 | "String": "032f62", 57 | "GutterViewBackground": "E4E6E7" 58 | }, 59 | "Probability": { 60 | "Curve": "00857f", 61 | "CellBorder": "131313", 62 | "HistogramBar": "262626" 63 | }, 64 | "Statistics": { 65 | "Box": "00857f", 66 | "BoxVerticalLine": "262626", 67 | "Selected": "00857f", 68 | "NotSelected": "0a0a0a" 69 | }, 70 | "Graph": { 71 | "Tangent": "a6a6a6" 72 | }, 73 | "SubMenu": { 74 | "Background": "1f1f1f", 75 | "Border": "050505", 76 | "Text": "ffffff" 77 | }, 78 | "Toolbox": { 79 | "HeaderBackground": "b5b5b5", 80 | "HeaderText": "000000", 81 | "HeaderBorder": "b5b5b5", 82 | "Background": "ffffff" 83 | }, 84 | "List": { 85 | "CellBackground": "000000", 86 | "CellBackgroundSelected": "1f1f1f", 87 | "CellBorder": "121210" 88 | }, 89 | "Button": { 90 | "Background": "1f1f1f", 91 | "BackgroundSelected": "2e2e2e", 92 | "BackgroundSelectedHighContrast": "a6a6a6", 93 | "Border": "525252", 94 | "RowBorder": "262626", 95 | "BorderOut": "0a0a0a", 96 | "Shadow": "003833", 97 | "Text": "ffffff" 98 | }, 99 | "Tab": { 100 | "Background": "b5b5b5", 101 | "BackgroundSelected": "8a8a8a", 102 | "BackgroundActive": "050505", 103 | "BackgroundSelectedAndActive": "1c1c1c", 104 | "Text": "000000", 105 | "TextActive": "ffffff" 106 | }, 107 | "SubTab": { 108 | "Background": "1f1f1f", 109 | "BackgroundSelected": "2e2e2e", 110 | "Text": "ffffff" 111 | }, 112 | "Banner": { 113 | "FirstBackground": "b5b5b5", 114 | "FirstBorder": "b5b5b5", 115 | "FirstText": "000000", 116 | "FirstVariantBackground": "b5b5b5", 117 | "FirstVariantBorder": "050505", 118 | "FirstVariantText": "000000", 119 | "SecondBackground": "1f1f1f", 120 | "SecondBorder": "050505", 121 | "SecondText": "ffffff" 122 | }, 123 | "Home": { 124 | "Background": "000000", 125 | "CellBackground": "000000", 126 | "CellBackgroundActive": "b5b5b5", 127 | "CellText": "ffffff", 128 | "CellTextActive": "000000", 129 | "CellTextExternal": "6fe6df", 130 | "CellTextExternalActive": "008f87" 131 | }, 132 | "Atom": { 133 | "Unknown": "eeeeee", 134 | "Text": "000000", 135 | "AlkaliMetal": "ffaa00", 136 | "AlkaliEarthMetal": "f6f200", 137 | "Lanthanide": "ffaa8b", 138 | "Actinide": "deaacd", 139 | "TransitionMetal": "de999c", 140 | "PostTransitionMetal": "9cbaac", 141 | "Metalloid": "52ce8b", 142 | "Halogen": "00debd", 143 | "ReactiveNonmetal": "00ee00", 144 | "NobleGas": "8baaff", 145 | "TableLines": "323532" 146 | } 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /themes/local/omega_light.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Omega Light", 3 | "icons": "omega_light", 4 | "colors": { 5 | "PrimaryText": "000000", 6 | "SecondaryText": "6e6e6e", 7 | "AccentText": "00857f", 8 | "ApproximateSignText": "595959", 9 | "ApproximateExpressionText": "595959", 10 | "Background": { 11 | "Hard": "ffffff", 12 | "Apps": "fafafa", 13 | "AppsSecondary": "f0f0f0" 14 | }, 15 | "Toolbar": { 16 | "": "c03535", 17 | "Text": "ffffff" 18 | }, 19 | "ExpressionInput": { 20 | "Background": "e0e0e0", 21 | "Border": "d9d9d9" 22 | }, 23 | "Grid": { 24 | "PrimaryLine": "d9d9d9", 25 | "SecondaryLine": "f5f5f5" 26 | }, 27 | "Battery": { 28 | "": "ffffff", 29 | "InCharge": "179e1f", 30 | "Low": "992321" 31 | }, 32 | "ScrollBar": { 33 | "Foreground": "4a4a4a", 34 | "Background": "d9d9d9" 35 | }, 36 | "Control": { 37 | "": "00857f", 38 | "Enabled": "00b2b0", 39 | "Disabled": "9e9e9e" 40 | }, 41 | "Calculation": { 42 | "BackgroundOdd": "fafafa", 43 | "BackgroundEven": "ffffff", 44 | "EmptyBox": "c4c4c4", 45 | "EmptyBoxNeeded": "00857f", 46 | "TrigoAndComplexForeground": "ff000c" 47 | }, 48 | "Code": { 49 | "Background": "ffffff", 50 | "BackgroundSelected": "e0e0e0", 51 | "Text": "000000", 52 | "Comment": "999988", 53 | "Number": "009999", 54 | "Keyword": "ff000c", 55 | "Operator": "d73a49", 56 | "String": "032f62", 57 | "GutterViewBackground": "E4E6E7" 58 | }, 59 | "Probability": { 60 | "Curve": "00857f", 61 | "CellBorder": "ececec", 62 | "HistogramBar": "d9d9d9" 63 | }, 64 | "Statistics": { 65 | "Box": "00857f", 66 | "BoxVerticalLine": "d9d9d9", 67 | "Selected": "00857f", 68 | "NotSelected": "f5f5f5" 69 | }, 70 | "Graph": { 71 | "Tangent": "595959" 72 | }, 73 | "SubMenu": { 74 | "Background": "e0e0e0", 75 | "Border": "fafafa", 76 | "Text": "000000" 77 | }, 78 | "Toolbox": { 79 | "HeaderBackground": "4a4a4a", 80 | "HeaderText": "ffffff", 81 | "HeaderBorder": "4a4a4a", 82 | "Background": "000000" 83 | }, 84 | "List": { 85 | "CellBackground": "ffffff", 86 | "CellBackgroundSelected": "e0e0e0", 87 | "CellBorder": "ededef" 88 | }, 89 | "Button": { 90 | "Background": "e6e6e6", 91 | "BackgroundSelected": "c9c9c9", 92 | "BackgroundSelectedHighContrast": "00b2b0", 93 | "Border": "adadad", 94 | "RowBorder": "d9d9d9", 95 | "BorderOut": "f5f5f5", 96 | "Shadow": "003833", 97 | "Text": "000000" 98 | }, 99 | "Tab": { 100 | "Background": "4a4a4a", 101 | "BackgroundSelected": "757575", 102 | "BackgroundActive": "fafafa", 103 | "BackgroundSelectedAndActive": "e3e3e3", 104 | "Text": "ffffff", 105 | "TextActive": "000000" 106 | }, 107 | "SubTab": { 108 | "Background": "e0e0e0", 109 | "BackgroundSelected": "d1d1d1", 110 | "Text": "000000" 111 | }, 112 | "Banner": { 113 | "FirstBackground": "4a4a4a", 114 | "FirstBorder": "4a4a4a", 115 | "FirstText": "ffffff", 116 | "FirstVariantBackground": "4a4a4a", 117 | "FirstVariantBorder": "fafafa", 118 | "FirstVariantText": "ffffff", 119 | "SecondBackground": "e0e0e0", 120 | "SecondBorder": "fafafa", 121 | "SecondText": "000000" 122 | }, 123 | "Home": { 124 | "Background": "ffffff", 125 | "CellBackground": "ffffff", 126 | "CellBackgroundActive": "4a4a4a", 127 | "CellText": "000000", 128 | "CellTextActive": "ffffff", 129 | "CellTextExternal": "008f87", 130 | "CellTextExternalActive": "6fe6df" 131 | }, 132 | "Atom": { 133 | "Unknown": "eeeeee", 134 | "Text": "000000", 135 | "AlkaliMetal": "ffaa00", 136 | "AlkaliEarthMetal": "f6f200", 137 | "Lanthanide": "ffaa8b", 138 | "Actinide": "deaacd", 139 | "TransitionMetal": "de999c", 140 | "PostTransitionMetal": "9cbaac", 141 | "Metalloid": "52ce8b", 142 | "Halogen": "00debd", 143 | "ReactiveNonmetal": "00ee00", 144 | "NobleGas": "8baaff", 145 | "TableLines": "323532" 146 | } 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /themes/local/epsilon_dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Epsilon Dark", 3 | "icons": "epsilon_light", 4 | "colors": { 5 | "PrimaryText": "ffffff", 6 | "SecondaryText": "585858", 7 | "AccentText": "ffb734", 8 | "ApproximateSignText": "737373", 9 | "ApproximateExpressionText": "737373", 10 | "Background": { 11 | "Hard": "000000", 12 | "Apps": "080605", 13 | "AppsSecondary": "1f1912" 14 | }, 15 | "Toolbar": { 16 | "": "ffb734", 17 | "Text": "000000" 18 | }, 19 | "ExpressionInput": { 20 | "Background": "000000", 21 | "Border": "262626" 22 | }, 23 | "Grid": { 24 | "PrimaryLine": "262626", 25 | "SecondaryLine": "0a0a0a" 26 | }, 27 | "Battery": { 28 | "": "000000", 29 | "InCharge": "ffcc7b", 30 | "Low": "f30211" 31 | }, 32 | "ScrollBar": { 33 | "Foreground": "585858", 34 | "Background": "262626" 35 | }, 36 | "Control": { 37 | "": "ffb734", 38 | "Enabled": "ffb734", 39 | "Disabled": "585858" 40 | }, 41 | "Calculation": { 42 | "BackgroundOdd": "080605", 43 | "BackgroundEven": "000000", 44 | "EmptyBox": "131313", 45 | "EmptyBoxNeeded": "ffb734", 46 | "TrigoAndComplexForeground": "ff000c" 47 | }, 48 | "Code": { 49 | "Background": "000000", 50 | "BackgroundSelected": "2b281f", 51 | "Text": "ffffff", 52 | "Comment": "999988", 53 | "Number": "009999", 54 | "Keyword": "ff000c", 55 | "Operator": "d73a49", 56 | "String": "032f62", 57 | "GutterViewBackground": "E4E6E7" 58 | }, 59 | "Probability": { 60 | "Curve": "ffb734", 61 | "CellBorder": "262626", 62 | "HistogramBar": "262626" 63 | }, 64 | "Statistics": { 65 | "Box": "ffb734", 66 | "BoxVerticalLine": "262626", 67 | "Selected": "ffb734", 68 | "NotSelected": "262626" 69 | }, 70 | "Graph": { 71 | "Tangent": "737373" 72 | }, 73 | "SubMenu": { 74 | "Background": "000000", 75 | "Border": "131313", 76 | "Text": "47443a" 77 | }, 78 | "Toolbox": { 79 | "HeaderBackground": "656975", 80 | "HeaderText": "000000", 81 | "HeaderBorder": "414147", 82 | "Background": "ffffff" 83 | }, 84 | "List": { 85 | "CellBackground": "000000", 86 | "CellBackgroundSelected": "2b281f", 87 | "CellBorder": "131313" 88 | }, 89 | "Button": { 90 | "Background": "000000", 91 | "BackgroundSelected": "2b281f", 92 | "BackgroundSelectedHighContrast": "ffb734", 93 | "Border": "adadad", 94 | "RowBorder": "262626", 95 | "BorderOut": "0a0a0a", 96 | "Shadow": "262626", 97 | "Text": "ffffff" 98 | }, 99 | "Tab": { 100 | "Background": "4a4a4a", 101 | "BackgroundSelected": "2b281f", 102 | "BackgroundActive": "000000", 103 | "BackgroundSelectedAndActive": "26272e", 104 | "Text": "000000", 105 | "TextActive": "656975" 106 | }, 107 | "SubTab": { 108 | "Background": "000000", 109 | "BackgroundSelected": "2b281f", 110 | "Text": "ffffff" 111 | }, 112 | "Banner": { 113 | "FirstBackground": "656975", 114 | "FirstBorder": "656975", 115 | "FirstText": "000000", 116 | "FirstVariantBackground": "414147", 117 | "FirstVariantBorder": "414147", 118 | "FirstVariantText": "000000", 119 | "SecondBackground": "47443a", 120 | "SecondBorder": "47443a", 121 | "SecondText": "000000" 122 | }, 123 | "Home": { 124 | "Background": "000000", 125 | "CellBackground": "000000", 126 | "CellBackgroundActive": "ffb734", 127 | "CellText": "ffffff", 128 | "CellTextActive": "000000", 129 | "CellTextExternal": "6fe6df", 130 | "CellTextExternalActive": "008f87" 131 | }, 132 | "Atom": { 133 | "Unknown": "eeeeee", 134 | "Text": "000000", 135 | "AlkaliMetal": "ffaa00", 136 | "AlkaliEarthMetal": "f6f200", 137 | "Lanthanide": "ffaa8b", 138 | "Actinide": "deaacd", 139 | "TransitionMetal": "de999c", 140 | "PostTransitionMetal": "9cbaac", 141 | "Metalloid": "52ce8b", 142 | "Halogen": "00debd", 143 | "ReactiveNonmetal": "00ee00", 144 | "NobleGas": "8baaff", 145 | "TableLines": "323532" 146 | } 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /themes/local/epsilon_light.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Epsilon Light", 3 | "icons": "epsilon_light", 4 | "colors": { 5 | "PrimaryText": "000000", 6 | "SecondaryText": "a7a7a7", 7 | "AccentText": "ffb734", 8 | "ApproximateSignText": "8c8c8c", 9 | "ApproximateExpressionText": "8c8c8c", 10 | "Background": { 11 | "Hard": "ffffff", 12 | "Apps": "f7f9fa", 13 | "AppsSecondary": "e0e6ed" 14 | }, 15 | "Toolbar": { 16 | "": "ffb734", 17 | "Text": "ffffff" 18 | }, 19 | "ExpressionInput": { 20 | "Background": "ffffff", 21 | "Border": "d9d9d9" 22 | }, 23 | "Grid": { 24 | "PrimaryLine": "d9d9d9", 25 | "SecondaryLine": "f5f5f5" 26 | }, 27 | "Battery": { 28 | "": "ffffff", 29 | "InCharge": "ffcc7b", 30 | "Low": "f30211" 31 | }, 32 | "ScrollBar": { 33 | "Foreground": "a7a7a7", 34 | "Background": "d9d9d9" 35 | }, 36 | "Control": { 37 | "": "ffb734", 38 | "Enabled": "ffb734", 39 | "Disabled": "a7a7a7" 40 | }, 41 | "Calculation": { 42 | "BackgroundOdd": "f7f9fa", 43 | "BackgroundEven": "ffffff", 44 | "EmptyBox": "ececec", 45 | "EmptyBoxNeeded": "ffb734", 46 | "TrigoAndComplexForeground": "ff000c" 47 | }, 48 | "Code": { 49 | "Background": "ffffff", 50 | "BackgroundSelected": "d4d7e0", 51 | "Text": "000000", 52 | "Comment": "999988", 53 | "Number": "009999", 54 | "Keyword": "ff000c", 55 | "Operator": "d73a49", 56 | "String": "032f62", 57 | "GutterViewBackground": "E4E6E7" 58 | }, 59 | "Probability": { 60 | "Curve": "ffb734", 61 | "CellBorder": "d9d9d9", 62 | "HistogramBar": "d9d9d9" 63 | }, 64 | "Statistics": { 65 | "Box": "ffb734", 66 | "BoxVerticalLine": "d9d9d9", 67 | "Selected": "ffb734", 68 | "NotSelected": "d9d9d9" 69 | }, 70 | "Graph": { 71 | "Tangent": "8c8c8c" 72 | }, 73 | "SubMenu": { 74 | "Background": "ffffff", 75 | "Border": "ececec", 76 | "Text": "b8bbc5" 77 | }, 78 | "Toolbox": { 79 | "HeaderBackground": "656975", 80 | "HeaderText": "ffffff", 81 | "HeaderBorder": "414147", 82 | "Background": "000000" 83 | }, 84 | "List": { 85 | "CellBackground": "ffffff", 86 | "CellBackgroundSelected": "d4d7e0", 87 | "CellBorder": "ececec" 88 | }, 89 | "Button": { 90 | "Background": "ffffff", 91 | "BackgroundSelected": "d4d7e0", 92 | "BackgroundSelectedHighContrast": "ffb734", 93 | "Border": "adadad", 94 | "RowBorder": "d9d9d9", 95 | "BorderOut": "f5f5f5", 96 | "Shadow": "d9d9d9", 97 | "Text": "000000" 98 | }, 99 | "Tab": { 100 | "Background": "4a4a4a", 101 | "BackgroundSelected": "d4d7e0", 102 | "BackgroundActive": "ffffff", 103 | "BackgroundSelectedAndActive": "b0b8d8", 104 | "Text": "ffffff", 105 | "TextActive": "656975" 106 | }, 107 | "SubTab": { 108 | "Background": "ffffff", 109 | "BackgroundSelected": "d4d7e0", 110 | "Text": "000000" 111 | }, 112 | "Banner": { 113 | "FirstBackground": "656975", 114 | "FirstBorder": "656975", 115 | "FirstText": "ffffff", 116 | "FirstVariantBackground": "414147", 117 | "FirstVariantBorder": "414147", 118 | "FirstVariantText": "ffffff", 119 | "SecondBackground": "b8bbc5", 120 | "SecondBorder": "b8bbc5", 121 | "SecondText": "ffffff" 122 | }, 123 | "Home": { 124 | "Background": "ffffff", 125 | "CellBackground": "ffffff", 126 | "CellBackgroundActive": "ffb734", 127 | "CellText": "000000", 128 | "CellTextActive": "ffffff", 129 | "CellTextExternal": "008f87", 130 | "CellTextExternalActive": "6fe6df" 131 | }, 132 | "Atom": { 133 | "Unknown": "eeeeee", 134 | "Text": "000000", 135 | "AlkaliMetal": "ffaa00", 136 | "AlkaliEarthMetal": "f6f200", 137 | "Lanthanide": "ffaa8b", 138 | "Actinide": "deaacd", 139 | "TransitionMetal": "de999c", 140 | "PostTransitionMetal": "9cbaac", 141 | "Metalloid": "52ce8b", 142 | "Halogen": "00debd", 143 | "ReactiveNonmetal": "00ee00", 144 | "NobleGas": "8baaff", 145 | "TableLines": "323532" 146 | } 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /themes_manager.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import argparse 3 | import os 4 | import json 5 | import shutil 6 | import subprocess 7 | 8 | 9 | def check_for_git(): 10 | try: 11 | output = subprocess.check_output(["git", "--version"]) 12 | return True 13 | except FileNotFoundError: 14 | print("ERROR: Git not found! Can't download theme from the internet.", file=sys.stderr) 15 | return False 16 | 17 | 18 | def check_git_remote(remote_url): 19 | try: 20 | output = subprocess.check_output(["git", "ls-remote", remote_url], env=dict(os.environ, GIT_ASKPASS="/bin/true"), stderr=subprocess.PIPE) 21 | return True 22 | except subprocess.CalledProcessError: 23 | print("ERROR: Invalid remote " + remote_url + "!", file=os.stderr) 24 | return False 25 | 26 | 27 | def git_pull(folder): 28 | try: 29 | print("Updating " + folder + "...", file=sys.stderr) 30 | output = subprocess.check_output(["git", "-C", folder, "pull"], env=dict(os.environ, GIT_ASKPASS="/bin/true"), stderr=subprocess.PIPE) 31 | return True 32 | except subprocess.CalledProcessError: 33 | return False 34 | 35 | 36 | def git_clone(url, folder): 37 | try: 38 | print("Cloning " + url + " into " + folder + "...", file=sys.stderr) 39 | output = subprocess.check_output(["git", "clone", url, folder, "--recurse-submodules"], env=dict(os.environ, GIT_ASKPASS="/bin/true"), stderr=subprocess.PIPE) 40 | return True 41 | except subprocess.CalledProcessError: 42 | return False 43 | 44 | 45 | def get_icons_list(): 46 | """ 47 | Load icon list from file 48 | """ 49 | with open(os.path.dirname(os.path.realpath(__file__)) + os.path.sep + "icons.json", "r") as json_file: 50 | data = json.load(json_file) 51 | 52 | return data 53 | 54 | 55 | def get_data(theme, path): 56 | """ 57 | Load theme from file 58 | """ 59 | try: 60 | with open(path + os.path.sep + theme + ".json", "r") as json_file: 61 | data = json.load(json_file) 62 | except FileNotFoundError: 63 | print("ERROR: Theme " + theme + " doesn't exist!", file=sys.stderr) 64 | sys.exit(3) 65 | 66 | return data 67 | 68 | 69 | def write_palette_h(data, file_p): 70 | """ 71 | Write the header to file_p 72 | """ 73 | file_p.write("#ifndef ESCHER_PALETTE_H\n") 74 | file_p.write("#define ESCHER_PALETTE_H\n\n") 75 | file_p.write("#include \n") 76 | file_p.write("#include \n\n") 77 | file_p.write("class Palette {\n") 78 | file_p.write("public:\n") 79 | 80 | for key in data["colors"].keys(): 81 | if type(data["colors"][key]) is str: 82 | file_p.write(" constexpr static KDColor " + key + " = KDColor::RGB24(0x" + data["colors"][key] + ");\n") 83 | else: 84 | for sub_key in data["colors"][key].keys(): 85 | file_p.write(" constexpr static KDColor " + key + sub_key + " = KDColor::RGB24(0x" + data["colors"][key][sub_key] + ");\n") 86 | 87 | # Default values - Sometimes never used 88 | file_p.write(" constexpr static KDColor YellowDark = KDColor::RGB24(0xffb734);\n") 89 | file_p.write(" constexpr static KDColor YellowLight = KDColor::RGB24(0xffcc7b);\n") 90 | file_p.write(" constexpr static KDColor PurpleBright = KDColor::RGB24(0x656975);\n") 91 | file_p.write(" constexpr static KDColor PurpleDark = KDColor::RGB24(0x414147);\n") 92 | file_p.write(" constexpr static KDColor GreyWhite = KDColor::RGB24(0xf5f5f5);\n") 93 | file_p.write(" constexpr static KDColor GreyBright = KDColor::RGB24(0xececec);\n") 94 | file_p.write(" constexpr static KDColor GreyMiddle = KDColor::RGB24(0xd9d9d9);\n") 95 | file_p.write(" constexpr static KDColor GreyDark = KDColor::RGB24(0xa7a7a7);\n") 96 | file_p.write(" constexpr static KDColor GreyVeryDark = KDColor::RGB24(0x8c8c8c);\n") 97 | file_p.write(" constexpr static KDColor Select = KDColor::RGB24(0xd4d7e0);\n") 98 | file_p.write(" constexpr static KDColor SelectDark = KDColor::RGB24(0xb0b8d8);\n") 99 | file_p.write(" constexpr static KDColor WallScreen = KDColor::RGB24(0xf7f9fa);\n") 100 | file_p.write(" constexpr static KDColor WallScreenDark = KDColor::RGB24(0xe0e6ed);\n") 101 | file_p.write(" constexpr static KDColor SubTab = KDColor::RGB24(0xb8bbc5);\n") 102 | file_p.write(" constexpr static KDColor LowBattery = KDColor::RGB24(0xf30211);\n") 103 | file_p.write(" constexpr static KDColor Red = KDColor::RGB24(0xff000c);\n") 104 | file_p.write(" constexpr static KDColor RedLight = KDColor::RGB24(0xfe6363);\n") 105 | file_p.write(" constexpr static KDColor Magenta = KDColor::RGB24(0xff0588);\n") 106 | file_p.write(" constexpr static KDColor Turquoise = KDColor::RGB24(0x60c1ec);\n") 107 | file_p.write(" constexpr static KDColor Pink = KDColor::RGB24(0xffabb6);\n") 108 | file_p.write(" constexpr static KDColor Blue = KDColor::RGB24(0x5075f2);\n") 109 | file_p.write(" constexpr static KDColor BlueLight = KDColor::RGB24(0x718fee);\n") 110 | file_p.write(" constexpr static KDColor Orange = KDColor::RGB24(0xfe871f);\n") 111 | file_p.write(" constexpr static KDColor Green = KDColor::RGB24(0x50c102);\n") 112 | file_p.write(" constexpr static KDColor GreenLight = KDColor::RGB24(0x52db8f);\n") 113 | file_p.write(" constexpr static KDColor Brown = KDColor::RGB24(0x8d7350);\n") 114 | file_p.write(" constexpr static KDColor Purple = KDColor::RGB24(0x6e2d79);\n") 115 | file_p.write(" constexpr static KDColor BlueishGrey = KDColor::RGB24(0x919ea4);\n") 116 | file_p.write(" constexpr static KDColor Cyan = KDColorBlue;\n") 117 | # End 118 | 119 | file_p.write(" constexpr static KDColor DataColor[] = {Red, Blue, Green, YellowDark, Magenta, Turquoise, Pink, Orange};\n") 120 | file_p.write(" constexpr static KDColor DataColorLight[] = {RedLight, BlueLight, GreenLight, YellowLight};\n") 121 | 122 | file_p.write(" constexpr static KDColor AtomColor[] = {\n") 123 | file_p.write(" AtomUnknown, AtomAlkaliMetal, AtomAlkaliEarthMetal, AtomLanthanide, AtomActinide, AtomTransitionMetal,\n") 124 | file_p.write(" AtomPostTransitionMetal, AtomMetalloid, AtomHalogen, AtomReactiveNonmetal, AtomNobleGas\n") 125 | file_p.write(" };\n\n") 126 | 127 | file_p.write(" constexpr static size_t numberOfDataColors() { return sizeof(DataColor)/sizeof(KDColor); }\n") 128 | file_p.write(" constexpr static size_t numberOfLightDataColors() { return sizeof(DataColorLight)/sizeof(KDColor); }\n") 129 | file_p.write(" static KDColor nextDataColor(int * colorIndex);\n") 130 | file_p.write("};\n\n") 131 | 132 | file_p.write("#endif\n") 133 | 134 | 135 | def handle_git(args): 136 | output_folder = os.path.basename(args.repo) 137 | output_folder = output_folder[:-4] if output_folder.endswith(".git") else output_folder # Remove .git extension if present. 138 | 139 | output_path = os.path.dirname(os.path.realpath(__file__)) + os.path.sep + "themes" + os.path.sep + "git" + os.path.sep + output_folder 140 | 141 | if (not args.icon): # Assume .h is called before icons, avoiding lot of pull for nothing. 142 | if (os.path.exists(output_path)): # If directory exists, try to pull 143 | if (not git_pull(output_path)): # If can't pull, delete and re-clone. 144 | shutil.rmtree(output_path) 145 | git_clone(args.repo, output_path) 146 | else: # If directory doesn't exist, clone. 147 | git_clone(args.repo, output_path) 148 | 149 | handle_theme(args, output_path) 150 | 151 | 152 | def handle_theme(args, path): 153 | data = get_data(args.theme, path) 154 | 155 | if (args.icon): 156 | # Get the icon in the icon theme folder 157 | icons = get_icons_list() 158 | 159 | icon_path = path + os.path.sep + data["icons"] + os.path.sep + icons[args.output.replace(args.build_dir, "")] 160 | 161 | # Check if the file exists 162 | if os.path.isfile(icon_path): 163 | # If yes, copy from theme 164 | shutil.copyfile(icon_path, args.output) 165 | else: 166 | # If no, copy from src 167 | print(" (!!) Icon " + icons[args.output.replace(args.build_dir, "")] + " not found in icon theme " + data["icons"] + ". Using default!") 168 | shutil.copyfile(args.output.replace(args.build_dir, ""), args.output) 169 | else: 170 | if (args.stdout): 171 | write_palette_h(data, sys.stdout) 172 | else: 173 | with open(args.output, "w") as palette_file: 174 | write_palette_h(data, palette_file) 175 | 176 | 177 | def main(args): 178 | if (args.list): 179 | print(" ==== Local themes ====") 180 | for file_info in os.listdir(os.path.dirname(os.path.realpath(__file__)) + os.path.sep + "themes" + os.path.sep + "local"): 181 | if (file_info.endswith(".json")): 182 | filename = os.path.splitext(file_info)[0] 183 | print(filename) 184 | sys.exit(0) 185 | else: 186 | if (args.theme == None or args.repo == None): 187 | print("Please specify repo and theme or use --list!", file=sys.stderr) 188 | sys.exit(2) 189 | 190 | if args.repo == "local": 191 | handle_theme(args, os.path.dirname(os.path.realpath(__file__)) + os.path.sep + "themes" + os.path.sep + "local") 192 | else: 193 | if check_for_git(): 194 | if (check_git_remote(args.repo)): 195 | handle_git(args) 196 | else: 197 | sys.exit(5) 198 | else: 199 | sys.exit(6) 200 | 201 | 202 | if __name__ == "__main__": 203 | parser = argparse.ArgumentParser(description="Process the themes.") 204 | parser.add_argument("repo", nargs="?", help="git remote from wtich to get the themes from. Set to \"local\" for included themes") 205 | parser.add_argument("theme", nargs="?", help="the name of the theme") 206 | parser.add_argument("output", nargs="?", help="path to the output header file") 207 | parser.add_argument("build_dir", nargs="?", help="path to the output folder") 208 | parser.add_argument("-l", "--list", help="list locals themes", action="store_true") 209 | parser.add_argument("-i", "--icon", help="outputs an icon instead of a header", action="store_true") 210 | parser.add_argument("--stdout", help="print palette.h to stdout", action="store_true") 211 | 212 | args = parser.parse_args() 213 | main(args) 214 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International 2 | Public License 3 | 4 | By exercising the Licensed Rights (defined below), You accept and agree 5 | to be bound by the terms and conditions of this Creative Commons 6 | Attribution-NonCommercial-ShareAlike 4.0 International Public License 7 | ("Public License"). To the extent this Public License may be 8 | interpreted as a contract, You are granted the Licensed Rights in 9 | consideration of Your acceptance of these terms and conditions, and the 10 | Licensor grants You such rights in consideration of benefits the 11 | Licensor receives from making the Licensed Material available under 12 | these terms and conditions. 13 | 14 | 15 | Section 1 -- Definitions. 16 | 17 | a. Adapted Material means material subject to Copyright and Similar 18 | Rights that is derived from or based upon the Licensed Material 19 | and in which the Licensed Material is translated, altered, 20 | arranged, transformed, or otherwise modified in a manner requiring 21 | permission under the Copyright and Similar Rights held by the 22 | Licensor. For purposes of this Public License, where the Licensed 23 | Material is a musical work, performance, or sound recording, 24 | Adapted Material is always produced where the Licensed Material is 25 | synched in timed relation with a moving image. 26 | 27 | b. Adapter's License means the license You apply to Your Copyright 28 | and Similar Rights in Your contributions to Adapted Material in 29 | accordance with the terms and conditions of this Public License. 30 | 31 | c. BY-NC-SA Compatible License means a license listed at 32 | creativecommons.org/compatiblelicenses, approved by Creative 33 | Commons as essentially the equivalent of this Public License. 34 | 35 | d. Copyright and Similar Rights means copyright and/or similar rights 36 | closely related to copyright including, without limitation, 37 | performance, broadcast, sound recording, and Sui Generis Database 38 | Rights, without regard to how the rights are labeled or 39 | categorized. For purposes of this Public License, the rights 40 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 41 | Rights. 42 | 43 | e. Effective Technological Measures means those measures that, in the 44 | absence of proper authority, may not be circumvented under laws 45 | fulfilling obligations under Article 11 of the WIPO Copyright 46 | Treaty adopted on December 20, 1996, and/or similar international 47 | agreements. 48 | 49 | f. Exceptions and Limitations means fair use, fair dealing, and/or 50 | any other exception or limitation to Copyright and Similar Rights 51 | that applies to Your use of the Licensed Material. 52 | 53 | g. License Elements means the license attributes listed in the name 54 | of a Creative Commons Public License. The License Elements of this 55 | Public License are Attribution, NonCommercial, and ShareAlike. 56 | 57 | h. Licensed Material means the artistic or literary work, database, 58 | or other material to which the Licensor applied this Public 59 | License. 60 | 61 | i. Licensed Rights means the rights granted to You subject to the 62 | terms and conditions of this Public License, which are limited to 63 | all Copyright and Similar Rights that apply to Your use of the 64 | Licensed Material and that the Licensor has authority to license. 65 | 66 | j. Licensor means the individual(s) or entity(ies) granting rights 67 | under this Public License. 68 | 69 | k. NonCommercial means not primarily intended for or directed towards 70 | commercial advantage or monetary compensation. For purposes of 71 | this Public License, the exchange of the Licensed Material for 72 | other material subject to Copyright and Similar Rights by digital 73 | file-sharing or similar means is NonCommercial provided there is 74 | no payment of monetary compensation in connection with the 75 | exchange. 76 | 77 | l. Share means to provide material to the public by any means or 78 | process that requires permission under the Licensed Rights, such 79 | as reproduction, public display, public performance, distribution, 80 | dissemination, communication, or importation, and to make material 81 | available to the public including in ways that members of the 82 | public may access the material from a place and at a time 83 | individually chosen by them. 84 | 85 | m. Sui Generis Database Rights means rights other than copyright 86 | resulting from Directive 96/9/EC of the European Parliament and of 87 | the Council of 11 March 1996 on the legal protection of databases, 88 | as amended and/or succeeded, as well as other essentially 89 | equivalent rights anywhere in the world. 90 | 91 | n. You means the individual or entity exercising the Licensed Rights 92 | under this Public License. Your has a corresponding meaning. 93 | 94 | 95 | Section 2 -- Scope. 96 | 97 | a. License grant. 98 | 99 | 1. Subject to the terms and conditions of this Public License, 100 | the Licensor hereby grants You a worldwide, royalty-free, 101 | non-sublicensable, non-exclusive, irrevocable license to 102 | exercise the Licensed Rights in the Licensed Material to: 103 | 104 | a. reproduce and Share the Licensed Material, in whole or 105 | in part, for NonCommercial purposes only; and 106 | 107 | b. produce, reproduce, and Share Adapted Material for 108 | NonCommercial purposes only. 109 | 110 | 2. Exceptions and Limitations. For the avoidance of doubt, where 111 | Exceptions and Limitations apply to Your use, this Public 112 | License does not apply, and You do not need to comply with 113 | its terms and conditions. 114 | 115 | 3. Term. The term of this Public License is specified in Section 116 | 6(a). 117 | 118 | 4. Media and formats; technical modifications allowed. The 119 | Licensor authorizes You to exercise the Licensed Rights in 120 | all media and formats whether now known or hereafter created, 121 | and to make technical modifications necessary to do so. The 122 | Licensor waives and/or agrees not to assert any right or 123 | authority to forbid You from making technical modifications 124 | necessary to exercise the Licensed Rights, including 125 | technical modifications necessary to circumvent Effective 126 | Technological Measures. For purposes of this Public License, 127 | simply making modifications authorized by this Section 2(a) 128 | (4) never produces Adapted Material. 129 | 130 | 5. Downstream recipients. 131 | 132 | a. Offer from the Licensor -- Licensed Material. Every 133 | recipient of the Licensed Material automatically 134 | receives an offer from the Licensor to exercise the 135 | Licensed Rights under the terms and conditions of this 136 | Public License. 137 | 138 | b. Additional offer from the Licensor -- Adapted Material. 139 | Every recipient of Adapted Material from You 140 | automatically receives an offer from the Licensor to 141 | exercise the Licensed Rights in the Adapted Material 142 | under the conditions of the Adapter's License You apply. 143 | 144 | c. No downstream restrictions. You may not offer or impose 145 | any additional or different terms or conditions on, or 146 | apply any Effective Technological Measures to, the 147 | Licensed Material if doing so restricts exercise of the 148 | Licensed Rights by any recipient of the Licensed 149 | Material. 150 | 151 | 6. No endorsement. Nothing in this Public License constitutes or 152 | may be construed as permission to assert or imply that You 153 | are, or that Your use of the Licensed Material is, connected 154 | with, or sponsored, endorsed, or granted official status by, 155 | the Licensor or others designated to receive attribution as 156 | provided in Section 3(a)(1)(A)(i). 157 | 158 | b. Other rights. 159 | 160 | 1. Moral rights, such as the right of integrity, are not 161 | licensed under this Public License, nor are publicity, 162 | privacy, and/or other similar personality rights; however, to 163 | the extent possible, the Licensor waives and/or agrees not to 164 | assert any such rights held by the Licensor to the limited 165 | extent necessary to allow You to exercise the Licensed 166 | Rights, but not otherwise. 167 | 168 | 2. Patent and trademark rights are not licensed under this 169 | Public License. 170 | 171 | 3. To the extent possible, the Licensor waives any right to 172 | collect royalties from You for the exercise of the Licensed 173 | Rights, whether directly or through a collecting society 174 | under any voluntary or waivable statutory or compulsory 175 | licensing scheme. In all other cases the Licensor expressly 176 | reserves any right to collect such royalties, including when 177 | the Licensed Material is used other than for NonCommercial 178 | purposes. 179 | 180 | 181 | Section 3 -- License Conditions. 182 | 183 | Your exercise of the Licensed Rights is expressly made subject to the 184 | following conditions. 185 | 186 | a. Attribution. 187 | 188 | 1. If You Share the Licensed Material (including in modified 189 | form), You must: 190 | 191 | a. retain the following if it is supplied by the Licensor 192 | with the Licensed Material: 193 | 194 | i. identification of the creator(s) of the Licensed 195 | Material and any others designated to receive 196 | attribution, in any reasonable manner requested by 197 | the Licensor (including by pseudonym if 198 | designated); 199 | 200 | ii. a copyright notice; 201 | 202 | iii. a notice that refers to this Public License; 203 | 204 | iv. a notice that refers to the disclaimer of 205 | warranties; 206 | 207 | v. a URI or hyperlink to the Licensed Material to the 208 | extent reasonably practicable; 209 | 210 | b. indicate if You modified the Licensed Material and 211 | retain an indication of any previous modifications; and 212 | 213 | c. indicate the Licensed Material is licensed under this 214 | Public License, and include the text of, or the URI or 215 | hyperlink to, this Public License. 216 | 217 | 2. You may satisfy the conditions in Section 3(a)(1) in any 218 | reasonable manner based on the medium, means, and context in 219 | which You Share the Licensed Material. For example, it may be 220 | reasonable to satisfy the conditions by providing a URI or 221 | hyperlink to a resource that includes the required 222 | information. 223 | 3. If requested by the Licensor, You must remove any of the 224 | information required by Section 3(a)(1)(A) to the extent 225 | reasonably practicable. 226 | 227 | b. ShareAlike. 228 | 229 | In addition to the conditions in Section 3(a), if You Share 230 | Adapted Material You produce, the following conditions also apply. 231 | 232 | 1. The Adapter's License You apply must be a Creative Commons 233 | license with the same License Elements, this version or 234 | later, or a BY-NC-SA Compatible License. 235 | 236 | 2. You must include the text of, or the URI or hyperlink to, the 237 | Adapter's License You apply. You may satisfy this condition 238 | in any reasonable manner based on the medium, means, and 239 | context in which You Share Adapted Material. 240 | 241 | 3. You may not offer or impose any additional or different terms 242 | or conditions on, or apply any Effective Technological 243 | Measures to, Adapted Material that restrict exercise of the 244 | rights granted under the Adapter's License You apply. 245 | 246 | 247 | Section 4 -- Sui Generis Database Rights. 248 | 249 | Where the Licensed Rights include Sui Generis Database Rights that 250 | apply to Your use of the Licensed Material: 251 | 252 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 253 | to extract, reuse, reproduce, and Share all or a substantial 254 | portion of the contents of the database for NonCommercial purposes 255 | only; 256 | 257 | b. if You include all or a substantial portion of the database 258 | contents in a database in which You have Sui Generis Database 259 | Rights, then the database in which You have Sui Generis Database 260 | Rights (but not its individual contents) is Adapted Material, 261 | including for purposes of Section 3(b); and 262 | 263 | c. You must comply with the conditions in Section 3(a) if You Share 264 | all or a substantial portion of the contents of the database. 265 | 266 | For the avoidance of doubt, this Section 4 supplements and does not 267 | replace Your obligations under this Public License where the Licensed 268 | Rights include other Copyright and Similar Rights. 269 | 270 | 271 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 272 | 273 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 274 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 275 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 276 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 277 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 278 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 279 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 280 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 281 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 282 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 283 | 284 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 285 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 286 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 287 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 288 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 289 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 290 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 291 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 292 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 293 | 294 | c. The disclaimer of warranties and limitation of liability provided 295 | above shall be interpreted in a manner that, to the extent 296 | possible, most closely approximates an absolute disclaimer and 297 | waiver of all liability. 298 | 299 | 300 | Section 6 -- Term and Termination. 301 | 302 | a. This Public License applies for the term of the Copyright and 303 | Similar Rights licensed here. However, if You fail to comply with 304 | this Public License, then Your rights under this Public License 305 | terminate automatically. 306 | 307 | b. Where Your right to use the Licensed Material has terminated under 308 | Section 6(a), it reinstates: 309 | 310 | 1. automatically as of the date the violation is cured, provided 311 | it is cured within 30 days of Your discovery of the 312 | violation; or 313 | 314 | 2. upon express reinstatement by the Licensor. 315 | 316 | For the avoidance of doubt, this Section 6(b) does not affect any 317 | right the Licensor may have to seek remedies for Your violations 318 | of this Public License. 319 | 320 | c. For the avoidance of doubt, the Licensor may also offer the 321 | Licensed Material under separate terms or conditions or stop 322 | distributing the Licensed Material at any time; however, doing so 323 | will not terminate this Public License. 324 | 325 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 326 | License. 327 | 328 | 329 | Section 7 -- Other Terms and Conditions. 330 | 331 | a. The Licensor shall not be bound by any additional or different 332 | terms or conditions communicated by You unless expressly agreed. 333 | 334 | b. Any arrangements, understandings, or agreements regarding the 335 | Licensed Material not stated herein are separate from and 336 | independent of the terms and conditions of this Public License. 337 | 338 | 339 | Section 8 -- Interpretation. 340 | 341 | a. For the avoidance of doubt, this Public License does not, and 342 | shall not be interpreted to, reduce, limit, restrict, or impose 343 | conditions on any use of the Licensed Material that could lawfully 344 | be made without permission under this Public License. 345 | 346 | b. To the extent possible, if any provision of this Public License is 347 | deemed unenforceable, it shall be automatically reformed to the 348 | minimum extent necessary to make it enforceable. If the provision 349 | cannot be reformed, it shall be severed from this Public License 350 | without affecting the enforceability of the remaining terms and 351 | conditions. 352 | 353 | c. No term or condition of this Public License will be waived and no 354 | failure to comply consented to unless expressly agreed to by the 355 | Licensor. 356 | 357 | d. Nothing in this Public License constitutes or may be interpreted 358 | as a limitation upon, or waiver of, any privileges and immunities 359 | that apply to the Licensor or You, including from the legal 360 | processes of any jurisdiction or authority. 361 | 362 | ======================================================================= 363 | 364 | Creative Commons is not a party to its public 365 | licenses. Notwithstanding, Creative Commons may elect to apply one of 366 | its public licenses to material it publishes and in those instances 367 | will be considered the “Licensor.” The text of the Creative Commons 368 | public licenses is dedicated to the public domain under the CC0 Public 369 | Domain Dedication. Except for the limited purpose of indicating that 370 | material is shared under a Creative Commons public license or as 371 | otherwise permitted by the Creative Commons policies published at 372 | creativecommons.org/policies, Creative Commons does not authorize the 373 | use of the trademark "Creative Commons" or any other trademark or logo 374 | of Creative Commons without its prior written consent including, 375 | without limitation, in connection with any unauthorized modifications 376 | to any of its public licenses or any other arrangements, 377 | understandings, or agreements concerning use of licensed material. For 378 | the avoidance of doubt, this paragraph does not form part of the 379 | public licenses. 380 | 381 | Creative Commons may be contacted at creativecommons.org. 382 | 383 | --------------------------------------------------------------------------------