jekyll-text-theme 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -3
  3. data/_data/locale.yml +4 -4
  4. data/_data/variables.yml +1 -0
  5. data/_includes/article-footer/author-profile.html +2 -7
  6. data/_includes/article-footer/license.html +1 -2
  7. data/_includes/article-info.html +6 -13
  8. data/_includes/article-section-navigator.html +54 -0
  9. data/_includes/{follow-me.html → author-links.html} +4 -10
  10. data/_includes/footer.html +20 -21
  11. data/_includes/head.html +10 -18
  12. data/_includes/header.html +5 -8
  13. data/_includes/markdown-enhancements.html +6 -18
  14. data/_includes/markdown-enhancements/mathjax.html +4 -8
  15. data/_includes/markdown-enhancements/mermaid.html +3 -1
  16. data/_includes/pageview.html +1 -3
  17. data/_includes/paginator.html +97 -0
  18. data/_includes/scripts/archieve.js +4 -4
  19. data/_includes/scripts/article-list.html +2 -4
  20. data/_includes/scripts/aside/affix.js +7 -9
  21. data/_includes/scripts/aside/toc.js +7 -9
  22. data/_includes/scripts/{sidebar.js → components/sidebar.js} +0 -0
  23. data/_includes/scripts/lib/affix.js +35 -26
  24. data/_includes/scripts/lib/toc.js +7 -5
  25. data/_includes/sidebar/toc.html +2 -4
  26. data/_includes/snippets/assign.html +7 -3
  27. data/_includes/snippets/get-nav-url.html +4 -4
  28. data/_includes/snippets/get-sources.html +1 -4
  29. data/_includes/snippets/locale-to-string.html +4 -4
  30. data/_includes/snippets/page-title.html +2 -4
  31. data/_includes/snippets/page-url.html +1 -2
  32. data/_includes/snippets/prepend-baseurl.html +1 -1
  33. data/_includes/tags.html +1 -1
  34. data/_layouts/article.html +8 -38
  35. data/_layouts/home.html +4 -108
  36. data/_layouts/landing.html +6 -12
  37. data/_layouts/page.html +16 -28
  38. data/_sass/additional/_alert.scss +4 -4
  39. data/_sass/animate/_fade-in-up.scss +10 -0
  40. data/_sass/common/_classes.scss +2 -1
  41. data/_sass/common/_reset.scss +0 -13
  42. data/_sass/common/_variables.scss +1 -1
  43. data/_sass/common/classes/_clickable.scss +1 -1
  44. data/_sass/common/classes/_link.scss +0 -62
  45. data/_sass/common/components/_menu.scss +21 -1
  46. data/_sass/common/components/_toc.scss +9 -10
  47. data/_sass/components/{_article.content.scss → _article-content.scss} +3 -5
  48. data/_sass/components/{_article.info.scss → _article-info.scss} +3 -3
  49. data/_sass/components/{_follow-me.scss → _author-links.scss} +1 -1
  50. data/_sass/components/_author-profile.scss +1 -1
  51. data/_sass/components/_footer.scss +14 -12
  52. data/_sass/components/_header.scss +2 -1
  53. data/_sass/components/_tags.scss +1 -0
  54. data/_sass/layout/_archive.scss +7 -4
  55. data/_sass/layout/_article.scss +1 -1
  56. data/_sass/layout/_base.scss +10 -0
  57. data/_sass/layout/_home.scss +3 -0
  58. data/_sass/layout/_page.scss +5 -1
  59. data/_sass/skins/_chocolate.scss +25 -14
  60. data/_sass/skins/_dark.scss +19 -8
  61. data/_sass/skins/_default.scss +16 -5
  62. data/_sass/skins/_forest.scss +17 -6
  63. data/_sass/skins/_ocean.scss +23 -12
  64. data/_sass/skins/_orange.scss +26 -14
  65. data/_sass/skins/highlight/_default.scss +0 -0
  66. data/_sass/skins/highlight/_tomorrow-night-blue.scss +2 -0
  67. data/_sass/skins/highlight/_tomorrow-night-bright.scss +2 -0
  68. data/_sass/skins/highlight/_tomorrow-night-eighties.scss +2 -0
  69. data/_sass/skins/highlight/_tomorrow-night.scss +2 -0
  70. data/_sass/skins/highlight/_tomorrow.scss +2 -0
  71. data/_sass/skins/highlight/tomorrow/_default.scss +10 -0
  72. data/_sass/skins/highlight/tomorrow/_highlight.scss +74 -0
  73. data/_sass/skins/highlight/tomorrow/_night-blue.scss +10 -0
  74. data/_sass/skins/highlight/tomorrow/_night-bright.scss +10 -0
  75. data/_sass/skins/highlight/tomorrow/_night-eighties.scss +10 -0
  76. data/_sass/skins/highlight/tomorrow/_night.scss +10 -0
  77. data/assets/css/main.scss +20 -9
  78. metadata +23 -9
  79. data/_includes/snippets/to-boolean.html +0 -7
  80. data/_sass/common/_highlighting.scss +0 -65
