Skip to content

Commit 0b3ebdf

Browse files
committed
Bases CSS variables
1 parent 489aded commit 0b3ebdf

File tree

1 file changed

+62
-0
lines changed
  • en/Reference/CSS variables/Editor

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
cssclasses: reference
3+
---
4+
This page lists CSS variables for [Bases](https://help.obsidian.md/bases). See also [[Properties]], [[Checkbox]], [[Text input]] and [[Multi-select]] for variables related to properties and input types.
5+
6+
## CSS variables
7+
8+
### Base container
9+
10+
These variables apply to the entire Properties container.
11+
12+
| Variable | Description |
13+
| ------------------------------- | -------------------------------------------------------- |
14+
| `--bases-header-border-width` | Width of border around the header area |
15+
| `--bases-header-height` | Height of the base header area that contains the toolbar |
16+
| `--bases-header-padding-start` | Start padding (left in [[Right-to-left\|LTR]] mode) |
17+
| `--bases-header-padding-end` | End padding (right in [[Right-to-left\|LTR]] mode) |
18+
| `--bases-toolbar-label-display` | Display of toolbar button labels |
19+
| `--bases-toolbar-badge-display` | Display of toolbar number badges |
20+
| `--bases-embed-border-width` | Border width around base view when embedded |
21+
| `--bases-embed-border-color` | Border color around base view when embedded |
22+
| `--bases-embed-border-radius` | Radius around base view when embedded |
23+
| `--bases-filter-menu-width` | Width of the filter menu |
24+
25+
### Table view
26+
27+
| Variable |
28+
| ---------------------------------------- |
29+
| `--bases-table-container-border-width` |
30+
| `--bases-table-container-border-radius` |
31+
| `--bases-table-header-weight` |
32+
| `--bases-table-header-color` |
33+
| `--bases-table-header-icon-display` |
34+
| `--bases-table-header-background` |
35+
| `--bases-table-header-background-hover` |
36+
| `--bases-table-header-sort-mask` |
37+
| `--bases-table-border-color` |
38+
| `--bases-table-column-border-width` |
39+
| `--bases-table-row-border-width` |
40+
| `--bases-table-row-background-hover` |
41+
| `--bases-table-row-height` |
42+
| `--bases-table-text-size` |
43+
| `--bases-table-column-max-width` |
44+
| `--bases-table-column-min-width` |
45+
| `--bases-table-cell-radius-active` |
46+
| `--bases-table-cell-shadow-active` |
47+
| `--bases-table-cell-background-active` |
48+
| `--bases-table-cell-background-disabled` |
49+
50+
### Cards view
51+
52+
| Variable |
53+
| ------------------------------------ |
54+
| `--bases-cards-container-background` |
55+
| `--bases-cards-background` |
56+
| `--bases-cards-cover-background` |
57+
| `--bases-cards-scale` |
58+
| `--bases-cards-group-padding` |
59+
| `--bases-cards-line-height` |
60+
| `--bases-cards-border-width` |
61+
| `--bases-cards-shadow` |
62+
| `--bases-cards-shadow-hover` |

0 commit comments

Comments
 (0)