summaryrefslogtreecommitdiff
path: root/src/ui/color.h
AgeCommit message (Collapse)Author
2022-01-04Date in Gemini feed links is de-emphasizedJaakko Keränen
Use a regular font weight and dimmer color for the entry date.
2021-11-23Color: Improve legibility of ANSI foreground colorsJaakko Keränen
On colored theme backgrounds, take great liberties to modify the ANSI foreground color so it remains legible.
2021-11-21Apply ANSI SGR background colorsJaakko Keränen
The background color of the current text run can be changed via ANSI SGR control sequences. Improved the ANSI escape sequence regex to detect more than just SGR sequences, so they can be properly filtered out.
2021-10-25Message/question text wrapping; cleanupJaakko Keränen
2021-10-25Banner: Error items; improved appearanceJaakko Keränen
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
2021-09-26macOS: Experiment with system accent colorJaakko Keränen
This doesn't quite fit in the palette system currently, but it would be a nice addition later.
2021-09-21LabelWidget: Tuned state colorsJaakko Keränen
2021-09-13Mobile: New selection logic for InputWidgetJaakko Keränen
Touch-based interaction requires a different kind of selection and copy/paste behavior. This isn't done yet; especially multi-line text still needs work.
2021-06-17Color: Load palettes from a config fileJaakko Keränen
IssueID #263
2021-05-11Cache GmDocuments in memoryJaakko Keränen
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout. Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
2021-05-04Highlight links opened in other tabsJaakko Keränen
The primary purpose is to aid navigation in split view, so one can see exactly which links have been opened.
2021-04-28Working on multiple UI rootsJaakko Keränen
Various refactorings and fixes to handle root-global and window-global state, root-specific palettes, and proper coordinate system changes (e.g., when opening menus). UI events are posted and handled in the context of a specific root.
2021-03-28Folding preformatted blocks and showing alt textJaakko Keränen
The alt text of preformatted blocks is shown on mouse hover. The blocks can be clicked to toggle folding. IssueID #180
2021-03-17TextBuf: Support for colorJaakko Keränen
Fill glyph backgrounds individually based on current color.
2021-03-08Improved custom link icons; link list spacingJaakko Keränen
Link lists and bullet lists are spaced the same way.
2021-03-05UI color tuning; menu item backgroundsJaakko Keränen
2021-02-26Visual design improvementsJaakko Keränen
URL input field has a maximum width. Adjusted navbar appearance and margins. Tuned UI palette and added UI accent color preference.
2021-02-23SidebarWidget: Improved appearanceJaakko Keränen
Added a color for sidebar background. Removed the right-edge separator line; instead, use color to separate. Page outline uses bold font for level 1 headings.
2021-02-23Text: Escape for restoring original colorJaakko Keränen
2021-02-14Color: Extended range for color escapesJaakko Keränen
Use a double \r for color IDs 95 and beyond.
2021-02-13Windows: Custom frame preference; further minor tweaksJaakko Keränen
2021-01-18SidebarWidget: New color for feed namesJaakko Keränen
Separate the entry titles from the feed titles.
2021-01-02SidebarWidget: Background color for remote bookmarksJaakko Keränen
2020-12-29SidebarWidget: Finetuning the secondary item colorsJaakko Keränen
2020-11-26Color for passively selected sidebar itemJaakko Keränen
2020-11-05Full 8-bit ANSI palette for foreground colorsJaakko Keränen
2020-10-21Added theme colors for the hover outlineJaakko Keränen
Still need to choose them based on the current theme.
2020-09-28GmDocument: Tweaks in the dark color themeJaakko Keränen
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-09-18GmDocument: Added an icon for quote blocksJaakko Keränen
2020-09-07Lookup improvements for history contentJaakko Keränen
2020-09-01Text: Fixed color escape ASCII overflowJaakko Keränen
2020-08-26LabelWidget: Separate color for disabled buttonsJaakko Keränen
2020-08-23Added an identity creation dialogJaakko Keränen
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-20SidebarWidget: Added history items; context menuJaakko Keränen
2020-08-16Added Pure Black and Pure White themesJaakko Keränen
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width. Sheets are mouse-modal.
2020-08-16Further theme color improvementsJaakko Keränen
Default seed colors.
2020-08-16Palette has UI colors; defined Light theme colorsJaakko Keränen
2020-08-11Document outline; jumping to clicked headingJaakko Keränen
2020-08-06CleanupJaakko Keränen
2020-08-06GmDocument: Improvements to color themesJaakko Keränen
Better light mode, and in dark mode either saturate the background or the foreground, but not both.
2020-08-05Color palette themingJaakko Keränen
2020-08-05Color: Added HSL conversionsJaakko Keränen
Removed the extra 15/88 grays from the UI palette.
2020-07-29Showing and hiding image contentJaakko Keränen
2020-07-26Added a new darkest gray to the paletteJaakko Keränen
2020-07-24Font update; ANSI color escapes; fixed URL updateJaakko Keränen
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
2020-07-23Added gray88 to the paletteJaakko Keränen
The page color theme should use its own separate palette, though, not the UI palette.
2020-07-21Initial commitJaakko Keränen
Borrowing the app skeleton from Bitwise Harmony.