@gallerist/theme-default 0.0.0-stage → 0.3.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shafayet Ahmmed
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,40 @@
1
- # Temporary Holding Version
1
+ # @gallerist/theme-default
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Default Gallerist theme — pure CSS, no JS dependency. Driven by --gallerist-* custom properties.
4
+
5
+ Part of [Gallerist](https://github.com/shafayet9780/gallerist#readme) — a headless, framework-agnostic media viewer for grouped / nested galleries with image-space overlays and virtualized rendering.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm i @gallerist/theme-default
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import '@gallerist/theme-default/gallerist.css' // base + the Gallery skin (the default look)
17
+ import '@gallerist/theme-default/console.css' // optional: the Console skin, layered on top
18
+ import '@gallerist/theme-default/editorial.css' // optional: the Editorial skin, layered on top
19
+ ```
20
+
21
+ Pick a skin, accent and colour scheme with the renderer's `skin`, `accent` and `scheme` options:
22
+
23
+ | Skin | Accents (first is the default) |
24
+ |------|---------|
25
+ | `gallery` (default) | `periwinkle`, `mint`, `amber`, `vermilion` |
26
+ | `console` | `amber`, `cyan`, `vermilion` |
27
+ | `editorial` | `vermilion`, `cobalt` |
28
+
29
+ `scheme` is `dark`, `light` or `auto`; unset, each skin uses its own default (Gallery and Console
30
+ dark, Editorial light). All visuals are driven by `--gallerist-*` CSS custom properties; override
31
+ them to restyle the viewer. `gallerist.css` bundles the shared structure (`base.css`), the Gallery
32
+ skin (`gallery.css`) and the plugin add-ons (`grid.css` for plugin-grid, `pins.css` for
33
+ plugin-pins). To build a skin from scratch, import `base.css` plus the add-ons for the plugins you
34
+ use, then your own tokens.
35
+
36
+ Full docs: the [monorepo README](https://github.com/shafayet9780/gallerist#readme) and [`docs/`](https://github.com/shafayet9780/gallerist/tree/main/docs).
37
+
38
+ ## License
39
+
40
+ MIT © Shafayet Ahmmed
package/package.json CHANGED
@@ -1,6 +1,58 @@
1
1
  {
2
2
  "name": "@gallerist/theme-default",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.3.1",
4
+ "description": "Default Gallerist theme — pure CSS, no JS dependency. Driven by --gallerist-* custom properties.",
5
+ "license": "MIT",
6
+ "sideEffects": [
7
+ "*.css"
8
+ ],
9
+ "files": [
10
+ "src",
11
+ "LICENSE",
12
+ "README.md"
13
+ ],
14
+ "exports": {
15
+ "./gallerist.css": "./src/gallerist.css",
16
+ "./base.css": "./src/base.css",
17
+ "./gallery.css": "./src/gallery.css",
18
+ "./console.css": "./src/console.css",
19
+ "./editorial.css": "./src/editorial.css",
20
+ "./pins.css": "./src/pins.css",
21
+ "./grid.css": "./src/grid.css",
22
+ "./package.json": "./package.json"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/shafayet9780/gallerist.git",
27
+ "directory": "packages/theme-default"
28
+ },
29
+ "homepage": "https://github.com/shafayet9780/gallerist#readme",
30
+ "bugs": {
31
+ "url": "https://github.com/shafayet9780/gallerist/issues"
32
+ },
33
+ "author": "Shafayet Ahmmed",
34
+ "keywords": [
35
+ "lightbox",
36
+ "gallery",
37
+ "image-viewer",
38
+ "media-viewer",
39
+ "photo-gallery",
40
+ "carousel",
41
+ "zoom",
42
+ "pan",
43
+ "overlays",
44
+ "headless",
45
+ "framework-agnostic",
46
+ "virtualized",
47
+ "nested-gallery",
48
+ "css",
49
+ "theme"
50
+ ],
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "scripts": {
55
+ "build": "node -e \"process.stdout.write('theme-default: CSS only, no build step\\n')\"",
56
+ "typecheck": "node -e \"process.exit(0)\""
57
+ }
6
58
  }