import { css } from 'styled-components';

const colors = {
    black: '#000000',
    white: '#FFFFFF',
    lightGray: '#F1F4F5',
    gray: '#F1F2F7',
    darkGray: '#E9ECED',
    darkestGray: '#E2E5E6',
    blueGray: '#ECEFF9',
};

interface SizesInterface {
    [key: string]: number;
}

const sizes: SizesInterface = {
    medium: 900,
    small: 650,
};

const media = Object.keys(sizes).reduce((acc: any, label: string) => {
    acc[label] = (args: any) => css`
        @media (max-width: ${sizes[label] / 16}em) {
            ${css(args)};
        }
    `;

    return acc;
}, {});

export default media;
export { colors, media };
tom.tfcis.org/~lantw44/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/>
<link rel='vcs-git' href='https://www.csie.ntu.edu.tw/~b01902062/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/~lantw44/cgit/'><img src='/~lantw44/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/~lantw44/cgit/'>index</a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'>
<select name='h' onchange='this.form.submit();'>
<option value='master'>master</option>
<option value='mesa-next' selected='selected'>mesa-next</option>
<option value='wayland'>wayland</option>
<option value='xorg-server-1.19.6'>xorg-server-1.19.6</option>
<option value='xserver-next'>xserver-next</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/freebsd-ports-graphics/refs/'>refs</a><a class='active' href='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid/files/patch-country.pos'>log</a><a href='/~lantw44/cgit/freebsd-ports-graphics/tree/comms/geoid/files/patch-country.pos'>tree</a><a href='/~lantw44/cgit/freebsd-ports-graphics/commit/comms/geoid/files/patch-country.pos'>commit</a><a href='/~lantw44/cgit/freebsd-ports-graphics/diff/comms/geoid/files/patch-country.pos'>diff</a><a href='/~lantw44/cgit/freebsd-ports-graphics/stats/comms/geoid/files/patch-country.pos'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid/files/patch-country.pos'>
<select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/freebsd-ports-graphics/log/'>root</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/comms'>comms</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid'>geoid</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid/files'>files</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid/files/patch-country.pos'>patch-country.pos</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/freebsd-ports-graphics/log/comms/geoid/files/patch-country.pos?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