@@ -3,12 +3,8 @@ layout: page
3
3
  type: article
4
4
  ---
5
5
 
6
- {%- assign __target = layout.show_author_profile -%}
7
- {%- assign __source = page.show_author_profile -%}
8
- {%- include snippets/assign.html -%}
9
- {%- assign __target = site.data.variables.default.page.show_author_profile -%}
10
- {%- assign __source = __return -%}
11
- {%- include snippets/assign.html -%}
6
+ {%- include snippets/assign.html target=site.data.variables.default.page.show_author_profile source0=layout.show_author_profile -%}
7
+ {%- include snippets/assign.html target=__return source0=page.show_author_profile -%}
12
8
  {%- assign _show_author_profile = __return -%}
13
9
 
14
10
  <div class="layout--article">
@@ -17,12 +13,10 @@ type: article
17
13
 
18
14
  <footer class="article__footer">
19
15
  {%- if page.modify_date -%}
20
- {%- assign __locale = site.data.locale.ARTICLE_DATE_FORMAT -%}
21
- {%- include snippets/locale-to-string.html -%}
16
+ {%- include snippets/locale-to-string.html locale=site.data.locale.ARTICLE_DATE_FORMAT -%}
22
17
  {%- assign _locale_date_format = __return -%}
23
18
 
24
- {%- assign __locale = site.data.locale.LAST_UPDATED -%}
25
- {%- include snippets/locale-to-string.html -%}
19
+ {%- include snippets/locale-to-string.html locale=site.data.locale.LAST_UPDATED -%}
26
20
  {%- assign _locale_last_update = __return -%}
27
21
  <span>{{ _locale_last_update }}
28
22
  <time itemprop="dateModified" datetime="{{ page.modify_date | date_to_xmlschema }}">{{ page.modify_date | date: _locale_date_format }}</time>
@@ -34,11 +28,11 @@ type: article
34
28
 
35
29
  {%- if _show_author_profile -%}
36
30
  {%- if page.author -%}
37
- {%- assign __author = site.data.authors[page.author] -%}
31
+ {%- assign _author = site.data.authors[page.author] -%}
38
32
  {%- else -%}
39
- {%- assign __author = site.author -%}
33
+ {%- assign _author = site.author -%}
40
34
  {%- endif -%}
41
- {%- include article-footer/author-profile.html -%}
35
+ {%- include article-footer/author-profile.html author=_author -%}
42
36
  {%- endif -%}
43
37
 
44
38
  {%- if page.license -%}
@@ -46,31 +40,7 @@ type: article
46
40
  {%- endif -%}
47
41
  </footer>
48
42
 
