-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds new DFC symbols from the Zendikar Rising modal spells in #54, ad…
…ds multicolor symbol and new dual-layered support #43
- Loading branch information
1 parent
7a528a2
commit 624e007
Showing
21 changed files
with
171 additions
and
24 deletions.
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "mana", | ||
"homepage": "https://github.com/andrewgioia/mana", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"authors": [ | ||
"Andrew Gioia <[email protected]>" | ||
], | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
/** | ||
* Double faced cards */ | ||
// double faced cards | ||
|
||
.@{ms-prefix}-dfc { | ||
color: #111; | ||
border: .05em solid #111; | ||
border-radius: 2em; | ||
padding: 0.025em; | ||
} | ||
} |
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,41 @@ | ||
.@{ms-prefix}-duo { | ||
|
||
// base border styles | ||
&::after { | ||
color: #000; | ||
content: ''; | ||
display: block; | ||
font-size: 1em; | ||
height: 100%; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
// set default inner to black unless we're adding color to the background | ||
color: #fff; | ||
|
||
// multicolor symbol | ||
&.@{ms-prefix}-multicolor::after { | ||
content: "\e986"; | ||
} | ||
|
||
// colorized versions | ||
&-color { | ||
&::before { | ||
color: #000; | ||
} | ||
&.@{ms-prefix}-multicolor { | ||
&::after { | ||
color: @ms-multicolor-flat; | ||
} | ||
&.@{ms-prefix}-grad::after { | ||
background: @ms-multicolor-grad; | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
} | ||
} | ||
|
||
} |
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
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
// base variables | ||
@ms-font-path: '../fonts'; | ||
@ms-version: '1.9.0'; | ||
@ms-version: '1.9.1'; | ||
@ms-font-size-base: 14px; | ||
@ms-prefix: ms; | ||
@ms-serif-font: MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif; | ||
@ms-serif-font: MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif; | ||
|
||
// colors | ||
@ms-multicolor-flat: #cca753; | ||
@ms-multicolor-grad: linear-gradient(45deg, #cca54f 0%, #e0d3bb 50%, #cca54f 100%); |
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,41 @@ | ||
.#{$ms-prefix}-duo { | ||
|
||
// base border styles | ||
&::after { | ||
color: #000; | ||
content: ''; | ||
display: block; | ||
font-size: 1em; | ||
height: 100%; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
// set default inner to black unless we're adding color to the background | ||
color: #fff; | ||
|
||
// multicolor symbol | ||
&.#{$ms-prefix}-multicolor::after { | ||
content: "\e986"; | ||
} | ||
|
||
// colorized versions | ||
&-color { | ||
&::before { | ||
color: #000; | ||
} | ||
&.#{$ms-prefix}-multicolor { | ||
&::after { | ||
color: @ms-multicolor-flat; | ||
} | ||
&.#{$ms-prefix}-grad::after { | ||
background: @ms-multicolor-grad; | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
} | ||
} | ||
|
||
} |
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
Oops, something went wrong.