@swr-data-lab/components 2.18.0 → 2.18.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.
@@ -41,6 +41,7 @@ let { project, charts, baseUrl } = $props();
41
41
  flex-flow: column;
42
42
  font-family: var(--swr-sans);
43
43
  font-size: var(--fs-small-1);
44
+ color: var(--color-textPrimary);
44
45
  max-width: 40rem;
45
46
  margin: 0 auto;
46
47
  height: 90vh;
@@ -52,17 +53,18 @@ main * {
52
53
 
53
54
  .inner {
54
55
  width: 100%;
55
- border: 1px solid rgb(0, 0, 0);
56
+ background: var(--color-surfaceFill);
57
+ border: 1px solid var(--color-surfaceBorder);
56
58
  }
57
59
 
58
60
  h1 {
59
61
  font-size: var(--fs-base);
60
- border-bottom: 1px solid black;
62
+ border-bottom: 1px solid var(--color-textSecondary);
61
63
  padding-bottom: 0.2em;
62
- background-color: rgb(255, 255, 255);
64
+ background-color: rgba(0, 0, 0, 0.2);
63
65
  }
64
66
  h1 em {
65
- background: rgb(234, 239, 184);
67
+ background: rgba(134, 139, 84, 0.4);
66
68
  font-style: normal;
67
69
  padding: 0 0.3em;
68
70
  border-radius: 2px;
@@ -88,11 +90,11 @@ h1 {
88
90
  }
89
91
 
90
92
  th {
91
- border-bottom: 1px solid black;
93
+ border-bottom: 1px solid var(--color-textSecondary);
92
94
  }
93
95
 
94
96
  tr {
95
- border-bottom: 1px solid rgb(150, 150, 150);
97
+ border-bottom: 1px solid var(--color-surfaceBorder);
96
98
  }
97
99
  tr:last-child {
98
100
  border-bottom: 0;
@@ -102,8 +104,11 @@ input {
102
104
  display: block;
103
105
  font-family: monospace;
104
106
  width: calc(100% - 0.6em);
105
- padding: 0.1em 0.2em;
106
- font-size: inherit;
107
+ padding: 0.2em 0.4em;
108
+ font-size: 0.9rem;
109
+ background: var(--color-pageFill);
110
+ border: 1px solid var(--color-surfaceBorder);
111
+ color: var(--color-textSecondary);
107
112
  }
108
113
 
109
114
  a:hover,
@@ -117,5 +122,6 @@ a:last-child {
117
122
 
118
123
  .notes {
119
124
  margin-top: 0.5em;
125
+ color: var(--color-textSecondary);
120
126
  font-size: var(--fs-small-2);
121
127
  }</style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swr-data-lab/components",
3
3
  "description": "SWR Data Lab component library",
4
- "version": "2.18.0",
4
+ "version": "2.18.1",
5
5
  "author": "SWR Data Lab",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",