49
- {%- if page.next or page.previous -%}
50
- <div class="article__previous-next clearfix">
51
- {%- if page.next -%}
52
-
53
- {%- assign __path = page.next.url -%}
54
- {%- include snippets/prepend-baseurl.html -%}
55
- {%- assign _href = __return -%}
56
-
57
- {%- assign __locale = site.data.locale.PREVIOUS -%}
58
- {%- include snippets/locale-to-string.html -%}
59
- {%- assign _locale_previous = __return -%}
60
-
61
- <div class="previous"><span>{{ _locale_previous }}</span><a href="{{ _href }}">{{ page.next.title }}</a></div>
62
- {%- endif -%}
63
- {%- if page.previous -%}
64
- {%- assign __path = page.previous.url -%}
65
- {%- include snippets/prepend-baseurl.html -%}
66
- {%- assign _href = __return -%}
67
- {%- assign __locale = site.data.locale.NEXT -%}
68
- {%- include snippets/locale-to-string.html -%}
69
- {%- assign _locale_next = __return -%}
70
- <div class="next"><span>{{ _locale_next }}</span><a href="{{ _href }}">{{ page.previous.title }}</a></div>
71
- {%- endif -%}
72
- </div>
73
- {%- endif -%}
43
+ {%- include article-section-navigator.html -%}
74
44
 
75
45
  </div>
76
46
 
data/_layouts/home.html CHANGED
@@ -13,12 +13,10 @@ show_title: false
13
13
  {%- for post in paginator.posts -%}
14
14
  <article itemscope itemtype="http://schema.org/BlogPosting">
15
15
 
16
- {%- assign __path = post.url -%}
17
- {%- include snippets/prepend-baseurl.html -%}
16
+ {%- include snippets/prepend-baseurl.html path=post.url -%}
18
17
  {%- assign _href = __return -%}
19
18
 
20
- {%- assign __locale = site.data.locale.READMORE -%}
21
- {%- include snippets/locale-to-string.html -%}
19
+ {%- include snippets/locale-to-string.html locale=site.data.locale.READMORE -%}
22
20
  {%- assign _locale_readmore = __return -%}
23
21
 
24
22
  <header class="article__header"><h2 itemprop="headline"><a href="{{ _href }}">{{ post.title }}</a></h2></header>
@@ -31,115 +29,13 @@ show_title: false
31
29
  {%- endif -%}
32
30
  </div>
33
31
 
34
- <p><a href="{{ _href }}">{{ _locale_readmore }}</a></p>
32
+ <p class="post-list__readmore"><a href="{{ _href }}">{{ _locale_readmore }}</a></p>
35
33
  {%- include article-info.html -%}
36
34
  </article>
37
35
  {%- endfor -%}
38
36
  </div>
39
37
 
