-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
|
||
# Convention: Color names should be 2 letters long, to allow for multicolored wires | ||
|
||
shield_color = '#aaaaaa:#84878c' # SN | ||
shield_color = '#aaaaaa' # Tinned wire | ||
|
||
_color_hex = { | ||
'BK': '#000000', | ||
|
@@ -43,13 +43,17 @@ | |
'TQ': '#00ffff', | ||
'BU': '#0066ff', | ||
'VT': '#8000ff', | ||
'BN': '#a52a2a', | ||
'BN': '#895956', | ||
'SL': '#708090', | ||
# Faux-copper look, for bare CU wire | ||
'CU': '#d6775e:#895956', | ||
'CU': '#d6775e', | ||
# Silvery look for tinned bare wire | ||
'SN': '#aaaaaa:#84878c', | ||
# Yellow-green PE wire | ||
'SN': '#aaaaaa', | ||
# Darker silver for silvered wire | ||
'AG': '#84878c', | ||
# Golden color for gold | ||
'AU': '#ffcf80', | ||
# Yellow-green PE wire (matching actual wire colors, should prevent confusion with a yellow-green dual color wire | ||
'PE': '#54aa85:#f7f854:#54aa85', | ||
This comment has been minimized.
Sorry, something went wrong. |
||
} | ||
|
||
|
@@ -69,6 +73,9 @@ | |
'SL': 'slate', | ||
'CU': 'bare copper', | ||
'SN': 'tinned copper', | ||
'AG': 'silver wire', | ||
'AU': 'gold wire', | ||
'PE': 'earth' | ||
} | ||
|
||
# TODO Help wanted: can someone check the german translation? | ||
|
@@ -90,9 +97,15 @@ | |
# Slate --> Schieferfarbe --> SI ?? | ||
'SL': 'si', | ||
# Copper | ||
'CU': 'ku', | ||
'CU': 'cu', | ||
# Tinned | ||
'SN': 'si' | ||
'SN': 'sn', | ||
This comment has been minimized.
Sorry, something went wrong.
kvid
Collaborator
|
||
# Silver | ||
'AG': 'ag', | ||
# Gold | ||
'AU': 'au', | ||
# Earth | ||
'PE': 'pe' | ||
} | ||
|
||
|
||
|
2 comments
on commit 7ab4971
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.
@formatc1702 requested default_bg_color
in
#17 (comment)
and I agree with him. Maybe default_bgcolor
is even better?
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.
👍 to default_bgcolor
See request from @formatc1702 #17 (comment)