forked from crowetic/commerce
* Remove duplicated css rules. (#185) * Fix typo in the Marquee component (#176) Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * Remove duplicated css rules. Fix invalid JSX props. Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * Fix the body scroll when the sidebar is open (#184) * Fix typo in the Marquee component (#176) Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * Fix the body scroll when the sidebar is open Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * Remove duplicate class in the I18nWidget comp (#183) * Fix typo in the Marquee component (#176) Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * Remove duplicate class name in the I18nWidget comp This PR removes a duplicate class name in the I18nWidget component. Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com> Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> * add horizontal margin to pages when mobile screen (#180) * Add cart item options like color and size (#177) Co-authored-by: hlopes <hugo.lopes@present-technologies.com> * Changes Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com> Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com> Co-authored-by: Jamie Isaksen <jamie@jamie.no> Co-authored-by: Vinicius Zucatti <51221635+vczb@users.noreply.github.com>
135 lines
2.4 KiB
CSS
135 lines
2.4 KiB
CSS
:root {
|
|
--primary: #ffffff;
|
|
--primary-2: #f1f3f5;
|
|
--secondary: #000000;
|
|
--secondary-2: #111;
|
|
|
|
--selection: var(--cyan);
|
|
|
|
--text-base: #000000;
|
|
--text-primary: #000000;
|
|
--text-secondary: white;
|
|
|
|
--hover: rgba(0, 0, 0, 0.075);
|
|
--hover-1: rgba(0, 0, 0, 0.15);
|
|
--hover-2: rgba(0, 0, 0, 0.25);
|
|
|
|
--cyan: #22b8cf;
|
|
--green: #37b679;
|
|
--red: #da3c3c;
|
|
--pink: #e64980;
|
|
--purple: #f81ce5;
|
|
|
|
--blue: #0070f3;
|
|
|
|
--violet-light: #7048e8;
|
|
--violet: #5f3dc4;
|
|
|
|
--accents-0: #f8f9fa;
|
|
--accents-1: #f1f3f5;
|
|
--accents-2: #e9ecef;
|
|
--accents-3: #dee2e6;
|
|
--accents-4: #ced4da;
|
|
--accents-5: #adb5bd;
|
|
--accents-6: #868e96;
|
|
--accents-7: #495057;
|
|
--accents-8: #343a40;
|
|
--accents-9: #212529;
|
|
--font-sans: -apple-system, system-ui, BlinkMacSystemFont, 'Helvetica Neue',
|
|
'Helvetica', sans-serif;
|
|
}
|
|
|
|
[data-theme='dark'] {
|
|
--primary: #000000;
|
|
--primary-2: #111;
|
|
--secondary: #ffffff;
|
|
--secondary-2: #f1f3f5;
|
|
--hover: rgba(255, 255, 255, 0.075);
|
|
--hover-1: rgba(255, 255, 255, 0.15);
|
|
--hover-2: rgba(255, 255, 255, 0.25);
|
|
--selection: var(--purple);
|
|
|
|
--text-base: white;
|
|
--text-primary: white;
|
|
--text-secondary: black;
|
|
|
|
--accents-0: #212529;
|
|
--accents-1: #343a40;
|
|
--accents-2: #495057;
|
|
--accents-3: #868e96;
|
|
--accents-4: #adb5bd;
|
|
--accents-5: #ced4da;
|
|
--accents-6: #dee2e6;
|
|
--accents-7: #e9ecef;
|
|
--accents-8: #f1f3f5;
|
|
--accents-9: #f8f9fa;
|
|
}
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
touch-action: manipulation;
|
|
font-feature-settings: 'case' 1, 'rlig' 1, 'calt' 0;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: var(--font-sans);
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: var(--primary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
min-height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.animated {
|
|
-webkit-animation-duration: 1s;
|
|
animation-duration: 1s;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
}
|
|
|
|
.fadeIn {
|
|
-webkit-animation-name: fadeIn;
|
|
animation-name: fadeIn;
|
|
}
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|