domma-js 0.31.0 → 0.32.0

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.
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Elements CSS v0.31.0
2
+ * Domma Elements CSS v0.32.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-04T19:27:34.254Z
6
- * Commit: 5a35ae6
5
+ * Built: 2026-08-04T20:44:03.287Z
6
+ * Commit: f1bc17e
7
7
  */
8
8
 
9
9
  /**
@@ -38,6 +38,10 @@
38
38
  cursor: pointer;
39
39
  transition: all var(--dm-transition-fast);
40
40
  text-decoration: none;
41
+ /* Base colour so a variant whose own colour declaration fails to resolve
42
+ inherits a readable value rather than whatever surrounds it. Without
43
+ this, an outline button could render white-on-white. */
44
+ color: var(--dm-text);
41
45
  }
42
46
 
43
47
  .btn:focus {
@@ -115,9 +119,17 @@
115
119
  }
116
120
 
117
121
  .btn-outline {
118
- background-color: transparent;
122
+ /* Explicit surface and colour rather than `transparent` plus a color-mix()
123
+ blend. Transparent meant the contrast depended on whatever sat behind
124
+ the button, and the blend leaned 55% toward --dm-text, so in some themes
125
+ the label landed on top of its own background. Both vars below are
126
+ redefined by all 32 theme blocks, so this tracks the theme and is
127
+ always legible. */
128
+ background-color: var(--dm-surface);
119
129
  border-color: var(--dm-primary);
120
- color: var(--dm-link, color-mix(in oklab, var(--dm-primary, #0070d6), var(--dm-text, #1a1a1a) 55%));
130
+ /* Body text colour: dark on light themes, light on dark ones. Guaranteed
131
+ readable because it is the same colour as the surrounding prose. */
132
+ color: var(--dm-text);
121
133
  }
122
134
 
123
135
  .btn-outline:hover:not(:disabled) {
@@ -630,6 +642,15 @@
630
642
  }
631
643
 
632
644
 
645
+ /* Wrapper that lets a wide table scroll horizontally instead of forcing the
646
+ page to. Used in 14 places across the showcase and previously undefined, so
647
+ those tables simply overflowed on narrow screens. */
648
+ .table-responsive {
649
+ width: 100%;
650
+ overflow-x: auto;
651
+ -webkit-overflow-scrolling: touch;
652
+ }
653
+
633
654
  .table {
634
655
  width: 100%;
635
656
  border-collapse: collapse;
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Grid CSS v0.31.0
2
+ * Domma Grid CSS v0.32.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-04T19:27:34.249Z
6
- * Commit: 5a35ae6
5
+ * Built: 2026-08-04T20:44:03.281Z
6
+ * Commit: f1bc17e
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Syntax Highlighting CSS v0.31.0
2
+ * Domma Syntax Highlighting CSS v0.32.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-04T19:27:34.259Z
6
- * Commit: 5a35ae6
5
+ * Built: 2026-08-04T20:44:03.292Z
6
+ * Commit: f1bc17e
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Themes v0.31.0
2
+ * Domma Themes v0.32.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-04T19:27:34.226Z
6
- * Commit: 5a35ae6
5
+ * Built: 2026-08-04T20:44:03.259Z
6
+ * Commit: f1bc17e
7
7
  */
8
8
 
9
9
  /**