Skip to content

Commit 41af597

Browse files
committed
Fix incorrect alias in tailwind preset
1 parent d37ee03 commit 41af597

File tree

4 files changed

+19
-70
lines changed

4 files changed

+19
-70
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [0.9.1] - 2025-05-08
8+
### Added
9+
* *Nothing*
10+
11+
### Changed
12+
* *Nothing*
13+
14+
### Deprecated
15+
* *Nothing*
16+
17+
### Removed
18+
* Remove old SCSS-based theme, as everything is now defined in tailwind's preset.
19+
20+
### Fixed
21+
* Fix `--brand-color` CSS var alias in dark mode.
22+
23+
724
## [0.9.0] - 2025-05-08
825
### Added
926
* Add tailwind-based `CopyToClipboardButton` component.

src/index.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@use './utils/ResponsiveTable';
2-
@use './theme/theme';
32
@use './base';
43

54
/* stylelint-disable no-descending-specificity */
@@ -33,7 +32,7 @@ a:not(.nav-link):not(.navbar-brand):not(.page-link):not(.highlight-card):not(.bt
3332
}
3433

3534
.bg-warning {
36-
color: theme.$lightTextColor;
35+
color: var(--tw-color-lm-text);
3736
}
3837

3938
.card-body,

src/tailwind/tailwind.preset.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
--text-color: var(--tw-color-dm-text);
8080
--border-color: var(--tw-color-dm-border);
8181
--active-color: var(--tw-color-dm-active);
82-
--brand-color: var(--tw-color-dm-brand);
82+
--brand-color: var(--tw-color-dm-main);
8383
--input-color: var(--tw-color-dm-input);
8484
--input-disabled-color: var(--tw-color-dm-disabled-input);
8585
--input-text-color: var(--tw-color-dm-input-text);

src/theme/theme.scss

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)