Commit Graph

136 Commits (ft.font-size)

Author SHA1 Message Date
Gonçalo Silva 432ef9d55e Set tooltips on the whole button, not just the icon 2019-04-17 02:54:55 +01:00
Gonçalo Silva 53d3fc6026 Use symbolic icon for input format documentation 2019-04-17 02:52:56 +01:00
Gonçalo Silva fc824fc2ef Add missing tooltip for search's regular expression option 2019-04-17 02:13:00 +01:00
Gonçalo Silva 41377c24bb Further remove unecessary prefixes 2019-04-15 03:01:59 +01:00
Gonçalo Silva 9f41bfac8d Add input format setting
Supports Pandoc's Markdown, Commonmark, GitHub Flavored Markdown,
MultiMarkdown and Plain Markdown.

Fixes #17
Fixes #122
2019-04-15 02:50:28 +01:00
Gonçalo Silva 351f7834a5 Remove ODT as default export option
Subjective, but a sub-window with 6 buttons on the top row is crowdy.
2019-04-15 02:50:28 +01:00
Gonçalo Silva 0c94f0c168 Fix padding/margins in export dialog UI 2019-04-15 02:50:28 +01:00
Gonçalo Silva 13ea2cc8fe Make advanced options match defaults, fix capitalization/typos
Having advanced options match defaults helps as a self-documenting
reference.
2019-04-15 02:50:14 +01:00
Gonçalo Silva 13535ab839 Delete unused UI files 2019-04-15 02:50:14 +01:00
Gonçalo Silva 4b32617ca7 Update pandoc help link 2019-04-15 02:50:14 +01:00
Gonçalo Silva 6688eb259e Refactor textview / textbuffer into separate modules
Changes include:
* Much better encapsulation of textview/textbuffer, with each isolated
responsibility living independently on its own class/file.
* Less code overall
* Various small fixes around the components involved, such as:
  * Indentation of nested lists (fixes #120)
  * Unwanted scroll on select all (ctrl+a)
* Removal of unused code around the components involved
* Fixes for scrollbar location, now at the edge of the window
2019-04-13 02:00:13 +01:00
Gonçalo Silva 30df10cab6 Allow following system theme *and* forcing light / dark theme 2019-04-11 03:42:15 +01:00
Gonçalo Silva 7a9b878d02 Copy improvements
Smaller improvements around capitalization, tense and style.
2019-04-11 03:42:15 +01:00
Manuel Genovés 30649551b6 Fix and improve shortcuts 2019-04-06 20:32:48 +02:00
Manuel Genovés 23c1b2e42a Fix and improve shortcuts 2019-04-06 20:27:42 +02:00
Manuel Genovés 80270a45ee Fix and improve shortcuts 2019-04-06 20:19:53 +02:00
Manuel Genovés c91d8018dc moving files to better suited folders 2019-04-01 21:29:29 +02:00
Gonçalo Silva 3f87bd1d22 Add Hemingway Mode
Closes #40
2019-03-27 02:29:29 +00:00
Gonçalo Silva 95e6d89514 Add support for HighContrast and HighContrastInverse themes 2019-03-26 15:09:21 +00:00
Gonçalo Silva 52f1c9f692 Add back support for Arc, Arc-Darker and Arc-Dark themes 2019-03-26 15:09:21 +00:00
Gonçalo Silva e7359c5776 Encapsulate theme handling
The Theme class encapsulates theme handling, by listing default themes
and providing means to access their gtk/web css.

Besides cleaning things up, it makes it easy to support custom themes
in the future. The user just needs to provide two CSS files, and we'll
be able to instantiate and use a Theme from that.
2019-03-26 15:09:21 +00:00
Gonçalo Silva ea566b8d73 Make preview responsive
Uses the same breakpoints as the text editor.
2019-03-26 15:07:11 +00:00
Gonçalo Silva bbc4cec049 Add font assets 2019-03-24 21:52:52 +00:00
Gonçalo Silva da7bf940f3 Uniformize font-face font-family declarations 2019-03-24 21:37:05 +00:00
Gonçalo Silva 928254e992 Fix, cleanup and improve preview CSS
Fixes #121. Additional, fixes include:
* Light tables, title/hr underlines, code and quote blocks on the
dark theme
* Scrollbar not rendering on top of content

Cleanup includes:
* Removal of css rules that are internal to github (eg. octicon)
* Merging of duplicate or overridden declarations
* De-duplicating light and dark theme using import + custom properties

Improvements include:
* Using Fira / Fira Mono for rendering (as is done in the text editor)
* Using relative units as much as possible, making it much easier to
use a responsive design in the future
* Using the same background color for a more seamless experience
* Adjusting color contrast for the background changes, ensuring proper
accessibility while still using GitHub's style
2019-03-24 03:50:08 +00:00
Manuel Genovés 741cda968a v2.1.5 2019-03-23 00:47:26 +01:00
Manuel Genovés 284d582654 update translators data and uw version 2019-03-21 23:25:48 +01:00
somas95 8372eee85c
Merge branch 'master' into refactoring 2019-03-09 20:43:48 +01:00
somas95 d12f8b6ef7
Merge pull request #117 from UberWriter/ui
Ui
2019-03-09 20:38:21 +01:00
Manuel Genovés fb47539dd8 initial theme stylesheets support 2019-03-09 19:53:28 +01:00
Manuel Genovés 5618ff38b6 fix background color in dark mode preview for code blocks 2019-03-09 14:50:12 +01:00
Manuel Genovés a1a50d4890 Remember autospellchek status 2019-01-27 16:42:36 +01:00
Manuel Genovés 3375349d6b allow blank list elements 2019-01-26 20:22:48 +01:00
Manuel Genovés a2661be802 reorder things 2018-12-14 20:06:38 +01:00
Manuel Genovés 56e718be15 allow disabling overlay within preferences window 2018-12-14 20:01:00 +01:00
somas95 226b4e81dc
Merge pull request #96 from UberWriter/styles
update styles
2018-12-06 14:51:36 +01:00
Manuel Genovés 4bb6862f0e make headerbar autohidding toggeable 2018-12-06 14:29:10 +01:00
Manuel Genovés 47c169882e update styles 2018-12-06 14:22:07 +01:00
Manuel Genovés 772b1ba6db Make the overlay toggable 2018-12-05 20:27:19 +01:00
Manuel Genovés 65f2f987f7 added domain to menu ui file 2018-11-28 22:28:10 +01:00
Manuel Genovés 5ad641d959 updated version, contributors 2018-11-27 20:49:32 +01:00
Manuel Genovés 473cac657c updated icon by @bertob 2018-11-27 20:49:02 +01:00
Manuel Genovés 9288c54a36 delete unnecesary fmedia files 2018-11-27 20:48:28 +01:00
Manuel Genovés 5b63b75ad3 Merge branch 'use-hig-for-primary-menu' of git://github.com/BrainBlasted/uberwriter into BrainBlasted-use-hig-for-primary-menu
Follow gnome HIG on appmenu
2018-11-23 21:11:54 +01:00
Manuel Genovés 355880ab1a Merge branch 'add-tooltips-to-horizontal-buttons' of git://github.com/BrainBlasted/uberwriter into BrainBlasted-add-tooltips-to-horizontal-buttons
Change icons to labels
2018-11-23 21:07:25 +01:00
Christopher Davis 917a92485b Use labels instead of icons for preview, focus, and fullscreen
These actions were not immediately recognizable as icons;
With GMenuModel there's no way to either add tooltips or use
icons _and_ text, so labels-only are the best option
usability-wise.
2018-11-21 08:05:34 -05:00
Christopher Davis 03f2c21f8a Menu.ui: Use GNOME HIG for Primary Menu
As per https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement,
the new HIG has a few requirements:

* About should be "About <Application Name>"
* Preferences should be in the same section as About and Keyboard Shortcuts
* Shortcuts should be Keyboard Shortcuts
* Quit should be removed, as it's redundant
2018-11-21 03:52:01 -05:00
Manuel Genovés fcab2687f1 recents menu refactoring 2018-11-03 13:35:47 +01:00
Manuel Genovés 540671186e fix popover styles 2018-11-02 19:30:02 +01:00
Manuel Genovés fbb5dc05db fixed some icons 2018-10-14 17:49:41 +02:00