40
-
41
- {%- if paginator.total_pages > 1 -%}
42
- <nav class="pagination">
43
-
44
- {%- assign __locale = site.data.locale.STATISTICS -%}
45
- {%- include snippets/locale-to-string.html -%}
46
- {%- assign _locale_statistics = __return -%}
47
-
48
- {%- assign _post_count = site.posts | size -%}
49
- {%- assign _page_count = paginator.total_pages -%}
50
- <p>{{ _locale_statistics | replace: '[POST_COUNT]', _post_count | replace: '[PAGE_COUNT]', _page_count }}</p>
51
-
52
- <ul class="menu menu--nowrap">
53
- {%- assign _max_show = 5 -%}
54
- {%- assign _max_show_modulo_two = _max_show | modulo: 2 -%}
55
- {%- assign _length = paginator.total_pages -%}
56
- {%- assign _length_mimus_one = _length | minus: 1 -%}
57
- {%- assign _cur = paginator.page -%}
58
- {%- assign _extra = _max_show | minus: 3 -%}
59
- {%- assign _extra_half = _extra | divided_by: 2 -%}
60
-
61
- {%- if _max_show > 4 and _max_show_modulo_two == 1 and paginator.total_pages > _max_show -%}
62
- {%- assign _condition0 = _extra | divided_by: 2 | plus: 1 -%}
63
- {%- assign _condition1 = _length | minus: _extra_half -%}
64
- {%- if _cur <= _condition0 -%}
65
- {%- assign _n0 = 2 -%}
66
- {%- assign _n1 = _extra | plus: 2 -%}
67
- {%- elsif _cur >= _condition1 -%}
68
- {%- assign _n0 = _length | minus: _extra | minus: 1 -%}
69
- {%- assign _n1 = _length | minus: 1 -%}
70
- {%- else -%}
71
- {%- assign _n0 = _cur | minus: _extra_half -%}
72
- {%- assign _n1 = _cur | plus: _extra_half -%}
73
- {%- endif -%}
74
- {%- endif -%}
75
-
76
- {%- if paginator.previous_page -%}
77
- {%- assign __path = paginator.previous_page_path -%}
78
- {%- include snippets/prepend-baseurl.html -%}
79
- {%- assign _href = __return -%}
80
- <li><a class="button button--secondary button--circle" href="{{ _href }}">
81
- <i class="fas fa-angle-left"></i>
82
- </a></li>
83
- {%- else -%}
84
- <li><div class="button button--secondary button--circle disabled">
85
- <i class="fas fa-angle-left"></i>
86
- </div></li>
87
- {%- endif -%}
88
-
89
- {%- for page in (1.._length) -%}
90
- {%- if page == _cur -%}
91
- <li>
92
- <div class="button button--primary button--circle"><span>{{ page }}</span></div>
93
- </li>
94
-
95
- {%- elsif page == 1 -%}
96
- {%- assign __path = site.paths.home | default: site.data.variables.default.paths.home -%}
97
- {%- include snippets/prepend-baseurl.html -%}
98
- {%- assign _href = __return -%}
99
- <li>
100
- <a class="button button--secondary button--circle" href="{{ _href }}"><span>{{ page }}</span></a>
101
- </li>
102
-
103
- {%- else -%}
104
- {%- if _n0 and _n1 -%}
105
- {%- if page > 1 and page < _n0 -%}
106
- {%- if page == 2 -%}<li><span class="pagination__omit"><i class="fas fa-ellipsis-h"></i></span></li>{%- endif -%}
107
- {%- elsif page > _n1 and page < _length -%}
108
- {%- if page == _length_mimus_one -%}<li><span class="omit"><i class="fas fa-ellipsis-h"></i></span></li>{%- endif -%}
109
- {%- else -%}
110
- {%- assign __path = site.paginate_path -%}
111
- {%- include snippets/prepend-baseurl.html -%}
112
- {%- assign _href = __return -%}
113
- <li>
114
- <a class="button button--secondary button--circle" href="{{ _href | replace: ':num', page }}"><span>{{ page }}</span></a>
115
- </li>
116
- {%- endif -%}
117
- {%- else -%}
118
- {%- assign __path = site.paginate_path -%}
119
- {%- include snippets/prepend-baseurl.html -%}
120
- {%- assign _href = __return -%}
121
- <li>
122
- <a class="button button--secondary button--circle" href="{{ _href | replace: ':num', page }}"><span>{{ page }}</span></a>
123
- </li>
124
- {%- endif -%}
125
- {%- endif -%}
126
- {%- endfor -%}
127
-
128
- {%- if paginator.next_page -%}
129
- {%- assign __path = paginator.next_page_path -%}
130
- {%- include snippets/prepend-baseurl.html -%}
131
- {%- assign _href = __return -%}
132
- <li><a class="button button--secondary button--circle" href="{{ _href }}">
133
- <i class="fas fa-angle-right"></i>
134
- </a></li>
135
- {%- else -%}
136
- <li><div class="button button--secondary button--circle disabled">
137
- <i class="fas fa-angle-right"></i>
138
- </div></li>
139
- {%- endif -%}
140
- </ul>
141
- </nav>
142
- {%- endif -%}
38
+ {%- include paginator.html -%}
143
39
  </div>
144
40
 
145
41
  <script>
@@ -9,8 +9,7 @@ full_width: true
9
9
  {%- assign _title = __return -%}
10
10
 
11
11
  <div class="layout--landing">
12
- {%- assign __path = page.data.background_image.src -%}
13
- {%- include snippets/get-nav-url.html -%}
12
+ {%- include snippets/get-nav-url.html path=page.data.background_image.src -%}
14
13
  {%- assign _url = __return -%}
