mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Dark Mode: Remove ui colors (#14184)
This commit is contained in:
parent
853002bc0b
commit
57818fabbe
@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
&__separator {
|
||||
border-bottom: 1px solid var(--ui-grey);
|
||||
border-bottom: 1px solid var(--color-border-default);
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ $spacer-break-small: 16px;
|
||||
justify-content: center;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
color: var(--ui-4);
|
||||
color: var(--color-text-alternative);
|
||||
border: 0;
|
||||
|
||||
&:active {
|
||||
|
@ -52,7 +52,7 @@
|
||||
button {
|
||||
background-color: var(--flask-purple) !important;
|
||||
border: 0 !important;
|
||||
color: var(--ui-1);
|
||||
color: var(--color-primary-inverse); //@TODO: We don't have a generic inverse color, using this one for now
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
.transaction-detail-item {
|
||||
color: var(--ui-4);
|
||||
color: var(--color-text-alternative);
|
||||
padding: 20px 0;
|
||||
border-bottom: 1px solid var(--ui-3);
|
||||
border-bottom: 1px solid var(--color-border-default);
|
||||
|
||||
&__row {
|
||||
display: flex;
|
||||
@ -34,7 +34,7 @@
|
||||
margin-inline-start: 4px;
|
||||
|
||||
path {
|
||||
fill: var(--ui-3);
|
||||
fill: var(--color-icon-default);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
align-items: center;
|
||||
|
||||
& i {
|
||||
color: var(--ui-3);
|
||||
color: var(--color-icon-default);
|
||||
margin-left: 6px;
|
||||
font-size: $font-size-h8;
|
||||
}
|
||||
|
@ -51,12 +51,6 @@ $color-map: (
|
||||
/**
|
||||
* !!! DEPRECATED DO NOT USE!!!
|
||||
*/
|
||||
'ui-1': --ui-1,
|
||||
'ui-2': --ui-2,
|
||||
'ui-3': --ui-3,
|
||||
'ui-4': --ui-4,
|
||||
'ui-5': --ui-5,
|
||||
'grey': --ui-grey,
|
||||
'neutral-grey': --neutral-grey,
|
||||
'primary-3': --primary-3,
|
||||
'alert-1': --alert-1,
|
||||
|
@ -4,12 +4,6 @@
|
||||
--alert-1: #ffd33d;
|
||||
--success-1: #4cd964;
|
||||
--success-3: #219e37;
|
||||
--ui-grey: #d6d9dc;
|
||||
--ui-1: #f2f3f4;
|
||||
--ui-2: #d6d9dc;
|
||||
--ui-3: #bbc0c5;
|
||||
--ui-4: #6a737d;
|
||||
--ui-5: #c4c4c4;
|
||||
--mainnet: #29b6af;
|
||||
--ropsten: #ff4a8d;
|
||||
--kovan: #9064ff;
|
||||
|
@ -13,7 +13,7 @@
|
||||
@include H7;
|
||||
|
||||
display: flex;
|
||||
color: var(--ui-4);
|
||||
color: var(--color-text-alternative);
|
||||
|
||||
.link {
|
||||
color: var(--color-primary-default);
|
||||
|
@ -83,7 +83,7 @@
|
||||
|
||||
.connected-sites-list__content-row {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid var(--ui-2);
|
||||
border-bottom: 1px solid var(--color-border-muted);
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
|
@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import LoadingSwapsQuotes from './loading-swaps-quotes';
|
||||
import { storiesMetadata } from './loading-swaps-quotes-stories-metadata';
|
||||
|
||||
export default {
|
||||
title: 'Pages/Swaps/LoadingSwapQuotes',
|
||||
id: __filename,
|
||||
};
|
||||
|
||||
export const DefaultStory = () => (
|
||||
<div className="swaps">
|
||||
<div className="swaps__container">
|
||||
<LoadingSwapsQuotes
|
||||
loadingComplete={false}
|
||||
onDone={action('Loading done')}
|
||||
aggregatorMetadata={storiesMetadata.totle}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
@ -73,8 +73,8 @@
|
||||
|
||||
&__swaps-footer {
|
||||
.btn-secondary {
|
||||
color: var(--ui-4);
|
||||
border: 1px solid var(--ui-4);
|
||||
color: var(--color-text-alternative);
|
||||
border: 1px solid var(--color-border-default);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user