forked from crowetic/commerce
Changes
This commit is contained in:
parent
74b14ef2a4
commit
8f90757eda
@ -5,11 +5,24 @@
|
|||||||
--bg-primary-hover: rgba(0, 0, 0, 0.075);
|
--bg-primary-hover: rgba(0, 0, 0, 0.075);
|
||||||
--bg-primary-accent: #f1f3f5;
|
--bg-primary-accent: #f1f3f5;
|
||||||
--bg-secondary: black;
|
--bg-secondary: black;
|
||||||
|
|
||||||
--text-primary: black;
|
--text-primary: black;
|
||||||
--text-secondary: white;
|
--text-secondary: white;
|
||||||
|
|
||||||
--text-default: #252f3f;
|
--text-default: #252f3f;
|
||||||
|
|
||||||
|
--cyan: #50e3c2;
|
||||||
|
--purple: #f81ce5;
|
||||||
|
|
||||||
|
--foreground: #000;
|
||||||
|
--background: #fff;
|
||||||
|
--selection: var(--cyan);
|
||||||
|
--accents-1: #fafafa;
|
||||||
|
--accents-2: #eaeaea;
|
||||||
|
--accents-3: #999999;
|
||||||
|
--accents-4: #888888;
|
||||||
|
--accents-5: #666666;
|
||||||
|
--accents-6: #444444;
|
||||||
|
--accents-7: #333333;
|
||||||
|
--accents-8: #111111;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] {
|
[data-theme='dark'] {
|
||||||
@ -17,11 +30,21 @@
|
|||||||
--bg-secondary: white;
|
--bg-secondary: white;
|
||||||
--bg-primary-hover: rgba(255, 255, 255, 0.075);
|
--bg-primary-hover: rgba(255, 255, 255, 0.075);
|
||||||
--bg-primary-accent: #111;
|
--bg-primary-accent: #111;
|
||||||
|
|
||||||
--text-primary: white;
|
--text-primary: white;
|
||||||
--text-secondary: black;
|
--text-secondary: black;
|
||||||
|
|
||||||
--text-default: white;
|
--text-default: white;
|
||||||
|
|
||||||
|
--foreground: #fff;
|
||||||
|
--background: #000;
|
||||||
|
--selection: var(--purple);
|
||||||
|
--accents-8: #fafafa;
|
||||||
|
--accents-7: #eaeaea;
|
||||||
|
--accents-6: #999999;
|
||||||
|
--accents-5: #888888;
|
||||||
|
--accents-4: #666666;
|
||||||
|
--accents-3: #444444;
|
||||||
|
--accents-2: #333333;
|
||||||
|
--accents-1: #111111;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fit {
|
.fit {
|
||||||
|
@ -68,7 +68,7 @@ const CartSidebarView: FC = () => {
|
|||||||
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
||||||
Your cart is empty
|
Your cart is empty
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-accent-3 px-10 text-center pt-2">
|
<p className="text-accents-3 px-10 text-center pt-2">
|
||||||
Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake.
|
Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +27,7 @@ const Avatar: FC<Props> = ({}) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="inline-block h-8 w-8 rounded-full border border-accent-8"
|
className="inline-block h-8 w-8 rounded-full border-2 border-accents-2"
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `linear-gradient(140deg, ${bg[0]}, ${bg[1]} 100%)`,
|
backgroundImage: `linear-gradient(140deg, ${bg[0]}, ${bg[1]} 100%)`,
|
||||||
}}
|
}}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.input {
|
.input {
|
||||||
@apply bg-transparent px-3 py-2 appearance-none w-full transition duration-150 ease-in-out rounded-lg placeholder-accent-4 pr-10;
|
@apply bg-transparent px-3 py-2 appearance-none w-full transition duration-150 ease-in-out rounded-lg placeholder-accents-4 pr-10;
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,5 +18,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
@apply bg-accent-1 text-accent-3 border-accent-2 cursor-not-allowed;
|
@apply bg-accents-1 text-accents-3 border-accents-2 cursor-not-allowed;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
@apply inline-flex text-center items-center leading-7;
|
@apply inline-flex text-center items-center leading-7;
|
||||||
|
|
||||||
& span {
|
& span {
|
||||||
@apply bg-accent-6 rounded-full h-2 w-2;
|
@apply bg-accents-6 rounded-full h-2 w-2;
|
||||||
animation-name: blink;
|
animation-name: blink;
|
||||||
animation-duration: 1.4s;
|
animation-duration: 1.4s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
|
@ -14,14 +14,14 @@ module.exports = {
|
|||||||
075: '0.75',
|
075: '0.75',
|
||||||
},
|
},
|
||||||
colors: {
|
colors: {
|
||||||
'accent-1': '#FAFAFA',
|
'accents-1': 'var(--accents-1)',
|
||||||
'accent-2': '#eaeaea',
|
'accents-2': 'var(--accents-2)',
|
||||||
'accent-3': '#999999',
|
'accents-3': 'var(--accents-3)',
|
||||||
'accent-4': '#888',
|
'accents-4': 'var(--accents-4)',
|
||||||
'accent-5': '#666666',
|
'accents-5': 'var(--accents-5)',
|
||||||
'accent-6': '#444444',
|
'accents-6': 'var(--accents-6)',
|
||||||
'accent-7': '#333333',
|
'accents-7': 'var(--accents-7)',
|
||||||
'accent-8': '#111111',
|
'accents-8': 'var(--accents-8)',
|
||||||
violet: '#7928CA',
|
violet: '#7928CA',
|
||||||
pink: '#FF0080',
|
pink: '#FF0080',
|
||||||
cyan: '#50E3C2',
|
cyan: '#50E3C2',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user