15
14
  {%- if page.data.theme == 'light' -%}
16
15
  <section class="section section--light overlay" style="background-image: url({{ _url }});">
@@ -27,8 +26,7 @@ full_width: true
27
26
  {%- if page.data.actions -%}
28
27
  <ul class="menu menu--center">
29
28
  {%- for _action in page.data.actions -%}
30
- {%- assign __path = _action.url -%}
31
- {%- include snippets/get-nav-url.html -%}
29
+ {%- include snippets/get-nav-url.html path=_action.url -%}
32
30
  {%- assign _url = __return -%}
33
31
  {%- assign _type = _action.type | default: 'info' -%}
34
32
  <li><a class="button button--{{ _type }} button--pill button--lg" href="{{ _url }}">{{ _action.text }}</a></li>
@@ -58,8 +56,7 @@ full_width: true
58
56
  {%- if _section.actions -%}
59
57
  <ul class="menu menu--center">
60
58
  {%- for _action in _section.actions -%}
61
- {%- assign __path = _action.url -%}
62
- {%- include snippets/get-nav-url.html -%}
59
+ {%- include snippets/get-nav-url.html path=_action.url -%}
63
60
  {%- assign _url = __return -%}
64
61
  {%- assign _type = _action.type | default: 'outline-info' -%}
65
62
  <li><a class="button button--{{ _type }} button--pill button--lg" href="{{ _url }}">{{ _action.text }}</a></li>
@@ -88,8 +85,7 @@ full_width: true
88
85
  {%- if child.actions -%}
89
86
  <ul class="menu menu--center">
90
87
  {%- for _action in child.actions -%}
91
- {%- assign __path = _action.url -%}
92
- {%- include snippets/get-nav-url.html -%}
88
+ {%- include snippets/get-nav-url.html path=_action.url -%}
93
89
  {%- assign _url = __return -%}
94
90
  {%- assign _type = _action.type | default: 'outline-info' -%}
95
91
  <li><a class="button button--{{ _type }} button--pill button--lg" href="{{ _url }}">{{ _action.text }}</a></li>
@@ -101,16 +97,14 @@ full_width: true
101
97
  {%- if child.image -%}
102
98
 
103
99
  {%- if child.image.url -%}
104
- {%- assign __path = child.image.url -%}
105
- {%- include snippets/get-nav-url.html -%}
100
+ {%- include snippets/get-nav-url.html path=child.image.url -%}
106
101
  {%- assign _item_image_url = __return -%}
107
102
  {%- else -%}
108
103
  {%- assign _item_image_url = nil -%}
109
104
  {%- endif -%}
110
105
 
111
106
  {%- if child.image.src -%}
112
- {%- assign __path = child.image.src -%}
113
- {%- include snippets/get-nav-url.html -%}
107
+ {%- include snippets/get-nav-url.html path=child.image.src -%}
114
108
  {%- assign _item_image_src = __return -%}
115
109
  {%- else -%}
116
110
  {%- assign _item_image_src = nil -%}
data/_layouts/page.html CHANGED
@@ -6,36 +6,24 @@ layout: base
6
6
  {%- include snippets/page-title.html -%}
7
7
  {%- assign _page_title = __return -%}
8
8
 
9
- {%- assign __source = page.show_header -%}
10
- {%- assign __target = layout.show_header -%}
11
- {%- include snippets/assign.html -%}
12
- {%- assign __source = __return -%}
13
- {%- assign __target = site.data.variables.default.page.show_header -%}
14
- {%- include snippets/assign.html -%}
9
+ {%- include snippets/assign.html
10
+ target=site.data.variables.default.page.show_header
11
+ source0=layout.show_header source1=page.show_header -%}
15
12
  {%- assign _show_header = __return -%}
16
13
 
