mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[CL-874] Replace or ignore hardcoded colors in svgs (#16871)
* [CL-874] Replace or ignore hardcoded colors in svgs * missed the logo color remaining in dark mode * set svg color lint rule to error * add bw blue color
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
--color-hover-contrast: rgb(255 255 255 / 0.15);
|
||||
|
||||
--color-marketing-logo: 23 93 220;
|
||||
--color-bw-blue: 23 93 220;
|
||||
|
||||
--tw-ring-offset-color: #ffffff;
|
||||
|
||||
@@ -129,6 +130,7 @@
|
||||
--color-hover-contrast: rgb(0 0 0 / 0.15);
|
||||
|
||||
--color-marketing-logo: 255 255 255;
|
||||
--color-bw-blue: 23 93 220;
|
||||
|
||||
--tw-ring-offset-color: #1f242e;
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@ module.exports = {
|
||||
contrast: "var(--color-hover-contrast)",
|
||||
},
|
||||
"marketing-logo": rgba("--color-marketing-logo"),
|
||||
"bw-blue": rgba("--color-bw-blue"),
|
||||
illustration: {
|
||||
outline: rgba("--color-illustration-outline"),
|
||||
"bg-primary": rgba("--color-illustration-bg-primary"),
|
||||
|
||||
Reference in New Issue
Block a user