simurai
3773ee1264
Update links
2020-10-22 21:39:20 +09:00
simurai
8c9b3564fb
Update form validation
2020-10-22 16:22:42 +09:00
simurai
fdd9051799
Update form-control
...
Also rename `--color-shadow-focus` to `--color-state-focus-shadow`
2020-10-22 12:06:48 +09:00
Colin
b90a667a93
update form colors
2020-10-21 15:40:47 -04:00
simurai
326b191076
Remove unused rule
2020-10-21 21:29:38 +09:00
simurai
65b168b723
Lint
2020-10-21 21:20:59 +09:00
simurai
f365362dc9
Update pagination.scss
2020-10-21 18:49:42 +09:00
simurai
82126ce780
Add transition to tabnav
2020-10-21 17:49:51 +09:00
simurai
d42a6778e4
Update navigation
2020-10-21 17:36:46 +09:00
simurai
b7701ea350
Update blankslate.scss
2020-10-21 15:47:37 +09:00
simurai
4b51635b20
Update breadcrumb.scss
2020-10-21 15:36:36 +09:00
simurai
26a55233cd
Update branch-name.scss
2020-10-21 15:14:48 +09:00
simurai
0bdd5b8d5a
Update select-menu.scss
2020-10-21 14:11:33 +09:00
simurai
672c058afd
Update dropdown.scss
2020-10-21 11:32:09 +09:00
simurai
b32accf87a
Update autocomplete
2020-10-21 10:20:23 +09:00
Colin
c5c90812c7
update underline-nav underline box shadow color
2020-10-20 16:44:50 -04:00
Colin
567085e706
update underlinenav counter text color
2020-10-20 16:14:27 -04:00
Colin
3cf2ad89af
update underline-nav and flash colors
2020-10-20 15:30:57 -04:00
simurai
6ca66784aa
Update State
2020-10-20 21:50:22 +09:00
simurai
0283baed1f
Update Counter
2020-10-20 16:58:24 +09:00
Colin
f9c76a6a2c
dropdown text color dark mode
2020-10-19 16:25:52 -04:00
Colin
c23bf4fc8a
fix linter
2020-10-19 15:23:17 -04:00
Colin
6d8e492b8b
make disabled state input bg dark mode
2020-10-19 15:18:32 -04:00
Colin
01fd81693c
fix text color on dark mode for subnav and filter list
2020-10-19 14:52:11 -04:00
simurai
bd52907bc8
Add functional labels
2020-10-20 00:05:19 +09:00
simurai
9291c34dd6
Prefix utilities with color-
2020-10-19 16:49:57 +09:00
Colin
b2f17260f5
npm install @primer/primitives@0.0.0-3dafc1d
2020-10-16 16:26:12 -04:00
Colin
c90ff75f51
fix linter
2020-10-16 15:34:36 -04:00
Colin
1f7f08a62e
npm install @primer/primitives@0.0.0-10e7afa
2020-10-16 15:28:26 -04:00
Colin
61e175d44a
npm install @primer/primitives@0.0.0-593708c
2020-10-16 13:56:10 -04:00
Colin
8057118a22
fix linter
2020-10-16 13:14:40 -04:00
Colin
90eb0649e9
npm install @primer/primitives@0.0.0-a59e532
2020-10-16 13:12:00 -04:00
simurai
7609ed470e
Update box.scss
2020-10-16 21:23:18 +09:00
simurai
b32e4f5ac5
Update button.scss
2020-10-16 21:14:11 +09:00
simurai
7020fb0dde
Update avatar.scss
2020-10-16 19:51:47 +09:00
simurai
b8a4df5feb
Update autocomplete.scss
2020-10-16 18:06:15 +09:00
Colin
e246716368
update variable for social count
2020-10-15 17:00:29 -04:00
Colin
ccca4d578e
fix linter
2020-10-15 16:04:29 -04:00
Colin
a68f5cc473
fix linter
2020-10-15 16:01:13 -04:00
Colin
3d63adedec
fix linter
2020-10-15 15:58:31 -04:00
Colin
db919ffdff
npm install @primer/primitives@0.0.0-d93cf7b
2020-10-15 15:55:29 -04:00
Colin
1d259fb2ce
remove stylelint line
2020-10-15 15:25:38 -04:00
Colin
b414aeadda
npm instal @primer/primitives@0.0.0-3d5a7cb
2020-10-15 15:21:31 -04:00
Colin
69d0242c8d
add stylelint for header text color
2020-10-15 12:23:48 -04:00
Colin
61b32bc008
Fix Header colors in dark mode
2020-10-15 11:41:08 -04:00
simurai
3f83116669
Swap bg-secondary and bg-tertiary
...
In response to c215e1ebef
2020-10-15 17:35:42 +09:00
simurai
7cc7017416
Alias presentational with functional variable
...
For light mode, so far there should be no changes of the values.
We'll have to be careful when making changes to primer/primitives.
2020-10-15 15:49:13 +09:00
Colin
2d065e747b
fix primary button text color
2020-10-14 17:08:10 -04:00
simurai
9cd14e5d9d
Include dark colors only for the docs
2020-10-14 16:27:44 +09:00
simurai
fdcd0cc328
Update links
2020-10-09 11:04:03 +09:00
simurai
f4b410a147
Update Box-row colors
2020-10-08 16:03:43 +09:00
simurai
c651606d83
Lint
2020-10-08 13:49:50 +09:00
simurai
1f3ca4b28a
Update flash alerts in dark mode
2020-10-08 13:42:50 +09:00
simurai
20ac6fcf5e
Add color-scheme properties
2020-10-07 16:01:52 +09:00
simurai
805cfbd7c8
Update borders, states and more
...
Follows the changes from https://github.com/primer/primitives/pull/21/files
2020-10-07 15:29:40 +09:00
simurai
cc7f219534
Use auto scale
2020-10-06 19:28:06 +09:00
simurai
31c1b54068
Merge branch 'mkt/color-modes-whee' of https://github.com/primer/css into mkt/color-modes-whee
2020-10-06 17:58:16 +09:00
Colin
1e17c20859
add flex-shrink 0 to avatar class
2020-10-05 12:34:40 -04:00
Cole Bemis
4e4463e523
Merge pull request #1180 from primer/update-stylelint-2
...
Set up primer/no-undefined-vars stylelint rule
2020-10-05 08:29:41 -07:00
simurai
7b0893c0b4
Remove .text-placeholder + .text-disabled again
...
This seems better to only have as variables
2020-10-05 21:59:27 +09:00
simurai
beb5166b4a
Fix Box-row regression
2020-10-05 13:52:55 +09:00
Cole Bemis
47b1dd2d88
Update src/box/box.scss
...
Co-authored-by: simurai <simurai@github.com>
2020-10-04 21:50:21 -07:00
Cole Bemis
5c74a71372
Remove needless disable
2020-10-02 10:28:11 -07:00
Cole Bemis
5c25a62082
Fix linting errors
2020-10-02 10:22:39 -07:00
simurai
4703bce285
Lint
2020-10-02 22:08:49 +09:00
simurai
56d4ad3ecc
Lint
2020-10-02 22:02:15 +09:00
simurai
cea7c54d85
Fix a few regressions
2020-10-02 21:20:37 +09:00
simurai
8a45dd8a17
Use color scale for aliased variables
2020-10-02 16:52:45 +09:00
simurai
aed544ddb2
Lint
2020-10-01 15:47:31 +09:00
simurai
79542fadea
Fix link color
2020-10-01 15:18:40 +09:00
simurai
93aebcf04e
Use light mode as default
2020-10-01 14:31:48 +09:00
simurai
97dc619d7a
Alias btn-blue to btn-primary
2020-10-01 14:08:49 +09:00
Michelle Tilley
ec9eb02477
grey -> gray
2020-09-24 11:17:11 -07:00
simurai
409f6c4b88
Use dark as default
...
Just for testing when no data-color-mode is used.
2020-09-24 23:32:33 +09:00
simurai
bc4eb60ab7
Merge branch 'master' into mkt/color-modes-whee
2020-09-24 22:31:40 +09:00
Cole Bemis
460e8b06ce
Remove more needless disables
2020-09-23 13:18:27 -07:00
Cole Bemis
576c141758
Remove unnecessary stylelint disable comments
2020-09-23 13:07:43 -07:00
Cole Bemis
91db2f3b20
Fix linting errors
2020-09-23 12:58:19 -07:00
simurai
92e9d00087
Remove all SASS color functions
2020-09-19 18:02:01 +09:00
simurai
550be8b01c
Add new utility classes
2020-09-19 17:17:29 +09:00
simurai
89ccbbd470
Alias SASS variables
2020-09-19 15:42:39 +09:00
simurai
ffbfe842eb
Move .bg-shade-gradient to marketing
2020-09-19 10:06:29 +09:00
simurai
80a39c4ad0
Refactor buttons
2020-09-18 22:00:27 +09:00
simurai
f148418e8a
Move misc color variables into colors.scss
2020-09-18 17:27:57 +09:00
simurai
a34831dda1
Replace a few more colors
2020-09-18 17:27:18 +09:00
simurai
0931f86f93
Replace all color variables
2020-09-18 16:49:13 +09:00
simurai
6f8e80ee52
Rename ic -> icon
2020-09-18 14:40:21 +09:00
simurai
1404440fab
Rename markdown-body -> markdown
2020-09-18 14:38:14 +09:00
simurai
23ca1d0b77
Replace $gray colors
2020-09-18 14:23:02 +09:00
simurai
42eb0408a4
Revert changes to /marketing
...
We'll look into this separatly
2020-09-18 11:36:17 +09:00
simurai
b30b51c544
Replace $black + $white
2020-09-18 11:27:58 +09:00
simurai
d4c92ca78d
Enable both color modes
2020-09-17 17:22:27 +09:00
simurai
8e0ed0b41f
Use --color-ic-tertiary for the SelectMenu icon
2020-09-17 14:54:34 +09:00
simurai
c0b2015c09
Fix transparency
...
We'll have to come back to this later
2020-09-16 23:18:16 +09:00
simurai
45779c0fc1
Replace all $border colors
2020-09-16 17:44:36 +09:00
simurai
d30d136b1a
Deprecate rest of bg colors
2020-09-16 16:16:39 +09:00
simurai
6f5cdde5f4
Replace all $bg-gray/white/black
2020-09-16 15:49:20 +09:00
simurai
81517f25f9
Replace $bg-blue + $bg-blue-light
2020-09-16 14:43:12 +09:00
simurai
8dee34b1f0
Replace $bg-green
2020-09-16 14:26:12 +09:00
simurai
c8957fa78f
Use --color-scale for State component
2020-09-16 14:02:16 +09:00
simurai
9dee8f45f8
Replace $bg-red-light with --color-bg-danger
...
Also $bg-red -> --color-bg-danger-inverse
2020-09-16 13:43:53 +09:00
simurai
19792a4210
Deprecate the rest of the text colors
2020-09-16 12:07:37 +09:00
simurai
25b56ea605
Replace $text-black with --color-text-primary
2020-09-16 11:17:53 +09:00
simurai
39fb07b27a
Use --color-scale for labels
2020-09-16 10:56:15 +09:00
simurai
e315113037
Replace $text-white with --color-text-inverse
2020-09-15 22:24:59 +09:00
simurai
7e7ff73c63
Replace $text-red with --color-text-danger
2020-09-15 22:05:17 +09:00
simurai
d4dddd27f4
Replace $text-green with --color-text-success
2020-09-15 21:53:56 +09:00
simurai
8e073bb420
Replace $text-blue with --color-text-link-primary
2020-09-15 20:18:31 +09:00
simurai
5388d1f637
Replace $text-gray with --color-text-secondary
2020-09-15 19:37:39 +09:00
simurai
2305f944fd
Replace $text-gray-light with --color-text-tertiary
2020-09-15 19:34:12 +09:00
simurai
f773f35b27
Replace $text-gray-dark with --color-text-primary
2020-09-15 19:30:16 +09:00
simurai
43c136f154
Add deprecation warning
2020-09-15 12:41:24 +09:00
simurai
e1ac61f212
Replace autocomplete inset shadow
2020-09-15 12:32:05 +09:00
simurai
1546b62112
Replace $bg-diffstat with --color-diff
2020-09-15 12:12:57 +09:00
simurai
0168bea433
Replace $form-control-shadow with var(--color-input-shadow)
...
Also $btn-input-focus-shadow with var(--color-input-shadow-focus)
2020-09-15 11:59:34 +09:00
simurai
4ea334d9de
Replace $border-color-button with var(--color-btn-border)
2020-09-15 11:50:57 +09:00
simurai
9a866c200f
Replace $box-shadow with --color-shadow
2020-09-15 11:35:39 +09:00
simurai
02a423f5a5
Replace $border-color with var(--color-border-primary)
2020-09-15 09:46:24 +09:00
simurai
063dd627f0
Replace $border with var(--color-border-primary)
2020-09-15 09:41:33 +09:00
simurai
e249de2f9a
Migrate Subhead
2020-09-14 21:46:28 +09:00
simurai
731d30b51c
Migrate timeline
2020-09-14 21:40:11 +09:00
simurai
8a57739c38
Migrate toasts
2020-09-14 21:39:57 +09:00
simurai
5422e23fc5
Migrate tooltips
2020-09-14 17:48:14 +09:00
simurai
6ad00ee0a8
Move modes from /support to /base
...
support/index.scss gets imported in various places and would spit out the variables many times.
2020-09-11 20:57:43 +09:00
simurai
72640895b4
Enable nesting of color modes
2020-09-11 16:39:27 +09:00
simurai
164b95ce04
Use color modes for base
2020-09-11 16:07:53 +09:00
simurai
2dc73e91b1
Use color- type
2020-09-11 16:06:47 +09:00
simurai
d5b6bc9ded
Enable dark mode
2020-09-11 16:05:32 +09:00
simurai
edcd5a81e5
Merge pull request #1145 from primer/final-position
...
Make final position responsive
2020-09-10 11:52:48 +09:00
simurai
789bd1ab1e
Add option to reset final position -> right-md-auto
2020-09-10 11:26:52 +09:00
simurai
8ded3746f0
Update lists.scss
2020-09-08 14:06:56 +09:00
simurai
65bcd55474
Revert "Fix CSS error reported by W3C validator"
2020-09-08 13:58:28 +09:00
simurai
9c3e287aec
Merge pull request #1147 from primer/fix-ios-inputs
...
Increase input font-size on iOS
2020-09-08 13:26:10 +09:00
simurai
3e826643bf
Merge pull request #1148 from MauricioHernanCabrera/flex-wrap-reverse
...
flex wrap reverse added
2020-09-08 13:25:43 +09:00
simurai
0ca5154d03
Merge pull request #1137 from seshrs/fix/w3-validation-errors
...
Fix CSS error reported by W3C validator
2020-09-08 13:24:51 +09:00
simurai
f8ce8b961a
Merge pull request #1152 from neildaniels/patch-1
...
Remove .autocomplete-results inset border that is occluded by items
2020-09-08 13:23:30 +09:00
simurai
124be46e6a
Merge pull request #1157 from MauricioHernanCabrera/overflow
...
Overflow responsive variants
2020-09-08 13:23:00 +09:00
Mauricio Hernan Cabrera
a01015d839
overflow responsive variants added
2020-09-03 22:17:10 -03:00
Esdras Pavon
921fd57dda
change border-radius calculated values to variables
2020-09-03 09:47:58 -03:00
simurai
a18e3918ea
Add border
2020-09-03 14:05:58 +09:00
Esdras Pavon
f6d1b71521
rounded-3 added
2020-09-02 19:19:50 -03:00
Neil Daniels
46202fb8dc
Remove .autocomplete-results inset border that is occluded by items
2020-08-27 19:27:33 -07:00
Mauricio Hernan Cabrera
d967d75a57
flex wrap reverse added
2020-08-26 22:15:38 -03:00
simurai
ceb0783a87
Increase font-size on iOS with a narrow viewport
2020-08-26 10:09:38 +09:00
Sesh Sadasivam
8066086c72
Remove unnecessary CSS rule for li word-wrap
2020-08-24 10:19:44 -04:00
simurai
d5b801a3e2
Make final position responsive
2020-08-24 09:24:19 +09:00
Sesh Sadasivam
64a17a3bec
Fix CSS error reported by W3C validator
2020-08-17 19:26:46 -04:00
Michelle Tilley
bc6e04104a
Convert (some of) box to use color modes
2020-08-10 12:48:38 -07:00
Michelle Tilley
657d84d58a
Convert blankslate to use color modes
2020-08-10 11:47:51 -07:00
Michelle Tilley
7274445f92
Convert avatars to use color modes
2020-08-10 11:39:14 -07:00
Michelle Tilley
5daa59dc59
Convert autocomplete to use color modes
2020-08-10 11:24:37 -07:00
Michelle Tilley
d0457baa44
Convert alerts to use color modes
2020-08-10 10:50:55 -07:00
Michelle Tilley
3a97b24713
Include Primer Primitive color modes
2020-08-10 10:42:25 -07:00
simurai
e5290bb292
Merge pull request #1121 from nuthinking/master
...
Update layout when the Counter is empty
2020-08-03 09:29:28 +09:00
simurai
c373293ecf
Merge pull request #1062 from primer/responsive-tabnav
...
Make tabnav responsive
2020-08-03 09:28:43 +09:00
simurai
8c840a260f
Merge pull request #1122 from nikolasveneti/patch-1
...
fix comment typo
2020-08-03 09:28:01 +09:00
simurai
ca25868897
Merge pull request #1126 from primer/label-yellow
...
Increase border contrast for Label--yellow
2020-08-03 09:27:27 +09:00
simurai
6327af47d1
Merge pull request #1128 from primer/table-border
...
Add support for table border
2020-08-03 09:26:46 +09:00
Daniel Garman
9868f44d70
Add .bg-orange to the list of colors
...
Why:
* https://primer.style/css/utilities/colors#background-utilities
mentions `.bg-orange` as an accessibility approved background color.
However, the `src/utilities/colors.scss` file did not have this class
listed.
This change addresses the need by:
* Adding `.bg-orange` to `src/utilities/colors.scss`.
2020-07-31 11:25:01 -07:00
Michelle Tilley
f1c153419e
Add Primer Primitives and import color modes
2020-07-30 11:29:18 -07:00
simurai
eeef9d82e5
Remove border styles again
2020-07-23 14:44:46 +09:00
simurai
476d19b4a0
Style table border
2020-07-23 14:34:04 +09:00
simurai
16eff60722
Make table adjust width based on the content
2020-07-23 14:33:50 +09:00
simurai
158386cf54
Darken yellow border
2020-07-23 09:14:20 +09:00
simurai
1e4404129e
Increase border contrast for Label--yellow
2020-07-21 13:21:53 +09:00
Nikolas Veneti
aa0ba21072
Comment typo
2020-07-11 12:20:42 +02:00
Colin Keany
2899438d26
Update src/navigation/tabnav.scss
...
Co-authored-by: simurai <simurai@github.com>
2020-07-08 11:09:39 -04:00
simurai
1c1b092933
Lint
2020-07-08 21:20:10 +09:00
simurai
7b526f4e2f
Merge branch 'master' into responsive-tabnav
2020-07-08 19:44:16 +09:00
Christian Giordano
cb3b026eb9
update layout when the Counter is empty
2020-07-08 08:45:59 +02:00
simurai
703803ea6c
Merge pull request #1025 from primer/next
...
🐻 Primer CSS Next
2020-07-02 17:09:04 +09:00
simurai
c5d5658d42
Merge pull request #1083 from primer/button-autocomplete-item
...
Make sure autocomplete resets button styles
2020-07-02 16:54:23 +09:00
simurai
4d98008ab8
Deprecate selector
2020-07-02 16:32:41 +09:00
simurai
46f9576563
Remove copyright
2020-07-01 15:01:27 +09:00
simurai
1f0d1ccf46
Add transparent outline to UnderlineNav
2020-07-01 14:55:45 +09:00
skullface
55d3f23df3
update index.scss title and URL
2020-07-01 01:00:19 -04:00
skullface
3f4696b329
fix copyright date
2020-07-01 00:58:18 -04:00
simurai
5afc7eb299
Remove unused style
2020-07-01 13:46:29 +09:00
simurai
9098d503e2
Add transparent outline to .btn when focused
2020-07-01 13:27:45 +09:00
simurai
3b01f1285e
Add transparent outlines to diffstat
2020-07-01 12:15:26 +09:00
simurai
b1ae26fa92
Add transparent border to Counter
2020-07-01 12:01:14 +09:00
simurai
24977f24b8
Add transparent border
2020-06-29 23:14:13 +09:00
simurai
5abfb0f4ef
Increse contrast for $text-green
2020-06-29 22:18:34 +09:00
simurai
3b58693644
Add support for Firefox custom colors
2020-06-29 21:09:36 +09:00
simurai
69975a2805
Increase contrast for placeholders
2020-06-29 16:07:31 +09:00
simurai
1345d68cae
Use $black-fade-15 for button border
2020-06-17 17:29:07 +09:00
simurai
91b40ce43f
Make selected UnderlineNav item bold
2020-06-17 17:20:36 +09:00
simurai
75088218de
Use semi bold for labels
2020-06-17 17:11:03 +09:00
simurai
0c8ec3d801
Merge branch 'master' into next
2020-05-26 14:33:05 +09:00
simurai
9798f56d2a
Merge pull request #1060 from primer/fix-aria-current
...
Add support for aria-current=false
2020-05-21 16:00:05 +09:00
simurai
2c43f506b3
Decrease transparency
2020-05-21 00:09:02 +09:00
simurai
20251cf520
Increase transparency
2020-05-21 00:05:34 +09:00
simurai
afc9098e6b
Darken Counter background
2020-05-20 23:40:42 +09:00
simurai
39dd8f4a60
Remove min-width
2020-05-19 14:38:18 +09:00
simurai
9016e3cf61
Add Progress-item
2020-05-19 14:10:13 +09:00
Mu-An Chiou
60e5fdb14f
Add width and text-align so button works out of the box
2020-05-12 18:25:42 -04:00
Mu-An Chiou
d51d067396
Fix property order
2020-05-12 18:02:02 -04:00
Mu-An 慕安
3c91b9e173
Make sure autocomplete resets button styles
2020-05-12 17:48:36 -04:00
simurai
ef251c745f
Use default $bg-green for states
2020-05-06 11:09:24 +09:00
simurai
29e506ccc9
Use clip-path for chevron icons
2020-05-05 16:45:38 +09:00