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

66 lines
1.1 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-12 21:40:39 -03:00
--bg-primary: white;
2020-10-13 14:34:24 -03:00
--bg-primary-hover: rgba(0, 0, 0, 0.075);
2020-10-13 14:42:24 -03:00
--bg-primary-accent: #f1f3f5;
2020-10-12 21:40:39 -03:00
--bg-secondary: black;
2020-10-13 11:43:06 -03:00
2020-10-12 21:40:39 -03:00
--text-primary: black;
2020-10-13 11:43:06 -03:00
--text-secondary: white;
--text-default: #252f3f;
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'] {
--bg-primary: black;
--bg-secondary: white;
2020-10-13 14:34:24 -03:00
--bg-primary-hover: rgba(255, 255, 255, 0.075);
--bg-primary-accent: #111;
2020-10-13 11:43:06 -03:00
2020-10-12 21:40:39 -03:00
--text-primary: white;
2020-10-13 11:43:06 -03:00
--text-secondary: black;
--text-default: white;
}
.fit {
2020-10-13 11:48:25 -03:00
min-height: calc(100vh - 300px);
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-12 21:40:39 -03:00
background-color: var(--bg-primary);
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);
}