-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add custom-properties to css for improved styling #2537
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
93aa4b7
update README.md
earlman b842241
fix broken start scripts & yarn
earlman f0f370c
add *.env to .gitignore
earlman 549417f
yarn
earlman 2b7aa3e
use yarn
earlman 01e5936
install valid-url
earlman 3e8bd02
add custom variables
earlman 162dcec
Merge branch 'master' of https://github.com/foundations-design/WhiteL…
earlman 7ad12d9
add original main.css bak
earlman e16986c
Merge branch 'develop' of https://github.com/MichMich/MagicMirror int…
earlman 8380173
add color variables
earlman ff43d08
base line-height on scale
earlman d46784a
base font sizes on rem and var(--base)
earlman f9c78a5
use variables for fonts
earlman ff8c2fe
add custom.css.sample
earlman 50c702c
adjust new opacities
earlman ba0c597
update CHANGELOG.md
earlman 1cabe10
run prettier
earlman e8031ae
add original main.css bak
earlman 3588875
Update .gitignore
earlman c68b39d
Merge branch 'css-properties'
earlman 0d698fb
Merge remote-tracking branch 'upstream/develop' into contribute
earlman fdd6659
delete useless file
earlman f97d2e2
revert 'dimming' method
earlman eca35b2
change --base to --font-size
earlman 564bf47
update sample css
earlman e0a9c7d
Merge branch 'develop' into contribute
09bcbe8
Update dependencies and lock files
7c6073e
Undo README changes
25e803a
Update custom.css.sample
cb95bdf
Undo script changes, Update CHANGELOG
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* Magic Mirror Custom CSS Sample | ||
* | ||
* MIT Licensed. | ||
*/ | ||
|
||
// Uncomment and adjust accordingly if you want to import another font from the google-fonts-api: | ||
// @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&display=swap'); | ||
|
||
// Change color and fonts here: | ||
:root { | ||
--color-text: #999; | ||
--color-text-dimmed: #666; | ||
--color-text-bright: #fff; | ||
--color-background: black; | ||
--font-size: 20px; | ||
--font-primary: "Roboto Condensed"; | ||
--font-secondary: "Roboto"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// This is js comment not css
/* This is css comment */
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the info, will update the sample