@myst-theme/styles 0.9.4 → 0.9.6

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.4 build
2
+ > @myst-theme/styles@0.9.6 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 2239ms.
11
+ Done in 2140ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.9.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 1b763c36: Fix style over-rides
8
+
9
+ ## 0.9.5
10
+
11
+ ### Patch Changes
12
+
13
+ - e3ab7cd3: Add footnotes to bottom of page in addition to hover
14
+ - cf97680e: Add H5 and H6 styles
15
+
3
16
  ## 0.9.4
4
17
 
5
18
  ## 0.9.3
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,5 @@
1
+ @layer base {
2
+ #footnotes p {
3
+ margin: 0.25rem;
4
+ }
5
+ }
package/block-styles.css CHANGED
@@ -1,7 +1,3 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
1
  @layer base {
6
2
  .shaded {
7
3
  @apply pt-5 my-5 bg-slate-100 dark:bg-slate-800;
@@ -1,7 +1,3 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
1
  @layer base {
6
2
  .popout > h1,
7
3
  .popout > h2,
package/grid-system.css CHANGED
@@ -1,7 +1,3 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
1
  @layer base {
6
2
  .article-grid {
7
3
  @apply grid content-start grid-cols-article-sm md:grid-cols-article-md lg:grid-cols-article-lg xl:grid-cols-article-xl 2xl:grid-cols-article-2xl;
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.4",
3
+ "version": "0.9.6",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {
package/tasklists.css CHANGED
@@ -1,7 +1,3 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
1
  @layer base {
6
2
  .task-list-item {
7
3
  @apply list-none;