├── .editorconfig
├── .github
└── CODEOWNERS
├── INSTALL.md
├── LICENSE.md
├── README.md
├── index.js
├── logo.png
├── package-lock.json
├── package.json
├── screenshot.png
└── themes
└── omni.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 2
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | # Learn how to add code owners here:
2 | # https://help.github.com/en/articles/about-code-owners
3 |
4 | * @birobirobiro @maykbrito @jpedroschmitz
5 |
--------------------------------------------------------------------------------
/INSTALL.md:
--------------------------------------------------------------------------------
1 | ### [Insomnia](http://insomnia.rest)
2 |
3 | - Open **Preferences > Plugins**, search for `insomnia-plugin-theme-omni` and click **Install Plugin**;
4 | - After that, go to **Themes** (also under preferences) and apply the **Omni** theme.
5 |
6 | #### Troubleshooting
7 |
8 | - **Package not found**: If the installation fails because of an error saying it did not find the package, it may be because of a bug that happens when installing Insomnia on Linux with [Snap](https://snapcraft.io/). To fix it, take a look [at this comment](https://github.com/getomni/insomnia/issues/6#issuecomment-781633104).
9 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Omni Theme
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Omni for Insomnia
6 |
7 |
8 |
9 |
10 | Dark theme for Insomnia
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | Install •
21 | Team •
22 | License
23 |
24 |
25 |
26 |
27 |
28 |
29 | ## Install
30 |
31 | All instructions can be found at [INSTALL.md](./INSTALL.md).
32 |
33 | ## Team
34 |
35 | This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/getomni/insomnia/graphs/contributors).
36 |
37 | | [](https://github.com/maykbrito) | [](https://github.com/birobirobiro) | [](https://github.com/jpedroschmitz) |
38 | | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
39 | | [Mayk Brito](https://github.com/maykbrito) | [João Inácio](https://github.com/birobirobiro) | [João Pedro](https://github.com/jpedroschmitz) |
40 |
41 | ## License
42 |
43 | [MIT License](./LICENSE.md)
44 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | module.exports.themes = [require('./themes/omni')]
2 |
--------------------------------------------------------------------------------
/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getomni/insomnia/afe8c22a63b2eef5aea894212bc10e35bf50816b/logo.png
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "insomnia-plugin-theme-omni",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1
5 | }
6 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "insomnia-plugin-theme-omni",
3 | "description": "Official Omni Theme. A dark theme created by Rocketseat!",
4 | "version": "1.0.0",
5 | "insomnia": {
6 | "name": "omni-theme",
7 | "displayName": "Omni Theme",
8 | "description": "A beautiful dark theme for Insomnia",
9 | "images": {
10 | "icon": "logo.png"
11 | }
12 | },
13 | "main": "index.js",
14 | "keywords": [
15 | "theme",
16 | "dark",
17 | "insomnia",
18 | "insomnia-theme",
19 | "insomnia-plugin",
20 | "color-theme",
21 | "omni"
22 | ],
23 | "scripts": {
24 | "publish": "npm publish"
25 | },
26 | "repository": {
27 | "type": "git",
28 | "url": "git+https://github.com/getomni/insomnia.git"
29 | },
30 | "bugs": {
31 | "url": "https://github.com/getomni/insomnia/issues"
32 | },
33 | "homepage": "https://github.com/getomni/insomnia#readme",
34 | "license": "MIT"
35 | }
36 |
--------------------------------------------------------------------------------
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getomni/insomnia/afe8c22a63b2eef5aea894212bc10e35bf50816b/screenshot.png
--------------------------------------------------------------------------------
/themes/omni.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | name: 'omni',
3 | displayName: 'Omni Theme',
4 | theme: {
5 | background: {
6 | default: '#191622',
7 | success: '#67E480',
8 | notice: '#E7DE79',
9 | warning: '#E89E64',
10 | danger: '#E96379',
11 | surprise: '#bd93f9',
12 | info: '#78D1E1',
13 | },
14 | foreground: {
15 | default: '#E1E1E6',
16 | success: '#f8f8f2',
17 | notice: '#f8f8f2',
18 | warning: '#f8f8f2',
19 | danger: '#f8f8f2',
20 | surprise: '#f8f8f2',
21 | info: '#f8f8f2',
22 | },
23 | highlight: {
24 | default: 'rgba(167, 129, 201, .5)',
25 | xxs: 'rgba(167, 129, 201, 0.05)',
26 | xs: 'rgba(167, 129, 201, 0.1)',
27 | sm: 'rgba(167, 129, 201, 0.2)',
28 | md: 'rgba(167, 129, 201, 0.4)',
29 | lg: 'rgba(167, 129, 201, 0.6)',
30 | xl: 'rgba(167, 129, 201, 0.8)',
31 | },
32 | styles: {
33 | sidebar: {
34 | background: {
35 | default: '#191622',
36 | },
37 | },
38 | dialog: {
39 | background: {
40 | default: '#191622',
41 | },
42 | },
43 | paneHeader: {
44 | background: {
45 | success: '#67E480',
46 | notice: '#E7DE79',
47 | warning: '#E89E64',
48 | danger: '#E96379',
49 | surprise: '#bd93f9',
50 | info: '#78D1E1',
51 | },
52 | foreground: {
53 | default: '#E1E1E6',
54 | success: '#41414D',
55 | notice: '#41414D',
56 | warning: '#41414D',
57 | danger: '#41414D',
58 | surprise: '#E1E1E6',
59 | info: '#41414D',
60 | },
61 | },
62 | transparentOverlay: {
63 | background: {
64 | default: 'rgba(40, 42, 54, 0.5)',
65 | },
66 | },
67 | },
68 | },
69 | };
70 |
--------------------------------------------------------------------------------