17
- {%- assign __source = page.full_width -%}
18
- {%- assign __target = layout.full_width -%}
19
- {%- include snippets/assign.html -%}
20
- {%- assign __source = __return -%}
21
- {%- assign __target = site.data.variables.default.page.full_width -%}
22
- {%- include snippets/assign.html -%}
14
+ {%- include snippets/assign.html
15
+ target = site.data.variables.default.page.full_width
16
+ source0=layout.full_width source1=page.full_width -%}
23
17
  {%- assign _full_width = __return -%}
24
18
 
25
- {%- assign __source = page.show_title -%}
26
- {%- assign __target = layout.show_title -%}
27
- {%- include snippets/assign.html -%}
28
- {%- assign __source = __return -%}
29
- {%- assign __target = site.data.variables.default.page.show_title -%}
30
- {%- include snippets/assign.html -%}
19
+ {%- include snippets/assign.html
20
+ target=site.data.variables.default.page.show_title
21
+ source0=layout.show_title source1=page.show_title -%}
31
22
  {%- assign _show_title = __return -%}
32
23
 
33
- {%- assign __source = page.show_edit_on_github -%}
34
- {%- assign __target = layout.show_edit_on_github -%}
35
- {%- include snippets/assign.html -%}
36
- {%- assign __source = __return -%}
37
- {%- assign __target = site.data.variables.default.page.show_edit_on_github -%}
38
- {%- include snippets/assign.html -%}
24
+ {%- include snippets/assign.html
25
+ target=site.data.variables.default.page.show_edit_on_github
26
+ source0=layout.show_edit_on_github source1=page.show_edit_on_github -%}
39
27
  {%- assign _show_edit_on_github = __return -%}
40
28
 
41
29
  {%- if page.sidebar -%}
@@ -99,9 +87,9 @@ layout: base
99
87
  {%- endif-%}
100
88
  {%- if _show_edit_on_github -%}
101
89
  {%- if site.repository and site.repository_tree -%}
102
- {%- assign __locale = site.data.locale.POST_ON_GITHUB -%}
103
- {%- include snippets/locale-to-string.html -%}
104
- <a class="edit-on-github ml-3"
90
+ {%- include snippets/locale-to-string.html locale=site.data.locale.POST_ON_GITHUB -%}
91
+ <span class="split-space">&nbsp;</span>
92
+ <a class="edit-on-github"
105
93
  title="{{ __return }}"
106
94
  href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">
107
95
  <i class="far fa-edit"></i></a>
@@ -143,7 +131,7 @@ layout: base
143
131
 
144
132
  {%- if page.sidebar -%}
145
133
  <script>
146
- {%- include scripts/sidebar.js -%}
134
+ {%- include scripts/components/sidebar.js -%}
147
135
  </script>
148
136
  {%- endif -%}
149
137
 
@@ -1,25 +1,25 @@
1
1
  .article__content {
2
2
  p.success {
3
3
  @include card(false);
4
- background-color: mix($green, $background-color, 10%);
4
+ background-color: rgba($green, .1);
5
5
  border: 1px solid $green;
6
6
  }
7
7
 
8
8
  p.info {
9
9
  @include card(false);
10
- background-color: mix($blue, $background-color, 10%);
10
+ background-color: rgba($blue, .1);
11
11
  border: 1px solid $blue;
12
12
  }
13
13
 
14
14
  p.warning {
15
15
  @include card(false);
16
- background-color: mix($yellow, $background-color, 10%);
16
+ background-color: rgba($yellow, .1);
17
17
  border: 1px solid $yellow;
18
18
  }
19
19
 
20
20
  p.error {
21
21
  @include card(false);
22
- background-color: mix($red, $background-color, 10%);
22
+ background-color: rgba($red, .1);
23
23
  border: 1px solid $red;
24
24
  }
25
25
  }
@@ -0,0 +1,10 @@
1
+ @include keyframes(fade-in-up) {
2
+ from {
3
+ opacity: 0;
4
+ @include transform(translateY(2rem));
5
+ }
6
+ to {
7
+ opacity: 1;
8
+ @include transform(translateY(0));
9
+ }
10
+ }
@@ -16,4 +16,5 @@
16
16
  "common/classes/transform",
17
17
  "common/classes/transition",
18
18
  "common/classes/user-select",
