Skip to content

Commit 8bae5d9

Browse files
Migrate to new theme (#59)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent aa1dc0d commit 8bae5d9

291 files changed

Lines changed: 9726 additions & 3182 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/scripts/cspell-custom-words-common.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Badgett
99
Basili
1010
Beedle
1111
Bennekum
12+
bmatrix
1213
Boehm
1314
Boersma
1415
Booch
@@ -32,6 +33,7 @@ ESEM
3233
Euromicro
3334

3435
Fewster
36+
franca
3537

3638
Gagne
3739
Grenning
@@ -41,11 +43,13 @@ Hannes
4143
Hapke
4244
Harvill
4345
Hennessy
46+
hextra
4447
Highsmith
4548
Hiva
4649
Holmstrom
4750

4851
Ifrah
52+
infty
4953
Itkonen
5054

5155
Jalote
@@ -77,12 +81,16 @@ Marick
7781
Markku
7882
Markkula
7983
Marko
84+
mathbb
85+
mathbf
8086
Matthes
8187
Matyas
8288
Mika
89+
Mikolov
8390
Moroney
8491

8592
Nonino
93+
Numpy
8694
Nuseibeh
8795
NXOR
8896

@@ -97,6 +105,7 @@ Parnas
97105
Pekka
98106
Pfleeger
99107
Pilar
108+
pmatrix
100109
Pulkkinen
101110
Pylint
102111
pytest
@@ -111,6 +120,7 @@ Sams
111120
Schwaber
112121
SDLC
113122
Sebesta
123+
sectioncards
114124
Siewiorek
115125
Silberschatz
116126
Simo
@@ -122,6 +132,8 @@ Swarz
122132

123133
Turula
124134

135+
UMAP
136+
125137
Veli
126138
Vlissides
127139

.github/workflows/scripts/cspell-custom-words-en.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ creational
44
cyclomatic
55
datos
66
estructura
7+
explainability
78
fundamentos
89
incrementality
910
modeling
1011
objetos
1112
programación
13+
regulariser
1214
roadmap
1315
sidelining
1416
subclassed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
- id: pretty-format-json
2525
- id: trailing-whitespace
2626
- repo: https://github.com/thlorenz/doctoc
27-
rev: v2.2.0
27+
rev: v2.3.0
2828
hooks:
2929
- id: doctoc
3030
args: ["--title=## Contents", "--github"]

archetypes/default.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
+++
2-
date = '{{ .Date }}'
3-
draft = true
4-
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5-
+++
1+
---
2+
date: '{{ .Date }}'
3+
draft: true
4+
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
---

assets/css/custom.css

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/* Google Fonts */
2+
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=Fira+Code:wght@400;500&display=swap');
3+
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
4+
5+
/* Font Family */
6+
/* https://imfing.github.io/hextra/docs/advanced/customization/#font-family */
7+
.content {
8+
font-family: "Google Sans";
9+
color: #2D3A2D;
10+
}
11+
12+
.content:is(html[class~="dark"] *) {
13+
color: #D1D5DB;
14+
}
15+
16+
/* Inline Code Element */
17+
/* https://imfing.github.io/hextra/docs/advanced/customization/#inline-code-element */
18+
.content code:not(.code-block code) {
19+
color: #059669;
20+
}
21+
22+
.content code:not(.code-block code):is(html[class~="dark"] *) {
23+
color: #4ADE80;
24+
}
25+
26+
/* Primary Color */
27+
/* https://imfing.github.io/hextra/docs/advanced/customization/#primary-color */
28+
:root {
29+
--primary-hue: 161deg;
30+
--primary-saturation: 94%;
31+
--primary-lightness: 30%;
32+
}
33+
34+
:root:is(html[class~="dark"] *) {
35+
--primary-hue: 142deg;
36+
--primary-saturation: 70%;
37+
--primary-lightness: 60%;
38+
}
39+
40+
/* Tailwind Theme Variables */
41+
/* https://imfing.github.io/hextra/docs/advanced/customization/#tailwind-theme-variables */
42+
/* https://tailwindcss.com/docs/theme#default-theme-variable-reference */
43+
@layer theme {
44+
:root {
45+
/* --hx-default-mono-font-family: "Fira Code", monospace; */
46+
/* --hx-color-dark: #1A1A1A;
47+
--hx-color-white: #F5F5F0; */
48+
}
49+
}
50+
51+
/* Further Theme Customization */
52+
53+
/* Headings */
54+
.content h1,
55+
.content h2,
56+
.content h3,
57+
.content h4,
58+
.content h5,
59+
.content h6 {
60+
font-family: "Plus Jakarta Sans", sans-serif;
61+
color: #1A2E1A;
62+
}
63+
64+
.content h1:is(html[class~="dark"] *),
65+
.content h2:is(html[class~="dark"] *),
66+
.content h3:is(html[class~="dark"] *),
67+
.content h4:is(html[class~="dark"] *),
68+
.content h5:is(html[class~="dark"] *),
69+
.content h6:is(html[class~="dark"] *) {
70+
color: #F3F4F6;
71+
}
72+
73+
/* Navbar */
74+
.hextra-nav-container-blur {
75+
background-color: rgba(245, 245, 240, 0.85) !important;
76+
border-bottom: 1px solid #D1FAE5;
77+
}
78+
79+
.hextra-nav-container-blur:is(html[class~="dark"] *) {
80+
background-color: rgba(26, 26, 26, 0.85) !important;
81+
border-bottom: 1px solid #262626;
82+
}
83+
84+
/* Cards */
85+
.hextra-card {
86+
background-color: #ffffff;
87+
border: 1px solid #D1FAE5;
88+
border-radius: 8px;
89+
transition: border-color 0.15s ease;
90+
}
91+
92+
.hextra-card:is(html[class~="dark"] *) {
93+
background-color: #222222;
94+
border-color: #2a2a2a;
95+
}
96+
97+
.hextra-card:hover {
98+
border-color: #059669;
99+
}
100+
101+
.hextra-card:is(html[class~="dark"] *):hover {
102+
border-color: #4ade80;
103+
}
104+
105+
.hextra-card-subtitle {
106+
color: #6B7280;
107+
}
108+
109+
.hextra-card-subtitle:is(html[class~="dark"] *) {
110+
color: #6b7280;
111+
}
112+
113+
/* ── Feature cards ────────────────────────── */
114+
/* .hextra-feature-card {
115+
background-color: #ffffff;
116+
border: 1px solid #D1FAE5;
117+
}
118+
119+
html.dark .hextra-feature-card {
120+
background-color: #222222;
121+
border-color: #2a2a2a;
122+
} */
123+
124+
/* Footer */
125+
.hextra-footer {
126+
background-color: #EBEBE5;
127+
border-top: 1px solid #D1FAE5;
128+
}
129+
130+
.hextra-footer:is(html[class~="dark"] *) {
131+
background-color: #141414;
132+
border-top: 1px solid #262626;
133+
}

config/_default/hugo.yaml

Lines changed: 66 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,74 @@
1-
# -- Site Configuration --
2-
# Refer to the theme docs for more details about each of these parameters.
3-
# https://blowfish.page/docs/getting-started/
4-
# https://blowfish.page/docs/configuration/#site-configuration
51

6-
# theme: "blowfish"
2+
title: "Learn-Software.com"
73

8-
defaultContentLanguage: "es"
4+
defaultContentLanguage: en
5+
defaultContentLanguageInSubdir: false
96

10-
# enableMissingTranslationPlaceholders: true
7+
languages:
8+
en:
9+
languageName: English
10+
weight: 1
11+
es:
12+
languageName: Español
13+
weight: 2
1114

12-
enableRobotsTXT: true
15+
# Parse Git commit
16+
enableGitInfo: true
1317

14-
pagination:
15-
pagerSize: 25
18+
markup:
19+
goldmark:
20+
duplicateResourceFiles: true
21+
extensions:
22+
passthrough:
23+
delimiters:
24+
block: [['\[', '\]'], ["$$", "$$"]]
25+
inline: [['\(', '\)']]
26+
enable: true
27+
renderer:
28+
unsafe: true
1629

17-
summaryLength: 0
18-
19-
imaging:
20-
anchor: 'Center'
30+
menu:
31+
main:
32+
- identifier: paths
33+
weight: 1
34+
- identifier: programming
35+
pageRef: /programming
36+
parent: paths
37+
weight: 1
38+
- identifier: softwareEngineering
39+
pageRef: /software-engineering
40+
parent: paths
41+
weight: 2
42+
- identifier: artificialIntelligence
43+
pageRef: /ai
44+
parent: paths
45+
weight: 3
46+
- identifier: blog
47+
pageRef: /blog
48+
weight: 2
49+
- identifier: about
50+
pageRef: /about
51+
weight: 3
52+
- identifier: search
53+
weight: 4
54+
params:
55+
type: search
56+
- name: GitHub
57+
weight: 5
58+
url: "https://github.com/learn-software-engineering"
59+
params:
60+
icon: github
61+
- identifier: languageSwitcher
62+
params:
63+
type: language-switch
64+
label: false
65+
icon: "globe"
66+
- identifier: themeToggle
67+
params:
68+
type: theme-toggle
69+
label: false
2170

2271
outputs:
23-
home:
24-
- HTML
25-
- RSS
26-
- JSON
27-
28-
taxonomies:
29-
tag: tags
30-
author: authors
31-
serie: series
32-
33-
related:
34-
threshold: 0
35-
toLower: false
36-
indices:
37-
- name: "tags"
38-
weight: 100
39-
- name: "categories"
40-
weight: 100
41-
- name: "series"
42-
weight: 50
43-
- name: "authors"
44-
weight: 20
45-
- name: "date"
46-
weight: 10
47-
- applyFilter: false
48-
name: 'fragmentrefs'
49-
type: 'fragments'
50-
weight: 10
51-
52-
sitemap:
53-
changefreq: daily
54-
filename: sitemap.xml
55-
priority: 1
72+
home: [html, llms]
73+
page: [html, markdown]
74+
section: [html, rss, markdown]

0 commit comments

Comments
 (0)