okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
0b0dd5136
main
1/* Strata UI — tokens. Derived from the Gainsty design system. 2Light is default; dark via <html data-theme="dark">. 3Values marked (derived) are not in the Gainsty source and were added for the app. */ 4 5/* Outfit (SIL Open Font License 1.1, serve/web/fonts/OFL.txt): one variable font, weights 100-900 */ 6@font-face { font-family : "Outfit" ; src : url ( "../fonts/outfit-latin-wght.woff2" ) format ( "woff2-variations" ); font-weight : 100 900 ; font-display : swap; unicode-range : U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD} 7@font-face { font-family : "Outfit" ; src : url ( "../fonts/outfit-latin-ext-wght.woff2" ) format ( "woff2-variations" ); font-weight : 100 900 ; font-display : swap; unicode-range : U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF} 8 9: root { 10/* type */ 11--st-font : "Outfit" , system-ui, -apple-system, "Segoe UI" , Roboto, sans-serif; 12--st-font-mono : ui-monospace, "SF Mono" , "Cascadia Code" , Consolas, "Liberation Mono" , monospace; /* (derived) */ 13--st-fs-xs : 12 px ; --st-fs-sm : 13 px ; --st-fs-md : 14 px ; --st-fs-base : 16 px ; 14--st-fs-lg : 18 px ; --st-fs-xl : 24 px ; --st-fs-stat : 32 px ; --st-fs-display : 40 px ; 15--st-fw-regular : 400 ; --st-fw-medium : 500 ; --st-fw-bold : 700 ; --st-fw-black : 900 ; 16--st-lh-tight : 1.1 ; --st-lh-body : 1.55 ; 17 18/* spacing (4pt) */ 19--st-s-1 : 4 px ; --st-s-2 : 8 px ; --st-s-3 : 12 px ; --st-s-4 : 16 px ; --st-s-5 : 20 px ; 20--st-s-6 : 24 px ; --st-s-8 : 32 px ; --st-s-10 : 40 px ; --st-s-12 : 48 px ; --st-s-16 : 64 px ; 21 22/* radius */ 23--st-r-sm : 8 px ; --st-r-md : 14 px ; --st-r-lg : 20 px ; --st-r-xl : 24 px ; --st-r-pill : 9999 px ; 24 25/* motion (derived) */ 26--st-ease : cubic-bezier ( .2 , .7 , .2 , 1 ); --st-dur : 160 ms ; 27 28/* color — light */ 29--st-bg : #f9fafb ; 30--st-surface : #ffffff ; 31--st-surface-2 : #f7f7f7 ; 32--st-line : #dee5ee ; 33--st-line-soft : #eeeeee ; 34--st-ink : #221e1f ; 35--st-ink-soft : #303030 ; 36--st-ink-muted : #6f6f6f ; /* Gainsty #7a7a7a darkened slightly for 4.5:1 on white */ 37--st-icon : #2F384C ; /* Anron default */ 38 39--st-accent : #10b981 ; 40--st-accent-hover : #0c8a60 ; 41--st-accent-ink : #ffffff ; 42--st-accent-tint : #ecfdf5 ; 43--st-accent-text : #0c8a60 ; /* accent used as text on light */ 44--st-focus : #405de6 ; 45 46--st-info : #0f97ff ; --st-info-tint : #e8f4ff ; --st-info-text : #0668c2 ; 47--st-warn : #e39b0b ; --st-warn-tint : #fff6e0 ; --st-warn-text : #8a5a00 ; /* (derived) */ 48--st-danger : #e0283f ; --st-danger-tint : #fdecee ; --st-danger-text : #b01a2e ; /* (derived) */ 49 50--st-code-bg : #1b1f23 ; --st-code-ink : #e6e9ec ; /* code blocks stay dark in both themes (derived) */ 51 52--st-sh-card : 0 18 px 7 px rgba ( 0 , 0 , 0 , .01 ), 0 10 px 6 px rgba ( 0 , 0 , 0 , .02 ), 0 4 px 4 px rgba ( 0 , 0 , 0 , .03 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , .04 ); 53--st-sh-bar : 0 54 px 21 px rgba ( 0 , 0 , 0 , .01 ), 0 30 px 18 px rgba ( 0 , 0 , 0 , .03 ), 0 13 px 13 px rgba ( 0 , 0 , 0 , .05 ), 0 3 px 7 px rgba ( 0 , 0 , 0 , .06 ); 54--st-sh-pop : 0 10 px 40 px rgba ( 15 , 23 , 42 , .08 ), 0 1 px 3 px rgba ( 15 , 23 , 42 , .06 ); 55color-scheme : light; 56} 57 58/* color — dark (all derived) */ 59[data-theme = "dark" ]{ 60--st-bg : #0e1113 ; 61--st-surface : #161a1d ; 62--st-surface-2 : #1d2226 ; 63--st-line : #2a3036 ; 64--st-line-soft : #22272c ; 65--st-ink : #eef1f3 ; 66--st-ink-soft : #c7cdd3 ; 67--st-ink-muted : #8e979f ; 68--st-icon : #c7cdd3 ; 69 70--st-accent : #34d399 ; 71--st-accent-hover : #4ade80 ; 72--st-accent-ink : #052e20 ; 73--st-accent-tint : rgba ( 52 , 211 , 153 , .12 ); 74--st-accent-text : #4ade80 ; 75--st-focus : #7b93ff ; 76 77--st-info : #3aa9ff ; --st-info-tint : rgba ( 58 , 169 , 255 , .12 ); --st-info-text : #7cc4ff ; 78--st-warn : #f5b53d ; --st-warn-tint : rgba ( 245 , 181 , 61 , .12 ); --st-warn-text : #f8c96a ; 79--st-danger : #ff5a6e ; --st-danger-tint : rgba ( 255 , 90 , 110 , .12 ); --st-danger-text : #ff8a98 ; 80 81--st-code-bg : #0a0c0e ; --st-code-ink : #e6e9ec ; 82 83--st-sh-card : 0 1 px 2 px rgba ( 0 , 0 , 0 , .4 ); 84--st-sh-bar : 0 12 px 32 px rgba ( 0 , 0 , 0 , .45 ), 0 2 px 6 px rgba ( 0 , 0 , 0 , .35 ); 85--st-sh-pop : 0 16 px 48 px rgba ( 0 , 0 , 0 , .55 ), 0 1 px 3 px rgba ( 0 , 0 , 0 , .4 ); 86color-scheme : dark; 87}