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",
|
"name": "coryd.dev",
|
||||||
"version": "13.0.0",
|
"version": "13.0.1",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"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-900: #1e478a;
|
||||||
--blue-950: #172e54;
|
--blue-950: #172e54;
|
||||||
|
|
||||||
--gray-lightest: #fafafa;
|
|
||||||
--gray-50: #f6f7f8;
|
--gray-50: #f6f7f8;
|
||||||
--gray-100: #eaecef;
|
--gray-100: #eaecef;
|
||||||
--gray-200: #d9dee4;
|
--gray-200: #d9dee4;
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
--gray-800: #5a6173;
|
--gray-800: #5a6173;
|
||||||
--gray-900: #4b515d;
|
--gray-900: #4b515d;
|
||||||
--gray-950: #30333b;
|
--gray-950: #30333b;
|
||||||
--gray-darkest: #191919;
|
|
||||||
|
|
||||||
--white: #fff;
|
--white: #fff;
|
||||||
--black: #000;
|
--black: #000;
|
||||||
|
@ -34,8 +32,8 @@
|
||||||
--gray-dark: var(--gray-700);
|
--gray-dark: var(--gray-700);
|
||||||
|
|
||||||
/* base theme */
|
/* base theme */
|
||||||
--color-lightest: var(--gray-lightest);
|
--color-lightest: var(--white);
|
||||||
--color-darkest: var(--gray-darkest);
|
--color-darkest: var(--black);
|
||||||
--text-color: var(--color-darkest);
|
--text-color: var(--color-darkest);
|
||||||
--background-color: var(--color-lightest);
|
--background-color: var(--color-lightest);
|
||||||
--text-color-inverted: var(--color-lightest);
|
--text-color-inverted: var(--color-lightest);
|
||||||
|
|
|
@ -22,14 +22,14 @@ eleventyExcludeFromCollections: true
|
||||||
{% assign verticalStartingPoint = 170 %}
|
{% assign verticalStartingPoint = 170 %}
|
||||||
{% endif %}
|
{% 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 -->
|
<!-- date -->
|
||||||
<text
|
<text
|
||||||
font-family="MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace"
|
font-family="MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace"
|
||||||
font-size="24"
|
font-size="24"
|
||||||
font-weight="800"
|
font-weight="800"
|
||||||
fill="#fafafa"
|
fill="#fff"
|
||||||
>
|
>
|
||||||
<tspan x="80" y="{{ verticalStartingPoint | minus: 120 }}">
|
<tspan x="80" y="{{ verticalStartingPoint | minus: 120 }}">
|
||||||
{{ preview.date | date: "%B %e, %Y" }}
|
{{ 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-family="MonoLisa, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, ui-monospace, monospace"
|
||||||
font-size="40"
|
font-size="40"
|
||||||
font-weight="800"
|
font-weight="800"
|
||||||
fill="#fafafa"
|
fill="#fff"
|
||||||
>
|
>
|
||||||
{% for line in titleInLines %}
|
{% for line in titleInLines %}
|
||||||
{% capture spacing %}{{ forloop.index0 | times: 50 }}{% endcapture %}
|
{% capture spacing %}{{ forloop.index0 | times: 50 }}{% endcapture %}
|
||||||
|
|
Reference in a new issue