The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Update table email styles to match frontend (#69176)
kevinkelleher12135d176247ab
diff --git a/src/metabase/channel/render/style.clj b/src/metabase/channel/render/style.cljindex a7ff4b70544..0f834895383 100644--- a/src/metabase/channel/render/style.clj+++ b/src/metabase/channel/render/style.clj@@ -56,6 +56,10 @@"Color for dark text.""#4C5773")+(def ^:const color-text-primary+ "Color that matches text-primary used in the frontend"+ "#303D46")+(def ^:const color-border"Used as color for the border of table, table header, and table body rows for charts with `:table` visualization.""#F0F0F0")diff --git a/src/metabase/channel/render/table.clj b/src/metabase/channel/render/table.cljindex 646e1ca987b..2a4d81d157f 100644--- a/src/metabase/channel/render/table.clj+++ b/src/metabase/channel/render/table.clj@@ -16,7 +16,7 @@(style/font-style){:font-size (format "%spx" style/font-size):font-weight 700- :color style/color-text-dark+ :color style/color-text-primary:border-bottom (str "2px solid " style/color-border):border-right 0}))@@ -24,9 +24,9 @@(merge(style/font-style){:font-size (format "%spx" style/font-size)- :font-weight 400+ :font-weight 700:text-align :left- :color style/color-text-dark+ :color style/color-text-primary:border-bottom (str "1px solid " style/color-border):border-right (str "1px solid " style/color-border):padding (format "%sem %sem" style/td-y-padding-em style/td-x-padding-em)}))