Skip to content

theme skin #137

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

Closed
katsu1110 opened this issue Sep 2, 2018 · 28 comments
Closed

theme skin #137

katsu1110 opened this issue Sep 2, 2018 · 28 comments
Assignees
Milestone

Comments

@katsu1110
Copy link

Thanks for a great repos. Is there a way to change the color skin (e.g. minimal_mistakes_skin) from the default?

@katsu1110
Copy link
Author

I kind of made it work, by disabling 'assets' by putting 'assets' into the exclude list in the _config.yml.
If you do it, you can change the skin of your website by putting the following on top of everything in the _config.yml

plugins:

  • jekyll-remote-theme
    remote_theme : "mmistakes/minimal-mistakes"
    minimal_mistakes_skin : "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

@derekpowell
Copy link

I'd like to try this out, could you write that code in a code block?

@katsu1110
Copy link
Author

katsu1110 commented Sep 11, 2018

Oh yes, sure

simply add the following in the beginning of your "_config.yml"

plugins:
  - jekyll-remote-theme
remote_theme           : "mmistakes/minimal-mistakes"
minimal_mistakes_skin    : "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"


Then just put 'assets' in the list of 'exclude' in the "_config.yml" to disable all the css.

# Reading Files
include:
  - .htaccess
  - _pages
  - files
