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

104 lines
1.9 KiB
CSS
Raw Normal View History

2020-10-01 20:40:40 -05:00
@import './font.css';
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);
--hover-1: rgba(0, 0, 0, 0.15);
--hover-2: rgba(0, 0, 0, 0.25);
2020-10-14 19:36:59 -03:00
--cyan: #50e3c2;
2020-10-15 16:12:46 -03:00
--green: #37b679;
--red: #da3c3c;
--pink: #ff0080;
2020-10-14 19:36:59 -03:00
--purple: #f81ce5;
2020-10-15 16:00:11 -03:00
--violet: #7928ca;
--blue: #0070f3;
2020-10-14 19:36:59 -03:00
--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);
--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
}
.fit {
2020-10-20 15:46:53 -03:00
min-height: calc(100vh - 88px - 41px);
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);
}