Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338/*region Primitive color tokens -- Raw color values that never change between modes. Named by hue + lightness direction (dark/light). */
:root { --gray-dark: #111; --gray-dark-50: oklch(14.08% 0 0turn / 50%); --gray-dark-darker: #000; --gray-dark-lighter: #444; --gray-light: #eee; --gray-light-50: oklch(94.66% 0 0turn / 50%); --gray-light-lighter: #fff; --gray-light-darker: #bbb; --gray-medium: #888; --red-dark: #904649; --red-light: #faa; --purple-dark: #8d3d8c; --purple-light: #faf; --yellow-dark: #626000; --yellow-light: #ffa; --cyan-dark: #006769; --cyan-light: #aff; --blue-dark: #5754a1; --blue-light: #aaf; --green-dark: #106b1c; --green-light: #afa; --orange-dark: #90511e; --orange-light: #fca;
/*endregion Primitive color tokens */
/*region Semantic color tokens -- Aliases that flip between light and dark modes. Components reference only these -- never primitives directly. */
--fg: var(--gray-dark); --fg-50: var(--gray-dark-50); --fg-stronger: var(--gray-dark-darker); --fg-weaker: var(--gray-dark-lighter); --bg: var(--gray-light); --bg-50: var(--gray-light-50); --bg-stronger: var(--gray-light-lighter); --bg-weaker: var(--gray-light-darker); --medium: var(--medium); --red-fg: var(--red-dark); --red-bg: var(--red-light); --purple-fg: var(--purple-dark); --purple-bg: var(--purple-light); --yellow-fg: var(--yellow-dark); --yellow-bg: var(--yellow-light); --cyan-fg: var(--cyan-dark); --cyan-bg: var(--cyan-light); --blue-fg: var(--blue-dark); --blue-bg: var(--blue-light); --green-fg: var(--green-dark); --green-bg: var(--green-light); --orange-fg: var(--orange-dark); --orange-bg: var(--orange-light); --overlay-bg: oklch(0% 0 0turn / 30%); --hover-bg: oklch(0% 0 0turn / 5%); --min-target: 3rem; --min-gap: 1rem; --min-padding: 0.5rem; --gap: 2rem;}
/*endregion Semantic color tokens */
/*region Dark mode */
@media (prefers-color-scheme: dark) { :root { --fg: var(--gray-light); --fg-50: var(--gray-light-50); --fg-stronger: var(--gray-light-lighter); --fg-weaker: var(--gray-light-darker); --bg: var(--gray-dark); --bg-50: var(--gray-dark-50); --bg-stronger: var(--gray-dark-darker); --bg-weaker: var(--gray-dark-lighter); --red-fg: var(--red-light); --red-bg: var(--red-dark); --purple-fg: var(--purple-light); --purple-bg: var(--purple-dark); --yellow-fg: var(--yellow-light); --yellow-bg: var(--yellow-dark); --cyan-fg: var(--cyan-light); --cyan-bg: var(--cyan-dark); --blue-fg: var(--blue-light); --blue-bg: var(--blue-dark); --green-fg: var(--green-light); --green-bg: var(--green-dark); --orange-fg: var(--orange-light); --orange-bg: var(--orange-dark); --overlay-bg: oklch(100% 0 0turn / 15%); --hover-bg: oklch(100% 0 0turn / 8%); }}
/*endregion Dark mode */
/*region Resets */
*,*::before,*::after { box-sizing: border-box;
margin-block: 0;
margin-inline: 0;
padding-block: 0;
padding-inline: 0;}
input,textarea,select,button { font-family: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;}
button:disabled { opacity: 0.45;
cursor: not-allowed;}
input::placeholder,textarea::placeholder { color: var(--medium);}
/*endregion Resets */
/*region Layout shell -- Every Layout sidebar pattern. body is the flex-wrap container. <side-drawer> is the sidebar (fixed basis, grows to fill when stacked). .page-wrapper is the not-sidebar (grows aggressively, wraps when it can't get 50%). No viewport media queries -- layout reflows intrinsically. */
/* Sidebar basis width used by both body flex and side-drawer styles. Declared here (not merged into the main :root block above) because it belongs to the Layout Shell region. */:root { --sidebar-basis: 22rem;}
body { font-family: Inter, system-ui, sans-serif;
color: var(--fg);
background-color: var(--bg);
max-inline-size: calc(1194 / 16 * 1rem);
margin-inline: auto;
overflow-x: hidden;
min-block-size: 100dvh;
display: flex;
flex-direction: row;}
side-drawer { flex-shrink: 0;
flex-basis: 0;
position: sticky;
inset-block-start: 0;
align-self: flex-start;
max-block-size: 100dvh;}
@media (width >= 48rem) { side-drawer { flex-basis: var(--sidebar-basis); }}
.page-wrapper { display: flex;
flex-direction: column;
min-block-size: 100dvh;
flex-grow: 1;
min-inline-size: 0;}
#app { display: flex;
flex-direction: column;
padding-block: var(--gap);
padding-inline: var(--min-gap);
gap: var(--gap);
overflow-x: hidden;}
/*endregion Layout shell */
/*region Multi-page utilities */
.task-list { display: flex;
flex-direction: column;
gap: var(--gap);
list-style-type: none;}
.divider { block-size: calc(1 / 16 * 1rem);
background-color: var(--fg);
inline-size: 100%;}
.empty { color: var(--medium);}
/*endregion Multi-page utilities */
/*region New-task panel -- Fixed panel that expands from the FAB position. Uses popover="manual" for top-layer stacking without a blocking backdrop, so the side-drawer stays visible and interactive. */
@keyframes fab-to-surface { from { transform: scale(0.15);
border-radius: 50%;
opacity: 0.6; }
to { transform: scale(1);
border-start-start-radius: 1rem;
border-start-end-radius: 1rem;
border-end-start-radius: 0;
border-end-end-radius: 0;
opacity: 1; }}
.new-task-panel { /* Override popover UA defaults that center the element */ position: fixed;
inset-block: auto;
inset-inline: auto;
margin-block: 0;
margin-inline: 0;
/* Docked to bottom-right of viewport -- always inside the page-wrapper area since the sidebar (if visible) is on the left. */ inset-block-end: 0;
inset-inline-end: 1rem;
border-style: none;
padding-block: 0;
padding-inline: 0;
background-color: var(--bg);
color: var(--fg);
inline-size: calc(393 / 16 * 1rem);
max-block-size: 80dvh;
overflow-y: auto;
border-start-start-radius: 1rem;
border-start-end-radius: 1rem;
border-end-start-radius: 0;
border-end-end-radius: 0;
box-shadow: 0 -0.25rem 1rem oklch(0% 0 0turn / 20%);
transform-origin: bottom right;
/* MD1 FAB-to-surface expand -- class added by JS on each open */ &[data-animating] { animation-name: fab-to-surface;
animation-duration: 0.25s;
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
animation-fill-mode: both; }}
/*endregion New-task panel */
/*endregion styles.css */