mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-22 23:37:53 +00:00
theme: prepare for Prettier config #947
This commit is contained in:
parent
28fce6b04c
commit
57defcfab7
7 changed files with 19 additions and 20 deletions
|
@ -1,3 +1,4 @@
|
||||||
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
|
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
|
||||||
@import "{{ printf "%s-%s.css%s" .prefix .light $assetBusting }}" screen and (prefers-color-scheme: light);
|
@import '{{ printf "%s-%s.css%s" .prefix .light $assetBusting }}' screen and (prefers-color-scheme: light);
|
||||||
@import "{{ printf "%s-%s.css%s" .prefix .dark $assetBusting }}" screen and (prefers-color-scheme: dark);
|
/* prettier-ignore */
|
||||||
|
@import '{{ printf "%s-%s.css%s" .prefix .dark $assetBusting }}' screen and (prefers-color-scheme: dark);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
|
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
|
||||||
@import "{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}";
|
@import '{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}';
|
||||||
@import "{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}";
|
/* prettier-ignore */
|
||||||
|
@import '{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}';
|
||||||
|
|
||||||
#R-sidebar {
|
#R-sidebar {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
|
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
|
||||||
@import "{{ printf "format-print.css%s" $assetBusting }}";
|
@import '{{ printf "format-print.css%s" $assetBusting }}';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
|
/* styles to make Swagger-UI fit into our theme */
|
||||||
/* Styles to make Swagger-UI fit into our theme */
|
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
|
||||||
|
@import '{{ printf "fonts.css%s" $assetBusting }}';
|
||||||
@import "{{ printf "fonts.css%s" $assetBusting }}";
|
/* prettier-ignore */
|
||||||
@import "{{ printf "variables.css%s" $assetBusting }}";
|
@import '{{ printf "variables.css%s" $assetBusting }}';
|
||||||
|
|
||||||
body{
|
body{
|
||||||
line-height: 1.574;
|
line-height: 1.574;
|
||||||
|
|
|
@ -311,5 +311,3 @@ above will not apply, so we have to repeat it here */
|
||||||
--ps-thumb-color: rgba( 208, 208, 208, 1 );
|
--ps-thumb-color: rgba( 208, 208, 208, 1 );
|
||||||
--ps-thumb-hover-color: rgba( 204, 204, 204, 1 );
|
--ps-thumb-hover-color: rgba( 204, 204, 204, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
|
/* this file is here for compatiblity with older installations; use theme-relearn-light instead */
|
||||||
/* this file is here for compatiblity with older installations
|
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
|
||||||
use theme-relearn-light instead */
|
@import '{{ printf "theme-relearn-light.css%s" $assetBusting }}';
|
||||||
@import "{{ printf "theme-relearn-light.css%s" $assetBusting }}";
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
7.1.1
|
7.1.1+28fce6b04c414523280c53ee02f9f3a94d9d23da
|
Loading…
Reference in a new issue