Skip to content

Commit

Permalink
fix Fi -> Fl
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Jul 11, 2024
1 parent 9c411d8 commit b3fbc77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const elementTable = [
['K', 'Ca', 'Sc', 'Ti', 'V', 'Cr', 'Mn', 'Fe', 'Co', 'Ni', 'Cu', 'Zn', 'Ga', 'Ge', 'As', 'Se', 'Br', 'Kr'],
['Rb', 'Sr', 'Y', 'Zr', 'Nb', 'Mo', 'Tc', 'Ru', 'Rh', 'Pd', 'Ag', 'Cd', 'In', 'Sn', 'Sb', 'Te', 'I', 'Xe'],
['Cs', 'Ba', '*', 'Hf', 'Ta', 'W', 'Re', 'Os', 'Ir', 'Pt', 'Au', 'Hg', 'Tl', 'Pb', 'Bi', 'Po', 'At', 'Rn'],
['Fr', 'Ra', '#', 'Rf', 'Db', 'Sg', 'Bh', 'Hs', 'Mt', 'Ds', 'Rg', 'Cn', 'Nh', 'Fi', 'Mc', 'Lv', 'Ts', 'Og'],
['Fr', 'Ra', '#', 'Rf', 'Db', 'Sg', 'Bh', 'Hs', 'Mt', 'Ds', 'Rg', 'Cn', 'Nh', 'Fl', 'Mc', 'Lv', 'Ts', 'Og'],
['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''],
['', '', '*', 'La', 'Ce', 'Pr', 'Nd', 'Pm', 'Sm', 'Eu', 'Gd', 'Tb', 'Dy', 'Ho', 'Er', 'Tm', 'Yb', 'Lu'],
['', '', '#', 'Ac', 'Th', 'Pa', 'U', 'Np', 'Pu', 'Am', 'Cm', 'Bk', 'Cf', 'Es', 'Fm', 'Md', 'No', 'Lr']];
Expand Down
3 changes: 1 addition & 2 deletions src/widget_periodictable/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import re


HTML_COLOR_MAP = {
"white": (255,) * 3,
"silver": tuple(round(0.75 * i) for i in (255,) * 3),
Expand Down Expand Up @@ -128,7 +127,7 @@ def color_as_rgb(color: str) -> str:
"Rg",
"Cn",
"Nh",
"Fi",
"Fl",
"Mc",
"Lv",
"Ts",
Expand Down

0 comments on commit b3fbc77

Please sign in to comment.