# linux: Get the color scheme through xdg-desktop-portal \(\#11926\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a84344a82e9a84bdd308f17cd4c6048282663c04)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a84344a82e9a84bdd308f17cd4c6048282663c04

Requested commit: a84344a82e9a84bdd308f17cd4c6048282663c04

Commit: a84344a82e9a84bdd308f17cd4c6048282663c04

Tree: 83d438f09e3724d8d8a64787ff7bab1124f11e73

Author: citorva

Committer: GitHub

## Message

```
linux: Get the color scheme through xdg-desktop-portal (#11926)

The method has been tested on:
- Gnome 46 (Working)
- Gnome 40 (Not supported)

Tasks

- [x] Implements a draft which get and provides the user theme to
components which needs it
- [x] Implements a way to call the callback function when the theme is
updated
- [X] Cleans the code

Release notes:
- N/A
```

## Parents

- [b1cfd46d3795454b38f6bad7aa09556305cb07f4](https://git.cafe/gitcafe/zed/commit/b1cfd46d3795454b38f6bad7aa09556305cb07f4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a84344a82e9a84bdd308f17cd4c6048282663c04?format=markdown)
