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

perf(ui): Improve dark theme #140

Merged
merged 12 commits into from
May 11, 2024
Prev Previous commit
Next Next commit
perf(ui): improve footer backupground color of dialog
  • Loading branch information
mfz committed May 11, 2024
commit ef19d60d70ec3065f6e544371cfda0997cf10fed
2 changes: 1 addition & 1 deletion packages/ui/src/components/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
export default {
props: {
modelValue: Boolean,
title: String,

Check warning on line 29 in packages/ui/src/components/Modal.vue

View workflow job for this annotation

GitHub Actions / test

Prop 'title' requires default value to be set
height: {

Check warning on line 30 in packages/ui/src/components/Modal.vue

View workflow job for this annotation

GitHub Actions / test

Prop 'height' requires default value to be set
type: String,
required: false
},
width: {

Check warning on line 34 in packages/ui/src/components/Modal.vue

View workflow job for this annotation

GitHub Actions / test

Prop 'width' requires default value to be set
type: String,
required: false
},
Expand Down Expand Up @@ -139,7 +139,7 @@
text-align: right;
border-top: solid 1px var(--modal-border-color);
padding: var(--gutter);
background-color: var(--background-color);
background-color: var(--modal-footer-background-color);
}

.modal__container footer button, .modal__container footer input {
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ html {
--button-text-color: black;
--button-border-color: #8c8c8c;
--modal-background-color: white;
--modal-footer-background-color: #fafafa;
--modal-text-color: black;
--modal-caret-color: black;
--modal-border-color: lightgrey;
Expand Down Expand Up @@ -138,6 +139,7 @@ html.theme-dark {
--button-text-color: var(--text-color);
--button-border-color: #8c8c8c;
--modal-background-color: var(--background-color);
--modal-footer-background-color: #232323;
--modal-text-color: var(--text-color);
--modal-caret-color: var(--caret-color);
--modal-border-color: var(--default-border-color-modal);
Expand Down
Loading