Skip to content

Commit

Permalink
Trim down bloated radio/check SVG and fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Apr 23, 2023
1 parent 991a6d4 commit ab4795b
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 220 deletions.
8 changes: 4 additions & 4 deletions theme/bundled-icons.go

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

2 changes: 1 addition & 1 deletion theme/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func main() {
bundleIcon("menu-expand", f)

bundleIcon("check-box", f)
bundleIcon("check-box-blank", f)
bundleIcon("check-box-checked", f)
bundleIcon("radio-button", f)
bundleIcon("radio-button-checked", f)

Expand Down
4 changes: 2 additions & 2 deletions theme/icons.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ var (
IconNameMenu: NewThemedResource(menuIconRes),
IconNameMenuExpand: NewThemedResource(menuexpandIconRes),

IconNameCheckButton: NewThemedResource(checkboxblankIconRes),
IconNameCheckButtonChecked: NewThemedResource(checkboxIconRes),
IconNameCheckButton: NewThemedResource(checkboxIconRes),
IconNameCheckButtonChecked: NewThemedResource(checkboxcheckedIconRes),
IconNameRadioButton: NewThemedResource(radiobuttonIconRes),
IconNameRadioButtonChecked: NewThemedResource(radiobuttoncheckedIconRes),

Expand Down
58 changes: 0 additions & 58 deletions theme/icons/check-box-blank.svg

This file was deleted.

9 changes: 9 additions & 0 deletions theme/icons/check-box-checked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 2 additions & 51 deletions theme/icons/check-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion theme/icons/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 2 additions & 52 deletions theme/icons/radio-button-checked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 2 additions & 51 deletions theme/icons/radio-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab4795b

Please sign in to comment.