Merge branch 'master' into feature/org-admin-refresh

This commit is contained in:
Vincent Salucci 2022-09-13 09:37:19 -05:00
commit 668ca33f19
2 changed files with 11 additions and 4 deletions

View File

@ -16,7 +16,7 @@ entity on behalf of whom you are acting (as applicable, "You" or "Your").
1. DEFINITIONS
"Bitwarden Software" means the Bitwarden server software, libraries, and
"Bitwarden Software" means the Bitwarden client software, libraries, and
Commercial Modules.
"Commercial Modules" means the modules designed to work with and enhance the

View File

@ -11,6 +11,10 @@ const buttonStyles: Record<ButtonTypes, string[]> = {
"hover:tw-border-primary-700",
"focus:tw-bg-primary-700",
"focus:tw-border-primary-700",
"disabled:tw-bg-primary-500/60",
"disabled:tw-border-primary-500/60",
"disabled:!tw-text-contrast/60",
"disabled:tw-bg-clip-padding",
],
secondary: [
"tw-bg-transparent",
@ -22,6 +26,9 @@ const buttonStyles: Record<ButtonTypes, string[]> = {
"focus:tw-bg-secondary-500",
"focus:tw-border-secondary-500",
"focus:!tw-text-contrast",
"disabled:tw-bg-transparent",
"disabled:tw-border-text-muted/60",
"disabled:!tw-text-muted/60",
],
danger: [
"tw-bg-transparent",
@ -33,6 +40,9 @@ const buttonStyles: Record<ButtonTypes, string[]> = {
"focus:tw-bg-danger-500",
"focus:tw-border-danger-500",
"focus:!tw-text-contrast",
"disabled:tw-bg-transparent",
"disabled:tw-border-danger-500/60",
"disabled:!tw-text-danger/60",
],
};
@ -51,9 +61,6 @@ export class ButtonDirective {
"tw-border-solid",
"tw-text-center",
"hover:tw-no-underline",
"disabled:tw-bg-secondary-100",
"disabled:tw-border-secondary-100",
"disabled:!tw-text-main",
"focus:tw-outline-none",
"focus:tw-ring",
"focus:tw-ring-offset-2",