Skip to content

Commit 59d0598

Browse files
authored
Merge pull request #118 from cozy/feat/migration-theme
Style: Update button style
2 parents 515f3a1 + 787f721 commit 59d0598

File tree

7 files changed

+20
-3
lines changed

7 files changed

+20
-3
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ hardware where no one profiles you.
1515
Cozy Bootstrap is a theme for [Bootstrap](https://getbootstrap.com/) with Cozy
1616
look and colors.
1717

18+
## Commit message
19+
20+
We follow [cozy guidelines](https://docs.cozy.io/cozy-guidelines/#commit-messages).
21+
22+
## Tests
23+
24+
We are using backstopjs to run some tests, with screenshots compared to a
25+
reference.
26+
27+
To run the test, we need to execute `npm run docs` in one terminal, and `npm
28+
test` in another. If there are some differences, we can review them by using
29+
`npm run test:open` to open a browser tab with the screenshots and the diffs.
30+
If it looks good, we can then run `npm run test:approve` to copy the new
31+
screenshots and make them the new reference. Don't forget to commit them to
32+
keep the CI green.
33+
1834
## Community
1935

2036
You can reach the Cozy Community by:
13.6 KB
Loading
-2.07 KB
Loading
-393 Bytes
Loading
-1.06 KB
Loading

src/cozy-bs.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ $enable-shadows: false;
7474

7575
// Utilities
7676
@import "bootstrap/scss/utilities/api";
77+

src/cozy/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ $form-feedback-tooltip-padding-x: .5rem;
6868
$btn-font-size: .875rem;
6969
$btn-padding-x: 1rem;
7070
$btn-padding-y: .688rem;
71-
$btn-border-radius: .125rem;
71+
$btn-border-radius: 6.25rem;
7272
$btn-line-height: 1rem;
7373
$btn-font-weight: bold;
7474

7575
$btn-font-size-sm: .8125rem;
7676
$btn-padding-x-sm: .75rem;
7777
$btn-padding-y-sm: .5rem;
78-
$btn-border-radius-sm: .125rem;
78+
$btn-border-radius-sm: 6.25rem;
7979

8080
$btn-font-size-lg: .9375rem;
8181
$btn-padding-x-lg: 1.25rem;
8282
$btn-padding-y-lg: .8125rem;
83-
$btn-border-radius-lg: .125rem;
83+
$btn-border-radius-lg: 6.25rem;
8484

8585
// Cards
8686
$card-border-color: rgba(0, 0, 0, .08);

0 commit comments

Comments
 (0)