Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
examples/ | 2024-07-04 22:09 | - | ||
src/ | 2024-07-04 22:09 | - | ||
package.json | 2024-07-04 20:49 | 586 | ||
Gruntfile.js | 2024-07-04 20:49 | 1.1K | ||
theme.css | 2024-07-04 20:49 | 3.5K | ||
Welcome to the theme tool for Textbox.io. This tool requires knowledge of CSS syntax and familiarity with command line tools (see "Building your theme" below).
Note: This tool can be used directly from the local filesystem by Chrome, FireFox and Safari. No web server is required unless using Internet Explorer or Edge due to local filesystem security restrictions.
To create a theme:
To begin the theme builder process:
At this point any changes to theme.css will automatically reload in this page after a few seconds. As this page references the the /textboxio folder directly, you can rest assured uploading the editor distribution to your server will use the theme correctly.
Rather than live reloading, you can execute npm run build for once-off CSS compilation. Reloading the page will then load the new CSS file (browser cache permitting).
The Textbox.io UI is designed with contrast in mind. While theme.css is flexible enough to create a completely flat editor (for example, by using the same background color for the main toolbar and more drawer) it is not recommended. Variables are linked in the default theme.css to generate related colors in the UI.
Two cssnext features are used in the default theme.css:
Our team has created some sample themes for your inspiration and enjoyment. Ephox takes no responsibility for themes created in poor taste.