Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new config system and update icon design #5

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0aba21a
feat: add new config system
ivodolenc Oct 2, 2024
223159d
chore: update package config and dependencies
ivodolenc Oct 2, 2024
6adeeea
refactor: add static dir
ivodolenc Oct 3, 2024
5755e14
docs: update readme
ivodolenc Oct 3, 2024
ce645bd
chore: update config descriptions
ivodolenc Oct 3, 2024
d912258
chore: add build scripts
ivodolenc Oct 3, 2024
018491e
chore: update config props
ivodolenc Oct 4, 2024
9d7751e
chore: update build scripts
ivodolenc Oct 4, 2024
4914cbe
refactor: update utils
ivodolenc Oct 4, 2024
986bb73
types: improve extension and theme types
ivodolenc Oct 4, 2024
7ad1080
chore: update pnpm-lock.yaml
ivodolenc Oct 4, 2024
2e2af9a
chore: update theme build scripts
ivodolenc Oct 4, 2024
84af408
types: update config types
ivodolenc Oct 4, 2024
c27c2e9
refactor: improve theme creation
ivodolenc Oct 4, 2024
df27924
feat: add new config system
ivodolenc Oct 4, 2024
44e73d5
refactor: change extension main entry
ivodolenc Oct 4, 2024
7dbaaa4
chore: bump version to 1.5.0
ivodolenc Oct 4, 2024
034553a
chore: update build theme script
ivodolenc Oct 5, 2024
185d89a
refactor: update utils
ivodolenc Oct 5, 2024
a2ab046
chore: add commands
ivodolenc Oct 7, 2024
f8cd68c
refactor: update extension main entry
ivodolenc Oct 7, 2024
4db1d7c
feat: add extension meta
ivodolenc Oct 7, 2024
1a58556
feat: add extension messages notifications
ivodolenc Oct 7, 2024
2e6f661
feat: add extension config system
ivodolenc Oct 7, 2024
8b6527d
feat: add extension command system
ivodolenc Oct 7, 2024
3bf8243
chore: update dependencies
ivodolenc Oct 9, 2024
3f21e76
refactor: improve icon-map theme generator
ivodolenc Oct 9, 2024
e564473
refactor: update theme icon definitions
ivodolenc Oct 10, 2024
1bc3bd4
refactor: remove icons
ivodolenc Oct 10, 2024
8cec153
docs: update readme info
ivodolenc Oct 10, 2024
874fa4a
docs: update readme info
ivodolenc Oct 12, 2024
0b55452
feat: improve theme exts and add new icons
ivodolenc Oct 12, 2024
239dbd0
types: update config types
ivodolenc Oct 15, 2024
835d55a
refactor: improve theme config patterns
ivodolenc Oct 15, 2024
07efa64
feat: add opacity config and command
ivodolenc Oct 15, 2024
f1424ec
docs: add info for opacity settings
ivodolenc Oct 15, 2024
793e7d9
refactor: update theme
ivodolenc Oct 15, 2024
cdf3cab
chore: update dependencies
ivodolenc Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 182 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

<p align="center">
<a href="https://github.com/hypernym-studio/vscode-icons">Repository</a>
<span>+</span>
<span></span>
<a href="https://github.com/hypernym-studio/vscode-icons/releases">Releases</a>
<span>+</span>
<span></span>
<a href="https://github.com/hypernym-studio/vscode-icons/discussions">Discussions</a>
<span>+</span>
<span></span>
<a href="https://marketplace.visualstudio.com/items?itemName=hypernym-studio.hypernym-icons">Marketplace</a>
</p>

Expand All @@ -22,25 +22,199 @@

<br>

## Extension
## Features

This icon theme is heavily inspired by the latest modern trends and follows an ultra-minimalistic style. Also, the project is built with TypeScript under the hood so it can be very easily extended in dev mode.
- Adds minimalistic modern style
- Dynamically infers colors based on state
- Allows additional customization via options
- Provides special commands

## Installation

### Marketplace

