diff --git a/src/webviews/apps/welcome/components/svg-focus.ts b/src/webviews/apps/welcome/components/svg-focus.ts index 7cdf412..c55a709 100644 --- a/src/webviews/apps/welcome/components/svg-focus.ts +++ b/src/webviews/apps/welcome/components/svg-focus.ts @@ -8,7 +8,62 @@ export class BlameSvg extends LitElement { svgBase, icons, css` - :host { + text { + fill: var(--vscode-foreground); + font-size: 18px; + } + .heading { + font-weight: 600; + font-size: 20px; + } + + .codicon { + font-family: codicon; + cursor: default; + user-select: none; + } + + .glicon { + font-family: glicons; + cursor: default; + user-select: none; + } + .indicator-info { + fill: var(--vscode-problemsInfoIcon-foreground); + } + .indicator-warning { + fill: var(--vscode-problemsWarningIcon-foreground); + } + .indicator-error { + fill: var(--vscode-problemsErrorIcon-foreground); + } + .tabs { + } + .tab { + text-decoration: underline; + opacity: 0.8; + font-size: 16px; + cursor: pointer; + } + .row-box { + fill: var(--vscode-foreground); + opacity: 0; + } + .row:hover .row-box { + opacity: 0.06; + } + .link { + fill: var(--vscode-textLink-foreground); + cursor: pointer; + } + .link:hover { + text-decoration: underline; + } + .addition { + fill: var(--vscode-gitDecoration-addedResourceForeground); + } + .deletion { + fill: var(--vscode-gitDecoration-deletedResourceForeground); } `, ]; @@ -117,65 +172,6 @@ export class BlameSvg extends LitElement { - `; } diff --git a/src/webviews/apps/welcome/components/svg-workspaces.ts b/src/webviews/apps/welcome/components/svg-workspaces.ts index 9eaa5ab..4aeff04 100644 --- a/src/webviews/apps/welcome/components/svg-workspaces.ts +++ b/src/webviews/apps/welcome/components/svg-workspaces.ts @@ -8,7 +8,68 @@ export class BlameSvg extends LitElement { svgBase, icons, css` - :host { + text { + fill: var(--vscode-foreground); + font-size: 18px; + } + .header { + font-weight: 700; + } + + .codicon { + font-family: codicon; + cursor: default; + user-select: none; + font-size: 20px; + } + + .glicon { + font-family: glicons; + cursor: default; + user-select: none; + } + .desc { + font-size: 0.9em; + opacity: 0.6; + } + .small { + font-size: 0.9em; + } + .header-box { + fill: var(--vscode-sideBarSectionHeader-background); + } + .row-box { + fill: var(--vscode-list-hoverBackground); + opacity: 0; + } + .row { + cursor: pointer; + } + .row:hover .row-box { + opacity: 1; + } + .row-box-selected { + fill: var(--vscode-list-activeSelectionBackground); + stroke: var(--vscode-list-focusOutline); + stroke-width: 1; + } + .selected { + fill: var(--vscode-list-activeSelectionForeground); + } + .row:not(:hover) .row-actions { + display: none; + } + .link { + fill: var(--vscode-textLink-foreground); + } + .link:hover { + text-decoration: underline; + } + .addition { + fill: var(--vscode-gitDecoration-addedResourceForeground); + } + .deletion { + fill: var(--vscode-gitDecoration-deletedResourceForeground); } `, ]; @@ -25,17 +86,6 @@ export class BlameSvg extends LitElement { GITKRAKEN WORKSPACES - @@ -119,71 +169,6 @@ export class BlameSvg extends LitElement { - `; }