All Projects â†’ sfengyuan â†’ edidor

sfengyuan / edidor

Licence: MIT license
A hugo theme that looks like an editor with a builtin style generator, INFINITE COLOR MODE from a market perspective. 😂

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
Less
1899 projects
HTML
75241 projects

Projects that are alternatives of or similar to edidor

hugo-piercer-theme
Piercer is a very customizable, fast and simple Hugo theme designed under the mobile-first philosophy.
Stars: ✭ 27 (-32.5%)
Mutual labels:  hugo-theme
simple-style
My simple style hugo theme, based on <https://yanlinlin82.github.io/webpage-templates/simple-style/index.html>
Stars: ✭ 25 (-37.5%)
Mutual labels:  hugo-theme
wowchemy-hugo-themes
đŸ”Ĩ Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创åģē在įēŋč¯žį¨‹īŧŒå­Ļ术įŽ€åŽ†æˆ–初创įŊ‘įĢ™ã€‚#OpenScience
Stars: ✭ 6,891 (+17127.5%)
Mutual labels:  hugo-theme
hugo-theme-chunky-poster
A simple, bootstrap 4 based hugo blog theme.
Stars: ✭ 106 (+165%)
Mutual labels:  hugo-theme
hugo-documentation-theme
📖 Project Docs / Knowledge Base template for Hugo Website Builder. 创åģē饚į›Žæ–‡æĄŖ
Stars: ✭ 101 (+152.5%)
Mutual labels:  hugo-theme
hugo-startpage-theme
Hugo start page theme, link listing built from yaml
Stars: ✭ 19 (-52.5%)
Mutual labels:  hugo-theme
academia-hugo
Academia is a Hugo resume theme. You can showcase your academic resume, publications and talks using this theme.
Stars: ✭ 165 (+312.5%)
Mutual labels:  hugo-theme
bulma
Bulma is a simple and a responsive Hugo theme that offers a traditional blog mixed with a landing page designed to bootstrap your frontend!.
Stars: ✭ 41 (+2.5%)
Mutual labels:  hugo-theme
hugo-alabaster-theme
A documentation theme ported from Sphinx to Hugo
Stars: ✭ 73 (+82.5%)
Mutual labels:  hugo-theme
showcase-hugo-theme
Showcase is a minimal, single page theme for Hugo
Stars: ✭ 54 (+35%)
Mutual labels:  hugo-theme
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (+67.5%)
Mutual labels:  hugo-theme
hugo-researcher
A simple resume theme for Hugo
Stars: ✭ 192 (+380%)
Mutual labels:  hugo-theme
hugo-uilite
uicard.io/products/hugo-uilite
Stars: ✭ 85 (+112.5%)
Mutual labels:  hugo-theme
ace-documentation
A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
Stars: ✭ 91 (+127.5%)
Mutual labels:  hugo-theme
hugo-theme-minima
A clean and minimal Hugo theme.
Stars: ✭ 70 (+75%)
Mutual labels:  hugo-theme
hugo-theme-echo
A super concise theme for Hugo
Stars: ✭ 99 (+147.5%)
Mutual labels:  hugo-theme
npqhugo
npq-hugo is a customizable and responsive dark blog theme with integrated contact form and code syntax highlighting
Stars: ✭ 24 (-40%)
Mutual labels:  hugo-theme
hugo-zen
Hugo Zen is a minimal hugo theme.
Stars: ✭ 90 (+125%)
Mutual labels:  hugo-theme
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (+20%)
Mutual labels:  hugo-theme
hugo-lime
Hugo Lime is a business theme for GoHugo by https://uicard.io
Stars: ✭ 31 (-22.5%)
Mutual labels:  hugo-theme

Edidor

中文

A hugo theme that looks like an editor with a builtin style generator, INFINITE COLOR MODE from a market perspective. 😂

Thanks for @GoHugoIO's promotion

Screenshot

This is the light mode. screenshot This is the dark mode. screenshot

Now this is the interesting part -- wild mode. screenshot Wild mode too. screenshot Still wild mode. screenshot

Wild Mode Demo

I don't need to post more images, you can generate it by your self. You can use this theme, and click theme/wild mode. If you wanna publish the theme to visitors, use custom theme, you can find more information below.

No guarantee for what colors you can get 🙃

Features

  • viewport unit, test from 1920 x 1080 desktop to 320 x 568 mobile
  • No frameworks, only a Lodash throttle and an easing function from d3.ease
  • All static icons are inline svgs, coloring available due to mask-image
  • syntax hightlighting by highlight.js, can be turn off
  • Disqus comment system
  • multiple languages

i18n isn't completed!! NO IE support, and does in future!

Installation

Inside the folder of your Hugo site run:

cd themes
git submodule add https://github.com/sfengyuan/edidor

Or

cd themes
git clone https://github.com/sfengyuan/edidor

Usage

Copy config.toml in exampleSite to your site root folder, you are good to go, you can also find more information there.

Config

Logo

Logo images should be svg file, they are in the root/static/images/ directory. You need to have three versions. Just copy and rename theme, if you don't want to use separate design.

  • logo.svg(default in dark mode!)
  • logo_light.svg
  • logo_wild.svg

The theme will display the appropriate logo automatically.

Menu

Some menu entries are important to the theme, if you change it, some functions will stop to work.

Do not change these fields:

  • the name of 'Theme'
  • all 'identifier' shipped with the theme.

Beyond those, you can customize it as you like.

Why the field 'Theme' in menu doesn't use identifier, but name?

I tried, but when I add an identifier to the top menu, some weired things happend, this is just a temporary workaroud.

Wild mode

This is my favourite, and here is how it works. When you click the 'wild mode' link, some random css color rules will be applied to the page, and also saved in your browser's localStorage. When you go to another page, thoese rules will be loaded from local machine and applied again.

If you want to publish the local styles to your server end. You have to use custom css in hugo.

Custom CSS

In your config file: add

[params]
    customCss = ["custom.css", ...]

Place the custom.css to your site root/static/css directory.

Add wild mode CSS

Click Export Wild mode, and enter a theme name, a css file will be downloaded. You can find the code that you need in this file, and following the above steps.

Custom JS

In your config file: add

[params]
    customJs = ["custom.js", ...]

Place the custom.js to your site root/static/js directory.

Custom syntax highlighting

The theme use hightlight.js library, if you want to use custom hightlight.js, add it as custom js, and add this to your config.

useCustomSyntaxHighlight = true

You don't need to run the code manually.

Todo

Other

This is a new theme, if you found any problems, feel free to open an issue, and contribution is welcome! 😊

FAQ

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].