added more syntax highlighting
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import minify from 'astro-min';
|
||||
import { defineConfig } from "astro/config";
|
||||
import minify from "astro-min";
|
||||
import metaTags from "astro-meta-tags";
|
||||
import rehypeSlug from 'rehype-slug';
|
||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
||||
import remarkDirective from 'remark-directive';
|
||||
import rehypeSlug from "rehype-slug";
|
||||
import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
||||
import remarkDirective from "remark-directive";
|
||||
import remarkCalloutDirectives from "@microflash/remark-callout-directives";
|
||||
import remarkExternalLinks from 'remark-external-links';
|
||||
import remarkExternalLinks from "remark-external-links";
|
||||
import rehypePrettyCode from "rehype-pretty-code";
|
||||
import codeTheme from "./src/styles/moonlight-ii.json";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import lighthouse from "astro-lighthouse";
|
||||
|
||||
@@ -15,14 +17,34 @@ import icon from "astro-icon";
|
||||
export default defineConfig({
|
||||
integrations: [minify(), metaTags(), mdx(), lighthouse(), icon()],
|
||||
markdown: {
|
||||
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, {
|
||||
behavior: 'wrap'
|
||||
}]],
|
||||
remarkPlugins: [remarkDirective, remarkCalloutDirectives, [remarkExternalLinks, {
|
||||
target: '_blank'
|
||||
}]],
|
||||
syntaxHighlight: false, // Disable syntax built-in syntax hightlighting from astro
|
||||
rehypePlugins: [
|
||||
rehypeSlug,
|
||||
[
|
||||
rehypePrettyCode,
|
||||
{
|
||||
theme: codeTheme,
|
||||
},
|
||||
],
|
||||
[
|
||||
rehypeAutolinkHeadings,
|
||||
{
|
||||
behavior: "wrap",
|
||||
},
|
||||
],
|
||||
],
|
||||
remarkPlugins: [
|
||||
remarkDirective,
|
||||
remarkCalloutDirectives,
|
||||
[
|
||||
remarkExternalLinks,
|
||||
{
|
||||
target: "_blank",
|
||||
},
|
||||
],
|
||||
],
|
||||
shikiConfig: {
|
||||
theme: 'dracula'
|
||||
}
|
||||
}
|
||||
});
|
||||
theme: "dracula",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
2968
package-lock.json
generated
2968
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -20,10 +20,14 @@
|
||||
"astro-min": "^1.1.0-dev.4",
|
||||
"npx": "^3.0.0",
|
||||
"rehype-autolink-headings": "^7.1.0",
|
||||
"rehype-pretty-code": "^0.13.0",
|
||||
"rehype-slug": "^6.0.0",
|
||||
"remark-directive": "^3.0.0",
|
||||
"remark-external-links": "^9.0.1",
|
||||
"sass": "^1.70.0"
|
||||
"remark-toc": "^9.0.0",
|
||||
"sass": "^1.70.0",
|
||||
"shiki": "^1.0.0",
|
||||
"unist-util-visit": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/mdi": "^1.1.64"
|
||||
|
@@ -4,8 +4,8 @@ import Layout from "../layouts/Layout.astro";
|
||||
import { Icon } from "astro-icon/components";
|
||||
import "../styles/sidebar.scss";
|
||||
const title = frontmatter.title + " | Docs";
|
||||
const unsortedDocs = await Astro.glob("../pages/docs/*/*.mdx");
|
||||
const docs = unsortedDocs.sort((a, b) =>
|
||||
const unsortedDocs = await Astro.glob("../pages/docs/*/*.{md,mdx}");
|
||||
const docs = unsortedDocs.sort((a) =>
|
||||
a.url === "/docs/" + a.frontmatter.repo ? -1 : 1
|
||||
);
|
||||
---
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
import { Icon } from "astro-icon/components";
|
||||
const unsortedDocs = await Astro.glob("./docs/*/index.mdx");
|
||||
const unsortedDocs = await Astro.glob("./docs/*/index.{md,mdx}");
|
||||
const docs = unsortedDocs.sort(
|
||||
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date)
|
||||
);
|
||||
|
@@ -6,34 +6,34 @@ title: Activities
|
||||
|
||||
# Variables
|
||||
|
||||
Anything of course begins with `DiscordSDK.` e.g. `DiscordSDK.app_id = <your Application ID>`
|
||||
Anything of course begins with `DiscordSDK.{:gdscript}` e.g. `DiscordSDK.app_id = <your Application ID>{:gdscript}`
|
||||
### Rich presence
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| app_id | int | The Application ID you need to get to make anything in the SDK → https://discord.com/developers/applications |
|
||||
| details | String | The first text line visible in the Activity (after the app name) |
|
||||
| state | String | The second text line visible in the Activity |
|
||||
| large_image | String | Key for the large image you set while uploading an image to the "Rich Presence" → "Art Assets" tab in your online Discord dev panel |
|
||||
| large_image_text | String | Text wich shows when you hover over the large image |
|
||||
| small_image | String | Key for the small image you set while uploading an image to the "Rich Presence" → "Art Assets" tab in your online Discord dev panel |
|
||||
| small_image_text | String | Text wich shows when you hover over the small image |
|
||||
| start_timestamp | int | The "02:46 elapsed" timestamp in the presence. Get the current time with Godot's `int(Time.get_unix_time_from_system())` and Discord counts in seconds from it |
|
||||
| end_timestamp | int | The "59:59 elapsed" timestamp in the presence. Get it with Godot's `int(Time.get_unix_time_from_system())` and add seconds as int e.g. `+ 3600` → + 1 Hour |
|
||||
| `app_id{:gdscript}` | `int{:gdscript}` | The Application ID you need to get to make anything in the SDK → https://discord.com/developers/applications |
|
||||
| `details{:gdscript}` | `String{:gdscript}` | The first text line visible in the Activity (after the app name) |
|
||||
| `state{:gdscript}` | `String{:gdscript}` | The second text line visible in the Activity |
|
||||
| `large_image{:gdscript}` | `String{:gdscript}` | Key for the large image you set while uploading an image to the "Rich Presence" → "Art Assets" tab in your online Discord dev panel |
|
||||
| `large_image_text{:gdscript}` | `String{:gdscript}` | Text wich shows when you hover over the large image |
|
||||
| `small_image{:gdscript}` | `String{:gdscript}` | Key for the small image you set while uploading an image to the "Rich Presence" → "Art Assets" tab in your online Discord dev panel |
|
||||
| `small_image_text{:gdscript}` | `String{:gdscript}` | Text wich shows when you hover over the small image |
|
||||
| `start_timestamp{:gdscript}` | `int{:gdscript}` | The "02:46 elapsed" timestamp in the presence. Get the current time with Godot's `int(Time.get_unix_time_from_system()){:gdscript}` and Discord counts in seconds from it |
|
||||
| `end_timestamp{:gdscript}` | `int{:gdscript}` | The "59:59 elapsed" timestamp in the presence. Get it with Godot's `int(Time.get_unix_time_from_system()){:gdscript}` and add seconds as int e.g. `+ 3600{:gdscript}` → + 1 Hour |
|
||||
|
||||
### Invite system
|
||||
The values can be pretty anything since there is no lobby system in the SDK anymore. You should already have a custom lobby system wich can compute the secret and change the values. After an invite every value should be the same as the other player.
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| party_id | String | Unique identifier for the party |
|
||||
| current_party_size | int | The current playercount in the party |
|
||||
| max_party_size | int | Maximum allowed playercount in the party |
|
||||
| match_secret | String | Unique hash for the given match context |
|
||||
| join_secret | String | Unique hash for chat invites and Ask to Join |
|
||||
| spectate_secret | String | Unique hash for Spectate button |
|
||||
| is_public_party | bool | Turn it to `true` if you want people to join the party without asking. This needs to be enabled in the Discord user settings |
|
||||
| instanced | bool | Whether this activity is an instanced context, like a match |
|
||||
| `party_id{:gdscript}` | `String{:gdscript}` | Unique identifier for the party |
|
||||
| `current_party_size{:gdscript}` | `int{:gdscript}` | The current playercount in the party |
|
||||
| `max_party_size{:gdscript}` | `int{:gdscript}` | Maximum allowed playercount in the party |
|
||||
| `match_secret{:gdscript}` | `String{:gdscript}` | Unique hash for the given match context |
|
||||
| `join_secret{:gdscript}` | `String {:gdscript}` | Unique hash for chat invites and Ask to Join |
|
||||
| `spectate_secret{:gdscript}` | `String{:gdscript}` | Unique hash for Spectate button |
|
||||
| `is_public_party{:gdscript}` | `bool{:gdscript}` | Turn it to `true{:gdscript}` if you want people to join the party without asking. This needs to be enabled in the Discord user settings |
|
||||
| `instanced{:gdscript}` | `bool{:gdscript}` | Whether this activity is an instanced context, like a match |
|
||||
|
||||
# Signals
|
||||
### Invite system
|
||||
@@ -48,7 +48,7 @@ DiscordSDK.connect("activity_join_request",_on_activity_join_request)
|
||||
func _on_activity_join_request(user_requesting):
|
||||
```
|
||||
The Signal fires when someone requests to join your Activity via an request join button in Discord.<br/>
|
||||
**Given variable:** [`Dictionary user_requesting`](https://github.com/vaporvee/discord-sdk-godot/wiki/Users#get-current-user)
|
||||
**Given variable:** [`Dictionary user_requesting{:gdscript}`](/docs/discord-sdk-godot/users#get-current-user)
|
||||
<br/>
|
||||
<br/>
|
||||
### Activity join
|
||||
@@ -61,7 +61,7 @@ DiscordSDK.connect("activity_join",_on_activity_join)
|
||||
func _on_activity_join(secret):
|
||||
```
|
||||
The Signal fires when someone joins your Activity via an invite or join button in Discord.<br/>
|
||||
**Given variable:** `String secret`<br/>
|
||||
**Given variable:** `String secret{:gdscript}`<br/>
|
||||
Send the secret to your custom system to generate the other party values and make them the same as the target user.
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -75,7 +75,7 @@ DiscordSDK.connect("activity_spectate",_on_activity_spectate)
|
||||
func _on_activity_spectate(secret):
|
||||
```
|
||||
The Signal fires when someone spectates your Activity via an invite or spectate button in Discord.<br/>
|
||||
**Given variable:** `String secret` <br/>
|
||||
**Given variable:** `String secret{:gdscript}` <br/>
|
||||
Send the secret to your custom system to generate the other party values and make them the same as the target user.
|
||||
# Methods
|
||||
### Refresh
|
||||
@@ -88,11 +88,11 @@ Disables the Activity.
|
||||
```gdscript
|
||||
DiscordSDK.clear(reset_values)
|
||||
```
|
||||
**Taken variable:** `bool reset_values` **Standard value:** `false`<br/>
|
||||
When turning `reset_values` to `true` it completely clears the whole activity with its app_id and other values.
|
||||
**Taken variable:** `bool reset_values{:gdscript}` **Standard value:** `false{:gdscript}`<br/>
|
||||
When turning `reset_values{:gdscript}` to `true{:gdscript}` it completely clears the whole activity with its `app_id{:gdscript}` and other values.
|
||||
|
||||
### Unclear
|
||||
Reenables the before cleared Activity. Only works with `DiscordSDK.clear(reset_values = false)`(default).
|
||||
Reenables the before cleared Activity. Only works with `DiscordSDK.clear(reset_values = false){:gdscript}`(default).
|
||||
```gdscript
|
||||
DiscordSDK.unclear()
|
||||
```
|
@@ -3,8 +3,8 @@ layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Debug
|
||||
---
|
||||
The `DiscordSDKDebug` Node shows the current status of the SDK and its values.<br/>
|
||||
You can also print the `current_user` Dictionary or the whole friendslist Array on the console and manage invites with the Button and input LineEdits. You can also disable and enable the Activity with the button switch.
|
||||
The `DiscordSDKDebug{:gdscript}` Node shows the current status of the SDK and its values.<br/>
|
||||
You can also print the `current_user{:gdscript}` Dictionary or the whole friendslist Array on the console and manage invites with the Button and input LineEdits. You can also disable and enable the Activity with the button switch.
|
||||
|
||||
|
||||

|
||||
|
@@ -12,7 +12,7 @@ title: Editor Presence
|
||||
**Enabling it:**
|
||||
1. Enable the DiscordSDK addon (and restart the editor like in the quickstart guide)
|
||||
2. Go to the **editor** settings
|
||||
3. and enable `DiscordSDK/EditorPresence/enabled`<br/>
|
||||
3. and enable `"DiscordSDK/EditorPresence/enabled"{:gdscript}`<br/>
|
||||
|
||||
Editor Presence also updates a bit slower on client side. Your friends will see what you are doing in the exact second even when its not updated for you directly.
|
||||
***
|
||||
|
@@ -33,7 +33,7 @@ To make anything work in the plugin make sure to run
|
||||
```
|
||||
|
||||
This happens normaly inside the Autoload wich should be automatically added by the plugin. <br />
|
||||
Something that does **not get added automatically** is your `app_id`. It is also mandatory to be able to use anything in the plugin.
|
||||
Something that does **not get added automatically** is your `app_id{:gdscript}`. It is also mandatory to be able to use anything in the plugin.
|
||||
|
||||
```gdscript
|
||||
DiscordSDK.app_id = #<your Application ID>
|
||||
|
@@ -6,19 +6,19 @@ title: Relationship Manager
|
||||
# Variables
|
||||
|
||||
### relationship
|
||||
Type: `Dictionary`
|
||||
Type: `Dictionary{:gdscript}`
|
||||
| Key | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| "type" | String | <details><summary>The type of relationship the current user has with the given user. These are:</summary> `"None"` user has no intrinsic relationship<br/>`"Friend"` user is a friend<br/>`"Blocked"` user is blocked<br/>`"PendingIncoming"` user has a pending incoming friend request to connected user<br/>`"PendingOutgoing"` current user has a pending outgoing friend request to user<br/>`"Implicit"` user is not friends, but interacts with current user often (frequency + recency)<br/>`"NotAvailable"` relationship is unknown<br/></details> |
|
||||
| "user" | Dictionary | https://github.com/vaporvee/discord-sdk-godot/wiki/Users#get-current-user |
|
||||
| "presence" | Dictionary | Will be described below. |
|
||||
| `"type"{:gdscript}` | `String{:gdscript}` | <details><summary>The type of relationship the current user has with the given user. These are:</summary> `"None"` user has no intrinsic relationship<br/>`"Friend"` user is a friend<br/>`"Blocked"` user is blocked<br/>`"PendingIncoming"` user has a pending incoming friend request to connected user<br/>`"PendingOutgoing"` current user has a pending outgoing friend request to user<br/>`"Implicit"` user is not friends, but interacts with current user often (frequency + recency)<br/>`"NotAvailable"` relationship is unknown<br/></details> |
|
||||
| `"user"{:gdscript}` | `Dictionary{:gdscript}` | [user](/docs/discord-sdk-godot/users#get-current-user) |
|
||||
| `"presence"{:gdscript}` | `Dictionary{:gdscript}` | Will be described below. |
|
||||
|
||||
### presence
|
||||
Type: `Dictionary`
|
||||
Type: `Dictionary{:gdscript}`
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| "status" | String | <details><summary>The user status:</summary>`"Offline"`<br/>`"Online"`<br/>`"Idle"`<br/>`"DoNotDisturb"`<br/>`"NotAvailable"`<br/></details> |
|
||||
| "activity" | Dictionary | All [activity](https://github.com/vaporvee/discord-sdk-godot/wiki/Activities) values and the `"name"` of the activity
|
||||
| `"status"{:gdscript}` | `String{:gdscript}` | <details><summary>The user status:</summary>`"Offline"`<br/>`"Online"`<br/>`"Idle"`<br/>`"DoNotDisturb"`<br/>`"NotAvailable"`<br/></details> |
|
||||
| `"activity"{:gdscript}` | `Dictionary{:gdscript}` | All [activity](/docs/discord-sdk-godot/activities) values and the `"name"{:gdscript}` of the activity
|
||||
|
||||
# Signals
|
||||
|
||||
@@ -44,19 +44,19 @@ func _on_updated_relationship(relationship):
|
||||
```
|
||||
The Signal fires when a user in the Relationships list of the current user updated any user information.<br/>
|
||||
For example activity details update, avatar update, username update, online, offline etc...<br/>
|
||||
**Given variable:** `Dictionary relationship`
|
||||
**Given variable:** `Dictionary relationship{:gdscript}`
|
||||
# Methods
|
||||
### Get relationship
|
||||
Returns the relationship between the current user and the `user_id`
|
||||
Returns the relationship between the current user and the `user_id{:gdscript}`
|
||||
```gdscript
|
||||
DiscordSDK.get_relationship(user_id)
|
||||
```
|
||||
**Taken variable:** `int user_id`<br/>
|
||||
**Given variable:** `Dictionary relationship`
|
||||
**Taken variable:** `int user_id{:gdscript}`<br/>
|
||||
**Given variable:** `Dictionary relationship{:gdscript}`
|
||||
|
||||
### Get all relationships
|
||||
Returns all relationships the current user has. Warning: this will be many! (if not I'm sorry xD)
|
||||
```gdscript
|
||||
DiscordSDK.get_all_relationships()
|
||||
```
|
||||
**Given variable:** `Dictionary relationship`
|
||||
**Given variable:** `Dictionary relationship{:gdscript}`
|
@@ -12,12 +12,12 @@ Note: This doesn't return the proper values when the game is not fully connected
|
||||
DiscordSDK.get_current_user()
|
||||
```
|
||||
|
||||
Returns `Dictionary current_user`
|
||||
Returns `Dictionary current_user{:gdscript}`
|
||||
| **Key** | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| avatar | String | The avatar hash of the Discord user |
|
||||
| is_bot | bool | If the user is a bot (when does this happen?) |
|
||||
| discriminator | int | The "#1234" number after the name from a user |
|
||||
| id | int | The user's unique ID |
|
||||
| username | String | The Discord username (without discriminator) |
|
||||
| avatar_url | String | <details><summary>The url of the user's avatar</summary>also returns the correct url for the [default avatar](https://cdn.discordapp.com/embed/avatars/5.png).<br/>When `avatar` is empty a url will be generated out of `discriminator % 5`. The user avatars are 512x512px and the default avatars 256x256px </details> |
|
||||
| `"avatar"{:gdscript}` | `String{:gdscript}` | The avatar hash of the Discord user |
|
||||
| `"is_bot"{:gdscript}` | `bool{:gdscript}` | If the user is a bot (when does this happen?) |
|
||||
| `"discriminator"{:gdscript}` | `int{:gdscript}` | The "#1234" number after the name from a user |
|
||||
| `"id"{:gdscript}` | `int{:gdscript}` | The user's unique ID |
|
||||
| `"username"{:gdscript}` | `String{:gdscript}` | The Discord username (without discriminator) |
|
||||
| `"avatar_url"{:gdscript}` | `String{:gdscript}` | <details><summary>The url of the user's avatar</summary>also returns the correct url for the [default avatar](https://cdn.discordapp.com/embed/avatars/5.png).<br/>When `avatar` is empty a url will be generated out of `discriminator % 5`. The user avatars are 512x512px and the default avatars 256x256px </details> |
|
@@ -9,17 +9,17 @@ title: Utillity or other stuff
|
||||
func _process(_delta):
|
||||
DiscordSDK.run_callbacks()
|
||||
```
|
||||
This runs normaly inside the Autoload `DiscordSDKLoader` wich should be automatically added by the plugin. If not this needs to be added to use most features of the plugin. In older versions of the plguin known as `discord_sdk.coreupdate()`.
|
||||
This runs normaly inside the Autoload `DiscordSDKLoader{:gdscript}` wich should be automatically added by the plugin. If not this needs to be added to use most features of the plugin. In older versions of the plguin known as `discord_sdk.run_callbacks(){:gdscript}`.
|
||||
## Register game
|
||||
### Register Steam
|
||||
Registers your game's Steam app id for the protocol `steam://run-game-id/<id>` when you are shipping your game on steam. Used when Discord wants to launch your game or to push the Discord overlay to your game.
|
||||
```gdscript
|
||||
DiscordSDK.register_steam(1938123)
|
||||
```
|
||||
Requires a steamID `int` value
|
||||
Requires a steamID `int{:gdscript}` value
|
||||
### Register command
|
||||
Registers your game's launch command. Used when Discord wants to launch your game or to push the Discord overlay to your game. Only really makes sense when the command works on the given OS
|
||||
```gdscript
|
||||
DiscordSDK.register_command("my-awesome-game://run --full-screen")
|
||||
```
|
||||
Requires a launch command `String` value
|
||||
Requires a launch command `String{:gdscript}` value
|
@@ -1,91 +1,98 @@
|
||||
@import './_var.scss';
|
||||
@import "./_var.scss";
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: $primary;
|
||||
font-family: "Satoshi-Regular", "Arial";
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
min-height: 95vh;
|
||||
background-color: $primary;
|
||||
font-family: "Satoshi-Regular", "Arial";
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
min-height: 95vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "Tanker-Regular", "Arial";
|
||||
font-family: "Tanker-Regular", "Arial";
|
||||
}
|
||||
|
||||
main{
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
main {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: inherit;
|
||||
align-self: center;
|
||||
background-color: $highlight-primary;
|
||||
border-radius: 25px;
|
||||
border: 1px solid lighten($highlight-primary, 16%);
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
padding: 2vw;
|
||||
width: 60vw;
|
||||
margin-bottom: 11vh;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: inherit;
|
||||
align-self: center;
|
||||
background-color: $highlight-primary;
|
||||
border-radius: 25px;
|
||||
border: 1px solid lighten($highlight-primary, 16%);
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
padding: 2vw;
|
||||
width: 60vw;
|
||||
margin-bottom: 11vh;
|
||||
}
|
||||
.second-content {
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
$second-content-clr: #6e6e6e40;
|
||||
background-color: $second-content-clr;
|
||||
border-radius: 25px;
|
||||
border: 1px solid lighten($second-content-clr, 16%);
|
||||
width: 42vw;
|
||||
padding: 2vh;
|
||||
margin-inline: 10vw;
|
||||
margin-bottom: 11vh;
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
$second-content-clr: #6e6e6e40;
|
||||
background-color: $second-content-clr;
|
||||
border-radius: 25px;
|
||||
border: 1px solid lighten($second-content-clr, 16%);
|
||||
width: 42vw;
|
||||
padding: 2vh;
|
||||
margin-inline: 10vw;
|
||||
margin-bottom: 11vh;
|
||||
}
|
||||
|
||||
td {
|
||||
border-inline: 15px solid;
|
||||
border-color: #ffffff00;
|
||||
border-inline: 15px solid;
|
||||
border-color: #ffffff00;
|
||||
}
|
||||
|
||||
|
||||
b {
|
||||
font-family: "Satoshi-Bold";
|
||||
color: $accent;
|
||||
font-family: "Satoshi-Bold";
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $link;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.astro-code {
|
||||
padding: 15px;
|
||||
border-radius: 25px;
|
||||
max-width: 50vw;
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
code {
|
||||
background-color: transparent;
|
||||
}
|
||||
overflow: scroll;
|
||||
display: grid;
|
||||
padding: 15px;
|
||||
margin: 0;
|
||||
border-radius: 25px;
|
||||
max-width: 50vw;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #282a36;
|
||||
padding-inline: 10px;
|
||||
padding-block: 2px;
|
||||
margin: 2px;
|
||||
border-radius: 25px;
|
||||
background-color: #282a36;
|
||||
padding-inline: 10px;
|
||||
padding-block: 2px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
svg{
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
svg {
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
|
960
src/styles/moonlight-ii.json
Normal file
960
src/styles/moonlight-ii.json
Normal file
@@ -0,0 +1,960 @@
|
||||
{
|
||||
"name": "moonlight-ii",
|
||||
"type": "dark",
|
||||
"colors": {
|
||||
"foreground": "#c8d3f5",
|
||||
"focusBorder": "#82aaff",
|
||||
"contrastBorder": "#15151b",
|
||||
"editorCursor.foreground": "#82aaff",
|
||||
"editorRuler.foreground": "#444a73bb",
|
||||
"scrollbar.shadow": "#00000022",
|
||||
"tree.indentGuidesStroke": "#828bb866",
|
||||
"editorLink.activeForeground": "#c8d3f5",
|
||||
"selection.background": "#c8d3f5",
|
||||
"progressBar.background": "#82aaff",
|
||||
"textLink.foreground": "#65bcff",
|
||||
"textLink.activeForeground": "#b2dfff",
|
||||
"editorLineNumber.foreground": "#444a73",
|
||||
"editorLineNumber.activeForeground": "#828bb8",
|
||||
"editorBracketMatch.border": "#82aaffbb",
|
||||
"editorBracketMatch.background": "#1F2028",
|
||||
"editorWhitespace.foreground": "#c8d3f540",
|
||||
"editor.background": "#1F2028",
|
||||
"editor.foreground": "#c8d3f5",
|
||||
"editor.lineHighlightBackground": "#2f334d",
|
||||
"editor.selectionBackground": "#828bb850",
|
||||
"editor.selectionHighlightBackground": "#444a73",
|
||||
"editor.findMatchBackground": "#444a73",
|
||||
"editor.findMatchBorder": "#86e1fc",
|
||||
"editor.findMatchHighlightBackground": "#444a73",
|
||||
"editorOverviewRuler.findMatchForeground": "#86e1fcbb",
|
||||
"editorOverviewRuler.errorForeground": "#ff757fcc",
|
||||
"editorOverviewRuler.infoForeground": "#65bcff66",
|
||||
"editorOverviewRuler.warningForeground": "#ffc777cc",
|
||||
"editorOverviewRuler.modifiedForeground": "#82aaff66",
|
||||
"editorOverviewRuler.addedForeground": "#c3e88d66",
|
||||
"editorOverviewRuler.deletedForeground": "#ff98a466",
|
||||
"editorOverviewRuler.bracketMatchForeground": "#3e68d7bb",
|
||||
"editorOverviewRuler.border": "#1F2028",
|
||||
"editorHoverWidget.background": "#15151b",
|
||||
"editorHoverWidget.border": "#000000aa",
|
||||
"editorIndentGuide.background": "#444a73bb",
|
||||
"editorIndentGuide.activeBackground": "#828bb8aa",
|
||||
"editorGroupHeader.tabsBackground": "#1c1d24",
|
||||
"editorGroup.border": "#15151b",
|
||||
"editorGutter.modifiedBackground": "#82aaff66",
|
||||
"editorGutter.addedBackground": "#c3e88d66",
|
||||
"editorGutter.deletedBackground": "#ff5370aa",
|
||||
"tab.activeBorder": "#82aaff",
|
||||
"tab.activeModifiedBorder": "#828bb8",
|
||||
"tab.unfocusedActiveBorder": "#828bb8",
|
||||
"tab.activeForeground": "#c8d3f5",
|
||||
"tab.activeBackground": "#1F2028",
|
||||
"tab.inactiveForeground": "#828bb8",
|
||||
"tab.inactiveBackground": "#1c1d24",
|
||||
"tab.unfocusedActiveForeground": "#c8d3f5",
|
||||
"tab.border": "#15151b",
|
||||
"statusBar.noFolderBackground": "#1F2028",
|
||||
"statusBar.border": "#15151b",
|
||||
"statusBar.background": "#1c1d24",
|
||||
"statusBar.foreground": "#828bb8",
|
||||
"statusBar.debuggingBackground": "#baacff",
|
||||
"statusBar.debuggingForeground": "#c8d3f5",
|
||||
"statusBarItem.hoverBackground": "#828bb820",
|
||||
"activityBar.background": "#1c1d24",
|
||||
"activityBar.border": "#1F202860",
|
||||
"activityBar.foreground": "#b4c2f0",
|
||||
"activityBarBadge.background": "#3e68d7",
|
||||
"activityBarBadge.foreground": "#ffffff",
|
||||
"titleBar.activeBackground": "#1c1d24",
|
||||
"titleBar.activeForeground": "#c8d3f5",
|
||||
"titleBar.inactiveBackground": "#1c1d24",
|
||||
"titleBar.inactiveForeground": "#828bb8",
|
||||
"sideBar.background": "#1c1d24",
|
||||
"sideBar.foreground": "#828bb8",
|
||||
"sideBar.border": "#15151b",
|
||||
"titleBar.border": "#15151b",
|
||||
"sideBarTitle.foreground": "#c8d3f5",
|
||||
"sideBarSectionHeader.background": "#1c1d24",
|
||||
"sideBarSectionHeader.border": "#2f334d",
|
||||
"input.background": "#15151b",
|
||||
"input.foreground": "#c8d3f5",
|
||||
"input.placeholderForeground": "#c8d3f5aa",
|
||||
"input.border": "#00000066",
|
||||
"inputValidation.errorBackground": "#c53b53",
|
||||
"inputValidation.errorForeground": "#ffffff",
|
||||
"inputValidation.errorBorder": "#ff537050",
|
||||
"inputValidation.infoBackground": "#446bbb",
|
||||
"inputValidation.infoForeground": "#ffffff",
|
||||
"inputValidation.infoBorder": "#82aaff50",
|
||||
"inputValidation.warningBackground": "#ad7c43",
|
||||
"inputValidation.warningForeground": "#ffffff",
|
||||
"inputValidation.warningBorder": "#ffc77750",
|
||||
"dropdown.foreground": "#c8d3f5",
|
||||
"dropdown.background": "#2f334d",
|
||||
"dropdown.border": "#00000066",
|
||||
"list.hoverForeground": "#c8d3f5",
|
||||
"list.hoverBackground": "#1c1d24",
|
||||
"list.activeSelectionBackground": "#383e5c",
|
||||
"list.activeSelectionForeground": "#ffffff",
|
||||
"list.inactiveSelectionForeground": "#c8d3f5",
|
||||
"list.inactiveSelectionBackground": "#292e46",
|
||||
"list.focusBackground": "#131421",
|
||||
"list.focusForeground": "#c8d3f5",
|
||||
"list.highlightForeground": "#86e1fc",
|
||||
"list.warningForeground": "#ffc777cc",
|
||||
"terminal.foreground": "#bcc4d6",
|
||||
"terminal.selectionBackground": "#c8d3f544",
|
||||
"terminal.ansiWhite": "#c8d3f5",
|
||||
"terminal.ansiBlack": "#000000",
|
||||
"terminal.ansiBlue": "#82aaff",
|
||||
"terminal.ansiCyan": "#86e1fc",
|
||||
"terminal.ansiGreen": "#c3e88d",
|
||||
"terminal.ansiMagenta": "#fca7ea",
|
||||
"terminal.ansiRed": "#ff757f",
|
||||
"terminal.ansiYellow": "#ffc777",
|
||||
"terminal.ansiBrightWhite": "#c8d3f5",
|
||||
"terminal.ansiBrightBlack": "#828bb8",
|
||||
"terminal.ansiBrightBlue": "#82aaff",
|
||||
"terminal.ansiBrightCyan": "#86e1fc",
|
||||
"terminal.ansiBrightGreen": "#c3e88d",
|
||||
"terminal.ansiBrightMagenta": "#fca7ea",
|
||||
"terminal.ansiBrightRed": "#ff757f",
|
||||
"terminal.ansiBrightYellow": "#ffc777",
|
||||
"terminal.border": "#2f334d",
|
||||
"scrollbarSlider.background": "#828bb830",
|
||||
"scrollbarSlider.hoverBackground": "#a9b8e830",
|
||||
"scrollbarSlider.activeBackground": "#82aaff",
|
||||
"minimap.findMatchHighlight": "#86e1fccc",
|
||||
"minimap.selectionHighlight": "#86e1fc33",
|
||||
"minimapGutter.addedBackground": "#c3e88d66",
|
||||
"minimapGutter.modifiedBackground": "#82aaff66",
|
||||
"editorSuggestWidget.background": "#15151b",
|
||||
"editorSuggestWidget.foreground": "#a9b8e8",
|
||||
"editorSuggestWidget.highlightForeground": "#86e1fc",
|
||||
"editorSuggestWidget.selectedBackground": "#2f334d",
|
||||
"editorSuggestWidget.border": "#00000033",
|
||||
"editorError.foreground": "#ff5370",
|
||||
"editorWarning.foreground": "#ffc777cc",
|
||||
"editorWidget.background": "#1c1d24",
|
||||
"editorWidget.resizeBorder": "#82aaff",
|
||||
"editorMarkerNavigation.background": "#c8d3f505",
|
||||
"widget.shadow": "#00000033",
|
||||
"panel.border": "#00000033",
|
||||
"panel.background": "#1c1d24",
|
||||
"panel.dropBackground": "#c8d3f5",
|
||||
"panelTitle.inactiveForeground": "#828bb8",
|
||||
"panelTitle.activeForeground": "#c8d3f5",
|
||||
"panelTitle.activeBorder": "#82aaff",
|
||||
"terminalCursor.foreground": "#82aaff",
|
||||
"diffEditor.insertedTextBackground": "#c3e88d15",
|
||||
"diffEditor.removedTextBackground": "#ff537020",
|
||||
"notifications.background": "#15151b",
|
||||
"notifications.foreground": "#c8d3f5",
|
||||
"notificationLink.foreground": "#82aaff",
|
||||
"badge.background": "#3e68d7",
|
||||
"badge.foreground": "#ffffff",
|
||||
"button.background": "#3e68d7",
|
||||
"button.hoverBackground": "#65bcffcc",
|
||||
"extensionButton.prominentBackground": "#3e68d7",
|
||||
"extensionButton.prominentHoverBackground": "#65bcffcc",
|
||||
"peekView.border": "#00000030",
|
||||
"peekViewEditor.background": "#c8d3f505",
|
||||
"peekViewTitle.background": "#c8d3f505",
|
||||
"peekViewResult.background": "#c8d3f505",
|
||||
"peekViewEditorGutter.background": "#c8d3f505",
|
||||
"peekViewTitleDescription.foreground": "#c8d3f560",
|
||||
"peekViewResult.matchHighlightBackground": "#828bb850",
|
||||
"peekViewEditor.matchHighlightBackground": "#828bb850",
|
||||
"debugToolBar.background": "#1c1d24",
|
||||
"pickerGroup.foreground": "#82aaff",
|
||||
"gitDecoration.deletedResourceForeground": "#ff5370dd",
|
||||
"gitDecoration.conflictingResourceForeground": "#ffc777cc",
|
||||
"gitDecoration.modifiedResourceForeground": "#82aaffee",
|
||||
"gitDecoration.untrackedResourceForeground": "#77e0c6dd",
|
||||
"gitDecoration.ignoredResourceForeground": "#777fabaa",
|
||||
"gitlens.trailingLineForegroundColor": "#828bb8aa",
|
||||
"editorCodeLens.foreground": "#828bb8",
|
||||
"peekViewResult.selectionBackground": "#828bb870",
|
||||
"breadcrumb.background": "#1F2028",
|
||||
"breadcrumb.foreground": "#828bb8",
|
||||
"breadcrumb.focusForeground": "#c8d3f5",
|
||||
"breadcrumb.activeSelectionForeground": "#82aaff",
|
||||
"breadcrumbPicker.background": "#1c1d24",
|
||||
"menu.background": "#1c1d24",
|
||||
"menu.foreground": "#c8d3f5",
|
||||
"menu.selectionBackground": "#00000050",
|
||||
"menu.selectionForeground": "#82aaff",
|
||||
"menu.selectionBorder": "#00000030",
|
||||
"menu.separatorBackground": "#c8d3f5",
|
||||
"menubar.selectionBackground": "#00000030",
|
||||
"menubar.selectionForeground": "#82aaff",
|
||||
"menubar.selectionBorder": "#00000030",
|
||||
"settings.dropdownForeground": "#c8d3f5",
|
||||
"settings.dropdownBackground": "#2f334d",
|
||||
"settings.dropdownBorder": "#15151b",
|
||||
"settings.numberInputForeground": "#c8d3f5",
|
||||
"settings.numberInputBackground": "#15151b",
|
||||
"settings.numberInputBorder": "#00000066",
|
||||
"settings.textInputForeground": "#c8d3f5",
|
||||
"settings.textInputBackground": "#15151b",
|
||||
"settings.textInputBorder": "#00000066",
|
||||
"settings.headerForeground": "#82aaff",
|
||||
"settings.modifiedItemIndicator": "#82aaff",
|
||||
"settings.checkboxBackground": "#131421",
|
||||
"settings.checkboxForeground": "#c8d3f5",
|
||||
"settings.checkboxBorder": "#00000066"
|
||||
},
|
||||
"tokenColors": [
|
||||
{
|
||||
"name": "Comment",
|
||||
"scope": ["comment", "punctuation.definition.comment", "string.quoted.docstring"],
|
||||
"settings": {
|
||||
"foreground": "#858aa6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Variables and Plain Text",
|
||||
"scope": ["variable", "support.variable", "string constant.other.placeholder", "text.html"],
|
||||
"settings": {
|
||||
"foreground": "#c8d3f5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DOM Variables",
|
||||
"scope": [
|
||||
"support.variable.dom",
|
||||
"support.constant.math",
|
||||
"support.type.object.module",
|
||||
"support.variable.object.process",
|
||||
"support.constant.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Nil",
|
||||
"scope": ["constant.language.undefined", "constant.language.null"],
|
||||
"settings": {
|
||||
"foreground": "#7f85a3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PHP Constants",
|
||||
"scope": ["constant.other.php"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Colors",
|
||||
"scope": ["constant.other.color"],
|
||||
"settings": {
|
||||
"foreground": "#ffffff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Invalid",
|
||||
"scope": ["invalid", "invalid.illegal"],
|
||||
"settings": {
|
||||
"foreground": "#ff5370"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Invalid deprecated",
|
||||
"scope": ["invalid.deprecated"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword, Storage",
|
||||
"scope": ["keyword", "storage.type", "storage.modifier", "keyword.other.important"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword, Storage",
|
||||
"scope": ["keyword.control", "storage"],
|
||||
"settings": {}
|
||||
},
|
||||
{
|
||||
"name": "Interpolation",
|
||||
"scope": ["punctuation.definition.template-expression", "punctuation.section.embedded"],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spread",
|
||||
"scope": ["keyword.operator.spread", "keyword.operator.rest"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Operator, Misc",
|
||||
"scope": [
|
||||
"keyword.operator",
|
||||
"keyword.control",
|
||||
"punctuation",
|
||||
"punctuation.definition.string",
|
||||
"punctuation.support.type.property-name",
|
||||
"text.html.vue-html meta.tag",
|
||||
"punctuation.definition.keyword",
|
||||
"punctuation.terminator.rule",
|
||||
"punctuation.definition.entity",
|
||||
"constant.other.color",
|
||||
"meta.tag",
|
||||
"punctuation.definition.tag",
|
||||
"punctuation.separator.inheritance.php",
|
||||
"punctuation.definition.block.tag",
|
||||
"punctuation.definition.tag.html",
|
||||
"punctuation.definition.tag.begin.html",
|
||||
"punctuation.definition.tag.end.html",
|
||||
"meta.property-list",
|
||||
"meta.brace.square",
|
||||
"keyword.other.template",
|
||||
"keyword.other.substitution"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keyword Control",
|
||||
"scope": ["keyword.control"],
|
||||
"settings": {}
|
||||
},
|
||||
{
|
||||
"name": "Tag",
|
||||
"scope": ["entity.name.tag", "meta.tag", "markup.deleted.git_gutter"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Function, Special Method",
|
||||
"scope": ["entity.name.function", "variable.function", "keyword.other.special-method"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Support Function",
|
||||
"scope": ["support.function", "meta.function-call entity.name.function"],
|
||||
"settings": {
|
||||
"foreground": "#65bcff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "C-related Block Level Variables",
|
||||
"scope": ["source.cpp meta.block variable.other"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Other Variable, String Link",
|
||||
"scope": ["support.other.variable", "string.other.link"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Constant, Function Argument, Tag Attribute, Embedded",
|
||||
"scope": [
|
||||
"variable.other.constant",
|
||||
"constant.language",
|
||||
"keyword.other.type.php",
|
||||
"storage.type.php",
|
||||
"support.constant",
|
||||
"constant.character",
|
||||
"constant.escape",
|
||||
"keyword.other.unit"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ff98a4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Number, Boolean",
|
||||
"scope": [
|
||||
"constant.numeric",
|
||||
"constant.language.boolean",
|
||||
"constant.language.json",
|
||||
"constant.language.infinity",
|
||||
"constant.language.nan"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ff966c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Function Argument",
|
||||
"scope": [
|
||||
"variable.parameter.function.language.special",
|
||||
"variable.parameter",
|
||||
"meta.function.parameter variable"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#fca7ea"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "String, Symbols, Inherited Class, Markup Heading",
|
||||
"scope": [
|
||||
"string",
|
||||
"constant.other.symbol",
|
||||
"constant.other.key",
|
||||
"entity.other.inherited-class",
|
||||
"markup.heading",
|
||||
"markup.inserted.git_gutter",
|
||||
"meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js",
|
||||
"meta.attribute-selector"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "",
|
||||
"foreground": "#c3e88d"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Object",
|
||||
"scope": ["variable.other.object"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Object Key",
|
||||
"scope": [
|
||||
"meta.object-literal.key",
|
||||
"string.alias.graphql",
|
||||
"string.unquoted.graphql",
|
||||
"string.unquoted.alias.graphql",
|
||||
"meta.field.declaration.ts variable.object.property",
|
||||
"variable.object.property"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4fd6be"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Nested Object Property",
|
||||
"scope": ["meta.object.member", "variable.other.object.property"],
|
||||
"settings": {
|
||||
"foreground": "#a9b8e8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Object Property",
|
||||
"scope": [
|
||||
"variable.other.property",
|
||||
"support.variable.property",
|
||||
"support.variable.property.dom"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#a9b8e8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Haskell Constants",
|
||||
"scope": ["source.haskell constant.other.haskell"],
|
||||
"settings": {
|
||||
"foreground": "#ff98a4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Haskell Imports",
|
||||
"scope": ["source.haskell meta.import.haskell entity.name.namespace"],
|
||||
"settings": {
|
||||
"foreground": "#c8d3f5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Types Fixes",
|
||||
"scope": ["source.haskell storage.type", "source.c storage.type", "source.java storage.type"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lambda Arrow",
|
||||
"scope": ["storage.type.function"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Class, Support",
|
||||
"scope": [
|
||||
"entity.name",
|
||||
"support.type",
|
||||
"support.class",
|
||||
"support.orther.namespace.use.php",
|
||||
"meta.use.php",
|
||||
"support.other.namespace.php",
|
||||
"markup.changed.git_gutter",
|
||||
"support.type.sys-types"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Entity types",
|
||||
"scope": ["support.type"],
|
||||
"settings": {
|
||||
"foreground": "#ff966c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Class and Support",
|
||||
"scope": [
|
||||
"source.css support.type.property-name",
|
||||
"source.sass support.type.property-name",
|
||||
"source.scss support.type.property-name",
|
||||
"source.less support.type.property-name",
|
||||
"source.stylus support.type.property-name",
|
||||
"source.postcss support.type.property-name",
|
||||
"support.type.property-name.css",
|
||||
"support.type.vendored.property-name"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sub-methods",
|
||||
"scope": ["entity.name.module.js", "variable.import.parameter.js", "variable.other.class.js"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Language methods",
|
||||
"scope": ["variable.language"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "entity.name.method.js",
|
||||
"scope": ["entity.name.method.js"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "meta.method.js",
|
||||
"scope": ["meta.class-method.js entity.name.function.js", "variable.function.constructor"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Attributes",
|
||||
"scope": ["entity.other.attribute-name"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "HTML Attributes",
|
||||
"scope": [
|
||||
"text.html.basic entity.other.attribute-name.html",
|
||||
"text.html.basic entity.other.attribute-name"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "HTML Doctype",
|
||||
"scope": [
|
||||
"meta.tag.metadata.doctype entity.name.tag",
|
||||
"meta.tag.metadata.doctype entity.other.attribute-name"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Classes",
|
||||
"scope": ["entity.other.attribute-name.class"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS ID's",
|
||||
"scope": ["source.sass keyword.control"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS psuedo selectors",
|
||||
"scope": [
|
||||
"entity.other.attribute-name.pseudo-class",
|
||||
"entity.other.attribute-name.pseudo-element"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4fd6be"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Property value",
|
||||
"scope": ["support.constant.property-value"],
|
||||
"settings": {
|
||||
"foreground": "#fca7ea"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Inserted",
|
||||
"scope": ["markup.inserted"],
|
||||
"settings": {
|
||||
"foreground": "#c3e88d"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Deleted",
|
||||
"scope": ["markup.deleted"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Changed",
|
||||
"scope": ["markup.changed"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions",
|
||||
"scope": ["string.regexp"],
|
||||
"settings": {
|
||||
"foreground": "#b4f9f8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions - Punctuation",
|
||||
"scope": ["punctuation.definition.group"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions - Character Class",
|
||||
"scope": ["constant.other.character-class.regexp", "keyword.control.anchor.regexp"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions - Character Class Set",
|
||||
"scope": ["constant.other.character-class.set.regexp"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Regular Expressions - Quantifier",
|
||||
"scope": ["keyword.operator.quantifier.regexp"],
|
||||
"settings": {
|
||||
"foreground": "#fca7ea"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Escape Characters",
|
||||
"scope": ["constant.character.escape"],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "URL",
|
||||
"scope": ["*url*", "*link*", "*uri*"],
|
||||
"settings": {
|
||||
"fontStyle": "underline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Decorators",
|
||||
"scope": [
|
||||
"tag.decorator.js entity.name.tag.js",
|
||||
"tag.decorator.js punctuation.definition.tag.js"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CSS Units",
|
||||
"scope": ["keyword.other.unit"],
|
||||
"settings": {
|
||||
"foreground": "#fc7b7b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ES7 Bind Operator",
|
||||
"scope": ["source.js constant.other.object.key.js string.unquoted.label.js"],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 0",
|
||||
"scope": ["source.json meta.structure.dictionary.json support.type.property-name.json"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 1",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#65bcff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 2",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 3",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#fca7ea"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 4",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 5",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4fd6be"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "JSON Key - Level 6",
|
||||
"scope": [
|
||||
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Plain Punctuation",
|
||||
"scope": ["punctuation.definition.list_item.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#828bb8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Block Punctuation",
|
||||
"scope": [
|
||||
"meta.block",
|
||||
"meta.brace",
|
||||
"punctuation.definition.block",
|
||||
"punctuation.definition.parameters",
|
||||
"punctuation.section.function"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#b4c2f0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Plain",
|
||||
"scope": ["meta.jsx.children", "meta.embedded.block"],
|
||||
"settings": {
|
||||
"foreground": "#b4c2f0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Markup Raw Inline",
|
||||
"scope": ["text.html.markdown markup.inline.raw.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Markup Raw Inline Punctuation",
|
||||
"scope": [
|
||||
"text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Heading punctuation",
|
||||
"scope": [
|
||||
"markdown.heading",
|
||||
"markup.heading | markup.heading entity.name",
|
||||
"markup.heading.markdown punctuation.definition.heading.markdown"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Italic",
|
||||
"scope": ["markup.italic"],
|
||||
"settings": {
|
||||
"fontStyle": "italic",
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Bold",
|
||||
"scope": ["markup.bold", "markup.bold string"],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Bold-Italic",
|
||||
"scope": [
|
||||
"markup.bold markup.italic",
|
||||
"markup.italic markup.bold",
|
||||
"markup.quote markup.bold",
|
||||
"markup.bold markup.italic string",
|
||||
"markup.italic markup.bold string",
|
||||
"markup.quote markup.bold string"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Underline",
|
||||
"scope": ["markup.underline"],
|
||||
"settings": {
|
||||
"fontStyle": "underline",
|
||||
"foreground": "#ff966c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Blockquote",
|
||||
"scope": ["markup.quote punctuation.definition.blockquote.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Quote",
|
||||
"scope": ["markup.quote"],
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link",
|
||||
"scope": ["string.other.link.title.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#82aaff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link Description",
|
||||
"scope": ["string.other.link.description.title.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Link Anchor",
|
||||
"scope": ["constant.other.reference.link.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Raw Block",
|
||||
"scope": ["markup.raw.block"],
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Fenced Bode Block Variable",
|
||||
"scope": ["markup.fenced_code.block.markdown", "markup.inline.raw.string.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Fenced Language",
|
||||
"scope": ["variable.language.fenced.markdown"],
|
||||
"settings": {
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markdown - Separator",
|
||||
"scope": ["meta.separator"],
|
||||
"settings": {
|
||||
"fontStyle": "bold",
|
||||
"foreground": "#86e1fc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Markup - Table",
|
||||
"scope": ["markup.table"],
|
||||
"settings": {
|
||||
"foreground": "#828bb8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.info-token",
|
||||
"settings": {
|
||||
"foreground": "#65bcff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.warn-token",
|
||||
"settings": {
|
||||
"foreground": "#ffc777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.error-token",
|
||||
"settings": {
|
||||
"foreground": "#ff757f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.debug-token",
|
||||
"settings": {
|
||||
"foreground": "#c099ff"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user