mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-03 18:28:13 +01:00
[CL-42] Add code color (#3662)
This commit is contained in:
parent
c0e872e576
commit
96c99058c4
@ -49,11 +49,18 @@ export const Table = (args) => (
|
|||||||
{Row("info-500")}
|
{Row("info-500")}
|
||||||
{Row("info-700")}
|
{Row("info-700")}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Text</th>
|
||||||
|
<th class="tw-w-20"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{Row("text-main")}
|
{Row("text-main")}
|
||||||
{Row("text-muted")}
|
{Row("text-muted")}
|
||||||
{Row("text-contrast")}
|
{Row("text-contrast")}
|
||||||
{Row("text-alt2")}
|
{Row("text-alt2")}
|
||||||
|
{Row("text-code")}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
);
|
);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
--color-text-muted: 109 117 126;
|
--color-text-muted: 109 117 126;
|
||||||
--color-text-contrast: 255 255 255;
|
--color-text-contrast: 255 255 255;
|
||||||
--color-text-alt2: 255 255 255;
|
--color-text-alt2: 255 255 255;
|
||||||
|
--color-text-code: 192 17 118;
|
||||||
|
|
||||||
--tw-ring-offset-color: #ffffff;
|
--tw-ring-offset-color: #ffffff;
|
||||||
}
|
}
|
||||||
@ -70,6 +71,7 @@
|
|||||||
--color-text-muted: 186 192 206;
|
--color-text-muted: 186 192 206;
|
||||||
--color-text-contrast: 25 30 38;
|
--color-text-contrast: 25 30 38;
|
||||||
--color-text-alt2: 255 255 255;
|
--color-text-alt2: 255 255 255;
|
||||||
|
--color-text-code: 240 141 199;
|
||||||
|
|
||||||
--tw-ring-offset-color: #1f242e;
|
--tw-ring-offset-color: #1f242e;
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,7 @@ module.exports = {
|
|||||||
muted: rgba("--color-text-muted"),
|
muted: rgba("--color-text-muted"),
|
||||||
contrast: rgba("--color-text-contrast"),
|
contrast: rgba("--color-text-contrast"),
|
||||||
alt2: rgba("--color-text-alt2"),
|
alt2: rgba("--color-text-alt2"),
|
||||||
|
code: rgba("--color-text-code"),
|
||||||
},
|
},
|
||||||
background: {
|
background: {
|
||||||
DEFAULT: rgba("--color-background"),
|
DEFAULT: rgba("--color-background"),
|
||||||
@ -62,6 +63,7 @@ module.exports = {
|
|||||||
muted: rgba("--color-text-muted"),
|
muted: rgba("--color-text-muted"),
|
||||||
contrast: rgba("--color-text-contrast"),
|
contrast: rgba("--color-text-contrast"),
|
||||||
alt2: rgba("--color-text-alt2"),
|
alt2: rgba("--color-text-alt2"),
|
||||||
|
code: rgba("--color-text-code"),
|
||||||
success: rgba("--color-success-500"),
|
success: rgba("--color-success-500"),
|
||||||
danger: rgba("--color-danger-500"),
|
danger: rgba("--color-danger-500"),
|
||||||
warning: rgba("--color-warning-500"),
|
warning: rgba("--color-warning-500"),
|
||||||
|
Loading…
Reference in New Issue
Block a user