Skip to content

Commit ffd817b

Browse files
authored
Merge pull request #234 from readium/fix-json-default
Rename default properties in JSON
2 parents e63f4b0 + 465eb82 commit ffd817b

23 files changed

Lines changed: 46 additions & 40 deletions

.github/workflows/playwright.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ name: Playwright Visual Regression
33
on:
44
push:
55
branches: ["develop"]
6+
paths:
7+
- "css/src/**"
8+
- "css/vars/**"
69
pull_request:
710
branches: ["develop"]
11+
paths:
12+
- "css/src/**"
13+
- "css/vars/**"
814

915
jobs:
1016
test:

css/dist/ReadiumCSS-after.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

css/dist/ReadiumCSS-before.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.
@@ -144,11 +144,11 @@
144144

145145
--RS__am-baseFontFamily:Kefa, Nyala, Roboto, Noto, 'Noto Sans Ethiopic', serif;
146146

147-
--RS__default-lineHeightCompensation:1;
147+
--RS__latin-lineHeightCompensation:1;
148148

149-
--RS__default-baseFontFamily:var(--RS__oldStyleTf);
150-
--RS__baseFontFamily:var(--RS__default-baseFontFamily);
151-
--RS__lineHeightCompensation:var(--RS__default-lineHeightCompensation);
149+
--RS__latin-baseFontFamily:var(--RS__oldStyleTf);
150+
--RS__baseFontFamily:var(--RS__latin-baseFontFamily);
151+
--RS__lineHeightCompensation:var(--RS__latin-lineHeightCompensation);
152152
--RS__baseLineHeight:calc(1.5 * var(--RS__lineHeightCompensation));
153153

154154
--RS__selectionTextColor:inherit;

css/dist/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

css/dist/cjk-horizontal/ReadiumCSS-after.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

css/dist/cjk-horizontal/ReadiumCSS-before.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.
@@ -144,11 +144,11 @@
144144

145145
--RS__am-baseFontFamily:Kefa, Nyala, Roboto, Noto, 'Noto Sans Ethiopic', serif;
146146

147-
--RS__default-lineHeightCompensation:1;
147+
--RS__latin-lineHeightCompensation:1;
148148

149-
--RS__default-baseFontFamily:var(--RS__oldStyleTf);
150-
--RS__baseFontFamily:var(--RS__default-baseFontFamily);
151-
--RS__lineHeightCompensation:var(--RS__default-lineHeightCompensation);
149+
--RS__latin-baseFontFamily:var(--RS__oldStyleTf);
150+
--RS__baseFontFamily:var(--RS__latin-baseFontFamily);
151+
--RS__lineHeightCompensation:var(--RS__latin-lineHeightCompensation);
152152
--RS__baseLineHeight:calc(1.5 * var(--RS__lineHeightCompensation));
153153

154154
--RS__selectionTextColor:inherit;

css/dist/cjk-horizontal/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

css/dist/cjk-vertical/ReadiumCSS-after.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

css/dist/cjk-vertical/ReadiumCSS-before.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.
@@ -144,11 +144,11 @@
144144

145145
--RS__am-baseFontFamily:Kefa, Nyala, Roboto, Noto, 'Noto Sans Ethiopic', serif;
146146

147-
--RS__default-lineHeightCompensation:1;
147+
--RS__latin-lineHeightCompensation:1;
148148

149-
--RS__default-baseFontFamily:var(--RS__oldStyleTf);
150-
--RS__baseFontFamily:var(--RS__default-baseFontFamily);
151-
--RS__lineHeightCompensation:var(--RS__default-lineHeightCompensation);
149+
--RS__latin-baseFontFamily:var(--RS__oldStyleTf);
150+
--RS__baseFontFamily:var(--RS__latin-baseFontFamily);
151+
--RS__lineHeightCompensation:var(--RS__latin-lineHeightCompensation);
152152
--RS__baseLineHeight:calc(1.5 * var(--RS__lineHeightCompensation));
153153

154154
--RS__selectionTextColor:inherit;

css/dist/cjk-vertical/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Readium CSS v.2.0.4
2+
* Readium CSS v.2.0.5
33
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
44
* Use of this source code is governed by a BSD-style license which is detailed in the
55
* LICENSE file present in the project repository where this source code is maintained.

0 commit comments

Comments
 (0)