Skip to content

Avdan OS UI Toolkit(Just a QML Library or Module)

Notifications You must be signed in to change notification settings

ADeswanta/qml-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

avdan-qml-toolkit

Avdan OS UI Toolkit(Just a QML Library or Module)

Theme Parser Engine

This thing will read user theme config file. So, that if a user changes the config file then everyapp use config got theme update

Currently it supports only one key from config that is window-background-color.

Known Bugs of Theme Parser Engine

  1. Only works for me because of my username, you have to change it
  2. Only one key is accessible
  3. Needs to restart when theme is changed

Config File

It's a json file. It should be present at /home/[username 'only yegender works for now by defaukt']/.config/aos/config/theme/main.json

Sample Config

{
        "window-background-color":"#88000000",
        "button-background-color":"#22ffffff",
        "button-background-color::hover":"#33000000",
        "button-foreground-color":"#ffffff",
        "button-corner-radius":5,
        "button-padding":10,
        "button-font-pixel-size":17,
        "button-padding-vertical":0,
        "button-padding-horizontal":50
}

About

Avdan OS UI Toolkit(Just a QML Library or Module)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published