bennyxguo / Obsidian-Obsidianite

🎨 Obsidian.md custom theme, it's dark and simple but yet still stays sparkles!
MIT License
279 stars 48 forks source link

The border line of the table is not visible in dark mode #48

Closed Chen-913 closed 2 years ago

Chen-913 commented 2 years ago

The problem is as described in the title, which makes it impossible for me to carefully distinguish each item corresponding to the table

image

Even if I turn off the transparent background, the color of the table borders is still not very distinguishable

Could you tell me how to modify it?

Chen-913 commented 2 years ago

I found the style of the table border through devtools as follows.

.markdown-preview-view th, .markdown-preview-view td{
    border: 1px solid rgb(255 255 255 / 50%);
}

Then I successfully modified it.

fstlaneukraine commented 1 year ago

I'm having the same issue but creating a snippet with the above style doesn't seem to do anything. @Chen-913 , do you remember where exactly you made the changes?

gucovip commented 8 months ago

Obsidian version 1.5.3

.table-editor th,
.table-editor td,
.table-editor thead tr>th {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.markdown-reading-view th,
.markdown-reading-view td,
.markdown-reading-view thead tr>th {
    border: 1px solid rgba(255, 255, 255, 0.3);
}