Skip to content

Commit 957d9d5

Browse files
authored
chore: new dashboard colors (#2446)
1 parent 5b365ed commit 957d9d5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/avo/configuration/branding.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(colors: nil, chart_colors: nil, logo: nil, logomark: nil, placeho
1414
500 => "8 134 222",
1515
600 => "6 107 178"
1616
}
17-
@default_chart_colors = ["#0B8AE2", "#34C683", "#2AB1EE", "#34C6A8"]
17+
@default_chart_colors = ["#0B8AE2", "#34C683", "#FFBE4F", "#FF7676", "#2AB1EE", "#34C6A8", "#EC8CFF", "#80FF91", "#FFFC38", "#1BDBE8"]
1818
@default_logo = "/avo-assets/logo.png"
1919
@default_logomark = "/avo-assets/logomark.png"
2020
@default_placeholder = "/avo-assets/placeholder.svg"

scripts/export-tailwind-safelist.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ ignoredDynamicClasses.push(
4343
'font-mono',
4444
)
4545

46+
const content = `# This file was auto-generated using the \`yarn export:tailwind-safelist\` command in \`export-tailwind-safelist.js\`\n${ignoredDynamicClasses.flat().join(' ')}`
47+
4648
// Write them into a safelist.txt file until @tailwindcss/jit supports PurgeCSS options
47-
fs.writeFile('./safelist.txt', ignoredDynamicClasses.flat().join(' '), () => {
49+
fs.writeFile('./safelist.txt', content, () => {
4850
// eslint-disable-next-line no-console
4951
console.log(`Generated safelist.txt file with ${ignoredDynamicClasses.flat().length} classes.`)
5052
})

0 commit comments

Comments
 (0)