4
0
forked from crowetic/commerce
commerce/assets/base.css

135 lines
2.4 KiB
CSS
Raw Normal View History

2020-09-30 11:44:38 -05:00
:root {
2020-10-26 17:33:43 -03:00
--primary: #ffffff;
2020-10-15 16:00:11 -03:00
--primary-2: #f1f3f5;
2020-10-26 17:33:43 -03:00
--secondary: #000000;
2020-10-15 16:00:11 -03:00
--secondary-2: #111;
2020-10-15 16:00:11 -03:00
--selection: var(--cyan);
2020-10-26 17:33:43 -03:00
--text-base: #000000;
--text-primary: #000000;
2020-10-13 11:43:06 -03:00
--text-secondary: white;
2020-10-15 16:00:11 -03:00
--hover: rgba(0, 0, 0, 0.075);
--hover-1: rgba(0, 0, 0, 0.15);
--hover-2: rgba(0, 0, 0, 0.25);
2020-10-21 19:58:36 -03:00
--cyan: #22b8cf;
2020-10-15 16:12:46 -03:00
--green: #37b679;
--red: #da3c3c;
2020-10-21 19:58:36 -03:00
--pink: #e64980;
2020-10-14 19:36:59 -03:00
--purple: #f81ce5;
2020-10-15 16:00:11 -03:00
--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;
2020-10-28 11:34:47 -03:00
--font-sans: -apple-system, system-ui, BlinkMacSystemFont, 'Helvetica Neue',
'Helvetica', sans-serif;
2020-10-12 21:40:39 -03:00
}
2020-09-30 11:44:38 -05:00
2020-10-12 21:40:39 -03:00
[data-theme='dark'] {
2020-10-26 17:33:43 -03:00
--primary: #000000;
2020-10-15 16:00:11 -03:00
--primary-2: #111;
2020-10-26 17:49:31 -03:00
--secondary: #ffffff;
2020-10-15 16:00:11 -03:00
--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);
2020-10-15 16:00:11 -03:00
--selection: var(--purple);
--text-base: white;
2020-10-12 21:40:39 -03:00
--text-primary: white;
2020-10-13 11:43:06 -03:00
--text-secondary: black;
2020-10-14 19:36:59 -03:00
--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;
2020-10-13 11:43:06 -03:00
}
2020-09-30 11:44:38 -05:00
*,
*:before,
*:after {
box-sizing: inherit;
}
html {
height: 100%;
box-sizing: border-box;
touch-action: manipulation;
2020-10-01 20:40:40 -05:00
font-feature-settings: 'case' 1, 'rlig' 1, 'calt' 0;
2020-09-30 11:44:38 -05:00
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;
2020-10-15 16:12:46 -03:00
background-color: var(--primary);
2020-10-12 21:40:39 -03:00
color: var(--text-primary);
2020-09-30 11:44:38 -05:00
}
body {
position: relative;
min-height: 100%;
margin: 0;
}
a {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
2020-10-24 19:35:16 -03:00
.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;
}
}