1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Dark Mode: Info Box (#14161)

This commit is contained in:
David Walsh 2022-03-23 18:38:15 -05:00 committed by GitHub
parent 39e63432bf
commit db738d0f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 4 deletions

View File

@ -1,17 +1,17 @@
.info-box {
border-radius: 4px;
background-color: var(--alabaster);
background-color: var(--color-background-alternative);
position: relative;
padding: 16px;
display: flex;
flex-flow: column;
color: var(--mid-gray);
color: var(--color-text-alternative);
&__close::after {
content: '\00D7';
font-size: 29px;
font-weight: 200;
color: var(--dusty-gray);
color: var(--color-icon-default);
position: absolute;
right: 12px;
top: 0;

View File

@ -0,0 +1,22 @@
import React from 'react';
import InfoBox from '.';
export default {
title: 'Components/App/InfoBox',
id: __filename,
component: InfoBox,
argTypes: {
title: 'string',
description: 'string',
},
};
export const DefaultStory = (args) => <InfoBox {...args} />;
DefaultStory.storyName = 'Default';
DefaultStory.args = {
title: 'Hello Ether',
description: 'This is the description',
};

View File

@ -46,5 +46,4 @@
--malibu-blue: #b8cbd8;
--athens-grey: #e9edf0;
--geyser: #d2d8dd;
--mid-gray: #5b5d67;
}