Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

light theme fixes #2302

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
align-items: center;
vertical-align: middle;
justify-content: center;
background-color: rgba(204, 204, 220, 0.16);
background-color: var(--button-background);
border: 1px solid transparent;
height: 32px;
width: 30px;
Expand All @@ -23,8 +23,8 @@
align-items: center;
vertical-align: middle;
justify-content: center;
background-color: rgba(204, 204, 220, 0.16);
color: var(--secondary-background);
background-color: var(--button-background);
color: var(--primary-text-color);
border: 1px solid transparent;
height: 24px;
width: 22px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
flex-direction: row;

&:hover {
background: var(--gray-9);
background: var(--cards-background);
}
}
2 changes: 2 additions & 0 deletions grafana-plugin/src/style/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
--shadows-z3: 0 13px 20px 1px rgba(24, 26, 27, 0.18);
--tag-text-success: rgb(50, 96, 43);
--tag-border-success: rgb(148, 203, 140);
--button-background: rgba(36, 41, 46, 0.16);
}

.theme-dark {
Expand Down Expand Up @@ -97,4 +98,5 @@
--shadows-z3: 0 8px 24px rgb(1, 4, 9);
--tag-text-success: rgb(165, 214, 159);
--tag-border-success: rgb(49, 100, 43);
--button-background: rgba(204, 204, 220, 0.16);
}