Search for `Hypernym Icons` in the official VSCode Marketplace and install the extension.
Install [Hypernym Icons](https://marketplace.visualstudio.com/items?itemName=hypernym-studio.hypernym-icons) extension from the official VSCode Marketplace.

### Manual

If necessary, the extension can be installed manually (optional).

1. Download the [latest version](https://github.com/hypernym-studio/vscode-icons/releases/latest) of the extension.
2. Open the Command Palette dropdown (⇧⌘P).
2. Open the **Command Palette** dropdown (**⇧⌘P**).
- Run the `Extensions: Install from VSIX` command.
- Select previously downloaded `.vsix` extension file.
3. After installation, simply activate the extension.

<sub>Read the official <a href="https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix">guide</a> to learn more about manual installation.</sub>
<sub>Read the official VSCode <a href="https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix">guide</a> to learn more about manual installation.</sub>

## Options

Extension provides a configuration system that allows additional customization such as changing the color, opacity and size of icons.

All options are optional and will fall back to defaults if not specified.

<sub>See the official VSCode <a href="https://code.visualstudio.com/docs/getstarted/settings">settings</a> section for more info.</sub>

### Explorer Arrows

- Type: `boolean`
- Default: `true`

Specifies the visibility of the Explorer arrows.

```ts
// settings.json

{
"hypernym-icons.hidesExplorerArrows": true
}
```

### Folder Color

- Type: `string`
- Default: `undefined`

Specifies a custom color for folder icons. Accepts valid HEX color format.

```ts
// settings.json

{
"hypernym-icons.folders.color": "#fff" // #fff, #ffffff, #ffffff66
}
```

### Folder Opacity

- Type: `string`
- Default: `undefined`

Specifies a custom opacity for folder icons. Accepts a percentage size format.

```ts
// settings.json

{
"hypernym-icons.folders.opacity": "60%" // 0-100%
}
```

### Folder Size

- Type: `string`
- Default: `undefined`

Specifies a custom size for folder icons. Accepts a percentage size format.

```ts
// settings.json

{
"hypernym-icons.folders.size": "130%"
}
```

### Icon Color

- Type: `string`
- Default: `undefined`

Specifies a custom color for all icons. Accepts valid HEX color format.

```ts
// settings.json

{
"hypernym-icons.icons.color": "#fff" // #fff, #ffffff, #ffffff66
}
```

### Icon Opacity

- Type: `string`
- Default: `undefined`

Specifies a custom opacity for all icons. Accepts a percentage size format.

```ts
// settings.json

{
"hypernym-icons.icons.opacity": "60%" // 0-100%
}
```

### Icon Size

- Type: `string`
- Default: `undefined`

Specifies a custom size for all icons. Accepts a percentage size format.

```ts
// settings.json

{
"hypernym-icons.icons.size": "130%"
}
```

## Commands

Extension includes a set of specific `commands` that can simplify customization.

1. Open the **Command Palette** dropdown (**⇧⌘P**).
2. Type `Hypernym Icons` to see a list of all available commands.
3. Run the selected command.

<sub>See the official VSCode <a href="https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette">commands</a> section for more info.</sub>

### Toggle Explorer Arrows

- Command: `Hypernym Icons: Toggle Explorer Arrows`

Specifies the visibility of the explorer arrows.

### Set Folder Color

- Command: `Hypernym Icons: Set Folder Color`

Specifies a custom color for folder icons. Accepts valid HEX color format.

### Set Folder Opacity

- Command: `Hypernym Icons: Set Folder Opacity`

Specifies a custom opacity for folder icons. Accepts a percentage size format.

### Set Folder Size

- Command: `Hypernym Icons: Set Folder Size`

Specifies a custom size for folder icons. Accepts a percentage size format.

### Set Icon Color

- Command: `Hypernym Icons: Set Icon Color`

Specifies a custom color for all icons. Accepts valid HEX color format.

### Set Icon Opacity

- Command: `Hypernym Icons: Set Icon Opacity`

Specifies a custom opacity for all icons. Accepts a percentage size format.

### Set Icon Size

- Command: `Hypernym Icons: Set Icon Size`

Specifies a custom size for all icons. Accepts a percentage size format.

### Reset Commands

It is also possible to reset settings via commands if they are input type. Simply select a command, type `default` and run it. This will reset the option to its default value.

## Community

Expand Down
1 change: 0 additions & 1 deletion icons/10_info.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/11_json.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/12_style.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/13_terminal.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/14_verified.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/1_config.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/2_copyright.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/3_file.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/4_folder.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/5_folder-open.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/6_font.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/7_hidden.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/8_html.svg

This file was deleted.

1 change: 0 additions & 1 deletion icons/9_image.svg

This file was deleted.

Loading