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

97 lines
1.8 KiB
CSS
Raw Normal View History

2020-09-30 11:44:38 -05:00
:root {
2020-10-15 16:00:11 -03:00
--primary: white;
--primary-2: #f1f3f5;
--secondary: black;
--secondary-2: #111;
--selection: var(--cyan);
--text-base: black;
2020-10-12 21:40:39 -03:00
--text-primary: black;
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);
2020-10-14 19:36:59 -03:00
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-22 18:13:45 -03:00
2020-10-15 16:00:11 -03:00
--blue: #0070f3;
2020-10-14 19:36:59 -03:00
2020-10-22 18:13:45 -03:00
--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-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-15 16:00:11 -03:00
--primary: black;
--primary-2: #111;
--secondary: white;
--secondary-2: #f1f3f5;
--hover: rgba(255, 255, 255, 0.075);
--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);
}