Skip to content

Commit

Permalink
Use custom theme
Browse files Browse the repository at this point in the history
While fyne-io/fyne-x#68 is not merged, using my
own repository to have Adwaita theme + icons.
  • Loading branch information
metal3d committed Aug 31, 2023
1 parent 887185a commit 831baa7
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 50 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2 // indirect
)

replace fyne.io/x/fyne => github.com/metal3d/fyne-x v0.0.0-20230703123904-083362f6aec2
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ fyne.io/fyne/v2 v2.3.5/go.mod h1:fbrL+kwOQ6sdVhnURktTHIRIEXwysQSLeejyFyABmNI=
fyne.io/systray v1.10.1-0.20230602210930-b6a2d6ca2a7b/go.mod h1:oM2AQqGJ1AMo4nNqZFYU8xYygSBZkW2hmdJ7n4yjedE=
fyne.io/systray v1.10.1-0.20230722100817-88df1e0ffa9a h1:6Xf9fP3/mt72NrqlQhJWhQGcNf6GoG9X96NTaXr+K6A=
fyne.io/systray v1.10.1-0.20230722100817-88df1e0ffa9a/go.mod h1:oM2AQqGJ1AMo4nNqZFYU8xYygSBZkW2hmdJ7n4yjedE=
fyne.io/x/fyne v0.0.0-20230717140956-ad10f343f15e h1:OaVL2HrEnXZgc8uUJTjD6hiU53rqHXD+2v7avLPQl5c=
fyne.io/x/fyne v0.0.0-20230717140956-ad10f343f15e/go.mod h1:Ygr+Jy2eAg35VdG3qX9WDyTnj8ruxJX3M4eh+PjRsoE=
github.com/Andrew-M-C/go.jsonvalue v1.1.2-0.20211223013816-e873b56b4a84/go.mod h1:oTJGG91FhtsxvUFVwHSvr6zuaTcAuroj/ToxfT7Ox8U=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
Expand Down Expand Up @@ -226,6 +224,8 @@ github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPK
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2/go.mod h1:76rfSfYPWj01Z85hUf/ituArm797mNKcvINh1OlsZKo=
github.com/metal3d/fyne-x v0.0.0-20230703123904-083362f6aec2 h1:3Pjc2NNUNL6feCu+YUshWtNo+1mxtbH7OKjJ8BKv/No=
github.com/metal3d/fyne-x v0.0.0-20230703123904-083362f6aec2/go.mod h1:Ygr+Jy2eAg35VdG3qX9WDyTnj8ruxJX3M4eh+PjRsoE=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
Expand Down
22 changes: 16 additions & 6 deletions vendor/fyne.io/x/fyne/theme/adwaita.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 43 additions & 41 deletions vendor/fyne.io/x/fyne/theme/adwaita_colors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fyne.io/fyne/v2/widget
fyne.io/systray
fyne.io/systray/internal/generated/menu
fyne.io/systray/internal/generated/notifier
# fyne.io/x/fyne v0.0.0-20230717140956-ad10f343f15e
# fyne.io/x/fyne v0.0.0-20230717140956-ad10f343f15e => github.com/metal3d/fyne-x v0.0.0-20230703123904-083362f6aec2
## explicit; go 1.14
fyne.io/x/fyne/theme
# github.com/davecgh/go-spew v1.1.1
Expand Down Expand Up @@ -190,3 +190,4 @@ gopkg.in/yaml.v3
# honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2
## explicit
honnef.co/go/js/dom
# fyne.io/x/fyne => github.com/metal3d/fyne-x v0.0.0-20230703123904-083362f6aec2

0 comments on commit 831baa7

Please sign in to comment.