Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao208 committed Feb 3, 2024
0 parents commit b6e76d3
Show file tree
Hide file tree
Showing 12 changed files with 222 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set default behavior to automatically normalize line endings.
* text=auto
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy VS Code Extension

on:
push:
branches:
- main # Ou qualquer que seja o branch que você deseja para o deploy

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: "14"

- name: Install vsce
run: npm install -g vsce

- name: Package Extension
run: vsce package

- name: Publish Extension
run: vsce publish -p ${{ secrets.VSCE_PAT }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
*.vsix
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 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}"
]
}
]
}
4 changes: 4 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode/**
.vscode-test/**
.gitignore
vsc-extension-quickstart.md
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change Log

All notable changes to the "typper-theme" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]

- Initial release
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Typper Theme

## This theme use the Typper Branding

Use this link to install: https://marketplace.visualstudio.com/items?itemName=Typper.typper-theme

Use with this configuration to a best experience:

```json
{
"workbench.iconTheme": "minimal-icons",
"workbench.colorTheme": "Typper",
"window.commandCenter": false,
"workbench.layoutControl.enabled": false,
"workbench.statusBar.visible": false
}
```

**Enjoy!**
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "typper-theme",
"displayName": "typper-theme",
"description": "",
"version": "0.0.3",
"publisher": "Typper",
"icon": "icon.png",
"engines": {
"vscode": "^1.86.0"
},
"categories": [
"Themes"
],
"contributes": {
"themes": [
{
"label": "Typper",
"uiTheme": "vs-dark",
"path": "./themes/Typper-color-theme.json"
}
]
}
}
5 changes: 5 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions themes/Typper-color-theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"name": "Typper Color Theme",
"colors": {
"editor.background": "#10142C",
"editor.foreground": "#FBFFF6",
"editor.lineHighlightBackground": "#7BD90533",
"activityBar.background": "#10142C",
"activityBar.foreground": "#FBFFF6",
"sideBar.background": "#10142C",
"sideBar.foreground": "#FBFFF6",
"statusBar.background": "#0047FD",
"statusBar.foreground": "#FBFFF6",
"titleBar.activeBackground": "#10142C",
"titleBar.activeForeground": "#FBFFF6",
"button.background": "#0047FD",
"button.foreground": "#FBFFF6",
"button.hoverBackground": "#FFABC7",
"editorCursor.foreground": "#0047FD",
"editor.selectionBackground": "#0047FD60",
"editorLineNumber.foreground": "#FBFFF699",
"editorLineNumber.activeForeground": "#FBFFF6",
"editorWhitespace.foreground": "#FBFFF61A"
},
"tokenColors": [
{
"scope": ["comment", "punctuation.definition.comment", "string.comment"],
"settings": {
"foreground": "#7BD90599"
}
},
{
"scope": "constant",
"settings": {
"foreground": "#FFABC7"
}
},
{
"scope": "entity",
"settings": {
"foreground": "#FFABC7"
}
},
{
"scope": "variable",
"settings": {
"foreground": "#FBFFF6"
}
},
{
"scope": "keyword",
"settings": {
"foreground": "#0047FD"
}
},
{
"scope": "storage",
"settings": {
"foreground": "#0047FD"
}
},
{
"scope": "string",
"settings": {
"foreground": "#7BD905"
}
},
{
"scope": "invalid",
"settings": {
"foreground": "#FF0000"
}
},
{
"scope": "entity.name.class",
"settings": {
"foreground": "#FFABC7"
}
},
{
"scope": "meta.class",
"settings": {
"foreground": "#FBFFF6"
}
}
]
}
28 changes: 28 additions & 0 deletions vsc-extension-quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Welcome to your VS Code Extension

## What's in the folder

* This folder contains all of the files necessary for your color theme extension.
* `package.json` - this is the manifest file that defines the location of the theme file and specifies the base theme of the theme.
* `themes/Typper-color-theme.json` - the color theme definition file.

## Get up and running straight away

* Press `F5` to open a new window with your extension loaded.
* Open `File > Preferences > Color Themes` and pick your color theme.
* Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).

## Make changes

* Changes to the theme file are automatically applied to the Extension Development Host window.

## Adopt your theme to Visual Studio Code

* The token colorization is done based on standard TextMate themes. Colors are matched against one or more scopes.

To learn more about scopes and how they're used, check out the [color theme](https://code.visualstudio.com/api/extension-guides/color-theme) documentation.

## Install your extension

* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.

0 comments on commit b6e76d3

Please sign in to comment.