# dartbook-theme-default **Repository Path**: lindeer/dartbook-theme-default ## Basic Information - **Project Name**: dartbook-theme-default - **Description**: theme resource package for dartbook - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2014-07-09 - **Last Updated**: 2025-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README `dartbook-theme-default` is a resource package just for building an ebook by `dartbook`. Features as below: * Materail Desgin ![](https://raw.githubusercontent.com/lindeer/dartbook/main/doc/demo_entry.jpg) ![](https://raw.githubusercontent.com/lindeer/dartbook/main/doc/dartbook-looking.gif) * Tooltip Glossary ![](https://raw.githubusercontent.com/lindeer/dartbook/main/doc/dartbook-tooltip.png) * Mobile Friendly ![](https://raw.githubusercontent.com/lindeer/dartbook/main/doc/dartbook-mobile.gif) The package most consists of web assets, but also a little dart code that return the root path in file system. `dartbook` need the root path so that could find the correct assets, e.g. style.css, fonts. ## run in command line ```bash dart pub global activate dartbook_theme_default dir=$(dartbook-theme --location) dartbook build ./book-src ./book-static --theme $dir ``` Of course, `dartbook_theme_default` could be replaced by `dartbook_theme_xxx`, which would be developed by yourself! ## added as a dependency ```bash dart pub add dartbook_theme_default ``` and in your code: ```dart import 'package:dartbook_theme_default/dartbook_theme_default.dart' as t; final assetRoot = await t.fsLocation(); applyTheme(assetRoot); ``` ## Notes `dartbook_theme_default` needs `dartbook >= 1.2.0`