1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Add alt2 text color (#794)

This commit is contained in:
Oscar Hinton 2022-05-10 05:11:33 +02:00 committed by GitHub
parent 31beae1783
commit 999e0637f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,7 @@ export const Table = (args) => (
{Row("text-main")}
{Row("text-muted")}
{Row("text-contrast")}
{Row("text-alt2")}
</tbody>
</table>
);

View File

@ -27,6 +27,7 @@
--color-text-main: #212529;
--color-text-muted: #6d757e;
--color-text-contrast: #ffffff;
--color-text-alt2: #ffffff;
--tw-ring-offset-color: #fff;
}
@ -64,6 +65,7 @@
--color-text-main: #ffffff;
--color-text-muted: #bac0ce;
--color-text-contrast: #191e26;
--color-text-alt2: #ffffff;
--tw-ring-offset-color: #1f242e;
}

View File

@ -41,6 +41,7 @@ module.exports = {
main: "var(--color-text-main)",
muted: "var(--color-text-muted)",
contrast: "var(--color-text-contrast)",
alt2: "var(--color-text-alt2)",
},
background: {
DEFAULT: "var(--color-background)",
@ -52,6 +53,7 @@ module.exports = {
main: "var(--color-text-main)",
muted: "var(--color-text-muted)",
contrast: "var(--color-text-contrast)",
alt2: "var(--color-text-alt2)",
success: "var(--color-success-500)",
danger: "var(--color-danger-500)",
warning: "var(--color-warning-500)",