Skip to content

Commit 8c07452

Browse files
committed
fix: use bg for nc-button -muted modifier
1 parent da4bddb commit 8c07452

File tree

7 files changed

+182
-136
lines changed

7 files changed

+182
-136
lines changed

apps/ui-generator/CHANGELOG.md

Lines changed: 85 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,176 +1,183 @@
11
# @nordcode/ui-generator
22

3+
## 2.6.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @nordcode/ui@2.2.2
9+
310
## 2.6.0
411

512
### Minor Changes
613

7-
- ## Improve colors, shadows and interface
14+
- ## Improve colors, shadows and interface
815

9-
- allow smaller increments when adjusting colors
10-
- include hue rotation in color scheme generation
11-
- improve rounding in colors for better details
12-
- allow smaller increments when adjusting colors
13-
- fix contrast display für exact matches
14-
- adjust presets and defaults to new generations
15-
- add offset button variant
16-
- make inset shadow more in line with other shadows
17-
- ensure surface lightness of 100 leads to white
18-
- allow more fine grain control over base lightness
16+
- allow smaller increments when adjusting colors
17+
- include hue rotation in color scheme generation
18+
- improve rounding in colors for better details
19+
- allow smaller increments when adjusting colors
20+
- fix contrast display für exact matches
21+
- adjust presets and defaults to new generations
22+
- add offset button variant
23+
- make inset shadow more in line with other shadows
24+
- ensure surface lightness of 100 leads to white
25+
- allow more fine grain control over base lightness
1926

2027
### Patch Changes
2128

22-
- Updated dependencies
23-
- @nordcode/ui@2.3.0
29+
- Updated dependencies
30+
- @nordcode/ui@2.3.0
2431

2532
## 2.5.0
2633

2734
### Minor Changes
2835

29-
- ## Make shadows more customisable
36+
- ## Make shadows more customisable
3037

31-
- Add controls for lightness and chroma for light and dark theme.
32-
- Expose other shadow values
33-
- Remove old shadow distance scale
38+
- Add controls for lightness and chroma for light and dark theme.
39+
- Expose other shadow values
40+
- Remove old shadow distance scale
3441

3542
### Patch Changes
3643

37-
- Updated dependencies
38-
- @nordcode/ui@2.2.0
44+
- Updated dependencies
45+
- @nordcode/ui@2.2.0
3946

4047
## 2.4.0
4148

4249
### Minor Changes
4350

44-
- ## Add contrast check, simplify generation, tweak generations
51+
- ## Add contrast check, simplify generation, tweak generations
4552

46-
- Simplify color generation by running it all through the same mapping function and adding
47-
adapters
48-
- Increase brand surface lightness in dark themes
49-
- Add possibility to change dark lightness individually
50-
- Add contrast checks to color preview
51-
- Generate lineheights using `ex`
53+
- Simplify color generation by running it all through the same mapping function and adding
54+
adapters
55+
- Increase brand surface lightness in dark themes
56+
- Add possibility to change dark lightness individually
57+
- Add contrast checks to color preview
58+
- Generate lineheights using `ex`
5259

5360
### Patch Changes
5461

55-
- Updated dependencies
56-
- @nordcode/ui@2.1.0
62+
- Updated dependencies
63+
- @nordcode/ui@2.1.0
5764

5865
## 2.3.1
5966

6067
### Patch Changes
6168

62-
- Updated dependencies
63-
- @nordcode/ui@2.0.0
69+
- Updated dependencies
70+
- @nordcode/ui@2.0.0
6471

6572
## 2.3.0
6673

6774
### Minor Changes
6875

69-
- Tweaks to styles and the start of a layout page
76+
- Tweaks to styles and the start of a layout page
7077

7178
### Patch Changes
7279

73-
- Updated dependencies
74-
- @nordcode/ui@1.2.0
80+
- Updated dependencies
81+
- @nordcode/ui@1.2.0
7582

7683
## 2.2.2
7784

7885
### Patch Changes
7986

80-
- Feat: More color tweaking
87+
- Feat: More color tweaking
8188

8289
## 2.2.1
8390

8491
### Patch Changes
8592

86-
- feat: tweak color generation
93+
- feat: tweak color generation
8794

8895
## 2.2.0
8996

9097
### Minor Changes
9198

92-
- Feat: Switch to colorsjs.io to generate colors
99+
- Feat: Switch to colorsjs.io to generate colors
93100

94101
### Patch Changes
95102

96-
- Updated dependencies
97-
- @nordcode/ui@1.1.2
103+
- Updated dependencies
104+
- @nordcode/ui@1.1.2
98105

99106
## 2.1.1
100107

101108
### Patch Changes
102109

103-
- Updated dependencies
104-
- @nordcode/ui@1.1.1
110+
- Updated dependencies
111+
- @nordcode/ui@1.1.1
105112

106113
## 2.1.0
107114

108115
### Minor Changes
109116

110-
- Fix URL Export, tweak color generation
117+
- Fix URL Export, tweak color generation
111118

