style: format code with prettier

This commit is contained in:
github-actions committed 2024-04-02 21:20:00 +00:00
1 parent 0cdbd61d26
commit bf264aa9ec
1 file changed
+25 -11
+25 -11
View File
@@ -354,7 +354,6 @@
--dark-theme-divider-color: @overlay0 !important;
}
& when (@logo = 0) {
ytd-topbar-logo-renderer,
svg.ytd-consent-bump-v2-lightbox {
@@ -502,7 +501,13 @@
}
}
.ytp-panel-menu, .ytp-panel-header, .ytp-panel-footer, .ytp-menuitem-label,.ytp-menuitem-content, .ytp-menuitem-label-count, .ytp-menu-label-secondary {
.ytp-panel-menu,
.ytp-panel-header,
.ytp-panel-footer,
.ytp-menuitem-label,
.ytp-menuitem-content,
.ytp-menuitem-label-count,
.ytp-menu-label-secondary {
color: @text;
}
@@ -511,16 +516,23 @@
}
.ytp-menuitem[aria-haspopup="true"] .ytp-menuitem-content {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32" version="1.1"><path d="m12.59 20.34 4.58-4.59-4.58-4.59L14 9.75l6 6-6 6z" fill="@{text}"/></svg>');
background-image: url("data:image/svg+xml,@{svg}")
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32" version="1.1"><path d="m12.59 20.34 4.58-4.59-4.58-4.59L14 9.75l6 6-6 6z" fill="@{text}"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}
.ytp-panel-back-button {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32" version="1.1"><path d="m19.41 20.09-4.58-4.59 4.58-4.59L18 9.5l-6 6 6 6z" fill="@{text}"/></svg>');
background-image: url("data:image/svg+xml,@{svg}")
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32" version="1.1"><path d="m19.41 20.09-4.58-4.59 4.58-4.59L18 9.5l-6 6 6 6z" fill="@{text}"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}
.ytp-menuitem[role="menuitemradio"][aria-checked="true"] .ytp-menuitem-label {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" version="1.1"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="@{text}"/></svg>');
background-image: url("data:image/svg+xml,@{svg}")
.ytp-menuitem[role="menuitemradio"][aria-checked="true"]
.ytp-menuitem-label {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" version="1.1"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="@{text}"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}
.style-scope.ytd-thumbnail-overlay-toggle-button-renderer:hover {
@@ -925,7 +937,8 @@
background-color: @text;
}
.yt-spec-button-shape-next--mono {
&.yt-spec-button-shape-next--outline, &.yt-spec-button-shape-next--text {
&.yt-spec-button-shape-next--outline,
&.yt-spec-button-shape-next--text {
color: @text;
&:hover {
background-color: @surface0;
@@ -1026,7 +1039,8 @@
fill: @accent-color !important;
}
[fill="white"], [fill="#fff"] {
[fill="white"],
[fill="#fff"] {
fill: @base !important;
}