4
0
forked from crowetic/commerce
commerce/assets/global.css
2020-10-12 21:40:39 -03:00

52 lines
915 B
CSS

@import './font.css';
:root {
--bg-primary: white;
--bg-secondary: black;
--text-primary: black;
--text-secondary: #252f3f;
}
[data-theme='dark'] {
--bg-primary: black;
--bg-secondary: white;
--text-primary: white;
--text-secondary: white;
}
*,
*: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(--bg-primary);
color: var(--text-primary);
}
body {
position: relative;
min-height: 100%;
margin: 0;
}
a {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}