@canopycanopycanopy/b-ber-theme-sans 3.0.8-nav.0 → 3.0.8-next.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENTS.md ADDED
@@ -0,0 +1,36 @@
1
+ # AGENTS.md — b-ber-theme-sans
2
+
3
+ ## What This Is
4
+
5
+ A sans-serif SCSS theme for b-ber publications that extends `b-ber-theme-serif`. Rather than duplicating layout partials, it imports the serif package's `typography` and `layout` directly, then overrides settings via its own `_settings.scss` (sans default font family, no text indent, vertical space enabled) and applies element-level CSS overrides in `_overrides.scss`. The `$build` variable gates build-target conditional rules.
6
+
7
+ ## Key Files
8
+
9
+ | File/Directory | Purpose |
10
+ | ------------------ | ---------------------------------------------------------------------------------------------------------------------- |
11
+ | `application.scss` | Entry point; imports settings, mixins, serif layout/typography, then overrides |
12
+ | `_settings.scss` | SCSS variable overrides (font family, indent, spacing) relative to serif defaults |
13
+ | `_overrides.scss` | Element-level CSS overrides: body font, heading sizes, paragraph spacing, figure classes, web/mobile responsive styles |
14
+ | `fonts/` | Theme font files (empty placeholder in repo) |
15
+ | `images/` | Theme image assets (empty placeholder in repo) |
16
+ | `index.js` | Node entry point for build tooling |
17
+
18
+ ## Dev Commands
19
+
20
+ No test suite. The `test` script exits with an error by default.
21
+
22
+ ## Code Standards
23
+
24
+ This package follows the monorepo-wide standards in the root AGENTS.md.
25
+ Additional standards for this package:
26
+
27
+ - Do not duplicate SCSS partials from `b-ber-theme-serif`; import and override instead
28
+ - All variable declarations must use `!default` to remain overridable by project stylesheets
29
+ - Build-target conditional logic must use the `$build` variable (`epub`, `reader`, `mobi`, `web`)
30
+ - `_overrides.scss` is the correct place for element-level differences from the serif base
31
+
32
+ ## Task System
33
+
34
+ Tasks for this package are tracked in tasks/ using the same PRD format as the
35
+ root AGENTS.md. No tasks are currently open. To add a task, create
36
+ tasks/TASK-NNN.open.md following the format in the root AGENTS.md.
package/CLAUDE.md ADDED
@@ -0,0 +1 @@
1
+ @AGENTS.md
package/README.md CHANGED
@@ -1,9 +1,18 @@
1
- # `@canopycanopycanopy/b-ber-theme-sans`
1
+ # b-ber-theme-sans
2
2
 
3
- The `b-ber-theme-sans` package contains a theme written in SCSS for styling projects. The styles maintain consistency in layout across each of b-ber's output formats. More information about b-ber themes can be found in the [Themes](https://github.com/triplecanopy/b-ber/wiki/Themes) page in the b-ber [Wiki](https://github.com/triplecanopy/b-ber/wiki).
3
+ A sans-serif SCSS theme for b-ber publications. It extends `b-ber-theme-serif` by importing that package's `typography` and `layout` partials directly, then overrides key settings via `_settings.scss` (e.g. `$font-family-base` defaults to `$font-sans` in reader builds, `$text-indent` is disabled, `$vertical-space` is enabled) and applies additional element-level overrides via `_overrides.scss`. During a build, b-ber compiles `application.scss` into the stylesheet embedded in generated output. The `$build` variable gates conditional rules for `epub`, `reader`, `mobi`, and `web` targets.
4
4
 
5
- ## Install
5
+ ## Contents
6
6
 
7
- ```
8
- $ npm i -g @canopycanopycanopy/b-ber-theme-sans
9
- ```
7
+ | Path | Purpose |
8
+ | ------------------ | ------------------------------------------------------------------------------------------------------------------- |
9
+ | `application.scss` | Entry point; imports settings, mixins, serif layout/typography, then overrides |
10
+ | `_settings.scss` | SCSS variable overrides relative to the serif theme defaults |
11
+ | `_overrides.scss` | Element-level CSS overrides (body font family, heading sizes, paragraph spacing, figure classes, web/mobile styles) |
12
+ | `fonts/` | Directory for theme font files (empty placeholder in repo) |
13
+ | `images/` | Directory for theme image assets (empty placeholder in repo) |
14
+ | `index.js` | Node entry point (exposes package path for build tooling) |
15
+
16
+ ## Dev
17
+
18
+ No test suite. The `test` script exits with an error by default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-theme-sans",
3
- "version": "3.0.8-nav.0+24db1e6b",
3
+ "version": "3.0.8-next.96+7446845b",
4
4
  "description": "A sans theme for b-ber projects",
5
5
  "main": "index.js",
6
6
  "author": "Triple Canopy <b-ber@canopycanopycanopy.com> (https://triplecanopy.github.io/)",
@@ -21,14 +21,11 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@canopycanopycanopy/b-ber-theme-mixins": "^3",
24
- "@canopycanopycanopy/b-ber-theme-serif": "3.0.8-nav.0+24db1e6b",
24
+ "@canopycanopycanopy/b-ber-theme-serif": "3.0.8-next.96+7446845b",
25
25
  "modularscale-sass": "^3.0.8"
26
26
  },
27
27
  "devDependencies": {
28
- "@babel/cli": "^7.10.5",
29
- "@babel/core": "^7.10.5",
30
- "@babel/preset-env": "^7.10.4",
31
28
  "browserslist": "^4.17.4"
32
29
  },
33
- "gitHead": "24db1e6bb491faae0d52c6dadc09d974a5a31cf5"
30
+ "gitHead": "7446845bcda4337bfbc9f75b55a1e0ca805023eb"
34
31
  }
package/.eslintrc.js DELETED
@@ -1 +0,0 @@
1
- module.exports = { extends: '../../.eslintrc.js' }