fix: contrast
This commit is contained in:
parent
eaba1a7481
commit
56d7a72cba
5 changed files with 6 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "13.0.0",
|
||||
"version": "13.0.1",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1 MiB After Width: | Height: | Size: 1 MiB |
Binary file not shown.
Before Width: | Height: | Size: 433 KiB After Width: | Height: | Size: 422 KiB |
|
@ -12,7 +12,6 @@
|
|||
--blue-900: #1e478a;
|
||||
--blue-950: #172e54;
|
||||
|
||||
--gray-lightest: #fafafa;
|
||||
--gray-50: #f6f7f8;
|
||||
--gray-100: #eaecef;
|
||||
--gray-200: #d9dee4;
|
||||
|
@ -24,7 +23,6 @@
|
|||
--gray-800: #5a6173;
|
||||
--gray-900: #4b515d;
|
||||
--gray-950: #30333b;
|
||||
--gray-darkest: #191919;
|
||||
|
||||
--white: #fff;
|
||||
--black: #000;
|
||||
|
@ -34,8 +32,8 @@
|
|||
--gray-dark: var(--gray-700);
|
||||
|
||||
/* base theme */
|
||||
--color-lightest: var(--gray-lightest);
|
||||
--color-darkest: var(--gray-darkest);
|
||||
--color-lightest: var(--white);
|
||||
--color-darkest: var(--black);
|
||||
--text-color: var(--color-darkest);
|
||||
--background-color: var(--color-lightest);
|
||||
--text-color-inverted: var(--color-lightest);
|
||||
|
|
|
@ -22,14 +22,14 @@ eleventyExcludeFromCollections: true
|
|||
{% assign verticalStartingPoint = 170 %}
|
||||
{% endif %}
|
||||
|
||||
<svg id="visual" viewBox="0 0 1200 630" width="1200" height="630" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><rect x="0" y="0" width="1200" height="630" fill="#191919"></rect></svg>
|
||||
<svg id="visual" viewBox="0 0 1200 630" width="1200" height="630" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"><rect x="0" y="0" width="1200" height="630" fill="#000"></rect></svg>
|
||||
|
||||
<!-- date -->
|
||||
<text
|
||||
font-family="MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace"
|
||||
font-size="24"
|
||||
font-weight="800"
|
||||
fill="#fafafa"
|
||||
fill="#fff"
|
||||
>
|
||||
<tspan x="80" y="{{ verticalStartingPoint | minus: 120 }}">
|
||||
{{ preview.date | date: "%B %e, %Y" }}
|
||||
|
@ -42,7 +42,7 @@ eleventyExcludeFromCollections: true
|
|||
font-family="MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace"
|
||||
font-size="40"
|
||||
font-weight="800"
|
||||
fill="#fafafa"
|
||||
fill="#fff"
|
||||
>
|
||||
{% for line in titleInLines %}
|
||||
{% capture spacing %}{{ forloop.index0 | times: 50 }}{% endcapture %}
|
||||
|
|
Reference in a new issue