Releases: jdanielmourao/obsidian-sanctum
Sanctum v0.5.4
Sanctum v0.5.4
- Relationship Lines in Reading and Editing Views have been adjusted
- SVGs have been optimized and their icon colours updated to the new palette
- IBM Plex Sans is now the main heading font
- Added Pin option to right sidebar
- Added True Black Dark Mode. You’ll most likely need to enter Style Settings and set the color, as some visual bugs may occur until you do so
- Fixed some minor bugs.
Sanctum v0.5.3
Sanctum v0.5.3
- compact outline show full titles when hovered
- changed Block Reference Counter look to be more understated
- adjusted relationship line alignment. It was aligned with the collapse indicators, now aligns with markers
- unordered list marker spacing adjustment
- changed view-action colors. Close note button now appears red when hovered
- centered note titles
- fixed outline pane indent being too big
- added padding to popovers
- added toggle to heading indicators
Sanctum v0.5.2
New Features:
- Added heading indicators (Typora-like headings) in Live Preview
- Added new relationship lines (toggleable and editable in style settings) to Reading and Editing View (Live Preview)
Mobile:
- Repositioned Hover Button
Fixed:
- small bugs, restored Heading weights
Sanctum v0.5.1
- Hotkey menu hotkey styling now matches kbd
- Lists have increased line-height, along with body text. Should make for a more pleasant writing and reading experience
puretext
code blocks no longer have the code block border- Community Themes’ title and info no longer hidden when said theme is selected
- Left sidenote no longer overlaps line numbers
- Adjustments to list markers and list collapse indicators
- Changed list item hover effect for the Checklist Plugin
- Changed the hover effect of checkboxes. It now has a sort of green glow when hovered or focused
- Admonitions got a bit of TLC. Some colour fixes, added padding on top, and some smaller tweaks
- Added Outliner cm6 support
Mobile:
- Mobile Sidebars no longer hide notes
- Modals no longer hide notes
- Mobile Hovering Reading/Editing switch button is back
- Added support for Advanced Mobile Toolbar plugin
Small tweaks and some important bug fixes
Sanctum v0.5
First off, happy holidays!
I’ve been releasing hotfixes, but haven’t made a full release in a while, so here’s everything that’s been changed/added.
Shiny:
- Complete Colour Palette rework
- Live Preview Blockquotes are now supported. I’ll be working on a long term solution
- Outline pane got some formatting. There’s now a “compact mode” in style settings, to make it… well, more compact. It basically disables text wrapping
- New Search + Search & Replace Document position. Now on top of the note
- Comments are now faint in colour
- Added
:focus
outline for dropdown menus - New Empty State Page (for when there are no opened notes/panes). Happy Holidays"!
- New Graph Colours. Focused nodes are now pink, for better contrast
- Small detail, but there should now be a small shadow under the note’s header, to indicate there’s content if you scroll up
- Prompt hotkeys now have the same format as
kbd
- Community plugins flairs are now green, making it easier to tell which plugins are already installed
- IBM Plex Sans is back! Now as UI font
- Added custom syntax highlighting
- New titlebar
- Common ligatures are toggled on note panes, but not on code blocks, inline code, or UI
- Replaced Relationship Lines. Might be subject to change
Mobile:
- Settings window no longer clashes with iPhone status bar
- Settings icon in side ribbon now visible in iPhones
- Mobile side panels are a bit larger. This should only be noticeable in tablets, and some phones. They now occupy the entirety of the screen width of phones
- If the left panel is pinned, there is now an option to unpin it. After unpinning, it won’t be possible to pin it back again
- Mobile prompts no longer display desktop shortcuts
- Editing/Reading floating button is back
Plugins:
- Word Sprint Plugin got an updated styling
- Added support for Reveal Active File Button plugin
- Updated Breadcrumbs matrix icon
- Changed fantasy calendar active and viewing day formatting
Deprecated:
- Custom external link icons. You can use the Link Favicons Plugin
- Removed custom templater highlighting
- List/heading fold indicator (“…”) no longer supported in Reading View
- WYSIWYG
hr
elements no longer supported in Source Mode. It’s now been moved to Live Preview
Bug fixes & Tweaks:
- Adjusted dark mode font weights to be 1 weight below light mode’s, for visual balance
- Live Preview Embed should now have no margins. There may be some edge cases where that’s not the case. If you find them, please submit an issue in the github repo, it’d be greatly appreciated
- Multi Color Highlights are now clearer, with an underline that doesn’t compromise text legibility, and have faster animations
- code in footnotes now uses the footnote font size. Latex and underline elements in headings now use heading font-size and weight
- Footnotes backrefs now have the accent colours, to indicate their link function. Footnote text is now a bit bigger as well
- Fixed light theme code blocks
- Updated ALternate tables
- Links no longer have underlines, but change brightness when hovered
- Toggle formatting should now be more consistent
- YAML should now work better for every setup
- Task icons are now vertically aligned
- Many small fixes & tweaks
Sanctum v0.4
Even though I haven't published an update in a bit, it has been an eventful couple of weeks! I've transitioned the entire theme to SCSS, meaning that it should be faster and easier to edit or add code into the theme. The theme is now also around 42% smaller in file size! 🥳
Ooooh, shiny!
- Complete revamp of mobile version! Modals should now make more use of screens, there's a floating icon for Edit/Preview, and tons of formatting that should be more mobile-friendly;
- Active note pane is now highlighted. Every other pane should now look darker;
- Updated Frontmatter look. The metadata table that only displays tags and aliases is hidden by default, and there's a hidden YAML codeblock that is revealed on hover. I did my best to make it as simple and unobtrusive as possible, since there are those who really want to read the whole information, and those who don't even want to look at it, so I think I've found a sweet spot, inspired by @ebullient;
Changes & fixes
- Added a few external link icons for google mail, drive and docs, as well as wikipedia and trello. There still are more on the way!
- Removed truncation of Note titles;
- Tables now have vertical lines. Do tell me if you miss the old formatting, as I can make it a Style Settings option, although would rather avoid bloating the Style Settings menu.
- Replaced iA Writer Quattro V with a hotfixed version of iA Writer Quattro S, thanks to Epiphanic Synchronicity. The bold issue some people were experiencing should now be fixed thanks to that, and for those who didn't notice it before, you should notice no difference at all!
- Font files now include the respective font license in the repo. This also applies for the IBM Plex snippet. Thanks @huw for pointing it out, as well as noticing that some of the imported fonts weren't imported with the woff2 format, making them significantly heavier than they could. I noticed this was an error on transfonter.org (one needs to specify, even if uploading the font in woff2/woff format, you'll still need to select woff2 format and encode64, for it to work like you want it to, otherwise it will reset to ttf, which is annoying);
- Matched contrast of active tab header icon in dark mode to be equivalent to light mode (it didn't have as much contrast before);
- Blockquotes now accept paragraphs and line changes;
- Changed dark mode codeblock background. It should improve the code block's text contrast. There's now a faint border in inline code and codeblocks so they're still identified as code blocks at a glance. Should also make things easier for colourblind users;
- Scrollbars are now slimmer, and widen a bit upon hover. They also match the background of code blocks, when necessary;
- Dark Mode hover colours are now more subdued, to match the Light Mode.
svg.stop-audio
andsvg.paused
now have new icons;- Fixed strange formatting in the tag view from Checklist Plugin;
- Changed "today" highlight in Fantasy Calendar. Not totally happy with the solution, but at least it doesn't bug like the previous one;
- Other smaller fixes and tweaks.
Style Settings
- Removed "Wrap Note Title" style settings option. Note titles should now work as default;
- "No File Icons" option now also removes file icons in starred pane;
- Removed "High Contrast Dark Mode Codeblock Background" options. It is now default;
- Removed old Heading Size options;
- Added option to override Heading Sizes. There are now 2 types of Headings (inspired by IBM Carbon Design System):
- Expressive Mode Headings, which are set by default, adapt to screen size, and vary in size and weight for contrast;
- Productive Mode Headings, whose size is fixed but editable, as well as their weight, which is set to semi-bold by default.
- Added option to remove Titlebar text (the centered one telling the vault's name and obsidian's version), for people who could use the space for other stuff like Quick Explorer.
Live Preview
- hr is fixed for Live Preview;
- List markers now show up in Live Preview;
- Custom checkboxes now work in Live Preview;
- Admonitions now work in Live Preview by default, but do keep in mind that:
- Only the line which has the checkbox can be styled. This is a limitation of cm6;
- There might appear to be a bug when you first use it, i.e. there's a small box that might appear between the line you're writing and the checkbox. This is due to cm6, just move your typing cursor to that space, and it should fix itself;
- I will look to make it easier to identify that indented lists inside admonition blocks are still contained by the admonitions;
- Please don't forget to use the "admonitions" cssclass if you want it to show up in Preview. css classes don't apply to Live Preview, so there's no option for a toggle, hence why it's on by default.
- Styled Linked mentions in pane;
- Custom Fonts should now work in Live Preview.
Sanctum v0.3.1
Changes, fixes and additions!
- Updated font snippet on github to add IBM Plex Sans and Mono, as well as a fix for fold indicators;
- Added Custom icon Replacement for the BRAT plugin sidebar icon, as well as for the WordSprint plugin icon;
- Formatted suggestion flairs so when transcluding headings, they don’t overlap the title;
- Added pseudo kanban class. Just add
cssclass: kanban
at the beginning of the note, and it will format lists into kanbans. Do note that any list inside that note will become a kanban; - You can now change Edit Mode font size with the
Ctrl
+Scroll
, like in default obsidian; - Fixed sidebar in mobile, and centered the icons;
- Added more Task / Checkbox options. These are all the available options now:
- [⭐] Star
- [a] Alarm / Reminder / Notification
- [❤] Favourite
- [s] Savings / Piggy bank
- [S] Savings alternative / Piggy bank
- [-] Cancelled
- [>] Rescheduled / Forwarded
- [<] Scheduled
- [l] Location
- [1] Success / Round Checkbox
- [B] Bug / Debug
- [X] Failure
- [n] Note / Annotation
- [p] Pros
- [c] Cons
- [W] Win / Success / Reward
- [b] Bookmark / References
- [I] Idea / Tip
- [!] Important / Attention
- [?] Question / Cue
- [i] Info
- Lists should have a bit more white space;
- Added Pseudo-Admonitions. Just add
cssclass: admonitions
at the start of the note in order to turn custom checkboxes into admonitions. You can indent (remember, it’s a list) in order to include more information in the admonitions! Note that only the following turn into admonitions:
- [1] Success / Round Checkbox
- [B] Bug / Debug
- [X] Failure
- [n] Note / Annotation
- [p] Pros
- [c] Cons
- [W] Win / Success / Reward
- [b] Bookmark / References
- [I] Idea / Tip
- [!] Important / Attention
- [?] Question / Cue
- [i] Info
If you happen to have a suggestion / request for more, just submit an issue over here!
Style Settings:
- Added accent color as active line highlight option to Style Settings;
- Added options for Edit and Preview mode Heading fonts, as well as Heading colors and background colors, each with a toggle;
Publish:
- Formatted “Publish changes” page;
- Added Publish css for anyone who wants to use the theme for your public vault. Do note that this is somewhat experimental! In order for it to work correctly, you’ll have to toggle “Readable line length”, and have “Use sliding windows” off. There’s a bit of css trickery in order for it to show the asides in desktop screens. I’ll look into different options to better achieve this in the future.
Sanctum v0.3.0
Changelog:
- Moved Footnotes options to its own section in Style Settings;
- Added Word Sprint Plugin Compatibility;
- Frontmatter container got a few minor tweaks;
- Link urls in Edit Mode, when using aliases, now have regular editor font;
- Edit Mode now has the same line-height as Preview Mode;
- Changed the selection color so it doesn’t hide certain formatting, like underlines and strikethroughs;
- Cleaned up the code and removed
!important
statements. This means it will be easier for people to add snippets to the theme without them getting overridden by existing code.
v0.2.6
Changelog:
Style Settings:
- Added variable slider for table width. You can find it in
Plugin Options
➞Style Settings
➞Features
➞Tables
; - Added option to change modal width of settings, community themes and community plugins. You can find it in
Plugin Options
➞Style Settings
➞Elements
➞Modals
; - Added styling to the following html elements:
<small>
,<samp>
and<kbd>
. If you want to try them, just insert text inside their containter. E.g:<small> Text </small>
. Basically the same tag at the beginning and end (+ a slash in the end one);
Cleanup:
- Removed
!important
from the Typography section of the css file.
v0.2.5
Changelog:
- Improved Prompt formatting. Now both pin icons as well as flair have space to display properly. Long command names also don’t feel cramped anymore;
- Fixed an issue where the settings icon didn’t show on some phones and tablets. Reduced the icon padding, but compensated with margins, meaning that it should now be harder to accidentally click the wrong icon;
- Fixed an issue where some letters in footnotes/block references would be in superscript. Some custom block references were also showing up in preview mode, but solving the superscript thing may have actually fixed that as well;
broken-link
svg wasn’t displaying due to a missing comma in the css code sigh It’s now fixed;- Added Obsidian Hub compatibility;
- Fixed Note/Document Icon, which was displaying the attachment icon before;
- Comments are no longer italic, and have a lighter weight (this shouldn’t be noticeable with iA Writer, but should with other fonts);
- Formatted Edit Mode hashtags so the hashtag also has the accent colour, and the tag has regular weight;
- Plugins:
- Added Fantasy Calendar support, but there’s still more to be done in that department (pending on a new plugin update);
- Style Settings:
- Added High Contrast option for dark mode code. This should hopefully help colorblind users;
- Added an option to edit the Footnotes lvl2 Heading text;
- Added option to move nav folder arrows to the left;
- Cleanup:
- Removed
!important
from codeblock css; - Removed
!important
from checkbox code;
- Removed
- Small changes and polishing.
- Added Issue templates for bug reports and feature requests;
- If you’d like to support my work, I’ve added a paypal.me and ko-fi links at the bottom of Sanctum’s Readme, as well as a “Sponsor this project” section.