~stephen-stewart/ulysses/move-box-sizing-to-base

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Ulysses

All Ulysses CSS is prebuilt, minified and available in /public, as individual
modules or a single concatenated file (ulysses.css).

You can view a test page with:
```
cd test && python -m SimpleHTTPServer
```

If you want to edit you'll need to install nodejs, this is left as an
exercise for the reader. Once nodejs is installed:

## Fonts and Testing

The regression tests should be run on Ubuntu Precise with the Ubuntu font
family installed. Otherwise all tests will fail on OS rendering diff or 
font family diff. To install Ubuntu font via cli:

``
sudo apt-get install ttf-ubuntu-font-family
``

## Hacking

Install build deps:

```
npm install
```

Build on file change:
```
gulp watch
```

See gulpfile.js for more.

### Tests

Visual regression testing is handled by PhantomCSS:

```
gulp test
```

### Updates to lib CSS

To update lib CSS (normalize, Pure, etc) to latest version in npm, check
with npm:

```
npm outdated normalize.css purecss
```

Update package.json if required and run gulp task to copy updated libs to /src:

```
gulp copy
```

Create new svg symbols:

```
gulp symbols
```