fix: remove unused css data and files
This commit is contained in:
parent
5ca157c65a
commit
7a26fc3a9a
7 changed files with 0 additions and 335 deletions
|
@ -1,29 +0,0 @@
|
|||
{% set colorSchemes = colors.colorSchemes %}
|
||||
{% set lightScheme = colorSchemes.light %}
|
||||
{% set darkScheme = colorSchemes.dark %}
|
||||
|
||||
:root {
|
||||
{% for colorName, value in lightScheme %}
|
||||
--{{ colorName }}: {{ value }};
|
||||
--color-{{ colorName }}: hsl({{ value }});
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
{% for colorName, value in lightScheme %}
|
||||
.bg-{{ colorName }} {
|
||||
background-color: var(--color-{{ colorName }});
|
||||
}
|
||||
|
||||
.text-{{ colorName }} {
|
||||
color: var(--color-{{ colorName }});
|
||||
}
|
||||
{% endfor %}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
{% for colorName, value in darkScheme %}
|
||||
--{{ colorName }}: {{ value }};
|
||||
--color-{{ colorName }}: hsl({{ value }});
|
||||
{% endfor %}
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{% set allFonts = fonts | values %}
|
||||
{% for font in allFonts %}
|
||||
{% set weights = font.weights | values %}
|
||||
{% for fontEntry in weights %}
|
||||
{% if fontEntry.url %}
|
||||
{% set family = font.family %}
|
||||
{% set localName = font.family %}
|
||||
{% set postScriptName = [font.family, fontEntry.variant] | join("-") | replace(" ", "") %}
|
||||
@font-face {
|
||||
font-family: {{ family }};
|
||||
font-style: {{ fontEntry.style }};
|
||||
font-weight: {{ fontEntry.weight }};
|
||||
{% if fontEntry.display %}font-display: {{ fontEntry.display }};{% endif %}
|
||||
src: local("{{ localName }}"), local("{{ postScriptName }}"), url("{{ fontEntry.url }}") format("{{ fontEntry.format }}")
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{% set allFonts = fonts | entries %}
|
||||
|
||||
html {
|
||||
{% for fontType, fontConfig in fonts %}
|
||||
{% set fallbackFonts = fontConfig.fallbacks | join(", ") %}
|
||||
--font-family-{{ fontType }}: {{ fontConfig.family }}, {{ fallbackFonts }};
|
||||
{% for weightName, weightConfig in fontConfig.weights %}
|
||||
{% if weightConfig.style != "italic" %}
|
||||
--font-weight-{{ fontType }}-{{ weightName | lower }}: {{ weightConfig.weight }};
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
}
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
{% for keyRaw, value in spacing %}
|
||||
{% set key = keyRaw | replace(".", "\\\.") | safe %}
|
||||
.gap-{{ key }} {
|
||||
gap: {{ value }}px;
|
||||
}
|
||||
|
||||
.row-gap-{{ key }} {
|
||||
row-gap: {{ value }}px;
|
||||
}
|
||||
|
||||
.column-gap-{{ key }} {
|
||||
column-gap: {{ value }}px;
|
||||
}
|
||||
|
||||
.p-{{ key }} {
|
||||
padding: {{ value }}px;
|
||||
}
|
||||
|
||||
.px-{{ key }} {
|
||||
padding-inline: {{ value }}px;
|
||||
}
|
||||
|
||||
.py-{{ key }} {
|
||||
padding-block: {{ value }}px;
|
||||
}
|
||||
|
||||
.pl-{{ key }} {
|
||||
padding-inline-start: {{ value }}px;
|
||||
}
|
||||
|
||||
.pr-{{ key }} {
|
||||
padding-inline-end: {{ value }}px;
|
||||
}
|
||||
|
||||
.pt-{{ key }} {
|
||||
padding-block-start: {{ value }}px;
|
||||
}
|
||||
|
||||
.pb-{{ key }} {
|
||||
padding-block-end: {{ value }}px;
|
||||
}
|
||||
|
||||
.m-{{ key }} {
|
||||
margin: {{ value }}px;
|
||||
}
|
||||
|
||||
.mx-{{ key }} {
|
||||
margin-inline: {{ value }}px;
|
||||
}
|
||||
|
||||
.my-{{ key }} {
|
||||
margin-block: {{ value }}px;
|
||||
}
|
||||
|
||||
.ml-{{ key }} {
|
||||
margin-inline-start: {{ value }}px;
|
||||
}
|
||||
|
||||
.mr-{{ key }} {
|
||||
margin-inline-end: {{ value }}px;
|
||||
}
|
||||
|
||||
.mt-{{ key }} {
|
||||
margin-block-start: {{ value }}px;
|
||||
}
|
||||
|
||||
.mb-{{ key }} {
|
||||
margin-block-end: {{ value }}px;
|
||||
}
|
||||
|
||||
.w-{{ key }} {
|
||||
width: {{ value }}px;
|
||||
}
|
||||
|
||||
.h-{{ key }} {
|
||||
height: {{ value }}px;
|
||||
}
|
||||
|
||||
.size-{{ key }} {
|
||||
width: {{ value }}px;
|
||||
height: {{ value }}px;
|
||||
}
|
||||
|
||||
.radius-{{ key }} {
|
||||
border-radius: {{ value }}px;
|
||||
}
|
||||
{% endfor %}
|
||||
|
||||
:root {
|
||||
{% for keyRaw, value in spacing %}
|
||||
{% set key = keyRaw | replace(".", "-") %}
|
||||
--spacing-{{ key }}: {{ value }}px;
|
||||
{% endfor %}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue