@vtable-guild/vtable-guild 2.1.0 → 2.1.2

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.
package/README.md CHANGED
@@ -18,6 +18,12 @@ const app = createApp(App)
18
18
  app.use(createVTableGuild())
19
19
  ```
20
20
 
21
+ Tailwind CSS 3 users should import the prebuilt compatibility CSS instead:
22
+
23
+ ```ts
24
+ import '@vtable-guild/vtable-guild/css/tailwind3'
25
+ ```
26
+
21
27
  ```vue
22
28
  <template>
23
29
  <VTable :columns="columns" :data-source="data" />
@@ -16,7 +16,7 @@
16
16
 
17
17
  /* 排版 */
18
18
  --font-family-base:
19
- 'Helvetica Neue', helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑',
19
+ inter, helvetica neue, helvetica, pingfang sc, hiragino sans gb, microsoft yahei, 微软雅黑,
20
20
  arial, sans-serif;
21
21
 
22
22
  /* 表面/背景 */
@@ -34,6 +34,12 @@
34
34
  --color-border: #dcdfe6;
35
35
  --color-border-hover: #c0c4cc;
36
36
 
37
+ /* element-plus filter-panel 用 --el-border-color-lighter (#e4e7ed) 作为边框,比 --color-default 略浅一档 */
38
+ --vtg-border-color-lighter: #e4e7ed;
39
+
40
+ /* element-plus filter-panel .el-table-filter__wrap 的 max-height */
41
+ --vtg-table-filter-dropdown-max-height: 280px;
42
+
37
43
  /* 主题色 */
38
44
  --color-primary: #409eff;
39
45
  --color-primary-hover: #66b1ff;
@@ -145,6 +151,7 @@
145
151
  --color-default: #363637;
146
152
  --color-border: #4c4d4f;
147
153
  --color-border-hover: #636466;
154
+ --vtg-border-color-lighter: #414243;
148
155
  --color-primary: #409eff;
149
156
  --color-primary-hover: #66b1ff;
150
157
  --color-primary-active: #337ecc;