Commit Graph
8 Commits
Author SHA1 Message Date
George Cushen e9a7925152 feat: add XS and XL font sizes and change default font size to L 2019-09-09 21:00:56 +01:00
George Cushen ae4afde2c0 fix: font not found when using some themes
Fix #1314
2019-09-04 18:04:16 +01:00
George Cushen 2479177a34 fix: font not found for 1950s and Coffee themes
Fix #1314
2019-09-02 15:56:24 +03:00
George Cushen aa13a4d28c feat(themes): implement new font sizing system
Specify `font_size` as s, m, or l in `params.toml`.
Font size is now a site setting rather than theme setting.

Also:

Be less strict on user input of theme and font set names - allow lower
or upper case as well as spaces.
Fall back to Minimal theme and font set on user input error.
Keep category icon on same line as category links, otherwise context
lost.
Change search-header position in modal now that it overlays entire page
*including* navbar.
2019-08-30 13:40:45 +03:00
George Cushen a71297bbfd fix: case when font and color themes not found even when present
See #1118
2019-06-01 18:08:19 +01:00
George Cushen 29ce18a050 feat(theme): add Strawberry theme
Also, refactor themes and theme system to replace primary_light and
primary_dark with SCSS lighten/darken funcs.

See #1091
2019-05-19 23:51:32 +01:00
George Cushen 49ac91fef9 refactor: parse_theme
Clean up code, add some defaults, and add error messages when the
specified font or color theme cannot be found.

Refactor `text-muted` color from CSS override to Bootstrap variable.

Close #680
2019-05-19 18:49:41 +01:00
George Cushen ced350c547 refactor: publication types as TOML at data/publication_types.toml 2019-05-08 20:13:18 +01:00