svelte-readme 4.0.1 → 4.2.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,3 +1,2 @@
1
- export declare const githubStyles: string;
1
+ export declare const defaultStyles: string;
2
2
  export declare const layoutStyles: string;
3
- export declare const buttonStyles: string;
package/dist/svelte.css CHANGED
@@ -13,3 +13,17 @@
13
13
  .language-svelte .property {
14
14
  color: #005cc5;
15
15
  }
16
+
17
+ :root[data-sr-theme="dark"] .language-svelte .tag,
18
+ :root[data-sr-theme="dark"] .language-svelte .selector {
19
+ color: #7ee787;
20
+ }
21
+ :root[data-sr-theme="dark"] .language-svelte .attr-name {
22
+ color: #d2a8ff;
23
+ }
24
+ :root[data-sr-theme="dark"] .language-svelte .attr-value {
25
+ color: #a5d6ff;
26
+ }
27
+ :root[data-sr-theme="dark"] .language-svelte .property {
28
+ color: #79c0ff;
29
+ }
@@ -10,3 +10,16 @@
10
10
  .language-javascript .class-name {
11
11
  color: #24292f;
12
12
  }
13
+
14
+ :root[data-sr-theme="dark"] .language-typescript,
15
+ :root[data-sr-theme="dark"] .language-javascript {
16
+ color: #79c0ff;
17
+ }
18
+ :root[data-sr-theme="dark"] .language-typescript .string,
19
+ :root[data-sr-theme="dark"] .language-javascript .string {
20
+ color: #a5d6ff;
21
+ }
22
+ :root[data-sr-theme="dark"] .language-typescript .class-name,
23
+ :root[data-sr-theme="dark"] .language-javascript .class-name {
24
+ color: #c9d1d9;
25
+ }
@@ -1 +1 @@
1
- export declare function purgeUnusedCss(rawCss: string, html: string): string;
1
+ export declare function purgeUnusedCss(rawCss: string, html: string, alwaysKeepTokens?: string[]): string;
package/dist/yaml.css CHANGED
@@ -1,3 +1,7 @@
1
1
  .language-yaml {
2
2
  color: #0550ae;
3
3
  }
4
+
5
+ :root[data-sr-theme="dark"] .language-yaml {
6
+ color: #79c0ff;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-readme",
3
- "version": "4.0.1",
3
+ "version": "4.2.0",
4
4
  "license": "MIT",
5
5
  "description": "Develop and demo your Svelte components in your README.md",
6
6
  "author": "Eric Liu (https://github.com/metonym)",
package/dist/button.css DELETED
@@ -1,28 +0,0 @@
1
- /**
2
- * GitHub Primer button CSS
3
- * https://primer.style/css/components/buttons
4
- **/
5
- .code-fence button {
6
- font-family: inherit;
7
- text-transform: none;
8
- position: relative;
9
- display: inline-block;
10
- padding: 5px 16px;
11
- font-size: 14px;
12
- font-weight: 500;
13
- line-height: 20px;
14
- white-space: nowrap;
15
- vertical-align: middle;
16
- cursor: pointer;
17
- user-select: none;
18
- border: 1px solid;
19
- border-radius: 6px;
20
- appearance: none;
21
- color: #24292e;
22
- background-color: #fafbfc;
23
- border-color: rgba(27, 31, 35, 0.15);
24
- box-shadow:
25
- 0 1px 0 rgba(27, 31, 35, 0.04),
26
- inset 0 1px 0 rgba(255, 255, 255, 0.25);
27
- transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
28
- }