decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
901 stars 32 forks source link

Table colors snippet isn't working #778

Open decaf-dev opened 9 months ago

decaf-dev commented 9 months ago

Hi, Again my custom css snippet isn't working propperly after updating the plugin to the latest version. Could someone help me out to get it working again? this is my css code:

.theme-light .dataloom-cell--header {
  background-color: #085294 !important;
  font-family: "DIN Alternate", "system-ui", "Segoe UI", "Roboto", "Helvetica", "Arial", "sans-serif" !important;
  color: white !important;
}
.theme-light .dataloom-table {
  font-family: "DIN Alternate", "system-ui", "Segoe UI", "Roboto", "Helvetica", "Arial", "sans-serif" !important;
  color: #085294 !important;
}
.theme-light .dataloom-row:nth-child(odd) .dataloom-cell--body {
    background-color: var(--background-primary) !important;
}
.theme-light .dataloom-row:nth-child(even) .dataloom-cell--body {
    background-color: var(--background-secondary) !important;
}

Screen_Shot

This is how it looks like after the update

Originally posted by @BobWs in https://github.com/trey-wallis/obsidian-dataloom/discussions/714