okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
0b3299a01
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@font-face { font-family : "GT Walsheim Pro" ; src : url ( "/fonts/GTWalsheimPro-Regular.woff2" ) format ( "woff2" ); font-weight : 400 ; font-display : swap} 6@font-face { font-family : "GT Walsheim Pro" ; src : url ( "/fonts/GTWalsheimPro-Medium.woff2" ) format ( "woff2" ); font-weight : 500 ; font-display : swap} 7@font-face { font-family : "GT Walsheim Pro" ; src : url ( "/fonts/GTWalsheimPro-Bold.woff2" ) format ( "woff2" ); font-weight : 700 ; font-display : swap} 8@font-face { font-family : "GT Walsheim Pro" ; src : url ( "/fonts/GTWalsheimPro-Black.woff2" ) format ( "woff2" ); font-weight : 900 ; font-display : swap} 9 10: root { 11/* type */ 12--st-font : "GT Walsheim Pro" , system-ui, -apple-system, "Segoe UI" , Roboto, sans-serif; 13--st-font-mono : ui-monospace, "SF Mono" , "Cascadia Code" , Consolas, "Liberation Mono" , monospace; /* (derived) */ 14--st-fs-xs : 12 px ; --st-fs-sm : 13 px ; --st-fs-md : 14 px ; --st-fs-base : 16 px ; 15--st-fs-lg : 18 px ; --st-fs-xl : 24 px ; --st-fs-stat : 32 px ; --st-fs-display : 40 px ; 16--st-fw-regular : 400 ; --st-fw-medium : 500 ; --st-fw-bold : 700 ; --st-fw-black : 900 ; 17--st-lh-tight : 1.1 ; --st-lh-body : 1.55 ; 18 19/* spacing (4pt) */ 20--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 ; 21--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 ; 22 23/* radius */ 24--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 ; 25 26/* motion (derived) */ 27--st-ease : cubic-bezier ( .2 , .7 , .2 , 1 ); --st-dur : 160 ms ; 28 29/* color — light */ 30--st-bg : #f9fafb ; 31--st-surface : #ffffff ; 32--st-surface-2 : #f7f7f7 ; 33--st-line : #dee5ee ; 34--st-line-soft : #eeeeee ; 35--st-ink : #221e1f ; 36--st-ink-soft : #303030 ; 37--st-ink-muted : #6f6f6f ; /* Gainsty #7a7a7a darkened slightly for 4.5:1 on white */ 38--st-icon : #2F384C ; /* Anron default */ 39 40--st-accent : #10b981 ; 41--st-accent-hover : #0c8a60 ; 42--st-accent-ink : #ffffff ; 43--st-accent-tint : #ecfdf5 ; 44--st-accent-text : #0c8a60 ; /* accent used as text on light */ 45--st-focus : #405de6 ; 46 47--st-info : #0f97ff ; --st-info-tint : #e8f4ff ; --st-info-text : #0668c2 ; 48--st-warn : #e39b0b ; --st-warn-tint : #fff6e0 ; --st-warn-text : #8a5a00 ; /* (derived) */ 49--st-danger : #e0283f ; --st-danger-tint : #fdecee ; --st-danger-text : #b01a2e ; /* (derived) */ 50 51--st-code-bg : #1b1f23 ; --st-code-ink : #e6e9ec ; /* code blocks stay dark in both themes (derived) */ 52 53--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 ); 54--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 ); 55--st-sh-pop : 0 10 px 40 px rgba ( 15 , 23 , 42 , .08 ), 0 1 px 3 px rgba ( 15 , 23 , 42 , .06 ); 56color-scheme : light; 57} 58 59/* color — dark (all derived) */ 60[data-theme = "dark" ]{ 61--st-bg : #0e1113 ; 62--st-surface : #161a1d ; 63--st-surface-2 : #1d2226 ; 64--st-line : #2a3036 ; 65--st-line-soft : #22272c ; 66--st-ink : #eef1f3 ; 67--st-ink-soft : #c7cdd3 ; 68--st-ink-muted : #8e979f ; 69--st-icon : #c7cdd3 ; 70 71--st-accent : #34d399 ; 72--st-accent-hover : #4ade80 ; 73--st-accent-ink : #052e20 ; 74--st-accent-tint : rgba ( 52 , 211 , 153 , .12 ); 75--st-accent-text : #4ade80 ; 76--st-focus : #7b93ff ; 77 78--st-info : #3aa9ff ; --st-info-tint : rgba ( 58 , 169 , 255 , .12 ); --st-info-text : #7cc4ff ; 79--st-warn : #f5b53d ; --st-warn-tint : rgba ( 245 , 181 , 61 , .12 ); --st-warn-text : #f8c96a ; 80--st-danger : #ff5a6e ; --st-danger-tint : rgba ( 255 , 90 , 110 , .12 ); --st-danger-text : #ff8a98 ; 81 82--st-code-bg : #0a0c0e ; --st-code-ink : #e6e9ec ; 83 84--st-sh-card : 0 1 px 2 px rgba ( 0 , 0 , 0 , .4 ); 85--st-sh-bar : 0 12 px 32 px rgba ( 0 , 0 , 0 , .45 ), 0 2 px 6 px rgba ( 0 , 0 , 0 , .35 ); 86--st-sh-pop : 0 16 px 48 px rgba ( 0 , 0 , 0 , .55 ), 0 1 px 3 px rgba ( 0 , 0 , 0 , .4 ); 87color-scheme : dark; 88}