refactor(ui): better rendering with Inter font

This commit is contained in:
liyasthomas
2021-07-26 01:33:32 +05:30
parent 397cab9032
commit 8debb65d89
86 changed files with 434 additions and 485 deletions

View File

@@ -41,7 +41,7 @@ html {
body {
@apply bg-primary;
@apply text-secondary !text-sm;
@apply text-secondary text-xs;
@apply font-medium;
@apply select-none;
@apply overflow-x-hidden;
@@ -69,14 +69,14 @@ body {
}
.material-icons {
font-size: 1.25rem !important;
font-size: 1rem;
}
.svg-icons {
@apply inline-flex;
@apply flex-shrink-0;
@apply h-5;
@apply w-5;
@apply h-4;
@apply w-4;
}
a {
@@ -166,8 +166,7 @@ hr {
@apply bg-primary;
@apply truncate;
@apply rounded;
@apply font-semibold font-mono;
@apply text-xs;
@apply font-semibold;
@apply border border-divider;
@apply transition;
@apply focus:(outline-none border-accent);
@@ -204,7 +203,7 @@ pre.ace_editor {
@apply pointer-events-none;
@apply font-icon;
@apply text-secondaryLight;
@apply top-3;
@apply top-2.5;
@apply right-3;
content: "\e313";
@@ -290,13 +289,9 @@ input[type="checkbox"] {
@apply text-primary text-xs;
@apply !font-semibold;
.material-icons {
@apply !text-md;
}
.action {
@apply transition;
@apply text-current text-xs;
@apply text-current;
@apply hover:(opacity-75 no-underline);
}
}

View File

@@ -1,5 +1,5 @@
@mixin baseTheme {
--font-sans: "Montserrat", "sans-serif";
--font-sans: "Inter", "sans-serif";
--font-mono: "Roboto Mono", "monospace";
--font-icon: "Material Icons";
}
@@ -41,7 +41,7 @@
// Text color
--secondary-color: theme("colors.true-gray.600");
// Light Text color
--secondary-light-color: theme("colors.true-gray.400");
--secondary-light-color: theme("colors.true-gray.500");
// Dark Text color
--secondary-dark-color: theme("colors.true-gray.800");
// Border color