Skip to content

Commit 2c7645f

Browse files
committed
extracted colors
1 parent a6da15f commit 2c7645f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pkg/web_css/lib/src/_pkg.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@
584584
}
585585

586586
.license-op-delete {
587-
background: rgba(255, 0, 0, 0.2);
587+
background: var(--pub-license-editop-delete);
588588

589589
&.license-op-delete-hidden {
590590
.license-op-delete-content {
@@ -598,9 +598,9 @@
598598
}
599599

600600
.license-op-insert {
601-
background: rgba(255, 255, 0, 0.2);
601+
background: var(--pub-license-editop-insert);
602602
}
603603

604604
.license-op-match {
605-
background: rgba(0, 255, 0, 0.2);
605+
background: var(--pub-license-editop-match);
606606
}

pkg/web_css/lib/src/_variables.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@
101101
// Opacity values used to display monochrome icons.
102102
--pub-monochrome-opacity-initial: 0.6;
103103
--pub-monochrome-opacity-hover: 1.0;
104+
105+
// Incomplete colors for license text edit ops.
106+
--pub-license-editop-delete: rgba(255, 0, 0, 0.2);
107+
--pub-license-editop-insert: rgba(255, 255, 0, 0.2);
108+
--pub-license-editop-match: rgba(0, 255, 0, 0.2);
104109
}
105110

106111
/// Variables that are specific to the light theme.

0 commit comments

Comments
 (0)