Skip to content

Commit

Permalink
Revert "Added themes examples"
Browse files Browse the repository at this point in the history
This reverts commit 5929590.
  • Loading branch information
devleaks committed Jul 1, 2024
1 parent 5929590 commit a53fbd2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
20 changes: 12 additions & 8 deletions docs/.theme/assets/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
/* Devleaks personal preference for heading and emphasis
* (matches some Obsidian Dracula Theme at https://draculatheme.com/contribute)
*
* I apologize for illegal use of one of the nicest font I ever encountered.
* If you think I really infringed copyrights, please send a kind mail and I'll remove it right away.
* This font is used on other web sites, where I stole it.
*
* Last updated: 25-MAR-2024
*
* I apologize for illegal use of one of the nicest font I ever encountered.
* You can find it here: https://abcdinamo.com/typefaces/arizona.
* Requested the demo file and use it here.
* I simply cannot afford it.
* If you think I really , please send a kind mail and I'll remove it right away.
* I'm very respectful of copyright, own a valid licence of all software I use,
* I even bought fonts in the past, but I cannot afford the 1750€ to get the full set.
*
*/
@font-face {
font-family: "FontVariable";
src: url("../fonts/FontVariable-Trial.woff2") format('woff2-variations');
font-family: "ABCArizona";
src: url("../fonts/ABCArizonaPlusVariable-Trial.woff2") format('woff2-variations');
}
:root {
--md-text-font: "FontVariable";
--md-text-font-family: "FontVariable";
--md-text-font: "ABCArizona";
--md-text-font-family: "ABCArizona";
--font-variation-weight: 400;
--font-variation-italic: 0;
--font-variation-serif: 0;
Expand Down
8 changes: 0 additions & 8 deletions docs/Extending/Internals/Themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,3 @@ Default values affected by themes are:
- All attributes that contain the word `font`. Example `label-font`.

## Themed Default Values

```
night-default-icon-color: (50, 30, 30)
night-cockpit-texture: nighttexture.png
night-default-button-highlight-color: paleorange
```

The themed attribute name is searched first if `cockpit-theme` has been set, if not found the attribute without theme name is used.

0 comments on commit a53fbd2

Please sign in to comment.