Css fixes
This commit is contained in:
@@ -38,5 +38,5 @@
|
|||||||
"^.+\\.css$"
|
"^.+\\.css$"
|
||||||
],
|
],
|
||||||
"importOrderParserPlugins": ["typescript", "jsx"],
|
"importOrderParserPlugins": ["typescript", "jsx"],
|
||||||
"importOrderTypeScriptVersion": "5.7.0"
|
"importOrderTypeScriptVersion": "6.0.3"
|
||||||
}
|
}
|
||||||
|
|||||||
21
LICENSE
21
LICENSE
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Thinkmill Labs Pty Ltd
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -6,7 +6,6 @@ import markdoc from '@astrojs/markdoc'
|
|||||||
import node from '@astrojs/node'
|
import node from '@astrojs/node'
|
||||||
import react from '@astrojs/react'
|
import react from '@astrojs/react'
|
||||||
|
|
||||||
// https://astro.build/config
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://dave-dmg.de',
|
site: 'https://dave-dmg.de',
|
||||||
integrations: [react(), markdoc(), keystatic()],
|
integrations: [react(), markdoc(), keystatic()],
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"name": "dave-dmg",
|
"name": "dave-dmg",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const { title, description } = Astro.props
|
|||||||
<Font cssVariable="--font-julia-mono" preload />
|
<Font cssVariable="--font-julia-mono" preload />
|
||||||
<Font cssVariable="--font-unigrim" />
|
<Font cssVariable="--font-unigrim" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="ui">
|
||||||
<slot />
|
<slot />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root {
|
@layer tokens {
|
||||||
|
:root {
|
||||||
/* === PALETTE === */
|
/* === PALETTE === */
|
||||||
|
|
||||||
/* == Ink == */
|
/* == Ink == */
|
||||||
@@ -109,4 +110,5 @@
|
|||||||
--color-highlight: var(--color-tertiary);
|
--color-highlight: var(--color-tertiary);
|
||||||
--color-skeleton-base: var(--color-surface-elevated-2);
|
--color-skeleton-base: var(--color-surface-elevated-2);
|
||||||
--color-skeleton-shimmer: var(--color-surface-elevated-1);
|
--color-skeleton-shimmer: var(--color-surface-elevated-1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
src/styles/base/foundation.css
vendored
4
src/styles/base/foundation.css
vendored
@@ -1,7 +1,7 @@
|
|||||||
@layer reset {
|
@layer reset {
|
||||||
/*
|
/*
|
||||||
Foundation inspired by Tailwind CSS Preflight. (https://tailwindcss.com/docs/preflight)
|
Foundation inspired by Tailwind CSS Preflight. (https://tailwindcss.com/docs/preflight)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
.ui {
|
@layer tokens {
|
||||||
|
.ui {
|
||||||
/* == Font sizes == */
|
/* == Font sizes == */
|
||||||
--type--3: 0.625rem; /* 10px */
|
--type--3: 0.625rem; /* 10px */
|
||||||
--type--2: 0.6875rem; /* 11px */
|
--type--2: 0.6875rem; /* 11px */
|
||||||
@@ -57,9 +58,9 @@
|
|||||||
--tracking-eyebrow: 0.16em; /* section eyebrows, zone labels */
|
--tracking-eyebrow: 0.16em; /* section eyebrows, zone labels */
|
||||||
--tracking-plate: 0.08em; /* plate numbers */
|
--tracking-plate: 0.08em; /* plate numbers */
|
||||||
--tracking-display: 0.01em; /* Blaka h1 */
|
--tracking-display: 0.01em; /* Blaka h1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
/* == Font sizes == */
|
/* == Font sizes == */
|
||||||
--type--3: 0.625em;
|
--type--3: 0.625em;
|
||||||
--type--2: 0.6875em;
|
--type--2: 0.6875em;
|
||||||
@@ -108,9 +109,9 @@
|
|||||||
--tracking-9: -0.0237em;
|
--tracking-9: -0.0237em;
|
||||||
--tracking-10: -0.0247em;
|
--tracking-10: -0.0247em;
|
||||||
--leading-prose: 1.6;
|
--leading-prose: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* === FONT FAMILIES == */
|
/* === FONT FAMILIES == */
|
||||||
--font-display: var(--font-blaka), serif;
|
--font-display: var(--font-blaka), serif;
|
||||||
--font-header: var(--font-geist), sans-serif;
|
--font-header: var(--font-geist), sans-serif;
|
||||||
@@ -197,4 +198,5 @@
|
|||||||
--layout-tier-height: 2.25rem;
|
--layout-tier-height: 2.25rem;
|
||||||
--layout-header-height: 3.125rem;
|
--layout-header-height: 3.125rem;
|
||||||
--layout-card-min-height: 6.5rem; /* stops grid reflow on resolve */
|
--layout-card-min-height: 6.5rem; /* stops grid reflow on resolve */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
@layer reset, base, components, utilities;
|
@layer reset, tokens, base, components, utilities;
|
||||||
|
|
||||||
@import url("base/custom-media.css");
|
|
||||||
@import url("base/foundation.css");
|
@import url("base/foundation.css");
|
||||||
@import url("base/colors.css");
|
@import url("base/colors.css");
|
||||||
@import url("base/primitives.css");
|
@import url("base/primitives.css");
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"jsxImportSource": "react",
|
"jsxImportSource": "react",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"],
|
"@/*": ["./src/*"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user