Skip to content

Commit

Permalink
Improve default Theme file (#4673)
Browse files Browse the repository at this point in the history
* Better colors

* Update docs to use same colors
  • Loading branch information
ericpgreen2 authored Apr 26, 2024
1 parent b1eab86 commit 7d03e0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/docs/build/dashboards/customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ A list of measures that should be visible by default. Operates the same as the `

In your Rill project directory, create a `<theme_name>.yaml` file in any directory. Rill will automatically ingest the theme next time you run `rill start` or deploy to Rill Cloud and change the color scheme of your dashboard.

First, create the yaml file as below. In this example, the charts and hover in Rill will change to Crimson while spinners will change to Lime.
First, create the yaml file as below. In this example, the charts and hover in Rill will change to Plum while spinners will change to Violet.

```yaml
kind: theme
colors:
primary: crimson
secondary: lime
primary: plum
secondary: violet
```

Once you have created that file, update the `dashboard.yaml` with the following configuration (we typically add this at the top along with time zones, time series and other configurations):
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/reference/project-files/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ You can copy this directly into your \<theme_name>.yaml file:
```yaml
kind: theme
colors:
primary: crimson
secondary: lime
primary: plum
secondary: violet
```
4 changes: 2 additions & 2 deletions web-common/src/features/file-explorer/new-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ gap: 2`,
kind: theme
colors:
primary: crimson
secondary: lime
primary: plum
secondary: violet
`,
},
[ResourceKind.Report]: {
Expand Down

1 comment on commit 7d03e0e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.