Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update visited link color #111

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions documentation/docs/about/license.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
---
# MIT License

Copyright (c) 2023 Natan Organick
Expand Down
3 changes: 2 additions & 1 deletion notes/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Terminal for MkDocs' Tile Grid relies on the *meta*[^mkdocs-page-meta] attribute
- `npm install broken-link-checker -g`
- `blc http://localhost:8080 -ro`
- [YAML boolean syntax](https://yaml.org/spec/1.2.2/#10212-boolean)

- [lighten hex color](https://mdigi.tools/lighten-color)

## regex
### linked image
`<div .*? <figure(.)[^>]*? <a(.)*<img`
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mkdocs-terminal",
"version": "3.10.0",
"version": "3.10.1",
"description": "Terminal.css theme for MkDocs",
"keywords": [
"mkdocs",
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--font-color: #e8e9ed;
--invert-font-color: #222225;
--primary-color: #62c4ff;
--primary-color-lightened: #81d0ff;
--secondary-color: #a3abba;
--tertiary-color: #a3abba;
--error-color: #ff3c74;
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--font-color: #151515;
--invert-font-color: #fff;
--primary-color: #1a95e0;
--primary-color-lightened: #45abe9;
--secondary-color: #727578;
--error-color: #d20962;
--progress-bar-background: #727578;
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/gruvbox_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
--font-color: var(--gb-dm-fg1);
--invert-font-color: var(--gb-dm-bg0-hard);
--primary-color: var(--gb-dm-light-yellow);
--primary-color-lightened: #fbca59;
--secondary-color: var(--gb-dm-fg3);
--tertiary-color: var(--gb-dm-light-gray);
--error-color: var(--gb-dm-light-red);
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/pink.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--font-color: #190910;
--invert-font-color: #f7f7f7;
--primary-color: #f90d7a;
--primary-color-lightened: #fa3d95;
--secondary-color: #715864;
--tertiary-color: #715864;
--error-color: #bb0047;
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/sans.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
--font-color: #151515;
--invert-font-color: #fff;
--primary-color: #1a95e0;
--primary-color-lightened: #45abe9;
--secondary-color: #727578;
--error-color: #d20962;
--progress-bar-background: #727578;
Expand Down
1 change: 1 addition & 0 deletions terminal/css/palettes/sans_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--font-color: #e8e9ed;
--invert-font-color: #222225;
--primary-color: #62c4ff;
--primary-color-lightened: #81d0ff;
--secondary-color: #a3abba;
--tertiary-color: #a3abba;
--error-color: #ff3c74;
Expand Down
6 changes: 6 additions & 0 deletions terminal/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ a.btn {
text-decoration: none !important;
}

/* update visited link color */
a:visited {
color: var(--primary-color-lightened);
}


.terminal-mkdocs-main-grid {
display: grid;
grid-column-gap: 1.4em;
Expand Down
2 changes: 1 addition & 1 deletion terminal/theme_version.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-terminal-3.10.0">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-terminal-3.10.1">