19
- "common/classes/grid"
19
+ "common/classes/grid"
20
+ ;
@@ -41,8 +41,6 @@ body {
41
41
  body {
42
42
  height: 100%;
43
43
  font: map-get($base, font-weight) #{map-get($base, font-size)}/#{map-get($base, line-height)} map-get($base, font-family);
44
- color: $text-color;
45
- background-color: $background-color;
46
44
  ::-moz-selection {
47
45
  background: $select-color;
48
46
  }
@@ -54,10 +52,6 @@ body {
54
52
  }
55
53
  }
56
54
 
57
- .root {
58
- height: 100%;
59
- }
60
-
61
55
  input, textarea, select, button {
62
56
  font: map-get($base, font-weight) #{map-get($base, font-size)}/#{map-get($base, line-height)} map-get($base, font-family);
63
57
  color: $text-color;
@@ -153,13 +147,6 @@ figcaption {
153
147
  font-size: map-get($base, font-size-sm);
154
148
  }
155
149
 
156
- .icon {
157
- display: block;
158
- >svg {
159
- display: block;
160
- }
161
- }
162
-
163
150
  button {
164
151
  font-size: 1rem;
165
152
  cursor: pointer;
@@ -78,7 +78,7 @@ $layout: (
78
78
 
79
79
  // sm md lg
80
80
  // | ------ | ------ | ------ |
81
- // 0 500 1024
81
+ // 0 500 1024 -
82
82
 
83
83
  $responsive: (
84
84
  sm: 0px,
@@ -105,8 +105,8 @@
105
105
  @include focus {
106
106
  color: $focus-clr;
107
107
  @if $focus-bg-clr{
108
- box-shadow: 0 0 0 2px rgba($focus-bg-clr, .4);
109
108
  background-color: $focus-bg-clr;
109
+ box-shadow: 0 0 0 2px rgba($focus-bg-clr, .4);
110
110
  }
111
111
  svg path {
112
112
  fill: $focus-clr;
@@ -1,65 +1,3 @@
1
1
  @mixin link-colors($clr, $hover-clr: default, $active-clr: default, $focus-clr: null, $theme: default) {
2
2
  @include clickable($clr, null, $hover-clr, null, $active-clr, null, $focus-clr, null, $theme: default);
3
-
4
- // @if $theme == default {
5
- // @if $hover-clr == default {
6
- // $theme: get-color-theme($clr);
7
- // } @else {
8
- // $theme: get-color-theme($hover-clr);
9
- // }
10
- // }
11
-
12
- // @if $hover-clr == default {
13
- // @if $theme == 'light' {
14
- // $hover-clr: darken($clr, 14%);
15
- // }
16
- // @if $theme == 'dark' {
17
- // $hover-clr: lighten($clr, 18%);
18
- // }
19
- // }
20
-
21
- // @if $active-clr == default {
22
- // @if $theme == 'light' {
23
- // $active-clr: darken($hover-clr, 15%);
24
- // }
25
- // @if $theme == 'dark' {
26
- // $active-clr: lighten($hover-clr, 16%);
27
- // }
28
- // }
29
-
30
- // @if $focus-clr == default {
31
- // @if $theme == 'light' {
32
- // $focus-clr: $hover-clr;
33
- // }
34
- // @if $theme == 'dark' {
35
- // $focus-clr: $hover-clr;
36
- // }
37
- // }
38
-
39
- // @include plain {
40
- // color: $clr;
41
- // svg path {
42
- // fill: $clr;
43
- // }
44
- // }
45
- // @include hover {
46
- // color: $hover-clr;
47
- // svg path {
48
- // fill: $hover-clr;
49
- // }
50
- // }
51
- // @include active {
52
- // color: $active-clr;
53
- // svg path {
54
- // fill: $active-clr;
55
- // }
56
- // }
57
- // @if $focus-clr {
58
- // @include focus {
59
- // color: $focus-clr;
60
- // svg path {
61
- // fill: $focus-clr;
62
- // }
63
- // }
64
- // }
65
3
  }