Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Implement Dark Mode #95

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2accb8b
chore(deps): install unocss preset mini
Readpato Dec 8, 2023
0ff46e5
chore(vite.config): add uno preset to config
Readpato Dec 8, 2023
6cc6b83
chore(vite.config/uno): add specific colors and cta-icon shortcut
Readpato Dec 8, 2023
f9ad858
refactor(TresLeches): add color shortcuts to icons and background
Readpato Dec 8, 2023
f65ed27
style(FPSGraph): implement dark mode
Readpato Dec 8, 2023
1639dfd
style(VectorControl): implement dark mode
Readpato Dec 8, 2023
1a2a342
style(BooleanControl): implement dark mode
Readpato Dec 8, 2023
b0a12de
style(BooleanControl): tweak dark mode
Readpato Dec 8, 2023
f7a12c5
style(BooleanControl): adjust dark mode
Readpato Dec 8, 2023
a03f54d
style(FPSGraph): adjust text in dark mode
Readpato Dec 8, 2023
acc204b
style(SelectControl): implement dark mode
Readpato Dec 8, 2023
267cd15
style(VectorControl): tweak dark text mode
Readpato Dec 8, 2023
7fa7a9a
style(SliderControl): implement dark mode
Readpato Dec 8, 2023
4d1b756
style(BooleanControl): update text style
Readpato Dec 8, 2023
39e4047
style(ControlLabel): update text color
Readpato Dec 8, 2023
812af64
style(FPSGraph): update style color
Readpato Dec 8, 2023
db6ec9e
refactor(vite.config): add shortcut for button styles
Readpato Dec 8, 2023
7761b8b
style(ButtonControl): implement dark mode
Readpato Dec 8, 2023
fca603c
style(Folder): add border colors
Readpato Dec 8, 2023
35a45fb
refactor(Folder): add proper border width
Readpato Dec 8, 2023
0331d32
refactor(vite.config.ts): utilize bg-secondary when possible
Readpato Dec 8, 2023
aa04da8
style(ColorControl): implement dark mode
Readpato Dec 8, 2023
3e23355
style(NumberControl): implement dark mode
Readpato Dec 8, 2023
8331873
style(TextControl): implement dark mode
Readpato Dec 8, 2023
ba268d1
style(Folder): add proper text
Readpato Dec 8, 2023
78d2b3f
refactor(vite.config.ts): create secondary text shortcut
Readpato Dec 8, 2023
fd006b7
style(BooleanControl): add secondary text color
Readpato Dec 8, 2023
025cc92
style(ControlLabel): add secondary text
Readpato Dec 8, 2023
30df389
style(FPSGraph): organize classes by specificity and add secondary text
Readpato Dec 8, 2023
d95cbd9
style(NumberControl): sort class by specificty
Readpato Dec 8, 2023
82f096b
refactor(SelectControl): add class specificity
Readpato Dec 8, 2023
d279bbf
style(SliderControl): sort classes by specificity
Readpato Dec 8, 2023
ebf910e
style(TextControl): sort classes by specificity
Readpato Dec 8, 2023
ffa41d0
style(VectorControl): sort class by specificity
Readpato Dec 8, 2023
2ab99e2
style(TextControl): add placeholder colors
Readpato Dec 8, 2023
1a058f7
style(ColorControl): add label color
Readpato Dec 8, 2023
2e45b05
test(snapshots): update snapshots to reflect changes
Readpato Dec 17, 2023
047be79
refactor(SliderControl): fix linter error
Readpato Dec 17, 2023
c6ede4b
refactor(TresLeches): fix lint error
Readpato Dec 17, 2023
3663967
chore(lint): disable max-len on vite.config.ts
alvarosabu Dec 18, 2023
2c1d98e
style: changed dark mode icon style to more subtle one in favor of vi…
alvarosabu Dec 18, 2023
a6198c5
test: update snapshots
alvarosabu Dec 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(vite.config): add shortcut for button styles
Readpato committed Dec 8, 2023
commit db6ec9ec1fe5311b3f09bc066211287f67593ff3
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,9 @@ export default defineConfig({
'tl-bg-primary': 'tl-bg-white dark:tl-bg-[#1a1a1a]',
'tl-bg-secondary': 'tl-bg-gray-100 dark:tl-bg-slate-400/50',
'tl-border-primary': 'tl-border-black dark:tl-border-slate-400/50',

'tl-text-primary': 'tl-text-gray-400 dark:tl-text-gray-300',
'tl-btn-primary': 'tl-bg-gray-100 tl-text-gray-700 hover:tl-bg-gray-200 dark:tl-bg-slate-400/50 dark:tl-text-gray-200 dark:hover:tl-text-gray-700 dark:hover:tl-bg-gray-300',
'tl-btn-secondary': 'tl-bg-dark-700 tl-text-light-100 hover:tl-bg-dark-600 dark:tl-bg-slate-400/50 dark:tl-text-gray-200 dark:hover:tl-bg-gray-300 dark:hover:tl-text-gray-700',
},
}),
/* cssInjectedByJsPlugin(), */