mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 15:03:26 +00:00
[CL-267] Add 100-level color variants and update primary-600 (#9550)
This commit is contained in:
@@ -39,18 +39,22 @@ export const Table = (args) => (
|
||||
{Row("secondary-700")}
|
||||
</tbody>
|
||||
<tbody>
|
||||
{Row("success-100")}
|
||||
{Row("success-600")}
|
||||
{Row("success-700")}
|
||||
</tbody>
|
||||
<tbody>
|
||||
{Row("danger-100")}
|
||||
{Row("danger-600")}
|
||||
{Row("danger-700")}
|
||||
</tbody>
|
||||
<tbody>
|
||||
{Row("warning-100")}
|
||||
{Row("warning-600")}
|
||||
{Row("warning-700")}
|
||||
</tbody>
|
||||
<tbody>
|
||||
{Row("info-100")}
|
||||
{Row("info-600")}
|
||||
{Row("info-700")}
|
||||
</tbody>
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
@import "./reset.css";
|
||||
|
||||
/**
|
||||
Note that the value of the *-600 colors is currently equivalent to the value
|
||||
of the *-500 variant of that color. This is a temporary change to make BW-42
|
||||
updates easier.
|
||||
|
||||
TODO remove comment when the color palette portion of BW-42 is completed.
|
||||
*/
|
||||
|
||||
:root {
|
||||
--color-transparent-hover: rgb(0 0 0 / 0.03);
|
||||
|
||||
@@ -20,7 +12,7 @@
|
||||
--color-primary-100: 200 217 249;
|
||||
--color-primary-300: 107 154 240;
|
||||
--color-primary-500: 23 93 220;
|
||||
--color-primary-600: 18 74 175;
|
||||
--color-primary-600: 20 82 193;
|
||||
--color-primary-700: 14 55 129;
|
||||
|
||||
--color-secondary-100: 230 233 239;
|
||||
@@ -29,15 +21,19 @@
|
||||
--color-secondary-600: 83 99 131;
|
||||
--color-secondary-700: 63 75 99;
|
||||
|
||||
--color-info-100: 182 244 247;
|
||||
--color-info-600: 16 148 157;
|
||||
--color-info-700: 12 105 111;
|
||||
|
||||
--color-warning-100: 255 229 190;
|
||||
--color-warning-600: 214 129 0;
|
||||
--color-warning-700: 138 82 0;
|
||||
|
||||
--color-danger-100: 255 226 229;
|
||||
--color-danger-600: 184 0 23;
|
||||
--color-danger-700: 133 0 17;
|
||||
|
||||
--color-success-100: 186 248 192;
|
||||
--color-success-600: 12 130 24;
|
||||
--color-success-700: 8 84 15;
|
||||
|
||||
@@ -76,15 +72,19 @@
|
||||
--color-secondary-600: 143 152 166;
|
||||
--color-secondary-700: 158 167 181;
|
||||
|
||||
--color-success-100: 7 64 13;
|
||||
--color-success-600: 107 241 120;
|
||||
--color-success-700: 152 245 161;
|
||||
|
||||
--color-danger-100: 82 0 10;
|
||||
--color-danger-600: 255 82 103;
|
||||
--color-danger-700: 255 133 148;
|
||||
|
||||
--color-warning-100: 87 52 0;
|
||||
--color-warning-600: 255 187 87;
|
||||
--color-warning-700: 255 207 138;
|
||||
|
||||
--color-info-100: 7 61 65;
|
||||
--color-info-600: 89 228 238;
|
||||
--color-info-700: 135 236 242;
|
||||
|
||||
|
||||
@@ -38,18 +38,22 @@ module.exports = {
|
||||
700: rgba("--color-secondary-700"),
|
||||
},
|
||||
success: {
|
||||
100: rgba("--color-success-100"),
|
||||
600: rgba("--color-success-600"),
|
||||
700: rgba("--color-success-700"),
|
||||
},
|
||||
danger: {
|
||||
100: rgba("--color-danger-100"),
|
||||
600: rgba("--color-danger-600"),
|
||||
700: rgba("--color-danger-700"),
|
||||
},
|
||||
warning: {
|
||||
100: rgba("--color-warning-100"),
|
||||
600: rgba("--color-warning-600"),
|
||||
700: rgba("--color-warning-700"),
|
||||
},
|
||||
info: {
|
||||
100: rgba("--color-info-100"),
|
||||
600: rgba("--color-info-600"),
|
||||
700: rgba("--color-info-700"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user