Quote the keys of the sass map variables
- Vorherrschende Sprache
- JavaScript
- Sterne
- 96
- Forks
- 25
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Due to the way sass works if you don't quote the maps you can have issues with map keys being other object types such as a color. e.g values like "red" getting converted into #f00 etc. This can be avoided by quoting the key.
### Current Output:
```
$theme: (
Primary: (
Ocean Blue: (
model: RGB,
type: 2,
rgb: (57, 84, 216),
code: 3954d8
),
Tree Green: (
model: RGB,
type: 2,
rgb: (154, 188, 47),
code: 9abc2f
)
)
);
```
### Suggested Output
```
$theme: (
"Primary": (
"Ocean Blue": (
"model": RGB,
"type": 2,
"rgb": (57, 84, 216),
"code": 3954d8
),
"Tree Green": (
"model": RGB,
"type": 2,
"rgb": (154, 188, 47),
"code": 9abc2f
)
)
);
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.