Explicit Times theme
If there are any folks like myself who want to try a FoldingText theme that doesn't hide the syntax elements, here's an initial mod of the built-in Times theme. It has the following changes:
- Standardized header sizing; frankly, the default header sizing is silly, particularly when you discover that anything over an H4 is actually smaller than the main text. When the syntax elements are hidden you have to have some differentiation, but when you can see at a glance exactly what header level you're looking at I don't really see the need; just makes the text a little more difficult to parse when you're reading.
- Syntax elements are always displayed, regardless of cursor position
- Syntax elements using a lower-impact gray color
- Link URLs are also lower-impact
Note that this will probably only work right with FoldingText 0.1 (since it's entirely possible higher versions may change selectors and so forth). To use it, do the following:
- Download and unzip the theme
- Right click FoldingText in the Finder and choose Show Package Contents
- Navigate to Contents/Resources/javascript-dom-build/scripts/themes/
- Rename Times.fttheme to Times-original.fttheme
- Move the new Times.fttheme into that folder
- Relaunch FoldingText and enjoy
Of course, don't solely use this theme! You should probably try out the default behavior for a while, then switch to this theme for contrast (or vice versa). The only way to tell which approach to Markdown you prefer is to try them both. I'm not sure if I will write a hack that permanently hides syntax elements (because the formatting options in the menus are not robust enough to support this yet, I don't think), but that's the other obvious one to try.
Incidentally, Jesse, it is ridiculously awesome that hacking the editor to behave with an entirely different philosophy requires fifteen minutes of CSS changes.
Ian
- Times.fttheme.zip 146.5 KB
Support Staff 2 Posted by Jesse Grosjean on 02 Jun, 2012 06:36 PM
Ian,
Thanks! I wasn’t expecting it quite so soon, but it is great to see hacking like this. The current theme is supposed to look like default unstyled Safari. I wanted to start with something neutral so that we’d have a base to move from when we start trying to pick what will be the real default theme.
The one thing that bothers me about single size headings and visible ‘#’ is that to my eye subheadings become more prominent the h1’s.
Jesse
3 Posted by Ian Beck on 03 Jun, 2012 02:04 AM
That's a legitimate problem, and one of the things I don't like about Markdown syntax. I made the headings all the same size for this hack, but I suspect that I'll want to adjust them to make H1s stand out more and so forth. I'll probably do that with a combination of subtle color (default text is currently #333, so putting more important headings as #000 is a subtle but noticeable difference), and likely by having some size gradation in the higher value headings (or possibly dropping bold for them completely, substituting italics for some, etc.).
Ian
4 Posted by Ian Beck on 04 Jun, 2012 02:32 PM
For any folks using this theme, there's been a slight change in the installation procedure:
User.ftthemeIan
5 Posted by Jamie on 29 Jul, 2012 10:47 AM
My custom theme isn't being picked up when I put it in ~/Library/Containers/.../User.fttheme (using release 0.9.1), although it does work when I replace Courier.fttheme in the application bundle. Any suggestions?
Support Staff 6 Posted by Jesse Grosjean on 30 Jul, 2012 02:08 AM
I’m not sure. A custom theme at:
Seems to be working for me.
7 Posted by Jamie on 30 Jul, 2012 08:22 AM
Thanks! It's working now. So the folder's changed from
com.hogbaysoftware.osx.FoldingTexttocom.foldingtext.FoldingText? Can I then safely delete thecom.hogbaysoftware.osx.FoldingTextfolder?Support Staff 8 Posted by Jesse Grosjean on 30 Jul, 2012 11:10 AM
Yes that should be OK to delete.
9 Posted by Bob Peaks on 04 Aug, 2012 02:50 AM
Anyway we can get that theme uploaded back please? It seems it has been removed... Thanks.
Support Staff 10 Posted by Jesse Grosjean on 05 Aug, 2012 07:57 PM
The download still works for me. Though it could be out of date… I must reiterate that themes aren’t really supported now. So themes you find posted around in the forums are probably already out of date.