mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 18:38:12 +08:00
Add the SVG Preview render mode in place of the Vello option in the preferences (#3797)
* Remove Vello from preferences * Add the Render Mode: SVG Preview radio button * Remove SVG outline renderer * Add a tooltip explaination when disabled in unsupported browsers * Fix Eyedropper tool to support Outline render mode * Use #[allow(clippy::too_many_arguments)] instead of tuple * Rerun nodegraph when max render area is changed --------- Co-authored-by: Dennis Kobert <dennis@kobert.dev>
This commit is contained in:
co-authored by
Dennis Kobert
parent
a2d3b3f410
commit
9f2c8713ff
@@ -79,15 +79,6 @@
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--color-6-lowergray);
|
||||
color: var(--color-f-white);
|
||||
|
||||
svg {
|
||||
fill: var(--color-f-white);
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: var(--color-e-nearwhite);
|
||||
color: var(--color-2-mildblack);
|
||||
@@ -112,19 +103,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.narrow.narrow {
|
||||
--widget-height: 20px;
|
||||
height: var(--widget-height);
|
||||
&:not(.disabled) button:not(.active):hover {
|
||||
background: var(--color-6-lowergray);
|
||||
color: var(--color-f-white);
|
||||
|
||||
button {
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&.mixed {
|
||||
button:not(:hover),
|
||||
&.disabled button:hover {
|
||||
background: var(--color-5-dullgray);
|
||||
svg {
|
||||
fill: var(--color-f-white);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,5 +128,21 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.narrow.narrow {
|
||||
--widget-height: 20px;
|
||||
height: var(--widget-height);
|
||||
|
||||
button {
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&.mixed {
|
||||
button:not(:hover),
|
||||
&.disabled button:hover {
|
||||
background: var(--color-5-dullgray);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user