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

feat: init ds theme #1224

Merged
merged 252 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
b9013b5
chore: remove old ds-theme
wsuwt Oct 15, 2024
f435b6f
feat: init structure
wsuwt Oct 15, 2024
65d1d19
feat: add theme override mechanism
wsuwt Oct 15, 2024
64d9121
feat: add zipped less tokens
wsuwt Oct 24, 2024
76e1420
Merge branch 'v7' into feat/init-ds-theme
wsuwt Oct 24, 2024
47fd9a8
fix: elements look up file path
wsuwt Oct 25, 2024
0de9f75
fix: theme source path containing double slash
wsuwt Oct 25, 2024
3577ede
feat: add toggle button style
wsuwt Oct 25, 2024
a573174
feat: add cta button
wsuwt Oct 25, 2024
0fcfa08
feat: map cta and toggles
wsuwt Oct 28, 2024
96114c6
fix: remove redundant default toggle style
wsuwt Oct 28, 2024
39bc0f3
feat: handles transparent cta toggles
wsuwt Oct 28, 2024
74696b9
feat: add accordion and collapse
wsuwt Oct 28, 2024
a75ebe9
feat: add icon color
wsuwt Oct 29, 2024
baae499
fix: collapse focused background color
wsuwt Oct 29, 2024
23a1808
feat: add item, list and tree color overrides
wsuwt Oct 29, 2024
947a473
docs: add todos
wsuwt Oct 30, 2024
d1d8ae8
fix: move design tokens to devDep
wsuwt Oct 30, 2024
f580bae
feat: add tooltip
wsuwt Oct 30, 2024
a491f66
feat: add control and overlay variables
wsuwt Oct 30, 2024
b7aa8c2
fix: revise button styles
wsuwt Nov 5, 2024
db5a98a
feat: fix demo block background color
wsuwt Nov 5, 2024
29d6b52
refactor: use cont token
wsuwt Nov 5, 2024
b106894
fix: overlay-menu border color
wsuwt Nov 5, 2024
52e7187
feat: add canvas, flag, icon, layout, loader
dtanp-rft Nov 5, 2024
8776484
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
dtanp-rft Nov 5, 2024
a8a8db2
feat: add label, sidebar-layout
dtanp-rft Nov 5, 2024
a3c86cc
feat: add placeholder component theme
wsuwt Nov 5, 2024
40cbf15
fix: add tooltip box shadow
wsuwt Nov 5, 2024
52e9a9f
feat: revise item selection styles
wsuwt Nov 5, 2024
3ca698a
feat: dataviz components MVP
dtanp-rft Nov 5, 2024
3ab8c72
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
dtanp-rft Nov 5, 2024
d36ba77
refactor: use variable for button border width
wsuwt Nov 5, 2024
6e104bf
fix: remove button border radius
wsuwt Nov 5, 2024
f0abaf2
feat: add checkbox, radio button placeholder
wsuwt Nov 5, 2024
1cddef2
refactor: remove unused variables
wsuwt Nov 5, 2024
52ee137
fix: use only primary color for icon hover
wsuwt Nov 5, 2024
c69fb09
feat: add placeholder for number-field
wsuwt Nov 5, 2024
1f93984
refactor: use transparent contextual variable instead
wsuwt Nov 5, 2024
187303b
feat: add fields
wsuwt Nov 5, 2024
262b3e9
feat: add select
wsuwt Nov 5, 2024
32f88a2
feat: add overlay placeholder
wsuwt Nov 5, 2024
e18b171
feat: add combo-box placeholder
wsuwt Nov 5, 2024
3eace17
feat: add tree-select placeholder
wsuwt Nov 5, 2024
98c40a8
feat: add headers
wsuwt Nov 5, 2024
c80e51a
feat: add rating and counter placeholder
wsuwt Nov 5, 2024
71d044f
feat: update status variables
wsuwt Nov 6, 2024
d7d6415
feat: update dataviz tokens
dtanp-rft Nov 6, 2024
387b275
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
dtanp-rft Nov 6, 2024
e84dcf8
chore: update web-design-token to dev.11
dtanp-rft Nov 6, 2024
09b9584
feat: use Proxima Vara font
dtanp-rft Nov 6, 2024
5936387
fix(ds-theme): add new css vars and refactor code
dtanp-rft Nov 6, 2024
b28c3f5
feat: add dialog
wsuwt Nov 6, 2024
201b281
feat: add appstate-bar, clock and notification placeholder
wsuwt Nov 6, 2024
80297ec
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
wsuwt Nov 6, 2024
b18674c
feat: add toggle
wsuwt Nov 6, 2024
84380fc
feat: add color dialog and picker placeholder
wsuwt Nov 6, 2024
c73cc1b
fix(ds-theme): remove incorrect lines
dtanp-rft Nov 6, 2024
e1e7837
feat(ds-theme): add link and rename tgz
dtanp-rft Nov 6, 2024
4ee0b98
feat: add tab and tabbar
wsuwt Nov 6, 2024
c77f5b6
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
wsuwt Nov 6, 2024
0eed4f7
fix(ds-theme): use token for fg color of notification
dtanp-rft Nov 6, 2024
4753cfa
feat: add pill
wsuwt Nov 7, 2024
801c7a5
feat: add slider
wsuwt Nov 7, 2024
4041306
feat: add border radius to button
wsuwt Nov 7, 2024
0c25072
feat: add calendar
wsuwt Nov 7, 2024
73ba157
feat(ds-theme): update border-radius
dtanp-rft Nov 8, 2024
ec7d2e9
feat: update docs to use ds theme
dtanp-rft Nov 8, 2024
f692571
fix: add ds-theme to docs dependency
dtanp-rft Nov 8, 2024
a842886
fix: remove border line from tree item and add space between item
dtanp-rft Nov 8, 2024
d2953fc
feat: update pill tokens to use toggle tag
wsuwt Nov 8, 2024
61a3129
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
wsuwt Nov 8, 2024
027f2f3
fix: set border-radius tree select
dtanp-rft Nov 8, 2024
304fa9f
fix: improve counter
dtanp-rft Nov 8, 2024
7284aea
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
dtanp-rft Nov 8, 2024
1572318
feat: update datetime picker to use dialog background color and border
wsuwt Nov 8, 2024
4d7bd7c
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
wsuwt Nov 8, 2024
74d9ec1
feat: improve select
wsuwt Nov 8, 2024
6b5eee5
feat: improve dialog
wsuwt Nov 8, 2024
30a4838
fix: add workaround for selection color
dtanp-rft Nov 11, 2024
ef7538e
fix: body typography
dtanp-rft Nov 11, 2024
54dce00
fix: remove border radius from select and pagination
dtanp-rft Nov 11, 2024
f329232
fix: combo box style
dtanp-rft Nov 11, 2024
cb7456b
fix: autosuggest
dtanp-rft Nov 11, 2024
1135eaa
fix: combo box border color
dtanp-rft Nov 11, 2024
7d465cd
fix: jump button in interactive chart
dtanp-rft Nov 12, 2024
ee7ff4d
fix: toggle
dtanp-rft Nov 12, 2024
b2d56ea
feat: style scrollbar
Nov 12, 2024
193aa5a
Merge branch 'feat/init-ds-theme' of https://github.com/Refinitiv/ref…
Nov 12, 2024
82b4fb7
chore: add comment
Nov 12, 2024
f3d6a9c
fix: toggle width for checked-label
dtanp-rft Nov 12, 2024
10ae77c
chore: remove ds-theme from package lock
Nov 12, 2024
1bf04f0
chore: update doc to use latest version of ds-theme
Nov 12, 2024
a4d6f22
chore: add ds-theme as dependencies of elements package
Nov 12, 2024
5219d8a
fix: update ef header bg tokens from design
dtanp-rft Nov 13, 2024
b76451c
fix(docs): update to use ds package in monorepo
dtanp-rft Nov 13, 2024
dd07538
fix: button opacity
bualoy-napat Nov 13, 2024
ef95f2b
fix: add opacity on close button of dialog
bualoy-napat Nov 14, 2024
24049f4
fix: override border radius of input to zero
bualoy-napat Nov 14, 2024
46ecb5e
fix: override opacity of button and close button
bualoy-napat Nov 14, 2024
5fe689c
fix(ds-theme): update design-token to 0.0.3-dev.56
dtanp-rft Nov 14, 2024
127f545
Merge branch 'v7' of https://github.com/Refinitiv/refinitiv-ui into f…
dtanp-rft Nov 14, 2024
f780cab
fix: update background color of autosuggest item when it highlighted
bualoy-napat Nov 14, 2024
60da76b
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 14, 2024
b6aada5
fix: update incorrect token in accordion
bualoy-napat Nov 14, 2024
854258d
fix: update incorrect border color token in accordion
bualoy-napat Nov 14, 2024
853508e
Revert "fix: update incorrect border color token in accordion"
bualoy-napat Nov 14, 2024
315f760
Revert "fix: update incorrect token in accordion"
bualoy-napat Nov 14, 2024
c6fb33f
fix(theme-compiler): always use forward slash in glob pattern
wattachai-lseg Nov 15, 2024
cf2aa07
fix: update hand color in clock
bualoy-napat Nov 18, 2024
1fe0347
fix: update bg color for each level of collapse
bualoy-napat Nov 18, 2024
7b83107
chore(ds-theme): update design tokens package
dtanp-rft Nov 19, 2024
607e676
fix: update color for item header to make more distinctive
bualoy-napat Nov 19, 2024
21839be
fix: update token for checkbox
bualoy-napat Nov 19, 2024
3de4a91
refactor: token for checkbox
bualoy-napat Nov 19, 2024
a2217d5
fix: update token for radio button
bualoy-napat Nov 19, 2024
bc043b6
fix: release fail
dtanp-rft Nov 20, 2024
1715829
fix: release fail
dtanp-rft Nov 20, 2024
0989d42
chore: update dependency
dtanp-rft Nov 20, 2024
c167be2
fix: change global font size to 12px
bualoy-napat Nov 20, 2024
3645a4e
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 20, 2024
a36f77b
fix: remove override global font size and line height
bualoy-napat Nov 20, 2024
862ab2c
chore: update dependency for dev release
dtanp-rft Nov 20, 2024
ea55517
chore: update dependency for dev release
dtanp-rft Nov 20, 2024
0fde3e7
chore: update dependency
dtanp-rft Nov 20, 2024
6a59077
fix: set text transform to none
bualoy-napat Nov 20, 2024
fcb4b58
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 20, 2024
470ed80
fix: set text transform to none for h4 h5 h6
bualoy-napat Nov 20, 2024
55a58a7
fix: use @input-border-radius
dtanp-rft Nov 20, 2024
8887ac1
fix: set data viz color scale to 500
prima-lseg Nov 20, 2024
498eaf5
chore(ds-theme): add @refinitiv-ui/halo-theme as a dependency
wattachai-lseg Nov 20, 2024
8056df9
feat(ds-theme): add new LESS exports
wattachai-lseg Nov 20, 2024
3880a3d
chore: update copyright year to 2024
wattachai-lseg Nov 20, 2024
59ffced
chore(ds-theme): update license based on Halo theme
wattachai-lseg Nov 20, 2024
0c81660
chore: set ds-theme of documents package to latest for dev release
wattachai-lseg Nov 21, 2024
4f8c59e
fix: update border for toggle button active hover state
bualoy-napat Nov 21, 2024
1ea87af
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 21, 2024
2da61ad
fix: update border radius token for checkbox
bualoy-napat Nov 21, 2024
2f6f8c2
fix: background color of code sandbox
dtanp-rft Nov 21, 2024
b9485b9
chore: update dependency for doc release
bualoy-napat Nov 21, 2024
ebced7d
fix: resolve conflict
dtanp-rft Nov 21, 2024
70e23e6
fix: remove border radius from code sandbox iframe
dtanp-rft Nov 21, 2024
23ae754
fix: update border radius for color picker
bualoy-napat Nov 21, 2024
3cf9a32
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 21, 2024
29abf28
fix(ds-theme): add missing variable import to bare.less
wattachai-lseg Nov 21, 2024
8e75543
Merge remote-tracking branch 'origin/feat/init-ds-theme' into feat/in…
wattachai-lseg Nov 21, 2024
81e07c7
chore: set ds-theme of documents package to latest for dev release
wattachai-lseg Nov 21, 2024
a122945
chore: revert ds-theme of documents package for development
wattachai-lseg Nov 21, 2024
4dc4275
fix: update opacity for close btn in pill
bualoy-napat Nov 21, 2024
6f87cb7
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 21, 2024
acfb70c
fix: update separator-color color
bualoy-napat Nov 21, 2024
9623df2
fix(ds-theme): change @lseg-workspace/web-design-tokens to dep instea…
wattachai-lseg Nov 22, 2024
351c172
chore: set ds-theme of documents package to latest for dev release
wattachai-lseg Nov 22, 2024
0633c6d
chore: revert ds-theme of documents package for development
wattachai-lseg Nov 22, 2024
1707882
feat: revised and added grid color variables (#1232)
efx-grid Nov 25, 2024
f17b4dc
chore: update theme to latest
wsuwt Nov 25, 2024
2ca0a1e
chore: update lock file
wsuwt Nov 26, 2024
9940de9
fix: update token for text-field and loader
bualoy-napat Nov 26, 2024
9c77429
fix: update token for card
bualoy-napat Nov 26, 2024
9e472f7
fix: update color token for header level 1-3
bualoy-napat Nov 26, 2024
c501a50
fix: update color token and font weight for header
bualoy-napat Nov 26, 2024
fa64194
fix: update bg color for header of dialog
bualoy-napat Nov 26, 2024
040e1df
fix: update color for warning state
bualoy-napat Nov 26, 2024
0f8a8d8
fix: update opacity of close button for notification
bualoy-napat Nov 26, 2024
497c9d4
fix: update token color for tab and tab-bar
bualoy-napat Nov 26, 2024
74a0663
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 26, 2024
59fc0c0
fix: update dependency to trigger Cloudflare page
bualoy-napat Nov 26, 2024
016e38d
feat(ds-theme): add shared-styles in LESS format
wattachai-lseg Nov 26, 2024
98110f6
chore: set ds-theme of documents package to latest for dev release
wattachai-lseg Nov 26, 2024
72df9df
chore: revert ds-theme of documents package for development
wattachai-lseg Nov 26, 2024
094eb9b
chore: update web design token
dtanp-rft Nov 27, 2024
259afb7
chore: update web design token
dtanp-rft Nov 27, 2024
a1d5265
chore: update web design token
dtanp-rft Nov 27, 2024
ca23c98
chore: update web design token
dtanp-rft Nov 27, 2024
01174b0
fix: update opacity of close button in notification
bualoy-napat Nov 27, 2024
f0d3e82
fix: update backdrop color for overlay
bualoy-napat Nov 27, 2024
957faf8
chore: update web design token
dtanp-rft Nov 27, 2024
b0ffd59
chore: update web design token
dtanp-rft Nov 27, 2024
4df007f
chore: revert dependency after release dev package
dtanp-rft Nov 27, 2024
8c9a9de
chore: revert dependency after release dev package
dtanp-rft Nov 27, 2024
39f18c4
fix: update token for calendar
bualoy-napat Nov 27, 2024
290b4c6
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 27, 2024
f378c6a
fix: update token for led gauge
bualoy-napat Nov 27, 2024
eb854c6
fix: update bg color for checkbox
bualoy-napat Nov 28, 2024
cd73fa8
fix: update fg color font size and weight and box shadow for card
bualoy-napat Nov 28, 2024
59c2d1a
fix: update variable for dialog
bualoy-napat Nov 28, 2024
47888db
fix: update variable for number-field
bualoy-napat Nov 28, 2024
48417b0
fix: update bg color for tab bar
bualoy-napat Nov 28, 2024
43a63e7
fix: update bg color for tab bar arrow button
bualoy-napat Nov 28, 2024
2386ae0
fix: update text color for time-picker
bualoy-napat Nov 28, 2024
4ff05bf
chore(ds-theme): add [email protected] LESS files
wattachai-lseg Nov 28, 2024
20a4396
refactor(ds-theme): use local web design tokens LESS
wattachai-lseg Nov 28, 2024
17bd83c
chore: set ds-theme of documents package to latest for dev release
wattachai-lseg Nov 28, 2024
0a63434
chore: revert ds-theme of documents package for development
wattachai-lseg Nov 28, 2024
b731174
fix: update box shadow for tooltip
bualoy-napat Nov 28, 2024
58456a6
fix: update token for appstate-bar
bualoy-napat Nov 28, 2024
d016eeb
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Nov 28, 2024
558335e
fix: update token for toggle
bualoy-napat Nov 28, 2024
fe9b5e9
style: remove white space
bualoy-napat Nov 29, 2024
1a409b4
fix: update font weight for item
bualoy-napat Nov 29, 2024
f4c48a9
fix: update bg and text color for item
bualoy-napat Nov 29, 2024
ca01ad2
fix: update border color for button bar
bualoy-napat Dec 2, 2024
c703017
fix: update text color for clock
bualoy-napat Dec 2, 2024
ba82a1f
fix: update bg color for overlay
bualoy-napat Dec 2, 2024
32f740e
fix: update highlighted text color for item
bualoy-napat Dec 2, 2024
284deb4
fix: update style for slider
bualoy-napat Dec 3, 2024
4ae349a
fix: update border radius for nested button bar
bualoy-napat Dec 4, 2024
1dfdc43
fix: update color for counter
bualoy-napat Dec 4, 2024
d60c8a3
chore: set ds-theme of documents package to latest for dev release
bualoy-napat Dec 4, 2024
ca29f2e
chore: revert ds-theme of documents package for development
bualoy-napat Dec 4, 2024
7a3849b
refactor(ds-theme): update grid color variables to match specs (#1233)
wsuwt Dec 12, 2024
da2ad5c
chore: set ds-theme of documents package to latest preparing for a de…
wsuwt Dec 12, 2024
728d038
chore: update dependency to deploy document
bualoy-napat Dec 12, 2024
d46d94c
chore: update to web-design-token 0.0.3-dev.14 with design-token 0.0.…
wattachai-lseg Dec 12, 2024
cdf4eeb
fix: update color for segment seconds of clock
bualoy-napat Dec 13, 2024
a969faa
chore: bump web-design-tokens to 0.0.3-dev.15
wattachai-lseg Dec 13, 2024
e66098a
chore: set ds-theme of documents package to latest preparing for a de…
wattachai-lseg Dec 13, 2024
914aa2d
chore: revert ds-theme of documents package for development
wattachai-lseg Dec 13, 2024
887acef
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Dec 16, 2024
cdabc2d
fix: update bg color for all level of header
bualoy-napat Dec 16, 2024
57be338
fix(ds-theme): accordion has no border color (#1234)
efx-grid Dec 17, 2024
a0a1b19
fix(ds-theme): incorrect overlay box-shadow (#1236)
efx-grid Dec 17, 2024
6994503
fix(ds-theme): use default background color for track and thumb when …
efx-grid Dec 17, 2024
5d56bfc
fix(ds-theme): correct background color of swing gauge (#1238)
efx-grid Dec 17, 2024
c3b7f97
fix(ds-theme): update font weights for header and non-header items (#…
Sakchai-Refinitiv Dec 17, 2024
bb7aad3
fix(ds-theme): update item to consume token from menu item
bualoy-napat Dec 17, 2024
f7af7b5
Merge branch 'feat/init-ds-theme' of github.com:Refinitiv/refinitiv-u…
bualoy-napat Dec 17, 2024
559dff8
fix(ds-theme): update data visualization color scale variables (#1235)
Sakchai-Refinitiv Dec 17, 2024
5fe8f26
fix(ds-theme): update bg color and border color for dialog
bualoy-napat Dec 17, 2024
f9daed0
fix(ds-theme): update border radius and margin for button bar & pagin…
Sakchai-Refinitiv Dec 17, 2024
947ba4f
fix(ds-theme): incorrect led gauge's bar color (#1242)
efx-grid Dec 17, 2024
d8d7d74
fix(ds-theme): override styles for slotted anchor elements in appstat…
Sakchai-Refinitiv Dec 17, 2024
2bcd722
fix(ds-theme): update token for counter
bualoy-napat Dec 18, 2024
405fa64
fix(ds-theme): missing border when clicking at toggle pill (#1244)
efx-grid Dec 18, 2024
dda3d2d
fix(ds-theme): update font family for ja, zh-CN and zh-Hant
bualoy-napat Dec 18, 2024
a210e0b
Merge remote-tracking branch 'origin/feat/init-ds-theme' into feat/in…
bualoy-napat Dec 18, 2024
1829419
fix(ds-theme): update token for counter
bualoy-napat Dec 18, 2024
5388ad4
fix(ds-theme): update center line for swing gauge
bualoy-napat Dec 18, 2024
fd5c8ce
fix(ds-theme): update hover bg color for item
bualoy-napat Dec 18, 2024
630d2ba
chore: update to web-design-token 0.0.3-dev.16 with design-token 0.0.…
wattachai-lseg Dec 18, 2024
b76a90b
fix(ds-theme): calendar and datetime-picker ds theme (#1246)
Sakchai-Refinitiv Dec 18, 2024
42fe59c
fix(ds-theme): update slider's track and step color based on the feed…
efx-grid Dec 18, 2024
d3c50f4
fix(ds-theme): incorrect placeholder font color of text-field, input,…
efx-grid Dec 18, 2024
499b491
docs(ds-theme): update error text color to example of field elements
bualoy-napat Dec 19, 2024
3aa19e4
chore: set ds-theme of documents package to latest preparing for a de…
bualoy-napat Dec 19, 2024
3a0220e
chore: revert ds-theme of documents package for development
bualoy-napat Dec 19, 2024
6eb988e
chore: revert pandora-book to 3.0.0-74
bualoy-napat Dec 20, 2024
b0391fc
chore: revert theme for document
bualoy-napat Dec 20, 2024
e4b43fc
Merge remote-tracking branch 'origin/v7' into feat/init-ds-theme
wattachai-lseg Dec 20, 2024
241b107
style: remove extra line
bualoy-napat Dec 20, 2024
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
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ web_modules/
.node_repl_history

# Output of 'npm pack'
*.tgz
# Allow pandora-book offline package
!documents/tools/*.tgz

Expand Down Expand Up @@ -130,6 +129,8 @@ packages/solar-theme/charcoal
packages/solar-theme/pearl
packages/halo-theme/dark
packages/halo-theme/light
packages/ds-theme/dark
packages/ds-theme/light

# Doc
custom-elements.json
Expand All @@ -148,4 +149,4 @@ packages/**/node_modules
certs

# nx
.nx
.nx
22 changes: 16 additions & 6 deletions documents/src/pages/elements/email-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ emailField.addEventListener("input", () => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-email-field {
width: 275px;
Expand Down Expand Up @@ -217,8 +220,11 @@ emailField.addEventListener("input", () => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-email-field {
width: 275px;
Expand Down Expand Up @@ -305,6 +311,7 @@ save.addEventListener("tap", () => {
responseText.innerHTML = "Full name & email must be provided together";
} else if (email.value && !/^\[email protected]$/.test(email.value)) {
email.error = true;
responseText.classList.add('error');
responseText.innerHTML = "Email must be valid and end with @mail.com";
} else {
responseText.innerHTML = "Saved";
Expand All @@ -323,8 +330,11 @@ email.addEventListener("input", inputHandler);
```

```css
.error {
color: #d94255;
html[prefers-color-scheme="light"] .error {
color:#b70300;
}
html[prefers-color-scheme="dark"] .error {
color:#ff5540;
}
ef-text-field, ef-email-field {
width: 250px;
Expand Down
15 changes: 13 additions & 2 deletions documents/src/pages/elements/number-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ numberField.addEventListener("input", () => {
}
});
```
```css
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
```
```html
<label for="input">Input</label>
<ef-number-field
Expand Down Expand Up @@ -290,8 +298,11 @@ numberField.addEventListener("input", () => {
```

```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-number-field {
width: 250px;
Expand Down
28 changes: 20 additions & 8 deletions documents/src/pages/elements/password-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ label {
ul {
padding-inline-start: 24px;
}
#password-error, #pattern-error {
color: #d94255;
html[prefers-color-scheme="light"] #password-error, #pattern-error {
color:#b70300;
}
html[prefers-color-scheme="dark"] #password-error, #pattern-error{
color:#ff5540;
}
```
```html
Expand Down Expand Up @@ -188,8 +191,11 @@ passwordField.addEventListener("input", () => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-password-field {
width: 200px;
Expand Down Expand Up @@ -276,8 +282,11 @@ passwordField.addEventListener("input", (event) => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-password-field {
width: 275px;
Expand Down Expand Up @@ -387,8 +396,11 @@ confirmPassword.addEventListener("input", inputHandler);
```

```css
.error {
color: #d94255;
html[prefers-color-scheme="light"] .error {
color:#b70300;
}
html[prefers-color-scheme="dark"] .error {
color:#ff5540;
}
ef-password-field {
width: 250px;
Expand Down
21 changes: 15 additions & 6 deletions documents/src/pages/elements/search-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ searchField.addEventListener("input", () => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-search-field {
width: 200px;
Expand Down Expand Up @@ -205,8 +208,11 @@ searchField.addEventListener("input", () => {
});
```
```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-search-field {
width: 280px;
Expand Down Expand Up @@ -303,8 +309,11 @@ searchField.addEventListener("input", () => {
```

```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-search-field {
width: 250px;
Expand Down
21 changes: 15 additions & 6 deletions documents/src/pages/elements/text-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ textField.addEventListener("input", () => {
```

```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-text-field {
width: 200px;
Expand Down Expand Up @@ -212,8 +215,11 @@ textField.addEventListener("input", () => {
```

```css
#error-text {
color:#d94255;
html[prefers-color-scheme="light"] #error-text {
color:#b70300;
}
html[prefers-color-scheme="dark"] #error-text {
color:#ff5540;
}
ef-text-field {
width: 300px;
Expand Down Expand Up @@ -320,8 +326,11 @@ lastName.addEventListener("input", inputHandler);
```

```css
.error {
color: #d94255;
html[prefers-color-scheme="light"] .error {
color:#b70300;
}
html[prefers-color-scheme="dark"] .error {
color:#ff5540;
}
ef-text-field {
width: 300px;
Expand Down
Loading
Loading