Compare commits

...

10 commits

Author SHA1 Message Date
Mattia Astorino
244a81c019
Update FUNDING.yml
Some checks failed
Release Extension / release (push) Has been cancelled
2024-08-07 22:02:15 +02:00
Mattia Astorino
081bcd7c3d
Update FUNDING.yml 2024-08-07 22:01:51 +02:00
Mattia Astorino
0c9892823a chore(release): 34.4.0 2024-06-12 10:11:39 +02:00
Mattia Astorino
22ec38f877 fix: peekView background
Closes #1297
2024-06-12 10:08:45 +02:00
Mattia Astorino
64acc5838d chore: vscode settings 2024-03-07 12:43:28 +01:00
Mattia Astorino
9c1313579c chore(release): 34.3.1
Some checks failed
Release Extension / release (push) Has been cancelled
2023-12-10 11:02:32 +01:00
Mattia Astorino
8fd5192d20 fix: add color support for constant placeholders inside strings
Closes #1291
2023-12-10 11:01:52 +01:00
Mattia Astorino
0b346725dc chore(release): 34.3.0
Some checks failed
Release Extension / release (push) Has been cancelled
2023-12-01 16:29:07 +01:00
Mattia Astorino
208599a91c fix: community version is not longer installed automatically 2023-12-01 16:28:54 +01:00
Mattia Astorino
d55d8ef3b8 chore: update readme 2023-12-01 09:22:31 +01:00
8 changed files with 46 additions and 15 deletions

2
.github/FUNDING.yml vendored
View file

@ -1,4 +1,4 @@
# These are supported funding model platforms
github: [equinusocio, lasalefamine]
open_collective: material-theme
polar: material-theme

View file

@ -18,15 +18,15 @@ jobs:
- uses: actions/checkout@v2
- name: Use Node Version 12
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
- name: Get npm cache directory
id: npm-cache-dir
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
@ -41,7 +41,7 @@ jobs:
- name: Build extension
run: npm run build
- uses: lannonbr/vsce-action@master
- uses: lannonbr/vsce-action@3.0.0
with:
args: "publish -p $VSCE_TOKEN"
env:

View file

@ -27,7 +27,7 @@
"editor.formatOnSave": false,
"eslint.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.codeActionsOnSaveTimeout": 2000
}

View file

@ -2,6 +2,27 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [34.4.0](https://github.com/material-theme/vsc-material-theme/compare/v34.3.1...v34.4.0) (2024-06-12)
### Bug Fixes
* peekView background ([22ec38f](https://github.com/material-theme/vsc-material-theme/commit/22ec38f877512228fd69a77423a3f33c6fea2b73)), closes [#1297](https://github.com/material-theme/vsc-material-theme/issues/1297)
### [34.3.1](https://github.com/material-theme/vsc-material-theme/compare/v34.3.0...v34.3.1) (2023-12-10)
### Bug Fixes
* add color support for constant placeholders inside strings ([8fd5192](https://github.com/material-theme/vsc-material-theme/commit/8fd5192d201365f9ece254e752812f030d4ca232)), closes [#1291](https://github.com/material-theme/vsc-material-theme/issues/1291)
## [34.3.0](https://github.com/material-theme/vsc-material-theme/compare/v34.2.0...v34.3.0) (2023-12-01)
### Bug Fixes
* community version is not longer installed automatically ([208599a](https://github.com/material-theme/vsc-material-theme/commit/208599a91c642ac3b4d7c45009b2ce7c26f48527))
## [34.2.0](https://github.com/material-theme/vsc-material-theme/compare/v33.11.0...v34.2.0) (2023-11-30)

View file

@ -21,7 +21,7 @@ The most epic theme meets Visual Studio Code.
- [Contributors](#contributors)
- [Backers](#backers)
- [Sponsors](#sponsors)
![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmineblocks.com%2F1%2Fwiki%2Fimages%2F5%2F59%2FEmpty.png&f=1&nofb=1&ipt=272d1bf6ef886b68f90fc4b76685cf3d69c29691db2a6136a83a4f99e53db919&ipo=images)
@ -77,6 +77,8 @@ Type `material theme`, choose `Material Theme: Set accent color`, and pick one c
Learn how to customize every part of this theme by using Visual Studio Code API. [Read more.](https://github.com/material-theme/vsc-material-theme/discussions/1274)
![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmineblocks.com%2F1%2Fwiki%2Fimages%2F5%2F59%2FEmpty.png&f=1&nofb=1&ipt=272d1bf6ef886b68f90fc4b76685cf3d69c29691db2a6136a83a4f99e53db919&ipo=images)
## Recommended settings for a better experience
```js

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "vsc-material-theme",
"version": "34.2.0",
"version": "34.4.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "vsc-material-theme",
"version": "34.2.0",
"version": "34.4.0",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {

View file

@ -2,7 +2,7 @@
"name": "vsc-material-theme",
"displayName": "Material Theme",
"description": "The most epic theme now for Visual Studio Code",
"version": "34.2.0",
"version": "34.4.0",
"publisher": "Equinusocio",
"license": "Apache-2.0",
"author": "Mattia Astorino [@equinusocio]",
@ -24,7 +24,6 @@
"url": "https://github.com/material-theme/vsc-material-theme/issues"
},
"extensionPack": [
"equinusocio.vsc-community-material-theme",
"equinusocio.vsc-material-theme-icons"
],
"engines": {

View file

@ -48,6 +48,15 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
* Override all syntax tokens
*/
customTokens: [
{
name: 'Constant Placeholder',
scope: [
'constant.other.placeholder'
],
settings: {
foreground: theme.scheme.base.red
}
},
{
name: 'Markup Deleted',
scope: [
@ -476,10 +485,10 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
* Peekview window style
*/
'peekView.border': theme.scheme.shadow,
'peekViewEditor.background': `${theme.scheme.foreground}05`,
'peekViewTitle.background': `${theme.scheme.foreground}05`,
'peekViewResult.background': `${theme.scheme.foreground}05`,
'peekViewEditorGutter.background': `${theme.scheme.foreground}05`,
'peekViewEditor.background': `${theme.scheme.inputBackground}`,
'peekViewTitle.background': `${theme.scheme.inputBackground}`,
'peekViewResult.background': `${theme.scheme.inputBackground}`,
'peekViewEditorGutter.background': `${theme.scheme.inputBackground}`,
'peekViewTitleDescription.foreground': `${theme.scheme.foreground}60`,
'peekViewResult.matchHighlightBackground': theme.scheme.selection,
'peekViewEditor.matchHighlightBackground': theme.scheme.selection,