@myst-theme/styles 0.9.3 → 0.9.5

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,5 +1,5 @@
1
1
 
2
- > @myst-theme/styles@0.9.3 build
2
+ > @myst-theme/styles@0.9.5 build
3
3
  > tailwindcss -m -i ./app.css -o ../docs/public/tailwind.css
4
4
 
5
5
  Browserslist: caniuse-lite is outdated. Please run:
@@ -8,4 +8,4 @@ Browserslist: caniuse-lite is outdated. Please run:
8
8
 
9
9
  Rebuilding...
10
10
 
11
- Done in 2129ms.
11
+ Done in 2149ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.9.5
4
+
5
+ ### Patch Changes
6
+
7
+ - e3ab7cd3: Add footnotes to bottom of page in addition to hover
8
+ - cf97680e: Add H5 and H6 styles
9
+
10
+ ## 0.9.4
11
+
3
12
  ## 0.9.3
4
13
 
5
14
  ## 0.9.2
package/app.css CHANGED
@@ -14,3 +14,4 @@
14
14
  @import './hover.css';
15
15
  @import './proof.css';
16
16
  @import './toc.css';
17
+ @import './backmatter.css';
package/backmatter.css ADDED
@@ -0,0 +1,9 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ #footnotes p {
7
+ margin: 0.25rem;
8
+ }
9
+ }
package/index.js CHANGED
@@ -85,6 +85,7 @@ const themeExtensions = {
85
85
  code: {
86
86
  fontWeight: '400',
87
87
  },
88
+ // These code before/after elements are hard coded to remove the backticks, "`", that are in by default.
88
89
  'code::before': {
89
90
  content: '',
90
91
  },
@@ -101,6 +102,11 @@ const themeExtensions = {
101
102
  marginTop: '0.25rem',
102
103
  marginBottom: '0.25rem',
103
104
  },
105
+ // Tailwind doesn't style h5 or h6 at all so this makes them look like headers
106
+ 'h5, h6': {
107
+ color: 'var(--tw-prose-headings)',
108
+ fontWeight: '500',
109
+ },
104
110
  },
105
111
  },
106
112
  invert: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {