Commit graph

19 commits

Author SHA1 Message Date
0xMRTT
a5b3096782
fix: #815 sidebar not themed 2023-09-07 20:35:09 +02:00
3944b0362e
fix: typo 2023-07-10 18:00:14 +03:00
488ad80e00
fix: Typo with jsdelivr being jsdeliver 2023-06-27 15:58:04 +03:00
25bd17cd24
fix: JSDelivr typo 2023-06-16 17:19:01 +03:00
0d04348c04
Merge branch 'main' into jsdeliver 2023-05-26 08:00:04 +02:00
tfuxu
f934901570
fix: convert Github URL's to JSDeliver CDN
* move some snippets to other modules
2023-05-25 20:57:43 +02:00
tfuxu
66bf7ccd61
chore: remove duplicate module
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2023-05-25 17:43:17 +00:00
tfuxu
260fd2602a
fix(utils/colors): properly sanitize color values
* fix(utils/colors): remove references to old functions
2023-05-23 20:13:35 +02:00
tfuxu
1a5b1f4cd4
fix(utils/colors): properly sanitize color values
* fix(utils/colors): remove references to old functions
2023-05-14 17:47:58 +02:00
tfuxu
e412a2c537
GNOME Shell theming support (#679)
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
Co-authored-by: 0xMRTT <0xMRTT@evta.fr>
Co-authored-by: 0xMRTT <0xMRTT@proton.me>
Co-authored-by: daudix-UFO <ddaudix@gmail.com>
2023-05-04 13:24:18 +00:00
tfuxu
484d2e6cca
misc: fix spelling mistakes detected by Typos workflow 2023-01-18 15:26:05 +01:00
tfuxu
3f9fb69437
backend/colors: create new rgb_to_hash function
* make `argb_to_color_code` function usable
2023-01-05 21:04:30 +01:00
tfuxu
d5fa02b2a6
linting: fix a majority of coding errors pointed by pylint 2022-12-27 21:28:58 +01:00
tfuxu
8f37888d03
backend/utils: add new utility function: argb_to_color_code
This function is supposed to deprecate current `rgba_from_argb` function.

Other changes:
* fix some debug messages using print instead of logging.debug
* add datadir as a constant
2022-12-21 15:44:44 +01:00
tfuxu
22f476f766
backend: create new modules for preset generation utilities 2022-12-08 14:05:38 +01:00
tfuxu
e834e55b11
backend/models: refactor Preset model object
This commit is the first in a series of commits that will introduce new CLI interface for Gradience. Currently we need to move some parts of code that reside mostly in frontend modules to their new backend modules, and this commit is the beggining of this whole ordeal.

* Refactor Preset model object, in order to make it more readable and to allow `new` function that directly takes new values for properties
* Move presets_dir from models/preset to new backend/globals module
* Create new utils/colors module (will be used in later commits)
* Update all modules that are affected by above changes
2022-12-08 12:43:12 +01:00
tfuxu
a8c83d1935
feat: introduce new backend/logger module
This commit introduces a new logger module and converts any log message that used buglog() to use one of five new functions from Logger class.
2022-12-04 00:00:18 +01:00
tfuxu
5e42501691
rename: change module name from utils.py to common.py 2022-12-02 23:21:55 +01:00
tfuxu
30a9fdb613
move modules to new backend/frontend directories 2022-12-02 22:52:47 +01:00