Skip to content

Commit

Permalink
move to vite template, style options menu
Browse files Browse the repository at this point in the history
  • Loading branch information
54ac committed Dec 20, 2024
1 parent e6e1ef0 commit 00fae42
Show file tree
Hide file tree
Showing 18 changed files with 6,828 additions and 3,706 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"plugin:@typescript-eslint/stylistic",
"prettier"
],
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["dist-firefox", "dist-chrome"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
"sourceType": "module"
},
"parser": "@typescript-eslint/parser",
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"],
Expand All @@ -23,8 +23,8 @@
]
},
"env": {
"webextensions": true,
"es2021": true,
"webextensions": true,
"browser": true
}
}
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/dist
/dist-firefox
/dist-chrome
/node_modules
/.parcel-cache
/src/manifest.json
.firefox.exe.lnk

icon.svg
4 changes: 2 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"useTabs": true,
"trailingComma": "none",
"singleQuote": false
"singleQuote": false,
"trailingComma": "none"
}
3 changes: 3 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["stylelint-config-standard"]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

### What is this?

This is a browser addon written in TypeScript which adds more customization options to YouTube subtitles. It is fully compatible with existing YouTube subtitles, as it merely changes their appearance using CSS and does not replace them.
This is a browser addon written in TypeScript which adds more customization options to YouTube subtitles. It is fully compatible with existing YouTube subtitles, as it merely changes their appearance using CSS and does not replace them. Uses [vite-plugin-web-extension](https://github.com/aklinker1/vite-plugin-web-extension).

Access the options either as you normally would in the browser or by clicking the "Advanced" button in the subtitles options menu in the YouTube player. You can also set up hotkeys to trigger certain options in your browser's keyboard shortcuts menu.
Access the options either as you normally would in the browser. You can also set up hotkeys to trigger certain options in your browser's keyboard shortcuts menu.

![A screenshot of the options menu.](https://addons.mozilla.org/user-media/previews/full/299/299323.png)

Expand Down
Loading

0 comments on commit 00fae42

Please sign in to comment.