exclude:
  - "*.sublime-project"
  - "*.sublime-workspace"
  - .asset-cache
  - .bundle
  - .jekyll-assets-cache
  - .sass-cache
  - assets`

Once you push it, your website should have a 'dark' skin with little loss of the format:)

@anebz
Copy link

anebz commented Nov 16, 2018

Tried it, the skin is indeed dark but the sidebar is pushed all the way to the left and the navbar on top is slightly disfigured, @katsu1110 is this what you mean by little loss of the format? :) or is there something I'm missing?

Edit: I found the official configuration page where it says the only necessary thing to do is add:

minimal_mistakes_skin: "dark"

but it's not working for me.

@katsu1110
Copy link
Author

@anebz Exactly, this is what I meant. For this academic pages, it seems that there are some unique changes in css from the original minimal_mistakes, which prevent us from changing the theme easily.

@nicklalone
Copy link

nicklalone commented Nov 17, 2018

It's a shame that your method of doing it seems to remove all iconography on the profile page. I wonder which asset specifically is blocking the theme content.

@anebz
Copy link

anebz commented Nov 17, 2018

Exactly, especially since it's supposed to be a simple one line addition, according to the documentation.

@eisenjulian
Copy link

Was anyone able to make this work?

@anebz
Copy link

anebz commented Mar 16, 2019

I wasn't :(

@datasumowrestler
Copy link

datasumowrestler commented Jul 20, 2019

Had the same problem. This worked for me:
https://github.com/mmistakes/minimal-mistakes/issues/1339

In _config.yml, add/ edit the following:
url: "https://vg.github.io"

@bensdm
Copy link

bensdm commented Jul 31, 2019

can you detail please?

@mrsandeshbhat
Copy link

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here

my _variables.scss file can be viewed here

anebz added a commit to anebz/anebz.github.io that referenced this issue Mar 5, 2020
@anebz
Copy link

anebz commented Mar 5, 2020

Thanks so much @mrsandeshbhat ! It worked 😎

@steipatr
Copy link

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here

my _variables.scss file can be viewed here

@mrsandeshbhat, Are any further changes needed to propagate these color value changes? I tried editing my _variables.scss but the website colors appear unchanged.

@anebz
Copy link

anebz commented May 28, 2020

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here
my _variables.scss file can be viewed here

@mrsandeshbhat, Are any further changes needed to propagate these color value changes? I tried editing my _variables.scss but the website colors appear unchanged.

@steipatr I tried doing these changes and it worked

@steipatr
Copy link

@anebz Thanks! I copied your the contents of your _variables.scss into mine, but nothing changed whatsoever. So bizarre. Are the skins you created also needed? That seems unintuitive, since they are not activated anywhere.

@anebz
Copy link

anebz commented May 31, 2020

@steipatr yeah the skins aren't referenced anywhere, I don't understand much CSS I just added the skins and it works for me. DId you manage to make it work without the skins?

@steipatr
Copy link

@anebz I'm a complete CSS noob. Couldn't get any color changes to work with the academicpages template. Trying minimal-mistakes now and it works as expected there, so trying to get a better understanding of how the different files work together in that.

@pritishmishra
Copy link

pritishmishra commented Jun 27, 2020

@steipatr Clone your repo to local. Remove Gemfile.lock file. Run the command bundle exec jekyll liveserve as given in Readme.
Push your changes to your github repo now.
Visit your webpage now and it should reflect the changes.

@eashanadhikarla
Copy link

I want to try out smaller fontsize for the entire website. I am not sure which one to edit. Can someone point me out the right place. Thanks!

@ryo-ARAKI
Copy link

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here
my _variables.scss file can be viewed here

@mrsandeshbhat, Are any further changes needed to propagate these color value changes? I tried editing my _variables.scss but the website colors appear unchanged.

I have been suffered by the exact same problem as @steipatr mentioned.
I did implement the changes @anebz shared with us and nothing happened on the local build & after git push ed to the remote server.
However, the next morning I found the dark theme is successfully applied.
I am completely new to CSS so have no idea what is going on in the background, but I would suggest you wait for a couple of days if you have experienced this kind of weird behavior.

@menisadi
Copy link

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here

my _variables.scss file can be viewed here

Tried and it worked! Thanks!
Only issue: the footer (with the copyright text) is still white for some reason. Any idea how to make it dark also?

@angadhn
Copy link

angadhn commented Oct 18, 2022

I was able to change the theme of my academic pages website using the color values listed in the _sass/skins/dark.scss file into the _variables.css file as can be seen here
my _variables.scss file can be viewed here

Tried and it worked! Thanks! Only issue: the footer (with the copyright text) is still white for some reason. Any idea how to make it dark also?

As was done in _variables.css, you need to go in and manually change this in _sass/footer.scss. My solution is here.

psanca27 pushed a commit to psancassani/psancassani.github.io that referenced this issue Nov 14, 2022
@g-h-chen
Copy link

g-h-chen commented Mar 5, 2023

plugins:

  • jekyll-remote-theme
    remote_theme : "mmistakes/minimal-mistakes"
    minimal_mistakes_skin : "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

This works for me! The thing is that you need to wait for 10~15 min before the server can sync all the changes (I guess).

cjd04 pushed a commit to cjd04/cjd04.github.io that referenced this issue Feb 23, 2025
cjd04 pushed a commit to cjd04/cjd04.github.io that referenced this issue Feb 23, 2025
…s#1031 cleaning up remainder of direct references to theme colors
cjd04 pushed a commit to cjd04/cjd04.github.io that referenced this issue Feb 23, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
…s#1031 cleaning up remainder of direct references to theme colors
679347153 pushed a commit to 679347153/679347153.github.io that referenced this issue Mar 19, 2025
deadlockcharlie added a commit to deadlockcharlie/ayushpandey8439.github.io that referenced this issue Mar 24, 2025
deadlockcharlie added a commit to deadlockcharlie/ayushpandey8439.github.io that referenced this issue Mar 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
 Conflicts:
	_config.yml
 Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Author:    rjzupkoii <[email protected]>

 interactive rebase in progress; onto 1c83644
 Last commands done (156 commands done):
    pick e9ff0d0 academicpages#137 pull default theme into new directory
    pick 077a671 academicpages#137 update to include theme as setting
 Next commands to do (37 remaining commands):
    pick 2363012 Address issues with order
    pick 75d868b academicpages#137, academicpages#851, academicpages#911, academicpages#1031 dark theme that can be set via _config.yml
 You are currently rebasing branch 'master' on '1c83644'.

 Changes to be committed:
	modified:   _config.yml
	modified:   assets/css/main.scss
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
paraskevasleivadaros pushed a commit to paraskevasleivadaros/paraskevasleivadaros.github.io that referenced this issue Apr 24, 2025
…s#1031 cleaning up remainder of direct references to theme colors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests