Skip to content

Commit

Permalink
feat: initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwolfcr committed Sep 6, 2023
0 parents commit 032975b
Show file tree
Hide file tree
Showing 16 changed files with 3,777 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Validate

on:
push:
pull_request:
types: [opened, synchronize]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
name: Run
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Enable corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.15.0
cache: pnpm
- name: Run setup script
run: pnpm run setup
- name: Run validate script
run: pnpm turbo run validate
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dependencies
/node_modules

# Misc
/**/*.log
/**/.DS_Store

# Artifacts
/*.vsix

# Generated themes
/themes/*
!/themes/_template-color-theme.json

# Turbo
/.turbo
.turbo
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
save-prefix =
enable-pre-post-scripts = true
node-linker = hoisted
shamefully-hoist = true
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
}
]
}
12 changes: 12 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Folders
.vscode/**
.vscode-test/**
scripts
themes/_template-color-theme.json

# Files
.gitignore
.npmrc
pnpm-lock.yaml
tsconfig.json
turbo.json
Binary file added images/demo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/demo-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions license
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Kevin Wolf

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
89 changes: 89 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"type": "module",
"name": "vscode-quiet-canvas",
"displayName": "Quiet Canvas",
"version": "1.0.0",
"description": "Minimal, quiet, and distraction-less theme for VS Code",
"icon": "./images/logo.png",
"license": "MIT",
"publisher": "kevinwolfcr",
"author": {
"name": "Kevin Wolf",
"email": "hi@kevinwolf.cr",
"url": "https://kevinwolf.cr"
},
"categories": [
"Themes"
],
"keywords": [
"Themes",
"Dark Theme",
"Simple Theme",
"Quiet Theme"
],
"repository": {
"type": "git",
"url": "https://github.com/kevinwolfcr/vscode-quiet-canvas"
},
"engines": {
"vscode": "^1.81.0"
},
"contributes": {
"themes": [
{
"label": "Quiet Canvas — Dark",
"uiTheme": "vs-dark",
"path": "./themes/dark-color-theme.json"
},
{
"label": "Quiet Canvas — Light",
"uiTheme": "vs",
"path": "./themes/light-color-theme.json"
}
]
},
"scripts": {
"setup": "pnpm install && simple-git-hooks install && turbo run build",
"build": "jiti ./scripts/build.ts",
"lint:format": "prettier --check .",
"lint:style": "eslint .",
"lint:types": "tsc --noEmit",
"clean": "rm -rf .turbo node_modules",
"reset": "pnpm run clean && rm -rf pnpm-lock.yaml && pnpm run setup",
"vscode:prepublish": "turbo run validate",
"publish": "vsce publish",
"upgrade-deps": "pnpm update --interactive --recursive --latest",
"pre-commit": "nano-staged"
},
"devDependencies": {
"@kevinwolfcr/eslint-config": "1.0.1",
"@kevinwolfcr/prettier-config": "1.0.1",
"@radix-ui/colors": "2.1.0",
"@types/node": "20.5.9",
"@types/tinycolor2": "1.4.3",
"@vscode/vsce": "2.21.0",
"eslint": "8.48.0",
"jiti": "1.19.3",
"nano-staged": "0.8.0",
"prettier": "3.0.3",
"simple-git-hooks": "2.9.0",
"tinycolor2": "1.6.0",
"turbo": "1.10.13",
"typescript": "5.2.2"
},
"prettier": "@kevinwolfcr/prettier-config",
"eslintConfig": {
"extends": "@kevinwolfcr"
},
"simple-git-hooks": {
"pre-commit": "pnpm run pre-commit"
},
"nano-staged": {
"*.{json,md,yaml,yml}": "prettier --write",
"*.{js,jsx,ts,tsx,mdx}": [
"prettier --write",
"eslint --fix"
]
},
"packageManager": "pnpm@8.7.1"
}
Loading

0 comments on commit 032975b

Please sign in to comment.