Compare commits
19 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3993b87f3d | ||
![]() |
8e6057db6a | ||
![]() |
3bb59faf7f | ||
![]() |
1014de4096 | ||
![]() |
c83c3583a9 | ||
![]() |
ce4f135b34 | ||
![]() |
79101728a8 | ||
![]() |
05772ea4c6 | ||
![]() |
527c8fc532 | ||
![]() |
2d09ed3a40 | ||
![]() |
c7dbdc5cfe | ||
![]() |
0315be254f | ||
![]() |
3dbac639d5 | ||
![]() |
fdb365c912 | ||
![]() |
0927710791 | ||
![]() |
2ae8e0dd9f | ||
![]() |
9c247bff07 | ||
![]() |
9e66548c8c | ||
![]() |
8f8bb727ed |
26 changed files with 107 additions and 7602 deletions
4
.github/FUNDING.yml
vendored
4
.github/FUNDING.yml
vendored
|
@ -1,4 +0,0 @@
|
|||
# These are supported funding model platforms
|
||||
|
||||
open_collective: material-theme
|
||||
polar: material-theme
|
77
.github/opencollective.yml
vendored
77
.github/opencollective.yml
vendored
|
@ -1,77 +0,0 @@
|
|||
# Collective
|
||||
# ----------
|
||||
|
||||
# Define the Open Collective you want to link the repository with.
|
||||
# Please use the Open Collective slug not the Open Collective URL.
|
||||
|
||||
collective: material-theme
|
||||
|
||||
# Examples
|
||||
|
||||
# collective: webpack
|
||||
|
||||
# Invalid examples
|
||||
|
||||
# collective: https://opencollective.com/webpack
|
||||
# collective: opencollective.com/webpack
|
||||
# collective: https://opencollective.com/webpack/contribute/backer-266
|
||||
|
||||
# Invitation
|
||||
# ----------
|
||||
|
||||
# Post a comment on issues created by non contributors.
|
||||
|
||||
invitation: |-
|
||||
Hey <author> :wave:,
|
||||
|
||||
Thank you for opening an issue. We will get back to you as soon as we can. Have you seen our Open Collective page? Please consider contributing financially to our project. This will help us involve more contributors and get to issues like yours faster.
|
||||
|
||||
<link>
|
||||
|
||||
> We offer `priority` support for all financial contributors. Don't forget to add `priority` label once you become one! :smile:
|
||||
|
||||
# To disable that feature, you can use the following syntax
|
||||
|
||||
# invitation: false
|
||||
|
||||
# Tiers
|
||||
# -----
|
||||
|
||||
# In this section you can define specific behavior for all supported tiers, ie: "backer" "and sponsor".
|
||||
|
||||
tiers:
|
||||
# # Uncomment this block if you want to activate a custom comment for people contributors to the "backer" tier
|
||||
# - tiers: ['backer']
|
||||
# labels: ['priority']
|
||||
# message: |-
|
||||
# Hey <author> :wave:,
|
||||
#
|
||||
# Thank you for being a "backer". We will handle your issue with priority support. To make sure we don't forget how special you are, we added a `priority` label to your issue.
|
||||
#
|
||||
# Thank you again for contributing :tada:!
|
||||
|
||||
# # Uncomment this block if you want to activate a custom commentfor people contributors to the "sponsor" tier
|
||||
# - tiers: ['sponsor']
|
||||
# labels: ['priority']
|
||||
# message: |-
|
||||
# Hey <author> :wave:,
|
||||
#
|
||||
# Thank you for being a "sponsor". We will handle your issue with priority support. To make sure we don't forget how special you are, we added a `priority` label to your issue.
|
||||
#
|
||||
# Thank you again for contributing :tada:!
|
||||
|
||||
# This rule will be catching any contributor whatever their tiers (also custom contributions)
|
||||
- tiers: '*'
|
||||
labels: ['priority']
|
||||
message: |-
|
||||
Hey <author> :wave:,
|
||||
|
||||
Thank you for contributing to our project financially. We will handle your issue with priority support. To make sure we don't forget how special you are, we added a `priority` label to your issue.
|
||||
|
||||
Thank you again for contributing :tada:!
|
||||
|
||||
# To disable that feature, you can use the following syntax
|
||||
|
||||
# tiers: []
|
||||
|
||||
|
338
CHANGELOG.md
338
CHANGELOG.md
|
@ -1,338 +0,0 @@
|
|||
# Changelog
|
||||
|
||||
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.5.0 (2024-11-27)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **#508:** add check for setting sync across devices ([#512](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/512)) ([f09de7a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f09de7a2970defaed43d8e293b4d3ac4e350e71b)), closes [#508](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/508)
|
||||
* A lot of new file icons and some old icons fixed ([014b76d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/014b76db5ddc0589e4948763d10d2bf3737068a0))
|
||||
* Add .asp, .aspx and .ascx file icon ([f7d4af0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f7d4af0a011815c74f06146f2c4ec95c854d076a)), closes [#96](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/96)
|
||||
* Add .browserlistrc file icon ([e069861](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e06986159a206df441219bcb705da5545052392b))
|
||||
* Add .env.development, .env.testing, .env.staging, .env-production to supported filenames ([#225](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/225)) ([cdeaa5f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/cdeaa5fcac8f03ebe702bab8a39b222785c613a4))
|
||||
* Add .gitlab-ci.yml file icon ([5b5c9ec](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5b5c9ec6231a6a38aaf116298936008ae1169b8c)), closes [#155](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/155)
|
||||
* Add .lnk file icon ([8aaabe8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8aaabe848c1d522811f76799979117ed367f5b95)), closes [#201](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/201)
|
||||
* Add .mjs file icon ([605b8bf](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/605b8bf92bf34b7638441754a701f44238b3d941)), closes [#93](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/93)
|
||||
* Add .yarnrc and .npmrc file icon ([f715cd0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f715cd08073d4b3bd831be1f61e44067e8e5355b))
|
||||
* Add a subtle highlight on tab hover ([405000e](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/405000e0871dff08d0525ff84af3b5cccd847fab))
|
||||
* Add build/dist folder icon ([668db44](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/668db44824678396c5aade584c86bc4a26456073)), closes [#6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/6)
|
||||
* Add ci folder icon ([a2ba7f8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a2ba7f8041dcb810baef61b5b64d0a7753bea181)), closes [#119](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/119)
|
||||
* Add colors for sidebar git.untracked and git.modified files ([3f1077d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3f1077d412c88fcc70f1c05e430abd87887cf86e))
|
||||
* Add graphql file icon ([ba18877](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ba188773c3ee1b258e4f3b7f6dd06c91a46ed821)), closes [#6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/6)
|
||||
* Add gulp icon to gulp-config.js files ([83c058f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/83c058f5db1980bb042436d12dd6299dc318368b)), closes [#128](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/128)
|
||||
* add highlight indicator color for notes ([58123b4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/58123b4ce813c409b06972d7550ccbb4df3d8589))
|
||||
* Add icon to source folders ([8cfc0a5](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8cfc0a5c6a7214e9db3c29813b17a18102c888ff))
|
||||
* Add icons to root folders ([3ad76f1](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3ad76f1894ab3da5f8227481daa82c30722c2791)), closes [#241](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/241)
|
||||
* Add laravel blade file icon ([f7070f4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f7070f4edda98bf64ab504304f9dd7baa10bd3af)), closes [#114](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/114)
|
||||
* Add lighter theme (wip) ([0f7d3c2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0f7d3c289aeafac48b3270dfa1e2236c4e43d43a))
|
||||
* Add Material Theme icon-theme ([7d3b7bd](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/7d3b7bd295c8fed73872c03e079998d72818e0fc))
|
||||
* Add mdx file icon ([d191329](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d191329cbfee6d6cdd83d639977f99dac51f34fe)), closes [#211](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/211)
|
||||
* Add mix.lock file icon ([46ff0f2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/46ff0f2d0f2aecc9200a41ee86235a79da6d83e9)), closes [#284](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/284)
|
||||
* add new Deep Forest variant ([3396bec](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3396bec8c64a9afd78acd87edba0c85d518582b9))
|
||||
* Add now icon to now.json files ([13a640f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/13a640fa2098a1db315e0d5d66d1cdfe1d4109af)), closes [#288](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/288)
|
||||
* Add puppet (.pp) file icon ([d2dc180](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d2dc180b93ef35ba058931442dfcc5f65c4eb9b3))
|
||||
* Add reason (.re, .rei) file icon ([384d8d2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/384d8d27a21a0fde69602ed598b1d3f373d120a8))
|
||||
* Add Rollup js file icon ([5755813](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5755813c9b24eeb0e7f0b2f46334729be3f3c028))
|
||||
* Add set italic style for keyword operators ([ea9b755](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ea9b7551ccf277b1ffe0dddcd31fd252e5521f97)), closes [#99](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/99)
|
||||
* Add sidebar git colors support ([0cf2007](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0cf20070c207ebdafc88a616b6e38eb8546ef1c9))
|
||||
* Add support for custom menus and menubar on Windows/Linux (vscode v1.26.0) ([681db67](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/681db679b94b83128065e2288651fe62fbbaae5b)), closes [#228](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/228)
|
||||
* Add support for tree's guidelines ([19a383f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/19a383fd0624b309fdcaee71320cf0f678da71df))
|
||||
* Add support to the new settings view ([1e6150b](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1e6150b826c05b486e1f7f92a2dc872a7f51c359))
|
||||
* add support to untrusted workspaces ([68e8e7c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/68e8e7cfa81f746ddf28cb44568df121da05876c))
|
||||
* Add tab active bottom border ([5bd1934](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5bd19346da4b8244d7ac14dff2d719d2ccc3f1ef)), closes [#88](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/88)
|
||||
* Add theme for the new settings view ([50b22c3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/50b22c3bbb180c9e54e9afa074dbeda0187b96e9))
|
||||
* Add zephyr file icon ([9e64343](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/9e64343be8dacb75bf08c14df3d6e64b20f47b28)), closes [#124](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/124)
|
||||
* added integration for VSC settings preview ([#242](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/242)) ([e783b1c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e783b1c67dea6061db17b011991ad4e61dec68c1))
|
||||
* added support for ext changelogs (WIP) ([#275](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/275)) ([751b763](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/751b7635b354fb5e20c12c3cad06ea8a5f6dbcda))
|
||||
* added support for ext changelogs (WIP) ([#275](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/275)) ([dd14b71](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/dd14b71121fd243d7706b9fc0f115a1b799a0573))
|
||||
* Adds "show changelog" command. ([038ded7](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/038ded7df1e3d053516018ce187d2b753cc3ab1c))
|
||||
* adds theme accents config. ([c648ab8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c648ab878a6e5d95743dcbdd7a3c8866c45d6860))
|
||||
* Adds theme changer command ([cb68fdc](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/cb68fdc5e3bd0f3d2bc09ba52f92e447b790fa8a))
|
||||
* align version ([c16d8b0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c16d8b080c4bbea654004186cefc751999152eaa))
|
||||
* first beta release ([b4dead1](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/b4dead10f106fc9146513c31b293848f2a9f156f))
|
||||
* first full theme implementation (wip) ([c3c42d4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c3c42d4d06f839acb42c6118fb0dbd03781b2a52))
|
||||
* Highlight line number on selected line ([cf69a74](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/cf69a74e4933f8952d8f70e07da6f535a821e559))
|
||||
* **Icons:** Add new filetype icons ([5bc8002](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5bc80021f427e340786de90a8034c3a305164701))
|
||||
* **Icons:** Add new icons ([3921218](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3921218751b09abfa075efe63dbcb349f7ea3e90))
|
||||
* Improve PHP support ([df892e4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/df892e4ae4319fca39e5e14b76953657ba8ecbc2))
|
||||
* Improve worckbench theme ([caff8ce](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/caff8ce8f9a8dfc2e3ca4ab23640790614cc55be))
|
||||
* Improve workbench theme ([c7c8038](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c7c80384400027153fb156bee911ee437aa601f2))
|
||||
* New command to disabling/disabling icons auto-applaying ([0fa2ac0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0fa2ac05410071fe2b94e3780a9f532d3f396c1d))
|
||||
* New folder icons ([2dfbaaa](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/2dfbaaa07194aa527bc789d6c835886dac820963)), closes [#61](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/61)
|
||||
* New High Contrast theme variants. ([79d68b3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/79d68b32580467bf7879a20b87cc99d6b64a2c03))
|
||||
* New redesigned icons for folders and add new scss, sass and css folder icon ([a293a6f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a293a6faa98f4fb88ce995cd385ec92cf89610ed))
|
||||
* New set of file icons with new and redesigned icons ([eb1c2ed](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/eb1c2ed659cf84183085d1b4754b02bc238d33bf))
|
||||
* New variants available: Ocean and Ocean High Contrast ([36333ad](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/36333adb497e7d46c8436dcd13fa536809d8afa0))
|
||||
* **Reload notification:** added support for after-install notification ([a42b3a0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a42b3a0f86136495b6bba9078d75a21b711907c6))
|
||||
* **Reload notification:** added support never show again notification ([440c104](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/440c1049cf8324d89434f26738e7b40bce3d38da))
|
||||
* Remove arrow icons beside folders in explorer view ([28006e5](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/28006e5227343d33454f427eb50b8c8fea74f653))
|
||||
* Update workbench theme ([6ddfaa9](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6ddfaa95fb69d5e820158772c779a969cabc6676))
|
||||
* wrap accent settings inside variant name ([#504](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/504)) ([596b6e6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/596b6e68a95b13c1809e16db7f89b0491f48f804))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* "Remove accents" command now will remove custom color conf ([#289](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/289)) ([8523874](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/85238745fe61b588b8b3f8f77d9a38a6531647fd))
|
||||
* **#312:** Fix color highlighting for meta.tag elements ([f3d9b6c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f3d9b6c079370db549509311cddfc7379b67faa4))
|
||||
* accent setter reborn ([#319](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/319)) ([6690264](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/66902647a261ddc99b3979f3e15ec75bd9c851e9))
|
||||
* Add .cabal file icon ([846bd9a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/846bd9ae6f3fe28af13a665b66c5e5ce9546f5ff))
|
||||
* Add .ex file icon ([b6eb130](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/b6eb130e1606940f107f08eea85c0c3024ccbfea)), closes [#60](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/60)
|
||||
* Add .nvmrc file icone ([93babd4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/93babd4e90900cad6663e676b0b1ee3dc95af6da))
|
||||
* add accent color to hovered resize borders ([43c2ba6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/43c2ba65f0e4b291ba58e9ca5baa367255784122))
|
||||
* Add accent color to progressbar ([4758c45](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4758c452cd335586cbd2093faa34ca0acea3ecf5)), closes [#56](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/56)
|
||||
* Add and update file icons ([ef9abab](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ef9abab78c59b23778c24ee04ae0b5e650833fbc))
|
||||
* Add babel icon to .babelrc files ([f2a64ab](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f2a64ab87e0da9a84f68268ba1d2c02ebb2a4cf5)), closes [#101](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/101)
|
||||
* Add babel icon to .babelrc.json files ([41fe77c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/41fe77c65551fe3c3c84d346361a1af8efc65b7e)), closes [#154](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/154)
|
||||
* Add borders to section headers for HC variants ([1bf6a0b](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1bf6a0be2e7dadea6a242c2e60216250b34aa48c))
|
||||
* Add bower icon ([3e73e1f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3e73e1fcc622fcc05ad433bd4e28c4b16f49ab96))
|
||||
* Add coldfusion file icon ([8f130d4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8f130d46142a7955c794e60367c1800d93041d5e)), closes [#222](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/222)
|
||||
* add color support for constant placeholders inside strings ([8fd5192](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8fd5192d201365f9ece254e752812f030d4ca232)), closes [#1291](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/1291)
|
||||
* Add dist folder icon ([a6600d2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a6600d22ed504a3add8f990071ce43b9dd50c6d8))
|
||||
* Add elm file icon ([05f26c8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/05f26c85c1ff1438670822712adff74b3997e6fb)), closes [#256](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/256)
|
||||
* Add file icon to .lock files ([a4c9d38](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a4c9d384c369107b8fd0cff29976f6af5d1dda5a)), closes [#250](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/250)
|
||||
* Add file icon to .todo files ([6703017](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6703017264eb6fb9bc44497cf63e6bd1aa77a396)), closes [#252](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/252)
|
||||
* Add handlebars file icon ([9abcad9](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/9abcad9851f567fd2f8620e162021b49a806e124)), closes [#268](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/268)
|
||||
* Add matlab file icon () ([cdaa9a0](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/cdaa9a0bf40111f75446483a4f45f60f6531d482)), closes [#267](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/267)
|
||||
* add more visible borders to HC variants ([fa4a198](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/fa4a19828be43033270d56ec05572100fc3a7502))
|
||||
* Add postcss icon to .pcss files ([9eac9c4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/9eac9c4618d1397e7cf2767726e4d47af667afe7)), closes [#107](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/107)
|
||||
* Add squigglies color ([8502a39](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8502a39f508c7b5a8a4e83ea9add882e4cfa1095)), closes [#56](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/56)
|
||||
* Add support for the new notifications UX ([008bac1](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/008bac132a5b5a6efcc040356c15ee03f3e4279a))
|
||||
* Add support to the new dirty tab indicator ([4dfc8ec](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4dfc8ec05cc27acbfbd1c27446a3b291c37b0385)), closes [#290](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/290)
|
||||
* Add support to the new FilterWidget. Fix [#316](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/316). ([d95cd71](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d95cd71acee5c2ad4f8a48bc749c7e1942aa50d8))
|
||||
* Add test folder icon ([0a73ce4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0a73ce4a15c27bcc04ebb515eed51394a555f07d))
|
||||
* Add webpack icon to all configuration files ([91c2010](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/91c2010a5e19709b9779f0ed348829df90dd665b))
|
||||
* **build:** first build icons folder ([#161](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/161)) ([761f426](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/761f42620014c9fbd6f8e30d3d06cf544a4bd37c))
|
||||
* **changelog-command:** fixing ext name for markdown ([#164](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/164)) ([974ce25](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/974ce25a6da538d9783cf041ab2aa1f0f5849453))
|
||||
* check on theme icon variant ([#291](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/291)) ([977be34](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/977be340cb458a579b6866c04b8e4a6cfebef690))
|
||||
* community version is not longer installed automatically ([208599a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/208599a91c642ac3b4d7c45009b2ce7c26f48527))
|
||||
* Extend graphql support for file icon ([e98cb88](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e98cb888bf84be1a1f6e36cd15f638781f10b508)), closes [#226](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/226)
|
||||
* Fix background color for highlighted searched string ([060d24d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/060d24dd23cbf7e1e047c4bfa19becb6fa920e76)), closes [#4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/4)
|
||||
* Fix bracket match border color ([4f778f1](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4f778f163dfde44b181c827a672b10b26f8aaf4d))
|
||||
* Fix brackets color (punctuation.class...). Fix [#76](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/76) ([02d20b7](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/02d20b7cfbe2f721974ea4ac1c58d743834e10b6))
|
||||
* Fix breadcrumb theme ([e2d6fd5](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e2d6fd5104f029c984388beffd4fb52a8fa224da))
|
||||
* Fix C file icon ([8a5a331](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8a5a331fb450cc12d8b2082c963e335ffd6932e4)), closes [#46](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/46)
|
||||
* Fix comment punctuation highlight ([e241a62](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e241a62161a905d385d697c2fae1e28d667747ca))
|
||||
* Fix constants color in php language ([444cf9a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/444cf9a979edbf562eb6d1b0cb5540f624d86cb9)), closes [#138](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/138)
|
||||
* fix css properties name color ([02b0ba5](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/02b0ba509dd34148b8b72b31a763474d2dcadfba))
|
||||
* Fix custom menu foreground color (Win/Linux) ([d14e343](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d14e343ad0ef35f3c13f570ed494a9c307a9a96a)), closes [#239](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/239)
|
||||
* Fix editor marker navigation color ([16230f2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/16230f2ee39f742b616bf8e6126a46e4c274ad6b))
|
||||
* Fix editor rule color ([2732da4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/2732da498d87bcde529308c1c1ed7c2a22194e45)), closes [#125](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/125)
|
||||
* Fix find widget border color ([bcd9667](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/bcd9667972cb5ab9af0ed4e0e0a8dff8e0af8ccc)), closes [#218](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/218)
|
||||
* Fix folder icon color ([81c03e6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/81c03e624e1ce912601f166c5d716dc050006e38))
|
||||
* Fix highlight backgrounds in PeekView ([b66e88e](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/b66e88e1db711db22121c5bfbd769a8c622592ab))
|
||||
* Fix inactive group inactive tab foreground ([2d52311](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/2d52311a8bba8cda8d4494285b37016fd94c36f1)), closes [#47](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/47)
|
||||
* Fix input validation colors contrast ([30df0a6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/30df0a66bc776d867fbe708520ddcffd3f04bd73))
|
||||
* Fix inputs placeholder color ([6d5cef6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6d5cef66845699c246eb0f9ccce815f93a617f44))
|
||||
* Fix inputs selection background ([228a44c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/228a44c2931f717950375ed622ce9b4ba87995bd)), closes [#362](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/362)
|
||||
* Fix invalids color highlight ([100397c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/100397c1875818b4c76eb1a2c60993cbb59bd2da)), closes [#40](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/40)
|
||||
* fix lighter scheme colors ([2ba1c0d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/2ba1c0d795e2cb2695d925a06a74019568c0af63))
|
||||
* Fix meta.function-call highlight ([89afb87](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/89afb87ab55e88d58e9604c73bf6463c21e69d78))
|
||||
* Fix missing commands ([0f925af](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0f925af518de2a7bfd0b1614653b6cd3a5435d95))
|
||||
* Fix missing coommands ([746625e](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/746625e2e6f54df9d20cd190cc1a3926080f5c92)), closes [#249](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/249)
|
||||
* Fix notification bar badge colors ([a3428ab](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a3428ab8121215062d936c3ca147fb2a5ee0ef6c))
|
||||
* Fix notification bar foreground on Lighter ([c177e46](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c177e463342184a60ea5e7fc2b6f671acbf9135e)), closes [#34](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/34)
|
||||
* Fix notifications background. Close [#143](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/143) ([8981088](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8981088fcb112faffe669b39558e9202dfde9d5c)), closes [#142](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/142)
|
||||
* Fix opened folder icon ([40700ca](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/40700ca0e0498ce072fdfb2edd661129c4a09bc2)), closes [#1](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/1)
|
||||
* Fix punctuation color ([1e549ef](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1e549eff08d320f75a74d7e78aca539ddc2cd987)), closes [#332](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/332)
|
||||
* Fix punctuation color regression ([306d6d7](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/306d6d738008f33b8afea55edd0fd867ec0a357a))
|
||||
* Fix python docstrings color to match comments ([96d0176](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/96d017657d8d0eb4a5093085c4d096de8db519a9)), closes [#296](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/296)
|
||||
* Fix python special var parameter color ([027b342](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/027b34249aa35fc541b458abb4a01e0fce003152)), closes [#57](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/57)
|
||||
* fix quickpanel foreground color ([251f601](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/251f601cfd610cbcde71634332d9d04c4b410617)), closes [#469](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/469)
|
||||
* Fix rust file icon association ([c4e1dbe](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c4e1dbe10682e7480d42a88a14beb3a712602cb1))
|
||||
* Fix search highlight matched result color ([0a66c2c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0a66c2c06acd296fc0e1cb848956dc99c9daeffb)), closes [#358](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/358)
|
||||
* Fix selectionHighlightBackground color ([9578f38](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/9578f38a947b7816f1bce469555fbd7c41692d78)), closes [#38](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/38)
|
||||
* Fix settings colors ([e325007](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e3250078ce3b0d3ee7d12ec40751a34beddf4ddb))
|
||||
* Fix show changelog command ([370a4d9](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/370a4d9d9e772674c108fc46230f4defc7cc478f))
|
||||
* Fix some file and folder icons ([b927646](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/b9276468291b4f6fb6d920956df14072038d3303))
|
||||
* Fix some icon colors and add haxe file icon ([04e7db8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/04e7db8ee552ab64fe76c734ce11f64d6a0db86a))
|
||||
* Fix some workbench input graphic glitches ([bbd8a2d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/bbd8a2d72eddda9dd884e19cb5d80df848a75687))
|
||||
* Fix squiggles colors to match overview rulers ([532a664](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/532a664b09bca4ad98b714360d84f8e14c342570)), closes [#336](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/336)
|
||||
* Fix squiggles visibility ([0900c30](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0900c30a7e6f5f6d290329476ae11344c7d29bab)), closes [#70](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/70)
|
||||
* Fix statubar item hover background ([c19ab43](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c19ab432b044cd3497172df6ab707be5f8aa3538))
|
||||
* Fix status bar hover item background on Lighter variant. ([27624fa](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/27624facde3921a8426549057743d82cf2030f2b))
|
||||
* Fix statusbar background when no project opened ([d0a7cbc](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d0a7cbc05d7ac961516d0ae752581f5260f75245)), closes [#27](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/27)
|
||||
* Fix terminal cursor color ([8912ca3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8912ca384e9adbbee487fd6c849e2ba49df7290a))
|
||||
* Fix terminal.ansiBlack color ([86def00](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/86def00fd7a3bdf4c7cf9b483581b58322f0e30a)), closes [#180](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/180)
|
||||
* Fix the waterfall of bleed words ([6d001c4](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6d001c49474624e9f72d603e5cdb6d49a8b8c4ea)), closes [#44](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/44)
|
||||
* Fix the waterfall of blooding words ([8b62470](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/8b62470290eb49acdbe2f99b6029f14b624be40c)), closes [#44](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/44)
|
||||
* Fix theme variants and settings reload ([ada03ed](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ada03ed759b9b4ce3170d92716dfe34a308b116e))
|
||||
* Fix titlebar contrast color ([74e0456](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/74e04565127ebbd7c3daca5dcfb5664d9f10af26))
|
||||
* Fix tree selected foreground when sidebar is inactive ([351cd20](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/351cd20bb5fe3dec51e9baf8f21b4e62f6038260))
|
||||
* Fix ts icon color ([4c851ea](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4c851ea50e6c2bd3debff750da46356df95a2224)), closes [#172](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/172)
|
||||
* Fix var hover background ([a8fee8c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a8fee8c6b24f28be18c8390fb20d5914946b4bb6)), closes [#3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/3)
|
||||
* Fix whitespace characters visibility ([43357ce](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/43357cebe636f8742f3149573c477f46a9e84a35)), closes [#167](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/167)
|
||||
* Fix windows/linux custom menu item hovered background ([dc00744](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/dc007442d83dba2cc7a3ec37ab6d6dbf3055c659)), closes [#245](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/245)
|
||||
* Fix wrong gutter indicator for add line. Close 89 ([83df9f9](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/83df9f9b28eff7ddaadacf847cc6a7edfce72cf1))
|
||||
* fix: add basic markup highlight ([420341c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/420341c3837f830a1be1acfcd17a0fc28c13f06d)), closes [#514](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/514)
|
||||
* Fixed same color for parameters and numerics ([bc204bc](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/bc204bcc29b60f15fe2b93cca48259eeeac26c7b))
|
||||
* Fixed same color for parameters and numerics ([91c0430](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/91c0430ed7048f20048053fa869a17fff9219839))
|
||||
* Fixes an issues with the old settings "materialTheme.cache.workbench.accent". ([6c2ce83](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6c2ce83be8fefddcf81c664d251bfdd824d02ac0))
|
||||
* Fixes an unhandled undefined, which causes theme to break (issue [#69](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/69)). ([14a471f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/14a471fd0fe2736f255777fcbb49f1c877019864))
|
||||
* **folder-accent:** removed useless method and fix accent custom conf ([#169](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/169)) ([6992a38](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6992a38e1c619f295a5b3d1d5cb1287be6b5a466))
|
||||
* **Icons:** Add icon to .spec.ts files ([fad5e29](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/fad5e2996ef0f6d6b09e1942c90c73a0d456a38d))
|
||||
* **Icons:** Fix .ts and def ts icons ([4c0cf00](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4c0cf0063b1af806f683059df069979e798a13b9)), closes [#10](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/10)
|
||||
* Improve ansi colors (integrated terminal) ([d1fa94f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d1fa94fbf15e273ad78f3e2fc777656f51a5b966))
|
||||
* improve C# highlight ([c72c314](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c72c314d7d4a099f897805d6c65f17ece64aee8c)), closes [#26](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/26)
|
||||
* Improve c++ syntax highlight ([1a927d6](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1a927d6dc82f6aae4be8f1033f89a25c163704de))
|
||||
* improve color contrast on lighter variants ([d8d6647](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d8d66479304d0936f2824584b097ad1f9ca31e71))
|
||||
* Improve find highlight ([4f70e18](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4f70e18cc76d34bc205bc4e11c9ab1f92123e074))
|
||||
* improve functions colors ([fa5322f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/fa5322f319ddec67ae18faeaac57f37b7393f4ca))
|
||||
* Improve JSX text readability ([1efecfe](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1efecfe36b9e3063f4545c8706f4cb37ce797322))
|
||||
* Improve markdown highlight ([dc9a6fa](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/dc9a6faf41b0906abe7db7f2556520f84fd2b83a)), closes [#113](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/113)
|
||||
* Improve Ocean colors contrast ([f10cf31](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f10cf31cb0e2c55311f1e2ecf594f3371c2f227e))
|
||||
* Improve panels titles ([905e99a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/905e99ae01aacb35d9fd21db6748832a0208d64a)), closes [#208](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/208)
|
||||
* Improve scrollbar contrast ([92314b5](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/92314b5d74729cab729b49edc6318b2ae8d984e9)), closes [#262](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/262)
|
||||
* Improve sidebar colorization ([9cf9f34](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/9cf9f34a2a455ab43ba382c44d0b67a6e9162297))
|
||||
* Improve sidebar tree coloring ([4993587](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4993587d42472339265db0f660e7bfbc90913e89))
|
||||
* Improve src folder icon ([e06b881](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e06b881e4ab2c1ce342f84c72ed4e5d867e37ecb))
|
||||
* Improve tab inactive foreground contrast ([c3d0b82](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c3d0b82921d3b78d7eb7b85fe6640b8d50d79d2b)), closes [#94](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/94)
|
||||
* Improve tree colors (wip) ([d9a1f2c](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d9a1f2cc0656968aa1a50e23423aa307022e4591)), closes [#26720](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/26720)
|
||||
* Improve workbench theme and colors ([4798102](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4798102b55d989f6dd807b0824de2c52b88f9f7d))
|
||||
* increase default variant line numbers contrast ([1bbf065](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1bbf0658280131c3c8f2dd1b044457d3e4ad783d))
|
||||
* input selection background ([20b2a0a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/20b2a0aac070b7625c96a1ce922093dcb198c84f))
|
||||
* input validation borders opacity ([e6d8c3f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e6d8c3f27344f56269d89612d4c2cbf4b5b01e4f)), closes [#481](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/481)
|
||||
* internal variants names ([a2cf8dc](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a2cf8dc4480f655dd757a33108990f4c7bc52ca4))
|
||||
* **Lighter:** Fix folders icon association ([b2c8be8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/b2c8be8f266f7bf99c6c2d411d022a4738c0d028))
|
||||
* minor fixes ([fed7318](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/fed7318ed684ff0f0ac750b97da009f11daf16e1))
|
||||
* Minor UI fixes ([65a18e8](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/65a18e818afc1df333537b70ad0aa1c596b26771))
|
||||
* New bower_components folder icon ([adcb304](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/adcb3046246864eda2341b72df6f94136ec7f310))
|
||||
* Panel hover borders ([a83dfcb](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a83dfcbcbf3aea35fdf807ffb4ae0ee515462bed))
|
||||
* peekView background ([22ec38f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/22ec38f877512228fd69a77423a3f33c6fea2b73)), closes [#1297](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/1297)
|
||||
* prominent button foreground ([5ab1990](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5ab19901a498f1954af0e7f7dd7d4075c03b5b74)), closes [#1266](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/1266)
|
||||
* remove sponsor ([938d2aa](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/938d2aacbea49d7cb003d24e4c0e4197f88fa2cc))
|
||||
* Remove support for old setting modified indicator. Ref [#254](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/254) ([78a6df3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/78a6df31816d950df10733f9df99484fa40f7d3c))
|
||||
* revert id on package json for conflict ([#292](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/292)) ([678d5c3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/678d5c3e97ae7a2ff5affdada907e00f97c9804d))
|
||||
* Style welcome page links ([e873530](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/e873530b04ace59b535a9a6a94ddb8eb8a38fa2c))
|
||||
* Switched webviews to correct folder ([ed63525](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ed63525f12649dde3a118f790c873f2ed92db428))
|
||||
* Temporary fix buttons background ([f97d06a](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/f97d06af93ee36857d1cb1da0c088b66fed9b3e3)), closes [#37](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/37)
|
||||
* Temporary fix to git edited file background when list is inactive ([6b1925e](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/6b1925e6f31b33eaf1e59da794773e138c3e0fe6)), closes [#132](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/132)
|
||||
* theme name and ids ([117aa96](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/117aa96840c63dc4313de6903760588b7f045d2c))
|
||||
* tweak deep forest syntax colors ([963d886](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/963d8869c3356b46260425bf5c4d9cb6b764caf9))
|
||||
* type scopes highlight ([ae7cfd2](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ae7cfd273516b0c91eae7700b32462346d3d36ec))
|
||||
* Update .git folder icon ([2f37966](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/2f3796600abf799b064c6fe8704ed1cb0159b12b))
|
||||
* Update .github folder icon ([d371804](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/d3718043d02dbd1d56d8ba7d91433ddd62c5425a))
|
||||
* update activationEvents ([c40e490](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/c40e49047d63eabe40c55c8cee45966f633cac14))
|
||||
* Update generator and made new groups ([4b1db4e](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4b1db4e3fe8c205c31753844efaa66d922155da8))
|
||||
* Update gutter line colors. Fix [#79](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/79) ([0298a59](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/0298a5961ba0d0dda6fb9109ac715a70053ede63))
|
||||
* Update json icon ([ce30ff7](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ce30ff73bef0c9c1b36b164e28b4d7e2800c981c))
|
||||
* Update main field of package.json ([#130](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/130)) ([40dd529](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/40dd5298998bf484a68076b622215f034f4fb173))
|
||||
* Update package-lock.json and yarn.lock file icons ([7136700](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/7136700933683b349f0135097e0a6151c779ae73)), closes [#108](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/issues/108)
|
||||
* update readme ([1ecf2aa](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/1ecf2aa1c09430b6a4c3c23d8738c8a1b059480f))
|
||||
* update readme ([a18c6ed](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/a18c6edbc2f7cbddd0b18def776423711e3c7814))
|
||||
* update sidebar contrast for some variants ([ba6160f](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/ba6160f9ffebed8d66cd483b6e599109a6455144))
|
||||
* Update some file icons ([cf2a1ee](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/cf2a1ee7ab0de35ba3538019079f0b5707e5d96d))
|
||||
* update theme keys for upcoming vscode 1.54 ([4445f3d](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/4445f3db12fb77060bdbeeb4ffca0e59f849200e))
|
||||
* Update workbench theme ([232d1e3](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/232d1e32358fcc3d46a7bd7dce7732c127042589))
|
||||
* **update-icons:** added command for update icons ([3d11191](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/3d111910c74aea983c6343bd145cec0e8db7126a))
|
||||
* **update-icons:** set icons when choose or activate material theme ([5d8bfa7](https://github.com/t3dotgg/vsc-material-but-i-wont-sue-you/commit/5d8bfa7f2ff06e810cc69680c18e21e1e25fcd84))
|
||||
|
||||
## [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)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* align version ([c16d8b0](https://github.com/material-theme/vsc-material-theme/commit/c16d8b080c4bbea654004186cefc751999152eaa))
|
||||
|
||||
## [33.11.0](https://github.com/material-theme/vsc-material-theme/compare/v33.10.5...v33.11.0) (2023-11-30)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update sidebar contrast for some variants ([ba6160f](https://github.com/material-theme/vsc-material-theme/commit/ba6160f9ffebed8d66cd483b6e599109a6455144))
|
||||
|
||||
### [33.10.5](https://github.com/material-theme/vsc-material-theme/compare/v33.10.4...v33.10.5) (2023-08-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* internal variants names ([a2cf8dc](https://github.com/material-theme/vsc-material-theme/commit/a2cf8dc4480f655dd757a33108990f4c7bc52ca4))
|
||||
|
||||
### [33.10.4](https://github.com/material-theme/vsc-material-theme/compare/v33.10.3...v33.10.4) (2023-08-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove sponsor ([938d2aa](https://github.com/material-theme/vsc-material-theme/commit/938d2aacbea49d7cb003d24e4c0e4197f88fa2cc))
|
||||
|
||||
### [33.10.3](https://github.com/material-theme/vsc-material-theme/compare/v33.10.2...v33.10.3) (2023-08-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add accent color to hovered resize borders ([43c2ba6](https://github.com/material-theme/vsc-material-theme/commit/43c2ba65f0e4b291ba58e9ca5baa367255784122))
|
||||
|
||||
### [33.10.2](https://github.com/material-theme/vsc-material-theme/compare/v33.10.1...v33.10.2) (2023-08-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* theme name and ids ([117aa96](https://github.com/material-theme/vsc-material-theme/commit/117aa96840c63dc4313de6903760588b7f045d2c))
|
||||
|
||||
### [33.10.1](https://github.com/material-theme/vsc-material-theme/compare/v33.10.0...v33.10.1) (2023-08-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* tweak deep forest syntax colors ([963d886](https://github.com/material-theme/vsc-material-theme/commit/963d8869c3356b46260425bf5c4d9cb6b764caf9))
|
||||
|
||||
## [33.10.0](https://github.com/material-theme/vsc-material-theme/compare/v33.9.0...v33.10.0) (2023-08-26)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add new Deep Forest variant ([3396bec](https://github.com/material-theme/vsc-material-theme/commit/3396bec8c64a9afd78acd87edba0c85d518582b9))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add more visible borders to HC variants ([fa4a198](https://github.com/material-theme/vsc-material-theme/commit/fa4a19828be43033270d56ec05572100fc3a7502))
|
||||
* increase default variant line numbers contrast ([1bbf065](https://github.com/material-theme/vsc-material-theme/commit/1bbf0658280131c3c8f2dd1b044457d3e4ad783d))
|
||||
|
||||
## [33.9.0](https://github.com/material-theme/vsc-material-theme/compare/v33.8.1...v33.9.0) (2023-08-11)
|
||||
|
||||
### [33.8.1](https://github.com/material-theme/vsc-material-theme/compare/v33.7.1...v33.8.1) (2023-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* prominent button foreground ([5ab1990](https://github.com/material-theme/vsc-material-theme/commit/5ab19901a498f1954af0e7f7dd7d4075c03b5b74)), closes [#1266](https://github.com/material-theme/vsc-material-theme/issues/1266)
|
||||
|
||||
## [33.8.0](https://github.com/material-theme/vsc-material-theme/compare/v33.7.0...v33.8.0) (2023-03-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* update readme ([1ecf2aa](https://github.com/material-theme/vsc-material-theme/commit/1ecf2aa1c09430b6a4c3c23d8738c8a1b059480f))
|
||||
|
||||
## [33.7.0](https://github.com/material-theme/vsc-material-theme/compare/v33.6.0...v33.7.0) (2023-03-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* minor fixes ([fed7318](https://github.com/material-theme/vsc-material-theme/commit/fed7318ed684ff0f0ac750b97da009f11daf16e1))
|
||||
* update readme ([a18c6ed](https://github.com/material-theme/vsc-material-theme/commit/a18c6edbc2f7cbddd0b18def776423711e3c7814))
|
||||
|
||||
## [33.7.0](https://github.com/material-theme/vsc-material-theme/compare/v33.6.0...v33.7.0) (2022-12-01)
|
|
@ -117,5 +117,8 @@ Now you can re-build the theme and just run the debug, you will see your command
|
|||
|
||||
### Contributors
|
||||
|
||||
Thank you to all the people who have already contributed to vsc-material-theme!
|
||||
<a href="graphs/contributors"><img src="https://opencollective.com/vsc-material-theme/contributors.svg?width=890" /></a>
|
||||
Thank you to all the people who have already contributed to vsc-material-but-i-wont-sue-you!
|
||||
|
||||
## Attribution
|
||||
|
||||
The code in this project was [previously hosted at this url](https://github.com/material-theme/vsc-material-theme), but the original author has wiped all history of it, making it incredibly hard to credit him and the other original contributors. Full credit has been preserved in the git history here to our best ability.
|
||||
|
|
5
LICENSE
5
LICENSE
|
@ -186,7 +186,10 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2017 Mattia Astorino
|
||||
Copyright 2025 Theo Browne
|
||||
Copyright and license for original Material Theme project can be found at
|
||||
|
||||
https://github.com/Dramaga11/vsc-material-theme/blob/main/LICENSE
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
29
README.md
29
README.md
|
@ -1,15 +1,18 @@
|
|||
|
||||
# Material Theme (But I won't sue you)
|
||||
|
||||
So, uh, the guy who made the VS Code Material Theme is threatening everyone who uses it in their products. He [seems to have forgotten it was originally licensed under the Apache License, 2.0.](). He wiped the commit history to make it look like it was always his weird fake license.
|
||||
> **Note:** The original Material Theme has been removed from the marketplace due to [distributing malware through their extensions](https://news.ycombinator.com/item?id=43181591). This fork has been thoroughly audited and is completely safe to use. I have personally audited every line, and removed a TON of unnecessary stuff to be sure. The VS Code team is auditing it as well just to be extra safe.
|
||||
|
||||
So, uh, the guy who made the VS Code Material Theme is threatening everyone who uses it in their products. He [seems to have forgotten it was originally licensed under the Apache License, 2.0.](https://github.com/Dramaga11/vsc-material-theme/blob/main/LICENSE). He wiped the commit history to make it look like it was always his weird fake license. Check out my [blog post for more info](https://t3.gg/blog/post/equinusocio).
|
||||
|
||||
What he has done is fraudulent and shameful. I have created this fork to maintain the original license and keep the project alive.
|
||||
|
||||
I permit you to do whatever you want with this code as long as it follows the original license. I won't sue you for it. I promise.
|
||||
|
||||
Sources:
|
||||
- [Attack post](https://dev.to/equinusocio/you-should-avoid-zed-editor-59n1) ([archive](https://archive.ph/PlljZ))
|
||||
- [Attack on Zed post](https://dev.to/equinusocio/you-should-avoid-zed-editor-59n1) ([archive](https://archive.ph/PlljZ))
|
||||
- [Github Discussions attack on Zed](https://github.com/zed-industries/extensions/issues/1645) ([archive](https://archive.ph/5hZyK))
|
||||
- [Attack on Package Control (Sublime Text) post](https://dev.to/equinusocio/why-you-should-avoid-sublime-text-2c73) ([archive](https://archive.ph/IlN6D))
|
||||
|
||||
## Table of contents
|
||||
|
||||
|
@ -30,7 +33,7 @@ The most epic theme meets Visual Studio Code.
|
|||
|
||||
## Getting started
|
||||
|
||||
You can install this awesome theme through the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme). <a href="https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme#review-details"><img src="https://img.shields.io/badge/marketplace-gray.svg?colorA=655BE1&colorB=4F44D6&style=flat-square"/></a>
|
||||
You can install this awesome theme through the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=t3dotgg.vsc-material-theme-but-i-wont-sue-you). <a href="https://marketplace.visualstudio.com/items?itemName=t3dotgg.vsc-material-theme-but-i-wont-sue-you"><img src="https://img.shields.io/badge/marketplace-gray.svg?colorA=655BE1&colorB=4F44D6&style=flat-square"/></a>
|
||||
|
||||
### Installation
|
||||
|
||||
|
@ -42,11 +45,10 @@ Launch *Quick Open*:
|
|||
Paste the following command and press `Enter`:
|
||||
|
||||
```shell
|
||||
ext install equinusocio.vsc-material-theme
|
||||
ext install t3dotgg.vsc-material-theme-but-i-wont-sue-you
|
||||
```
|
||||
|
||||
And pick the one by **Mattia Astorino (Equinusocio)** as author.
|
||||
|
||||
And pick the one by **Theo (t3dotgg)** as author.
|
||||
|
||||
## Activate theme
|
||||
|
||||
|
@ -86,17 +88,6 @@ Learn how to customize every part of this theme by using Visual Studio Code API.
|
|||
}
|
||||
```
|
||||
|
||||
## Official Portings
|
||||
## Attribution
|
||||
|
||||
You can find all the official portings and resources [here](https://github.com/material-theme/vsc-material-theme/discussions/1279).
|
||||
|
||||
## Want to use the legacy version?
|
||||
|
||||
If you're looking for the deprecated Community Material Theme [you can find it here](https://github.com/material-theme/vsc-material-theme/discussions/1278). This version has been deprecated and removed from the official marketplace.
|
||||
|
||||
## Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md).
|
||||
<a href="graphs/contributors"><img src="https://opencollective.com/material-theme/contributors.svg?width=890" /></a>
|
||||
|
||||
<p align="center"><a href="http://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-5E81AC.svg?style=flat-square"/></a></p>
|
||||
The code in this project was [previously hosted at this url](https://github.com/material-theme/vsc-material-theme), but the original author has wiped all history of it, making it incredibly hard to credit him and the other original contributors. Full credit has been preserved in the git history here to our best ability.
|
||||
|
|
BIN
logo.png
BIN
logo.png
Binary file not shown.
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 237 KiB |
6491
package-lock.json
generated
6491
package-lock.json
generated
File diff suppressed because it is too large
Load diff
43
package.json
43
package.json
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "vsc-material-theme-but-i-wont-sue-you",
|
||||
"displayName": "Material Theme (But I Won't Sue You)",
|
||||
"description": "The most epic theme now for Visual Studio Code",
|
||||
"version": "34.5.0",
|
||||
"publisher": "Theo",
|
||||
"description": "A Apache-2 licensed fork of Material Theme with no threats of legal action",
|
||||
"version": "35.0.2",
|
||||
"publisher": "t3dotgg",
|
||||
"license": "Apache-2.0",
|
||||
"author": "Theo",
|
||||
"icon": "logo.png",
|
||||
|
@ -23,20 +23,15 @@
|
|||
"vscode": "^1.51.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "run-s cleanup build:ts build:generate-themes build:ui",
|
||||
"build": "run-s cleanup build:ts build:generate-themes",
|
||||
"cleanup": "rimraf build && rimraf dist",
|
||||
"lint": "eslint .",
|
||||
"build:ui": "node dist/scripts/ui/index.js",
|
||||
"build:generate-themes": "node dist/scripts/generator/index.js",
|
||||
"build:ts": "tsc -p ./tsconfig.json && ncp dist/src/ build && ncp material-theme.config.json build",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install && tsc -p tsconfig.json",
|
||||
"release": "git pull && standard-version --release-as minor && git push --follow-tags",
|
||||
"release:patch": "git pull && standard-version --release-as patch && git push --follow-tags",
|
||||
"release:major": "git pull && standard-version -release-as major && git push --follow-tags"
|
||||
"postinstall": "node ./node_modules/vscode/bin/install && tsc -p tsconfig.json"
|
||||
},
|
||||
"categories": [
|
||||
"Themes",
|
||||
"Other"
|
||||
"Themes"
|
||||
],
|
||||
"keywords": [
|
||||
"VSCode",
|
||||
|
@ -61,11 +56,6 @@
|
|||
"command": "materialTheme.setAccent",
|
||||
"title": "Set accent color",
|
||||
"category": "Material Theme"
|
||||
},
|
||||
{
|
||||
"command": "materialTheme.showReleaseNotes",
|
||||
"title": "Release Notes",
|
||||
"category": "Material Theme"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
@ -169,43 +159,24 @@
|
|||
"url": "https://img.shields.io/github/issues/material-theme/vsc-material-theme",
|
||||
"href": "https://github.com/material-theme/vsc-material-theme/issues",
|
||||
"description": "Open issues"
|
||||
},
|
||||
{
|
||||
"url": "https://img.shields.io/badge/%E2%9D%A4%EF%B8%8F-s?style=for-the-badge&logo=open-collective&label=Support%20us&labelColor=%233b79d6&color=%233b79d6",
|
||||
"href": "https://opencollective.com/material-theme",
|
||||
"description": "Support us!"
|
||||
}
|
||||
],
|
||||
"devDependencies": {
|
||||
"@moxer/vscode-theme-generator": "1.21.0",
|
||||
"@types/browserify": "12.0.36",
|
||||
"@types/fs-extra": "8.1.0",
|
||||
"@types/rimraf": "3.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "3.3.0",
|
||||
"@typescript-eslint/parser": "3.3.0",
|
||||
"browserify": "16.5.1",
|
||||
"eslint": "7.2.0",
|
||||
"eslint-config-xo-space": "0.25.0",
|
||||
"eslint-config-xo-typescript": "0.31.0",
|
||||
"fs-extra": "9.0.1",
|
||||
"ncp": "2.0.0",
|
||||
"npm-run-all": "4.1.5",
|
||||
"standard-version": "9.5.0",
|
||||
"rimraf": "3.0.2",
|
||||
"typescript": "4.1.3",
|
||||
"vscode": "1.1.37"
|
||||
},
|
||||
"__metadata": {
|
||||
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
|
||||
"publisherDisplayName": "Mattia Astorino",
|
||||
"publisherId": "e41388a1-a892-4c1e-940b-1e7c1bf43c97"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sanity/client": "2.1.0",
|
||||
"opencollective": "1.0.3"
|
||||
},
|
||||
"collective": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/material-theme",
|
||||
"logo": "https://opencollective.com/opencollective/logo.txt"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
import * as fs from 'fs-extra';
|
||||
import * as path from 'path';
|
||||
import browserify from 'browserify';
|
||||
|
||||
import {BUILD_FOLDER_PATH, SRC_FOLDER_PATH, TS_BUILD_FOLDER_PATH} from '../../src/env';
|
||||
|
||||
const UI_FOLDER_PATH = path.join(SRC_FOLDER_PATH, 'webviews', 'ui');
|
||||
const UI_JS_FOLDER_PATH = path.join(TS_BUILD_FOLDER_PATH, 'src', 'webviews', 'ui');
|
||||
const UI_FOLDER_BUILD_PATH = path.join(BUILD_FOLDER_PATH, 'ui');
|
||||
|
||||
const copyStatics = async (): Promise<void[]> => {
|
||||
const paths = [{
|
||||
src: path.join(UI_FOLDER_PATH, 'release-notes', 'release-notes.html'),
|
||||
dest: path.join(UI_FOLDER_BUILD_PATH, 'release-notes.html')
|
||||
}, {
|
||||
src: path.join(UI_FOLDER_PATH, 'release-notes', 'style.css'),
|
||||
dest: path.join(UI_FOLDER_BUILD_PATH, 'release-notes.css')
|
||||
}];
|
||||
|
||||
return Promise.all(paths.map(async path => fs.copyFile(path.src, path.dest)));
|
||||
};
|
||||
|
||||
const buildJs = async (type: 'release-notes'): Promise<void> => {
|
||||
const jsBuildPath = path.join(UI_FOLDER_BUILD_PATH, `${type}.js`);
|
||||
const b = browserify();
|
||||
await fs.createFile(jsBuildPath);
|
||||
const jsBuildFileStream = fs.createWriteStream(jsBuildPath);
|
||||
b.add(path.join(UI_JS_FOLDER_PATH, type, 'index.js'));
|
||||
b.bundle().pipe(jsBuildFileStream);
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
const run = async (): Promise<void> => {
|
||||
try {
|
||||
await fs.mkdirp(UI_FOLDER_BUILD_PATH);
|
||||
await copyStatics();
|
||||
await buildJs('release-notes');
|
||||
} catch (error) {
|
||||
console.error('ERROR build:ui:', error);
|
||||
process.exit(1);
|
||||
}
|
||||
};
|
||||
|
||||
run();
|
|
@ -1,28 +0,0 @@
|
|||
import {window} from 'vscode';
|
||||
import {MESSAGES} from '../helpers/messages';
|
||||
|
||||
type AskMessage = {
|
||||
message: string;
|
||||
options: {
|
||||
ok: string;
|
||||
cancel: string;
|
||||
};
|
||||
};
|
||||
|
||||
class ChangelogManager {
|
||||
private readonly askMessage: AskMessage;
|
||||
|
||||
constructor(message: AskMessage) {
|
||||
this.askMessage = message;
|
||||
}
|
||||
|
||||
async askShowChangelog(): Promise<boolean> {
|
||||
return await window.showInformationMessage(
|
||||
this.askMessage.message,
|
||||
this.askMessage.options.ok,
|
||||
this.askMessage.options.cancel
|
||||
) === this.askMessage.options.ok;
|
||||
}
|
||||
}
|
||||
|
||||
export const changelogManager = new ChangelogManager(MESSAGES.CHANGELOG);
|
|
@ -17,16 +17,10 @@ type PackageJSON = {
|
|||
};
|
||||
};
|
||||
|
||||
type InstallationType = {
|
||||
firstInstall: boolean;
|
||||
update: boolean;
|
||||
};
|
||||
|
||||
export interface IExtensionManager {
|
||||
init: (context: ExtensionContext) => Promise<void>;
|
||||
getPackageJSON: () => PackageJSON;
|
||||
getConfig: () => MaterialThemeConfig;
|
||||
getInstallationType: () => Record<string, unknown>;
|
||||
updateConfig: (config: Partial<MaterialThemeConfig>) => Promise<void>;
|
||||
VERSION_KEY: string;
|
||||
}
|
||||
|
@ -36,7 +30,6 @@ class ExtensionManager implements IExtensionManager {
|
|||
return 'vsc-material-theme.version';
|
||||
}
|
||||
|
||||
installationType: InstallationType;
|
||||
private readonly configFileUri: Uri;
|
||||
private readonly userConfigFileUri: Uri;
|
||||
private configJSON: MaterialThemeConfig;
|
||||
|
@ -55,10 +48,6 @@ class ExtensionManager implements IExtensionManager {
|
|||
return this.configJSON;
|
||||
}
|
||||
|
||||
getInstallationType(): InstallationType {
|
||||
return this.installationType;
|
||||
}
|
||||
|
||||
async updateConfig(config: Partial<MaterialThemeConfig>): Promise<void> {
|
||||
const newConfig = {...this.configJSON, ...config};
|
||||
await workspace.fs.writeFile(this.configFileUri, Buffer.from(JSON.stringify(newConfig), 'utf-8'));
|
||||
|
@ -67,62 +56,27 @@ class ExtensionManager implements IExtensionManager {
|
|||
async init(context: ExtensionContext): Promise<void> {
|
||||
try {
|
||||
const packageJSON = this.getPackageJSON();
|
||||
const userConfig = await this.getUserConfig();
|
||||
const mementoStateVersion = context.globalState.get(this.VERSION_KEY);
|
||||
const themeNeverUsed = mementoStateVersion === undefined || typeof mementoStateVersion !== 'string';
|
||||
|
||||
this.installationType = {
|
||||
update: userConfig && this.isVersionUpdate(userConfig, packageJSON),
|
||||
firstInstall: !userConfig && themeNeverUsed
|
||||
};
|
||||
|
||||
// Theme not used before across devices
|
||||
if (themeNeverUsed) {
|
||||
await context.globalState.update(this.VERSION_KEY, packageJSON.version);
|
||||
}
|
||||
|
||||
// Load configuration
|
||||
const configBuffer = await workspace.fs.readFile(this.configFileUri);
|
||||
const configContent = Buffer.from(configBuffer).toString('utf8');
|
||||
|
||||
this.configJSON = JSON.parse(configContent) as MaterialThemeConfig;
|
||||
|
||||
// Update version in user config
|
||||
const userConfigUpdate = {...this.configJSON, changelog: {lastversion: packageJSON.version}};
|
||||
await workspace.fs.writeFile(
|
||||
this.userConfigFileUri,
|
||||
Buffer.from(JSON.stringify(userConfigUpdate), 'utf-8')
|
||||
);
|
||||
|
||||
// Store version in global state
|
||||
await context.globalState.update(this.VERSION_KEY, packageJSON.version);
|
||||
} catch (error) {
|
||||
this.configJSON = {accentsProperties: {}, accents: {}};
|
||||
await window
|
||||
.showErrorMessage(`Material Theme: there was an error while loading the configuration. Please retry or open an issue: ${String(error)}`);
|
||||
}
|
||||
}
|
||||
|
||||
private isVersionUpdate(userConfig: MaterialThemeConfig, packageJSON: PackageJSON): boolean {
|
||||
const splitVersion = (input: string): {major: number; minor: number; patch: number} => {
|
||||
const [major, minor, patch] = input.split('.').map(i => parseInt(i, 10));
|
||||
return {major, minor, patch};
|
||||
};
|
||||
|
||||
const versionCurrent = splitVersion(packageJSON.version);
|
||||
const versionOld = splitVersion(userConfig.changelog.lastversion);
|
||||
|
||||
const update = (
|
||||
versionCurrent.major > versionOld.major ||
|
||||
versionCurrent.minor > versionOld.minor ||
|
||||
versionCurrent.patch > versionOld.patch
|
||||
);
|
||||
|
||||
return update;
|
||||
}
|
||||
|
||||
private async getUserConfig(): Promise<MaterialThemeConfig | undefined> {
|
||||
try {
|
||||
const configBuffer = await workspace.fs.readFile(this.userConfigFileUri);
|
||||
const configContent = Buffer.from(configBuffer).toString('utf8');
|
||||
return JSON.parse(configContent) as MaterialThemeConfig;
|
||||
} catch {}
|
||||
}
|
||||
}
|
||||
|
||||
export const extensionManager = new ExtensionManager();
|
||||
|
|
|
@ -5,4 +5,4 @@ export const BUILD_FOLDER_PATH = path.resolve('./build');
|
|||
export const TS_BUILD_FOLDER_PATH = path.resolve('./dist');
|
||||
export const CONFIG_FILE_NAME = 'material-theme.config.json';
|
||||
export const USER_CONFIG_FILE_NAME = 'user.material-theme.config.json';
|
||||
export const MATERIAL_THEME_EXT_ID = 'equinusocio.vsc-material-theme';
|
||||
export const MATERIAL_THEME_EXT_ID = 't3dotgg.vsc-material-theme-but-i-wont-sue-you';
|
||||
|
|
|
@ -3,10 +3,6 @@ import {
|
|||
} from 'vscode';
|
||||
|
||||
export const MESSAGES = {
|
||||
CHANGELOG: {
|
||||
message: 'Material Theme was updated. Check the release notes for more details.',
|
||||
options: {ok: 'Show me', cancel: 'Maybe later'}
|
||||
},
|
||||
INSTALLATION: {
|
||||
message: 'Thank you for using Material Theme!'
|
||||
}
|
||||
|
|
|
@ -4,21 +4,12 @@ import {
|
|||
} from 'vscode';
|
||||
|
||||
import * as ThemeCommands from './commands';
|
||||
import {ReleaseNotesWebview} from './webviews/ReleaseNotes';
|
||||
import {changelogManager} from './core/changelog-manager';
|
||||
import {extensionManager} from './core/extension-manager';
|
||||
|
||||
export async function activate(context: ExtensionContext): Promise<void> {
|
||||
context.globalState.setKeysForSync([extensionManager.VERSION_KEY]);
|
||||
await extensionManager.init(context);
|
||||
const releaseNotesView = new ReleaseNotesWebview(context);
|
||||
const installationType = extensionManager.getInstallationType();
|
||||
|
||||
if ((installationType.firstInstall || installationType.update) && await changelogManager.askShowChangelog()) {
|
||||
await releaseNotesView.show();
|
||||
}
|
||||
|
||||
// Registering commands
|
||||
Commands.registerCommand('materialTheme.setAccent', ThemeCommands.setAccent);
|
||||
Commands.registerCommand('materialTheme.showReleaseNotes', async () => releaseNotesView.show());
|
||||
}
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
import {WebviewController} from './Webview';
|
||||
|
||||
export class ReleaseNotesWebview extends WebviewController<Record<string, unknown>> {
|
||||
get filename(): string {
|
||||
return 'release-notes.html';
|
||||
}
|
||||
|
||||
get id(): string {
|
||||
return 'materialTheme.releaseNotes';
|
||||
}
|
||||
|
||||
get title(): string {
|
||||
return 'Material Theme Release Notes';
|
||||
}
|
||||
|
||||
/**
|
||||
* This will be called by the WebviewController when init the view
|
||||
* passing as `window.bootstrap` to the view.
|
||||
*/
|
||||
getBootstrap(): Record<string, unknown> {
|
||||
return {};
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
// WIP
|
||||
// Import {WebviewController} from './Webview';
|
||||
// import {
|
||||
// workspace as Workspace
|
||||
// } from 'vscode';
|
||||
// import {ISettingsBootstrap} from './interfaces';
|
||||
// import {getCustomSettings} from '../helpers/settings';
|
||||
// import {getDefaultValues} from '../helpers/fs';
|
||||
|
||||
// export class SettingsWebview extends WebviewController<ISettingsBootstrap> {
|
||||
// get filename(): string {
|
||||
// return 'settings.html';
|
||||
// }
|
||||
|
||||
// get id(): string {
|
||||
// return 'materialTheme.settings';
|
||||
// }
|
||||
|
||||
// get title(): string {
|
||||
// return 'Material Theme Settings';
|
||||
// }
|
||||
|
||||
// /**
|
||||
// * This will be called by the WebviewController when init the view
|
||||
// * passing as `window.bootstrap` to the view.
|
||||
// */
|
||||
// getBootstrap(): ISettingsBootstrap {
|
||||
// return {
|
||||
// config: getCustomSettings(),
|
||||
// defaults: getDefaultValues(),
|
||||
// scope: 'user',
|
||||
// scopes: this.getAvailableScopes()
|
||||
// };
|
||||
// }
|
||||
|
||||
// private getAvailableScopes(): Array<['user' | 'workspace', string]> {
|
||||
// const scopes: Array<['user' | 'workspace', string]> = [['user', 'User']];
|
||||
// return scopes
|
||||
// .concat(
|
||||
// Workspace.workspaceFolders?.length ?
|
||||
// ['workspace', 'Workspace'] :
|
||||
// []
|
||||
// );
|
||||
// }
|
||||
// }
|
|
@ -1,161 +0,0 @@
|
|||
import * as path from 'path';
|
||||
|
||||
import {
|
||||
workspace as Workspace,
|
||||
|
||||
Disposable,
|
||||
ExtensionContext,
|
||||
WebviewPanel,
|
||||
ViewColumn,
|
||||
window,
|
||||
WebviewPanelOnDidChangeViewStateEvent,
|
||||
Uri
|
||||
} from 'vscode';
|
||||
|
||||
import {Invalidates, Message} from './interfaces';
|
||||
|
||||
export abstract class WebviewController<TBootstrap> extends Disposable {
|
||||
private panel: WebviewPanel | undefined;
|
||||
private disposablePanel: Disposable | undefined;
|
||||
private invalidateOnVisible: Invalidates;
|
||||
private readonly context: ExtensionContext;
|
||||
|
||||
constructor(context: ExtensionContext) {
|
||||
// Applying dispose callback for our disposable function
|
||||
super(() => this.dispose());
|
||||
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
if (this.disposablePanel) {
|
||||
this.disposablePanel.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
async show(): Promise<void> {
|
||||
const html = await this.getHtml();
|
||||
|
||||
// If panel already opened just reveal
|
||||
if (this.panel !== undefined) {
|
||||
// Replace placeholders in html content for assets and adding configurations as `window.bootstrap`
|
||||
const fullHtml = this.replaceInPanel(html);
|
||||
this.panel.webview.html = fullHtml;
|
||||
return this.panel.reveal(ViewColumn.Active);
|
||||
}
|
||||
|
||||
this.panel = window.createWebviewPanel(
|
||||
this.id,
|
||||
this.title,
|
||||
ViewColumn.Active,
|
||||
{
|
||||
retainContextWhenHidden: true,
|
||||
enableFindWidget: true,
|
||||
enableCommandUris: true,
|
||||
enableScripts: true
|
||||
}
|
||||
);
|
||||
|
||||
// Applying listeners
|
||||
this.disposablePanel = Disposable.from(
|
||||
this.panel,
|
||||
this.panel.onDidDispose(this.onPanelDisposed, this),
|
||||
this.panel.onDidChangeViewState(this.onViewStateChanged, this),
|
||||
this.panel.webview.onDidReceiveMessage(this.onMessageReceived, this)
|
||||
);
|
||||
|
||||
// Replace placeholders in html content for assets and adding configurations as `window.bootstrap`
|
||||
const fullHtml = this.replaceInPanel(html);
|
||||
|
||||
this.panel.webview.html = fullHtml;
|
||||
}
|
||||
|
||||
protected onMessageReceived(event: Message): void {
|
||||
if (event === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(`WebviewEditor.onMessageReceived: type=${event.type}, data=${JSON.stringify(event)}`);
|
||||
|
||||
switch (event.type) {
|
||||
case 'saveSettings':
|
||||
// TODO: update settings
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private replaceInPanel(html: string): string {
|
||||
// Replace placeholders in html content for assets and adding configurations as `window.bootstrap`
|
||||
const fullHtml = html
|
||||
.replace(/{{root}}/g, this.panel.webview.asWebviewUri(Uri.file(this.context.asAbsolutePath('./build'))).toString())
|
||||
.replace(/{{cspSource}}/g, this.panel.webview.cspSource)
|
||||
.replace('\'{{bootstrap}}\'', JSON.stringify(this.getBootstrap()));
|
||||
|
||||
return fullHtml;
|
||||
}
|
||||
|
||||
private async getHtml(): Promise<string> {
|
||||
const doc = await Workspace
|
||||
.openTextDocument(this.context.asAbsolutePath(path.join('build/ui', this.filename)));
|
||||
return doc.getText();
|
||||
}
|
||||
|
||||
// Private async postMessage(message: Message, invalidates: Invalidates = 'all'): Promise<boolean> {
|
||||
// if (this.panel === undefined) {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// const result = await this.panel.webview.postMessage(message);
|
||||
|
||||
// // If post was ok, update invalidateOnVisible if different than default
|
||||
// if (!result && this.invalidateOnVisible !== 'all') {
|
||||
// this.invalidateOnVisible = invalidates;
|
||||
// }
|
||||
|
||||
// return result;
|
||||
// }
|
||||
|
||||
// Private async postUpdatedConfiguration(): Promise<boolean> {
|
||||
// // Post full raw configuration
|
||||
// return this.postMessage({
|
||||
// type: 'settingsChanged',
|
||||
// config: getCustomSettings()
|
||||
// } as ISettingsChangedMessage, 'config');
|
||||
// }
|
||||
|
||||
private onPanelDisposed(): void {
|
||||
if (this.disposablePanel) {
|
||||
this.disposablePanel.dispose();
|
||||
}
|
||||
|
||||
this.panel = undefined;
|
||||
}
|
||||
|
||||
private async onViewStateChanged(event: WebviewPanelOnDidChangeViewStateEvent): Promise<void> {
|
||||
console.log('WebviewEditor.onViewStateChanged', event.webviewPanel.visible);
|
||||
|
||||
if (!this.invalidateOnVisible || !event.webviewPanel.visible) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update the view since it can be outdated
|
||||
const invalidContext = this.invalidateOnVisible;
|
||||
this.invalidateOnVisible = undefined;
|
||||
|
||||
switch (invalidContext) {
|
||||
case 'config':
|
||||
// Post the new configuration to the view
|
||||
// return this.postUpdatedConfiguration();
|
||||
return;
|
||||
default:
|
||||
return this.show();
|
||||
}
|
||||
}
|
||||
|
||||
abstract get filename(): string;
|
||||
abstract get id(): string;
|
||||
abstract get title(): string;
|
||||
abstract getBootstrap(): TBootstrap;
|
||||
}
|
|
@ -1,52 +0,0 @@
|
|||
export interface IChangeType {
|
||||
children: Array<{
|
||||
text: string;
|
||||
}>;
|
||||
}
|
||||
export interface IPost {
|
||||
title: string;
|
||||
version: string;
|
||||
fixed: IChangeType[];
|
||||
new: IChangeType[];
|
||||
breaking: IChangeType[];
|
||||
}
|
||||
export interface IPostNormalized {
|
||||
title: string;
|
||||
version: string;
|
||||
fixed: string[];
|
||||
new: string[];
|
||||
breaking: string[];
|
||||
}
|
||||
export interface ISettingsChangedMessage {
|
||||
type: 'settingsChanged';
|
||||
config: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface ISaveSettingsMessage {
|
||||
type: 'saveSettings';
|
||||
changes: {
|
||||
[key: string]: any;
|
||||
};
|
||||
removes: string[];
|
||||
scope: 'user' | 'workspace';
|
||||
uri: string;
|
||||
}
|
||||
|
||||
export type Message = ISaveSettingsMessage | ISettingsChangedMessage;
|
||||
export type Invalidates = 'all' | 'config' | undefined;
|
||||
|
||||
export interface IBootstrap {
|
||||
config: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface ISettingsBootstrap extends IBootstrap {
|
||||
scope: 'user' | 'workspace';
|
||||
scopes: Array<['user' | 'workspace', string]>;
|
||||
defaults: Record<string, unknown>;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
bootstrap: IBootstrap | ISettingsBootstrap | Record<string, unknown>;
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
import sanityClient from '@sanity/client';
|
||||
|
||||
import {IPost, IPostNormalized} from '../../interfaces';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
||||
const getClient = () => sanityClient({
|
||||
projectId: 'v475t82f',
|
||||
dataset: 'production'
|
||||
});
|
||||
|
||||
const getReleaseNotes = async (): Promise<object[]> => {
|
||||
const query = '*[_type == "release"] | order(version desc)';
|
||||
const client = getClient();
|
||||
return client.fetch(query);
|
||||
};
|
||||
|
||||
const renderTemplate = (posts: IPostNormalized[]): string => {
|
||||
return `${posts.reduce((acc, {version, title, fixed, new: newItems, breaking}) => acc.concat(`<section class="Release">
|
||||
<header class="Release__Header">
|
||||
<span class="Release__Number">${version}</span>
|
||||
<h2 class="Release__Title">${title}</h2>
|
||||
</header>
|
||||
<ul class="Release-List">
|
||||
${fixed.reduce((accc: string, src) =>
|
||||
src.length > 0 ? accc.concat(`<li data-type="fixed">${src}</li>`) : '', '')}
|
||||
${newItems.reduce((accc: string, src) =>
|
||||
src.length > 0 ? accc.concat(`<li data-type="new">${src}</li>`) : '', '')}
|
||||
${breaking.reduce((accc: string, src) =>
|
||||
src.length > 0 ? accc.concat(`<li data-type="breaking">${src}</li>`) : '', '')}
|
||||
</ul>
|
||||
</section>`), '')}`;
|
||||
};
|
||||
|
||||
getReleaseNotes().then((res: IPost[]) => {
|
||||
const normalized = res.reduce((acc, src) => acc.concat({
|
||||
...src,
|
||||
fixed: src.fixed ? src.fixed.map(item => item.children[0].text) : [],
|
||||
new: src.new ? src.new.map(item => item.children[0].text) : [],
|
||||
breaking: src.breaking ? src.breaking.map(item => item.children[0].text) : []
|
||||
}), []);
|
||||
document.querySelector('.Container').innerHTML = renderTemplate(normalized);
|
||||
});
|
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Material Theme Release Notes</title>
|
||||
|
||||
<link rel="stylesheet" href="{{root}}/ui/release-notes.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="Container">
|
||||
|
||||
<div>Loading...</div>
|
||||
|
||||
</main>
|
||||
<script type="text/javascript">
|
||||
window.bootstrap = '{{bootstrap}}';
|
||||
</script>
|
||||
<script type="text/javascript" src="{{root}}/ui/release-notes.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,138 +0,0 @@
|
|||
body {
|
||||
font-size: 100%;
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.Container {
|
||||
max-width: 900px;
|
||||
min-width: 500px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
.Release {
|
||||
padding: 40px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.Release:first-of-type::before {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
rgba(255,255,255,0),
|
||||
rgba(255,255,255,0.1)
|
||||
50px
|
||||
);
|
||||
}
|
||||
|
||||
.Release:last-of-type::before,
|
||||
.Release:only-of-type::before {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
rgba(255,255,255,0.1),
|
||||
rgba(255,255,255,0)
|
||||
);
|
||||
}
|
||||
|
||||
.Release::before {
|
||||
content: "";
|
||||
background-image: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.1));
|
||||
width: 3px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: calc(65px / 2);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
|
||||
.Release__Header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.Release__Number {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
color: #FFF;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
padding: 4px;
|
||||
width: 65px;
|
||||
margin-right: 16px;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
.Release__Title {
|
||||
margin-top: 0;
|
||||
line-height: 1;
|
||||
margin-bottom: 0;
|
||||
font-weight: 400;
|
||||
cursor: default;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
.Release-List {
|
||||
list-style: none;
|
||||
padding-left: 80px;
|
||||
}
|
||||
|
||||
.Release-List li {
|
||||
line-height: 1.5;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
margin: 8px 0;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.Release-List li::before {
|
||||
content: attr(data-type);
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
box-sizing: border-box;
|
||||
width: 64px;
|
||||
min-width: 64px;
|
||||
height: 16px;
|
||||
border-radius: 3px;
|
||||
margin-right: 8px;
|
||||
padding: 4px 5px;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
[data-type="fixed"]::before {
|
||||
background-color: #4242f4;
|
||||
}
|
||||
|
||||
[data-type="improved"]::before {
|
||||
background-color: #6f42c1;
|
||||
}
|
||||
|
||||
[data-type="new"]::before {
|
||||
background-color: #05a87a;
|
||||
}
|
||||
|
||||
[data-type="breaking"]::before {
|
||||
background-color: #ba0935;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
import {ISettingsBootstrap} from '../../interfaces';
|
||||
// Import accentsSelector from './lib/accents-selector';
|
||||
|
||||
const run = (): void => {
|
||||
bind();
|
||||
|
||||
const {config, defaults} = window.bootstrap as ISettingsBootstrap;
|
||||
// AccentsSelector('[data-setting="accentSelector"]', defaults.accents, config.accent);
|
||||
|
||||
console.log(defaults);
|
||||
console.log(config);
|
||||
};
|
||||
|
||||
const bind = (): void => {
|
||||
document.querySelector('#fixIconsCTA').addEventListener('click', () => {
|
||||
console.log('Test click');
|
||||
});
|
||||
};
|
||||
|
||||
run();
|
|
@ -1,26 +0,0 @@
|
|||
// Import {IAccents} from '../../../../interfaces/idefaults';
|
||||
|
||||
const templateSingleAccent = (accentName: string, accentColor: string): string => {
|
||||
const dashAccentName = accentName.toLowerCase().replace(/ /gi, '-');
|
||||
|
||||
return `
|
||||
<label for="${dashAccentName}" data-color="${accentColor}">${accentName}</label>
|
||||
<input type="radio" name="accents" id="${dashAccentName}" value="${dashAccentName}" />
|
||||
`;
|
||||
};
|
||||
|
||||
export default (containerSelector: string, accentsObject: Record<string, string>, currentAccent: string): void => {
|
||||
const container = document.querySelector(containerSelector);
|
||||
|
||||
for (const accentKey of Object.keys(accentsObject)) {
|
||||
const el = document.createElement('div');
|
||||
el.innerHTML = templateSingleAccent(accentKey, accentsObject[accentKey]);
|
||||
|
||||
if (accentKey === currentAccent) {
|
||||
el.setAttribute('selected', 'true');
|
||||
el.querySelector('input').setAttribute('checked', 'checked');
|
||||
}
|
||||
|
||||
container.appendChild(el);
|
||||
}
|
||||
};
|
|
@ -1,39 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Material Theme Settings Editor</title>
|
||||
|
||||
<link rel="stylesheet" href="{{root}}/ui/settings/style.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@native-elements/native-elements/dist/native-elements.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Material Theme Settings Editor (preview)</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<button ne-button tabindex="2" autofocus>Button</button>
|
||||
|
||||
<div class="SettingsContainer">
|
||||
<div>
|
||||
<label>Fix file icons</label>
|
||||
<input id="fixIconsCTA" type="submit" value="Fix">
|
||||
</div>
|
||||
|
||||
<div class="AccentsRadioContainer" data-setting="accentSelector">
|
||||
<!-- Populated by js -->
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<input value="Example input">
|
||||
|
||||
<script type="text/javascript">
|
||||
window.bootstrap = '{{bootstrap}}';
|
||||
</script>
|
||||
<script type="text/javascript" src="{{root}}/ui/settings.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
.AccentsRadioContainer > div {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue