Socket
Socket
Sign inDemoInstall

arkdark

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arkdark - npm Package Compare versions

Comparing version 5.1.7 to 5.2.1

2

injected.tmLanguage.json

@@ -5,3 +5,3 @@ {

"scopeName": "source.arktype.injection.ts",
"injectionSelector": "L:source.ts - comment",
"injectionSelector": "L:source.ts, L:source.tsx, L:source.js, L:source.jsx, L:source.mdx, L:meta.embedded.block.typescript, L:meta.embedded.block.typescriptreact, L:meta.embedded.block.javascript - comment",
"patterns": [

@@ -8,0 +8,0 @@ {

@@ -5,3 +5,3 @@ {

"description": "ArkType syntax highlighting and theme⛵",
"version": "5.1.7",
"version": "5.2.1",
"publisher": "arktypeio",

@@ -42,5 +42,7 @@ "type": "module",

"source.ts",
"source.ts.tsx",
"source.tsx",
"source.js",
"source.js.jsx"
"source.jsx",
"source.mdx",
"text.html.markdown"
],

@@ -47,0 +49,0 @@ "scopeName": "source.arktype.injection.ts",

<div align="center">
<img src="./icon.png" height="64px" />
<img src="/ark/dark/icon.png" height="64px" />
<h1>ArkDark</h1>

@@ -17,3 +17,3 @@ </div>

![syntax highlighting](./highlighting.png)
![syntax highlighting](/ark/dark/highlighting.png)

@@ -24,33 +24,28 @@ ## ArkDark Theme

![theme](./theme.png)
![theme](/ark/dark/theme.png)
## Extending This Theme
## Contributing
- **pnpm build** to generate the arkdark.json theme
- **F5** or **Run > Debugger**, will launch the extension in another window, allowing you to see the changes on any repo you open up
**Run > Debugger** (`F5` by default) will launch the extension in another window, allowing you to see the effects of your changes on whatever code you open in it.
Looking to edit the theme? **(Changes are immediately reflected)**
### Update the ArkDark theme palette
- **themes** > **arkdark.json**
See [color-theme.json](/ark/dark/color-theme.json)
Looking to change the textmate scopes? **(Must restart the debugger to view changes)**
> [!NOTE]
> Changes will be immediately reflected in the extension host window
- arktype.tmLanguage.json
### Update syntax highlighting rules
Current textmate scopes can be viewed:
See [injected.tmLanguage.json](/ark/dark/injected.tmLanguage.json)
- Open: Command Palette **(Ctrl + Shift + P)**
- Search: **Developer: Inspect Editor Tokens and Scopes**
To determine which scopes need to be changed, you can view scopes applied to any file in VSCode by opening the Command Palette (Ctrl+Shift+P by default) and searching "Developer: Inspect Editor Tokens and Scopes".
## Notes
Changes to `injected.tmLanguage.json` should be mirrored to [tsWithArkType.tmLanguage.json](./tsWithArkType.tmLanguage.json).
Base color-theme.json copied from VSCode's "Default Dark Modern" (https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/dark_modern.json).
> [!IMPORTANT]
> You must reload the extension host window to see scope changes reflected
These are the original colors of defaults that have been overriden:
## Attributions
```json
{
"editor.foreground": "#CCCCCC",
"errorForeground": "#F85149"
}
```
Base color-theme.json extended from VSCode's "Default Dark Modern" (https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/dark_modern.json).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc