Read the statement by Michael Teeuw here.
No numbers in analog watch face
-
@hango Hi again, I’ve modified my script but it isn’t working:
.clockCircle {
margin: 0 auto;
position: relative;
border-radius: 50%;
background-size: 100%;
background: transparent /home/pi/MagicMirror/modules/default/clock/faces(“faces/face-005.svg”) center no-repeat;
}In this context, is url an actual url or my fie path? x
-
This post is deleted! -
This post is deleted! -
@hango Thanks Hango.
- I have updated the code (still not working presumably because of point 3 below)
- I don’t know where to download the old SVG faces - when I installed MM there was/is a folder full of SVG clock faces
- Please don’t laugh - I don’t know how to create/use a custom css folder - I plan to learn this soon! X
-
This post is deleted! -
@hango if one uses my installer script, I create the empty custom.css as part of the install.
-
This post is deleted! -
- Haha thanks guys - that worked!
Very good point in regard to ‘‘how you update the code if you don’t know to create custom.css?’’- I previouly edited the config.js, clock.js and clock_styles.css > I created a really pretty analog clock with the centre, second hand, minute and hour each with different colours.
- For some reason I thought that a custom.css was really technical but I easily created this from my terminal.
For what it’s worth, I’ve connected to a few APIs and have configued these in the main confg folder and the css’s.
Going forward I’m going to play with customising the default modules (well the ones which I haven’t hidden in the main config file) in the custom CSS.
Thanks again Xx
-
@Ice-cream do not edit the default files.
config in config.js and css in custom.css
-
@sdetweil said in No numbers in analog watch face:
@lavolp3 interesting, my script tries to minimize space used, so only downloads the master branch
to down develop dogit fetch origin develop:develop git checkout develop
I am probably doing something wrong.
I typed in “git fetch origin develop:develop” and then “git checkout develop” and got an error.
git checkout develop error: Your local changes to the following files would be overwritten by checkout: modules/default/clock/clock.js modules/default/weatherforecast/weatherforecast.js package-lock.json Please commit your changes or stash them before you switch branches. Aborting