112119
### Patch Changes
113120

114-
- Updated dependencies
115-
- Updated dependencies [ab524dd]
116-
- @nordcode/ui@1.1.0
121+
- Updated dependencies
122+
- Updated dependencies [ab524dd]
123+
- @nordcode/ui@1.1.0
117124

118125
## 2.0.1
119126

120127
### Patch Changes
121128

122-
- Fix Shadows and improve sizes generation
129+
- Fix Shadows and improve sizes generation
123130

124131
## 2.0.0
125132

126133
### Major Changes
127134

128-
- First proper release
135+
- First proper release
129136

130-
## 2023-12-17: Chroma-js & color renames
137+
## 2023-12-17: Chroma-js & color renames
131138

132-
**Includes Breaking Changes**
139+
**Includes Breaking Changes**
133140

134-
- switched to chroma-js to generate all colors based on a scale
135-
- renamed `color-brand-primary-subtle` to `color-brand-primary-surface` to better reflect its
136-
purpose
137-
- renamed `color-brand-surface-subtle` to `color-brand-surface-surface` to better reflect its
138-
purpose
139-
- renamed `color-info-subtle` to `color-info-surface` to better reflect its purpose
140-
- renamed `color-warning-subtle` to `color-warning-surface` to better reflect its purpose
141-
- renamed `color-success-subtle` to `color-success-surface` to better reflect its purpose
142-
- renamed `color-danger-subtle` to `color-danger-surface` to better reflect its purpose
141+
- switched to chroma-js to generate all colors based on a scale
142+
- renamed `color-brand-primary-subtle` to `color-brand-primary-surface` to better reflect its
143+
purpose
144+
- renamed `color-brand-surface-subtle` to `color-brand-surface-surface` to better reflect its
145+
purpose
146+
- renamed `color-info-subtle` to `color-info-surface` to better reflect its purpose
147+
- renamed `color-warning-subtle` to `color-warning-surface` to better reflect its purpose
148+
- renamed `color-success-subtle` to `color-success-surface` to better reflect its purpose
149+
- renamed `color-danger-subtle` to `color-danger-surface` to better reflect its purpose
143150

144-
_Notes: Needs tweaking for some of the values_
151+
_Notes: Needs tweaking for some of the values_
145152

146-
## 2023-12-18: Tweak presets
153+
## 2023-12-18: Tweak presets
147154

148-
Tweak preset and color generations a little bit.
155+
Tweak preset and color generations a little bit.
149156

150-
## 2023-12-19: Tweak presets, design improvements
157+
## 2023-12-19: Tweak presets, design improvements
151158

152-
- Tweak preset values for `brutalist`
153-
- Change default text-underline-offset to `0.25lh`
154-
- Fix description-list style
159+
- Tweak preset values for `brutalist`
160+
- Change default text-underline-offset to `0.25lh`
161+
- Fix description-list style
155162

156-
## 2023-12-22: Fix shadow generation
163+
## 2023-12-22: Fix shadow generation
157164

158-
## 2023-12-25: Extend color possibilities
165+
## 2023-12-25: Extend color possibilities
159166

160-
- Split Neutral Chroma into 3 for FG, BG and Borders
161-
- Allow secondary brand color to be used in generating FG and BG neutral colors
167+
- Split Neutral Chroma into 3 for FG, BG and Borders
168+
- Allow secondary brand color to be used in generating FG and BG neutral colors
162169

163-
## 2023-12-27: More color tweaks
170+
## 2023-12-27: More color tweaks
164171

165-
- tweak button colors and fix base button hover
166-
- use base chroma and hue in generation of scales when generating colors
172+
- tweak button colors and fix base button hover
173+
- use base chroma and hue in generation of scales when generating colors
167174

168175
### Patch Changes
169176

170-
- Updated dependencies [d829e99]
171-
- Updated dependencies
172-
- Updated dependencies [a59822e]
173-
- Updated dependencies [bcae962]
174-
- Updated dependencies [6025a83]
175-
- Updated dependencies [c42d1f3]
176-
- @nordcode/ui@1.0.0
177+
- Updated dependencies [d829e99]
178+
- Updated dependencies
179+
- Updated dependencies [a59822e]
180+
- Updated dependencies [bcae962]
181+
- Updated dependencies [6025a83]
182+
- Updated dependencies [c42d1f3]
183+
- @nordcode/ui@1.0.0

apps/ui-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nordcode/ui-generator",
33
"website": "https://ui-generator.nordcode.agency/",
4-
"version": "2.6.0",
4+
"version": "2.6.1",
55
"private": true,
66
"type": "module",
77
"scripts": {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"devDependencies": {
1616
"@changesets/cli": "2.27.9",
1717
"dprint": "^0.50.2",
18-
"prettier": "3.3.3"
18+
"prettier": "3.3.3",
19+
"prettier-plugin-astro": "^0.14.1"
1920
},
2021
"packageManager": "pnpm@10.22.0",
2122
"name": "nordcode",

0 commit comments

Comments
 (0)