├── versions.json ├── sample-screenshot.png ├── sample-screenshot-sm.png ├── manifest.json ├── package.json ├── .editorconfig ├── .gitignore ├── theme.css ├── LICENSE ├── version-bump.mjs ├── README.md └── .github └── workflows └── release-version.yml /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "1.0.0": "1.0.0" 3 | } -------------------------------------------------------------------------------- /sample-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakuraIsayeki/vanilla-amoled-theme/HEAD/sample-screenshot.png -------------------------------------------------------------------------------- /sample-screenshot-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakuraIsayeki/vanilla-amoled-theme/HEAD/sample-screenshot-sm.png -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Vanilla AMOLED", 3 | "version": "1.0.0", 4 | "minAppVersion": "1.0.0", 5 | "author": "Sakura Akeno Isayeki", 6 | "authorUrl": "https//github.com/SakuraIsayeki" 7 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vanilla-amoled-theme", 3 | "version": "1.0.0", 4 | "scripts": { 5 | "version": "node version-bump.mjs && git add manifest.json versions.json" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | insert_final_newline = true 8 | indent_style = tab 9 | indent_size = 4 10 | tab_width = 4 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # vscode 2 | .vscode 3 | 4 | # Intellij 5 | *.iml 6 | .idea 7 | 8 | # npm 9 | node_modules 10 | 11 | # Exclude sourcemaps 12 | *.map 13 | 14 | # Exclude macOS Finder (System Explorer) View States 15 | .DS_Store 16 | -------------------------------------------------------------------------------- /theme.css: -------------------------------------------------------------------------------- 1 | .theme-dark { 2 | --color-base-00: #000; 3 | --color-base-05: #080808; 4 | --color-base-10: #111; 5 | --color-base-20: #1a1a1a; 6 | --color-base-25: #222; 7 | --color-base-30: #333; 8 | --color-base-35: #363636; 9 | --color-base-40: #4a4a4a; 10 | --color-base-50: #666; 11 | --color-base-60: #999; 12 | --color-base-70: #bbb; 13 | --color-base-100: #fff; 14 | 15 | --background-primary: var(--color-base-00); 16 | --background-secondary: var(--color-base-05); 17 | --titlebar-background: var(--color-base-00); 18 | --titlebar-background-focused: var(--color-base-10); 19 | } 20 | 21 | 22 | /* 23 | No, seriously, that's as simple as it gets. 24 | - Sakura 25 | */ 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2023 Sakura Akeno Isayeki 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, 4 | provided that the above copyright notice and this permission notice appear in all copies. 5 | 6 | THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES 7 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. 8 | IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, 9 | OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 10 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 11 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- /version-bump.mjs: -------------------------------------------------------------------------------- 1 | /** 2 | * This script makes it slightly easier to release new versions of your 3 | * theme. If you are not using Github Releases with your theme, or 4 | * you are not interested in automating the process, you can safely ignore 5 | * this script. 6 | * 7 | * Usage: `$ npm run version` 8 | * 9 | * This script will automatically add a new entry to the versions.json file for 10 | * the current version of your theme. 11 | */ 12 | 13 | import { readFileSync, writeFileSync } from "fs"; 14 | 15 | const targetVersion = process.env.npm_package_version; 16 | 17 | // read minAppVersion from manifest.json and bump version to target version 18 | let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); 19 | const { minAppVersion } = manifest; 20 | manifest.version = targetVersion; 21 | writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); 22 | 23 | // update versions.json with target version and minAppVersion from manifest.json 24 | let versions = JSON.parse(readFileSync("versions.json", "utf8")); 25 | versions[targetVersion] = minAppVersion; 26 | writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Vanilla AMOLED

2 |

A simple Obsidian AMOLED theme for your ultra-dark theme needs!

3 | 4 |
5 | Downloads 6 |
7 | 8 |
9 | 10 | ![Sample screenshot of the Vanilla AMOLED theme](sample-screenshot.png) 11 | 12 | This theme was created out of a need for a darker yet vanilla-like Obsidian theme, as well as a theme that takes full advantage of AMOLED screens by pitching the background fully black. 13 | 14 | ## Forks 15 | Check out these forks and their various improvements, made by fellow developers : 16 | - **[Sskki-exe/vanilla-amoled-theme-color](https://github.com/Sskki-exe/vanilla-amoled-theme-color)** : *Adds coloured headings inspired by [Insanum's Obsidian Nord Theme](https://github.com/insanum/obsidian_nord).* 17 | - **[darthdemono/AMOLED-Serenity](https://github.com/darthdemono/AMOLED-Serenity)** : *Reworks using softer contrasts and coloured headings (background is however not full-black)*. 18 | - **[xavwe/obsidian-minimal-amoled-theme](https://github.com/xavwe/obsidian-minimal-amoled-theme)** : *Minimal spinoff using [JetBrain's Mono](https://www.jetbrains.com/lp/mono/) font* 19 | -------------------------------------------------------------------------------- /.github/workflows/release-version.yml: -------------------------------------------------------------------------------- 1 | name: Publish new theme version 2 | 3 | on: 4 | push: 5 | # Sequence of patterns matched against refs/tags 6 | tags: 7 | - "*" # Push events to matching any tag format, i.e. 1.0, 20.15.10 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - uses: actions/checkout@v3 15 | - name: Bundle 16 | id: bundle 17 | run: | 18 | ls 19 | echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)" 20 | - name: Create Release 21 | id: create_release 22 | uses: actions/create-release@v1 23 | env: 24 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 25 | VERSION: ${{ github.ref }} 26 | with: 27 | tag_name: ${{ github.ref }} 28 | release_name: ${{ github.ref }} 29 | draft: false 30 | prerelease: false 31 | - name: Upload manifest.json 32 | id: upload-manifest 33 | uses: actions/upload-release-asset@v1 34 | env: 35 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 36 | with: 37 | upload_url: ${{ steps.create_release.outputs.upload_url }} 38 | asset_path: ./manifest.json 39 | asset_name: manifest.json 40 | asset_content_type: application/json 41 | - name: Upload theme.css 42 | id: upload-css 43 | uses: actions/upload-release-asset@v1 44 | env: 45 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 46 | with: 47 | upload_url: ${{ steps.create_release.outputs.upload_url }} 48 | asset_path: ./theme.css 49 | asset_name: theme.css 50 | asset_content_type: text/css 51 | --------------------------------------------------------------------------------