Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use codicons in scm #92108

Merged
merged 2 commits into from Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
90 changes: 18 additions & 72 deletions extensions/git/package.json
Expand Up @@ -40,10 +40,7 @@
"command": "git.init",
"title": "%command.init%",
"category": "Git",
"icon": {
"light": "resources/icons/light/git.svg",
"dark": "resources/icons/dark/git.svg"
}
"icon": "$(add)"
},
{
"command": "git.openRepository",
Expand All @@ -59,37 +56,25 @@
"command": "git.refresh",
"title": "%command.refresh%",
"category": "Git",
"icon": {
"light": "resources/icons/light/refresh.svg",
"dark": "resources/icons/dark/refresh.svg"
}
"icon": "$(refresh)"
},
{
"command": "git.openChange",
"title": "%command.openChange%",
"category": "Git",
"icon": {
"light": "resources/icons/light/open-change.svg",
"dark": "resources/icons/dark/open-change.svg"
}
"icon": "$(compare-changes)"
},
{
"command": "git.openFile",
"title": "%command.openFile%",
"category": "Git",
"icon": {
"light": "resources/icons/light/open-file.svg",
"dark": "resources/icons/dark/open-file.svg"
}
"icon": "$(go-to-file)"
},
{
"command": "git.openFile2",
"title": "%command.openFile%",
"category": "Git",
"icon": {
"light": "resources/icons/light/open-file.svg",
"dark": "resources/icons/dark/open-file.svg"
}
"icon": "$(go-to-file)"
},
{
"command": "git.openHEADFile",
Expand All @@ -100,37 +85,25 @@
"command": "git.stage",
"title": "%command.stage%",
"category": "Git",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
}
"icon": "$(add)"
},
{
"command": "git.stageAll",
"title": "%command.stageAll%",
"category": "Git",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
}
"icon": "$(add)"
},
{
"command": "git.stageAllTracked",
"title": "%command.stageAllTracked%",
"category": "Git",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
}
"icon": "$(add)"
},
{
"command": "git.stageAllUntracked",
"title": "%command.stageAllUntracked%",
"category": "Git",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
}
"icon": "$(add)"
},
{
"command": "git.stageSelectedRanges",
Expand All @@ -146,37 +119,25 @@
"command": "git.stageChange",
"title": "%command.stageChange%",
"category": "Git",
"icon": {
"light": "resources/icons/light/stage.svg",
"dark": "resources/icons/dark/stage.svg"
}
"icon": "$(add)"
},
{
"command": "git.revertChange",
"title": "%command.revertChange%",
"category": "Git",
"icon": {
"light": "resources/icons/light/clean.svg",
"dark": "resources/icons/dark/clean.svg"
}
"icon": "$(discard)"
},
{
"command": "git.unstage",
"title": "%command.unstage%",
"category": "Git",
"icon": {
"light": "resources/icons/light/unstage.svg",
"dark": "resources/icons/dark/unstage.svg"
}
"icon": "$(remove)"
},
{
"command": "git.unstageAll",
"title": "%command.unstageAll%",
"category": "Git",
"icon": {
"light": "resources/icons/light/unstage.svg",
"dark": "resources/icons/dark/unstage.svg"
}
"icon": "$(remove)"
},
{
"command": "git.unstageSelectedRanges",
Expand All @@ -187,46 +148,31 @@
"command": "git.clean",
"title": "%command.clean%",
"category": "Git",
"icon": {
"light": "resources/icons/light/clean.svg",
"dark": "resources/icons/dark/clean.svg"
}
"icon": "$(discard)"
},
{
"command": "git.cleanAll",
"title": "%command.cleanAll%",
"category": "Git",
"icon": {
"light": "resources/icons/light/clean.svg",
"dark": "resources/icons/dark/clean.svg"
}
"icon": "$(discard)"
},
{
"command": "git.cleanAllTracked",
"title": "%command.cleanAllTracked%",
"category": "Git",
"icon": {
"light": "resources/icons/light/clean.svg",
"dark": "resources/icons/dark/clean.svg"
}
"icon": "$(discard)"
},
{
"command": "git.cleanAllUntracked",
"title": "%command.cleanAllUntracked%",
"category": "Git",
"icon": {
"light": "resources/icons/light/clean.svg",
"dark": "resources/icons/dark/clean.svg"
}
"icon": "$(discard)"
},
{
"command": "git.commit",
"title": "%command.commit%",
"category": "Git",
"icon": {
"light": "resources/icons/light/check.svg",
"dark": "resources/icons/dark/check.svg"
}
"icon": "$(check)"
},
{
"command": "git.commitStaged",
Expand Down
3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/check.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/clean.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/git.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/open-change.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/open-file.svg

This file was deleted.

4 changes: 0 additions & 4 deletions extensions/git/resources/icons/dark/refresh.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/stage.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/dark/unstage.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/check.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/clean.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/git.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/open-change.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/open-file.svg

This file was deleted.

4 changes: 0 additions & 4 deletions extensions/git/resources/icons/light/refresh.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/stage.svg

This file was deleted.

3 changes: 0 additions & 3 deletions extensions/git/resources/icons/light/unstage.svg

This file was deleted.

4 changes: 4 additions & 0 deletions src/vs/base/browser/ui/actionbar/actionbar.css
Expand Up @@ -45,6 +45,10 @@
display: inline-block;
}

.monaco-action-bar .action-item .codicon {
vertical-align: middle;
}

.monaco-action-bar .action-label {
font-size: 11px;
margin-right: 4px;
Expand Down