Skip to content

Commit 495177c

Browse files
authored
Merge pull request #2 from gallocss/chore/add-dev-tooling
chore: add stylelint, browserslist and update package scripts
2 parents e797785 + 416958f commit 495177c

5 files changed

Lines changed: 1358 additions & 17 deletions

File tree

.browserslistrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Chrome >= 111
2+
Firefox >= 113
3+
Safari >= 16.2
4+
Edge >= 111

.stylelintrc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"extends": ["stylelint-config-standard"],
3+
"rules": {
4+
"property-no-vendor-prefix": null,
5+
"value-no-vendor-prefix": null,
6+
"no-duplicate-selectors": null,
7+
"no-descending-specificity": null,
8+
"value-keyword-case": [
9+
"lower",
10+
{
11+
"ignoreKeywords": [
12+
"Roboto",
13+
"Oxygen",
14+
"Ubuntu",
15+
"Cantarell",
16+
"Helvetica",
17+
"Arial"
18+
]
19+
}
20+
],
21+
"declaration-property-value-no-unknown": [
22+
true,
23+
{
24+
"ignoreProperties": { "-webkit-appearance": "/.*/" }
25+
}
26+
],
27+
"custom-property-pattern": "^g-"
28+
}
29+
}

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 🐓 Gallo CSS
22

33
[![npm version](https://img.shields.io/npm/v/@gallocss/gallo?color=e8931a)](https://www.npmjs.com/package/@gallocss/gallo)
4+
[![CI](https://github.com/gallocss/gallo/actions/workflows/ci.yml/badge.svg)](https://github.com/gallocss/gallo/actions/workflows/ci.yml)
45
[![License](https://img.shields.io/badge/license-MIT-e8931a)](./LICENSE.md)
56

67
A classless CSS framework with character. Drop in one stylesheet, write semantic HTML, get a beautiful result with three baked-in themes including the signature **Gallo** dark theme.
@@ -99,7 +100,7 @@ All design tokens are CSS custom properties prefixed with `--g-`. Override any o
99100
| `--g-text` | Primary text color |
100101
| `--g-text-muted` | Secondary / muted text |
101102
| `--g-accent` | Accent color (links, buttons, focus) |
102-
| `--g-accent-fg` | Text on accent background |
103+
| `--g-accent-fg` | Text color on accent background |
103104
| `--g-accent-h` | Accent hover state |
104105
| `--g-focus` | Focus ring color (rgba) |
105106
| `--g-danger` | Destructive action color |
@@ -117,7 +118,12 @@ All design tokens are CSS custom properties prefixed with `--g-`. Override any o
117118

118119
## Browser support
119120

120-
Tested on the latest stable versions of Chrome, Firefox, Safari, and Edge.
121+
| Browser | Minimum version |
122+
|---|---|
123+
| Chrome | 111+ |
124+
| Firefox | 113+ |
125+
| Safari | 16.2+ |
126+
| Edge | 111+ |
121127

122128
---
123129

0 commit comments

Comments
 (0)