1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Color passwords (#177)

* Highlight passwords in the cipher view

* Highlight generated password
This commit is contained in:
Andreas Schneider
2018-12-08 17:06:46 +01:00
committed by Kyle Spearrin
parent bfd8f55b4d
commit 4597390166
5 changed files with 22 additions and 2 deletions

View File

@@ -64,6 +64,18 @@ input, select, textarea {
}
}
.passwordNumber {
@include themify($themes) {
color: themed('passwordNumberColor');
}
}
.passwordSpecial {
@include themify($themes) {
color: themed('passwordSpecialColor');
}
}
input, select, textarea, button {
font-size: $font-size-base;
font-family: $font-family-sans-serif;

View File

@@ -41,6 +41,8 @@ $button-color-danger: darken($brand-danger, 10%);
$themes: (
light: (
textColor: $text-color,
passwordNumberColor: #007fde,
passwordSpecialColor: #c40800,
borderColor: $border-color-dark,
backgroundColor: $background-color,
backgroundColorAlt: $background-color-alt,
@@ -87,6 +89,8 @@ $themes: (
),
dark: (
textColor: #ffffff,
passwordNumberColor: #9fd9ff,
passwordSpecialColor: #ff7c70,
borderColor: #2f2f2f,
backgroundColor: #363636,
backgroundColorAlt: #3d3d3d,
@@ -133,6 +137,8 @@ $themes: (
),
nord: (
textColor: $nord5,
passwordNumberColor: $nord8,
passwordSpecialColor: $nord12,
borderColor: $nord0,
backgroundColor: $nord2,
backgroundColorAlt: $nord1,