Skip to content

Instantly share code, notes, and snippets.

@MMK21Hub
MMK21Hub / commands.json
Created January 11, 2021 09:52
Notable: All commands [1.9.0-beta.0]
[
{ "command": "about.close", "title": "About: Close", "description": "Close the about window" },
{ "command": "about.open", "title": "About: Open", "description": "Open the about window" },
{ "command": "about.toggle", "title": "About: Toggle", "description": "Open/close the about window", "args": "force?" },
{ "command": "app.exit", "title": "App: Exit", "description": "Exit the app, this is just an alias for \"app.quit\"" },
{ "command": "app.quit", "title": "App: Quit", "description": "Quit the app" },
{ "command": "app.reload", "title": "App: Reload", "description": "Reload the app" },
{ "command": "attachment.copy", "title": "Attachment: Copy...", "description": "Copy the relative path of an attachment to the clipboard", "args": "attachment" },
{ "command": "attachment.copyLink", "title": "Attachment: Copy Link...", "description": "Copy the link to an attachment to the clipboard", "args": "attachment" },
{ "command": "attachment.copyMarkdownLink", "title": "Attachment: Copy Markdown Li
@MMK21Hub
MMK21Hub / custom.css
Last active April 8, 2022 16:10
Notable Custom CSS: Fixes for the Dracula custom theme in v1.9-beta.2 to v1.9-beta.7
body, html {
--bg-primary: #292a36;
--bg-primary-border: #404154;
--bg-secondary: #21222c;
--bg-secondary-border: #424457 /* --bg-secondary + 15% Lightness */;
--bg-secondary-hover: #2c2d3a /* --bg-secondary + 5% Lightness */;
--bg-secondary-active: #373849 /* --bg-secondary + 10% Lightness */;
--bg-tertiary: #1e1f29;
@MMK21Hub
MMK21Hub / install-monocraft.sh
Last active October 28, 2022 06:10
A simple bash script to install the https://github.com/IdreesInc/Monocraft font. Needs more error handling and some documentation. And the code is horrible.
#!/bin/bash
rel() {
echo $(echo $latest_release | jq --raw-output "$1")
}
repo="IdreesInc/Monocraft"
url="https://api.github.com/repos/$repo/releases/latest"
fonts="$HOME/.local/share/fonts"
@MMK21Hub
MMK21Hub / domains.md
Created July 20, 2023 08:18
All Cloudflare domains that aren't changing price
Domain
.academy
.accountant
.attorney
.auction
.bar
.beer
.bid
.biz
@MMK21Hub
MMK21Hub / notable-custom-css.md
Last active October 4, 2023 16:14
Notable customisation tips and tricks

Tips & Tricks for Notable's Custom CSS

Customising colours

Adjusting the colour of various parts of the UI is a fun way to get started with Custom CSS.

Unfortunately, due to the way that Notable applies its own styles, you have to use !important whenever you want to change the colour of something - this includes background colours. On that note, be sure to use the background-color property over the shorthand background property so that the background colour is overridden correctly.

You may also need to use !important to override some other properties. Use the Styles pane in DevTools to check if that is the case.