openai-evals / frontend /src /theme /_smui-theme.scss
stevenyh3
feat: add frontend design
d7d8b33
raw
history blame
973 Bytes
@use "sass:color";
@use "@material/theme/color-palette";
// Svelte Colors!
@use "@material/theme/index" as theme with (
$primary: #ff3e00,
$secondary: #676778,
$surface: #fff,
$background: #fff,
$error: color-palette.$red-900
);
@use "@material/button/mixins" as mdc-button;
.button-shaped-round {
@include mdc-button.shape-radius(100%);
}
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: #213547;
background-color: #f0f3fb;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
a {
color: #213547;
text-decoration: inherit;
}
a:hover {
color: #646cff;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
.card {
padding: 2em;
}
#app {
max-width: 1280px;
margin: 0 auto;
padding: 3px;
text-align: center;
}